@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fdf8e3;
  --ink: #171512;
  --purple: #4b2e83;
  --coral: #e2604a;
  --muted: #5f5a4e;
  --line: rgba(75, 46, 131, 0.26);
  --soft: #f6efd6;
  --wrap: 1180px;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --display: "Outfit", "Inter", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.66;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--purple);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--purple);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0 0 1.05em;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - 64px, var(--wrap));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 64px, 980px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------------------------------------------------------- masthead */
.masthead {
  padding-top: 18px;
}

.hair {
  border-top: 1px solid var(--purple);
}

.hair-coral {
  border-top: 1px solid var(--coral);
}

.brand-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 12px 0;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  color: var(--purple);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.head-cta {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--coral);
  padding-bottom: 3px;
  white-space: nowrap;
}

.head-cta:hover {
  color: var(--purple);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  padding: 2px 0 13px;
}

.nav a {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0 5px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--purple);
  border-bottom-color: var(--purple);
}

.burger {
  display: none;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--purple);
  content: "";
}

.burger span {
  position: relative;
}

.burger span::before {
  position: absolute;
  top: -5px;
  left: 0;
}

.burger span::after {
  position: absolute;
  top: 5px;
  left: 0;
}

.burger[aria-expanded="true"] span {
  background: transparent;
}

.burger[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------- hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 62px;
  align-items: center;
  padding: 52px 0 46px;
}

.kicker {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(44px, 5.3vw, 68px);
  margin-bottom: 20px;
  max-width: 12ch;
}

.lede {
  font-size: 18px;
  line-height: 1.62;
  color: #322e27;
  max-width: 52ch;
  margin-bottom: 24px;
}

.hero-act {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 13px 22px 12px;
  border: 1px solid var(--ink);
}

.btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--paper);
}

.quiet {
  font-size: 15px;
  color: var(--purple);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.quiet:hover {
  border-bottom-color: var(--purple);
}

.facts {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.facts div {
  min-width: 0;
}

.facts dt {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  color: var(--purple);
  line-height: 1.1;
}

.facts dd {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero-shot {
  margin: 0;
}

.browser {
  border: 1px solid var(--purple);
  background: var(--paper);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--purple);
  background: var(--soft);
}

.browser-bar i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.45;
}

.browser-bar .url {
  margin-left: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-shot figcaption,
.shot figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------------------------------------------------------- partners */
.partners {
  border-top: 1px solid var(--coral);
  padding: 24px 0 30px;
}

.partners-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.partners-head h2 {
  font-size: 21px;
  letter-spacing: 0.01em;
}

.partners-head p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.p-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  height: 92px;
  padding: 10px 18px;
}

.p-cell img {
  display: block;
  height: 60px;
  width: auto;
  max-width: 92%;
  object-fit: contain;
}

/* ---------------------------------------------------------- body blocks */
.block {
  border-top: 1px solid var(--line);
  padding: 44px 0 54px;
}

.block:first-of-type {
  border-top: 0;
}

.block h2 {
  font-size: clamp(29px, 3vw, 38px);
  margin-bottom: 18px;
}

.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 56px;
  max-width: 1040px;
}

.twocol p {
  margin: 0 0 14px;
}

.note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 16px;
  max-width: 78ch;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 6px;
  font-size: 16px;
  line-height: 1.5;
}

.tbl caption {
  caption-side: top;
  text-align: left;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 0 0 8px;
}

.tbl th {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  text-align: left;
  padding: 10px 14px;
  border-top: 1px solid var(--purple);
  border-bottom: 1px solid var(--purple);
  vertical-align: bottom;
}

.tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.tbl tbody th {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  padding: 12px 14px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.tbl .quiet-cell {
  color: var(--muted);
  font-size: 14px;
}

/* ---------------------------------------------------------- page head */
.page-head {
  padding: 46px 0 34px;
}

.page-head h1 {
  font-size: clamp(40px, 5vw, 64px);
  max-width: 18ch;
  margin-bottom: 18px;
}

.page-head .intro {
  font-size: 18.5px;
  line-height: 1.62;
  color: #322e27;
  max-width: 70ch;
  margin: 0;
}

/* ---------------------------------------------------------- album shot */
.shot {
  margin: 24px 0 10px;
}

.shot-wide {
  max-width: 900px;
}

.annot {
  list-style: none;
  counter-reset: a;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 26px 0 0;
  padding: 0;
}

.annot li {
  counter-increment: a;
  border-top: 1px solid var(--coral);
  padding-top: 12px;
}

.annot li::before {
  content: counter(a, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 6px;
}

.annot b {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
}

.annot p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #3a352c;
  margin: 0;
}

/* ---------------------------------------------------------- steps */
.steps {
  list-style: none;
  counter-reset: s;
  margin: 26px 0 0;
  padding: 0;
  max-width: 900px;
}

.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0 17px;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--purple);
  padding-top: 2px;
}

.steps b {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}

.steps p {
  margin: 0;
  font-size: 15.5px;
  color: #3a352c;
}

/* ---------------------------------------------------------- faq */
.faq-grid {
  columns: 2;
  column-gap: 56px;
  margin-top: 24px;
}

.faq-grid details {
  break-inside: avoid;
  border-bottom: 1px solid var(--line);
  padding: 13px 0 14px;
}

.faq-grid summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding-right: 26px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.32;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -1px;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 400;
  color: var(--purple);
}

.faq-grid details[open] summary::after {
  content: "−";
}

.faq-grid details p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.58;
  color: #3a352c;
}

/* ---------------------------------------------------------- 404 */
.nf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 70px 0 90px;
}

.nf h1 {
  font-size: clamp(44px, 6vw, 76px);
  margin-bottom: 16px;
}

.nf .lede {
  margin-bottom: 26px;
}

.nf-code {
  font-family: var(--display);
  font-size: clamp(110px, 19vw, 250px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
}

/* ---------------------------------------------------------- footer */
.foot {
  border-top: 1px solid var(--purple);
  padding: 34px 0 16px;
  margin-top: 0;
}

.foot-in {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 44px;
  padding-bottom: 28px;
}

.foot-brand {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--purple);
  margin-bottom: 8px;
}

.foot p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.foot .foot-h {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 9px;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.foot-links a {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--purple);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero {
    gap: 38px;
    padding: 42px 0 38px;
  }

  .hero h1 {
    font-size: clamp(38px, 5.4vw, 52px);
  }

  .lede {
    font-size: 17px;
  }

  .facts {
    gap: 20px;
  }

  .twocol {
    gap: 4px 36px;
  }

  .annot {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .wrap,
  .wrap-narrow {
    width: min(100% - 40px, var(--wrap));
  }

  .masthead {
    padding-top: 10px;
  }

  .brand-line {
    min-height: 58px;
    padding: 8px 0;
  }

  .brand {
    font-size: 27px;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
  }

  .head-cta {
    font-size: 10.5px;
    letter-spacing: 0.06em;
    padding-bottom: 2px;
  }

  .burger {
    display: flex;
  }

  .nav {
    display: none;
    width: 100%;
    padding: 4px 0 12px;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 16px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a[aria-current="page"] {
    border-bottom-color: var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 24px 0 26px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
    margin-bottom: 14px;
  }

  .kicker {
    margin-bottom: 10px;
  }

  .lede {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .hero-act {
    gap: 14px;
    margin-bottom: 18px;
  }

  .btn {
    padding: 11px 18px 10px;
    font-size: 14px;
  }

  .quiet {
    font-size: 14px;
  }

  .facts {
    padding-top: 12px;
    gap: 16px;
  }

  .facts dt {
    font-size: 17px;
  }

  .facts dd {
    font-size: 11px;
  }

  .hero-shot figcaption {
    margin-top: 8px;
    font-size: 11.5px;
  }

  .partners {
    padding: 18px 0 24px;
  }

  .partners-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
  }

  .partners-head h2 {
    font-size: 19px;
  }

  .p-cell {
    height: 66px;
    padding: 8px 10px;
  }

  .p-cell img {
    height: 44px;
    max-width: 96%;
  }

  .page-head {
    padding: 30px 0 24px;
  }

  .page-head h1 {
    font-size: clamp(34px, 9.4vw, 46px);
    margin-bottom: 12px;
  }

  .page-head .intro {
    font-size: 16.5px;
    line-height: 1.56;
  }

  .block {
    padding: 30px 0 36px;
  }

  .block h2 {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .twocol {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tbl {
    font-size: 14.5px;
    margin-top: 16px;
  }

  .tbl-wide {
    min-width: 590px;
  }

  .tbl th,
  .tbl td,
  .tbl tbody th {
    padding: 9px 8px;
  }

  .tbl th {
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }

  .tbl tbody th {
    font-size: 13.5px;
  }

  .tbl .quiet-cell {
    font-size: 12.5px;
  }

  .tbl-stack {
    min-width: 0;
    font-size: 14px;
  }

  .tbl-stack thead {
    position: absolute;
    left: -9999px;
  }

  .tbl-stack tbody,
  .tbl-stack tr,
  .tbl-stack tbody th,
  .tbl-stack td {
    display: block;
    width: 100%;
  }

  .tbl-stack tr {
    border-top: 1px solid var(--purple);
    padding: 11px 0 13px;
  }

  .tbl-stack tbody th {
    border: 0;
    padding: 0 0 6px;
    font-size: 16px;
  }

  .tbl-stack td {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 8px;
    border: 0;
    padding: 2px 0;
  }

  .tbl-stack td::before {
    content: attr(data-label);
    font-family: var(--display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple);
    padding-top: 3px;
  }

  .tbl-stack td[colspan] {
    display: block;
    padding-top: 4px;
  }

  .tbl-stack td[colspan]::before {
    content: none;
  }

  .annot {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .steps b {
    font-size: 19px;
  }

  .steps p {
    font-size: 15px;
  }

  .faq-grid {
    columns: 1;
  }

  .faq-grid summary {
    font-size: 17px;
  }

  .nf {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 44px 0 56px;
  }

  .nf-code {
    display: none;
  }

  .foot-in {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 22px;
  }

  .foot-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
