/* Passage — passage.patara.design
   Paper, ink, one royal blue, one orange. Serif for reading, sans for UI. */

@font-face { font-family: "Newsreader"; src: url("/assets/fonts/Newsreader.woff2") format("woff2"); font-weight: 350 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/Newsreader-Italic.woff2") format("woff2"); font-weight: 350 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #F7F3EC;
  --paper-2: #EFE8DC;
  --card: #FFFDF9;
  --ink: #1B1814;
  --ink-2: #5F574D;
  --ink-3: #8C8377;
  --line: rgba(27, 24, 20, .12);
  --blue: #2235D1;
  --blue-deep: #18259A;
  --on-blue: #F4F1FF;
  --orange: #EE6A1F;
  --orange-ink: #B84A0C;
  --orange-wash: rgba(238, 106, 31, .13);
  --accent-text: #2235D1;
  --shadow: 0 1px 2px rgba(27, 24, 20, .06), 0 12px 32px -12px rgba(27, 24, 20, .18);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Poppins", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14120F;
    --paper-2: #1B1815;
    --card: #211E1A;
    --ink: #F2EDE4;
    --ink-2: #B3AA9D;
    --ink-3: #8A8276;
    --line: rgba(242, 237, 228, .12);
    --blue: #3043DA;
    --blue-deep: #1E2BA8;
    --orange: #F47F3A;
    --orange-ink: #F7A06C;
    --orange-wash: rgba(244, 127, 58, .16);
    --accent-text: #9AA6FF;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(17px, 1.05vw + 12px, 19px)/1.55 var(--serif);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; font: 500 14px var(--sans); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display {
  font-weight: 450;
  font-size: clamp(44px, 5.1vw, 78px);
  line-height: .98;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 72;
}
.display em { display: block; font-style: italic; font-weight: 400; color: var(--accent-text); }
.display--light, .display--light em { color: var(--on-blue); }
.display--light em { color: #FFD7BF; }
.title {
  font-weight: 450;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -.018em;
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}
.kicker, .eyebrow, .label {
  font: 600 12px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.sub { margin-top: 18px; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.head .kicker { margin-bottom: 16px; }
.head--center { margin-inline: auto; text-align: center; }
.head--light .kicker { color: #FFC7A6; }
.head--light .title { color: var(--on-blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; letter-spacing: -.005em;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--blue); color: #fff; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-ink); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.apple { width: 15px; height: 18px; fill: currentColor; flex: none; }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 24px 0 20px; border-radius: 16px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font: 600 21px/1 var(--sans); letter-spacing: -.01em;
  transition: transform .2s var(--ease), background-color .2s;
}
.store .apple { width: 24px; height: 28px; }
.store small { display: block; font: 500 11px/1 var(--sans); letter-spacing: .02em; margin-bottom: 4px; opacity: .8; }
.store:hover { background: var(--blue); color: #fff; }
.store:active { transform: scale(.97); }
.store--light { background: #fff; color: #111; }
.store--light:hover { background: #FFD7BF; color: #111; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.wordmark { font: 500 27px/1 var(--serif); letter-spacing: -.02em; text-decoration: none; font-variation-settings: "opsz" 40; }
.wordmark span { color: var(--orange); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font: 500 14px/1 var(--sans); white-space: nowrap; }
.nav__links a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 1040px) {
  .nav__inner { gap: 18px; }
  .nav__links { gap: 20px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- Language menu ---------- */
.langs { position: relative; margin-left: -8px; font: 500 14px/1 var(--sans); }
.langs summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 10px; border-radius: 999px; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { color: var(--ink); background: var(--orange-wash); }
.langs summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.langs__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 190px; padding: 6px;
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.langs__menu a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); }
.langs__menu a:hover { background: var(--paper); color: var(--ink); }
.langs__menu a[aria-current="page"] { color: var(--ink); }
.langs__menu a[aria-current="page"]::after { content: ""; width: 10px; height: 5px; margin-top: 3px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav .langs { margin-left: auto; }
  .nav .langs + .btn { margin-left: 0; }
}
@media (max-width: 400px) {
  .nav__inner { gap: 12px; }
  .langs summary { padding: 0 8px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); position: relative; }
.hero::before {
  /* faint ruled paper, like a page margin */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: repeating-linear-gradient(to bottom, transparent 0 39px, var(--line) 39px 40px);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 60%, transparent);
  opacity: .5;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hero__copy { padding-top: clamp(8px, 3vw, 48px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; color: var(--ink-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-wash); }
.lede { margin-top: 28px; max-width: 31em; font-size: clamp(18px, 1.2vw + 12px, 21px); color: var(--ink-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 34px; }
.hero__note { font: 500 13px/1.3 var(--sans); color: var(--ink-3); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font: 500 13px/1.3 var(--sans); color: var(--ink-2); }
.facts strong { display: block; font: 500 30px/1 var(--serif); color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; font-variation-settings: "opsz" 48; }

.circled { position: relative; display: inline-block; }
.circled svg { position: absolute; left: -14%; top: -18%; width: 128%; height: 140%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--orange); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.js .circled path { stroke-dashoffset: 1; animation: draw 1.1s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Demo ---------- */
.demo { position: relative; }
.demo__tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.chip {
  border: 0; cursor: pointer; padding: 9px 15px; border-radius: 999px;
  background: transparent; box-shadow: inset 0 0 0 1px var(--line);
  font: 500 13px/1 var(--sans); color: var(--ink-2);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.chip[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }

.page {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.page__book { font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.page__text { font-size: clamp(19px, 1.4vw + 12px, 23px); line-height: 1.5; font-variation-settings: "opsz" 24; hyphens: manual; }
.ctx { color: var(--ink-3); transition: opacity .4s; }
.sentence {
  display: inline; border: 0; padding: 0; margin: 0; background: none; text-align: inherit; cursor: pointer;
  font: inherit; color: var(--ink);
  text-decoration: underline dotted color-mix(in srgb, var(--orange) 70%, transparent);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  border-radius: 6px;
  transition: background-color .35s var(--ease), text-decoration-color .35s;
}
.sentence:hover { background: var(--orange-wash); }
.sentence[aria-expanded="true"] { background: var(--orange-wash); text-decoration-color: transparent; }
.is-open .ctx { opacity: .55; }
.page__hint { display: flex; align-items: center; gap: 10px; margin-top: 18px; font: 500 13px/1 var(--sans); color: var(--orange-ink); transition: opacity .3s; }
.is-open .page__hint { opacity: 0; }
.tapdot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.tapdot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.insight {
  display: grid; grid-template-rows: 0fr;
  margin: -10px 14px 0;
  background: var(--card);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transition: grid-template-rows .6s var(--ease), opacity .35s;
}
.insight__inner { min-height: 0; overflow: hidden; padding: 0 clamp(20px, 2.6vw, 28px); }
.insight__inner > :first-child { margin-top: 26px; }
.insight__inner > :last-child { margin-bottom: 24px; }
.is-open .insight, html:not(.js) .insight { grid-template-rows: 1fr; opacity: 1; }
.insight__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.insight__title { font: 500 21px/1 var(--serif); letter-spacing: -.01em; }
.speak {
  display: inline-flex; align-items: center; gap: 7px; border: 0; cursor: pointer; background: transparent;
  font: 600 13px/1 var(--sans); color: var(--orange-ink); padding: 8px 10px; margin-right: -10px; border-radius: 999px;
}
.speak:hover { background: var(--orange-wash); }
.speak svg { width: 18px; height: 18px; fill: currentColor; }
.speak svg .w { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.speak.is-speaking svg .w { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.insight__langs { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 4px; }
.insight__langs .chip { padding: 7px 11px; font-size: 12px; }
.insight__body > div { padding-top: 16px; }
.insight dt { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.insight dd { margin: 0; font-size: 17px; line-height: 1.5; }
.insight dd[data-slot="tr"] { font-size: 19px; font-style: italic; }
.insight dd em { font-style: italic; color: var(--orange-ink); }
.words { display: flex; flex-wrap: wrap; gap: 8px; }
.words li { padding: 7px 12px; border-radius: 12px; background: var(--paper); font-size: 15px; line-height: 1.2; }
.words b { font-weight: 550; }
.words span { color: var(--ink-2); }
.demo__caption { margin-top: 16px; font: 500 12px/1.4 var(--sans); color: var(--ink-3); text-align: center; }
.insight [data-slot] { transition: opacity .25s; }
.is-swapping .insight [data-slot="tr"], .is-swapping .insight [data-slot="gr"], .is-swapping .insight [data-slot="kw"] { opacity: 0; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .demo { max-width: 620px; }
}

/* ---------- Bands ---------- */
.band { padding: clamp(80px, 10vw, 140px) 0; }
.band--paper2 { background: var(--paper-2); }
.band--blue { background: var(--blue); color: var(--on-blue); position: relative; overflow: hidden; isolation: isolate; }
.band--blue::before {
  /* the contour lines from the App Store artwork, drawn as rings */
  content: ""; position: absolute; inset: -20%; z-index: -1; opacity: .16;
  background:
    repeating-radial-gradient(ellipse 60% 48% at 18% 30%, transparent 0 46px, rgba(255,255,255,.55) 46px 47.5px),
    repeating-radial-gradient(ellipse 52% 60% at 86% 78%, transparent 0 52px, rgba(255,255,255,.45) 52px 53.5px);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 32px; }
.step:nth-child(2) { margin-top: 56px; }
.step__n { display: block; font: 600 12px/1 var(--sans); letter-spacing: .14em; color: #FFC7A6; margin-bottom: 12px; }
.step h3 { font: 450 26px/1.15 var(--serif); letter-spacing: -.012em; margin-bottom: 10px; color: #fff; }
.step p { color: color-mix(in srgb, var(--on-blue) 80%, transparent); font-size: 17px; }

.phone {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 420 / 913;
  border-radius: 46px;
  padding: 9px;
  background: #0E0E10;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.14) inset, 0 40px 70px -30px rgba(0,0,0,.55);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.phone--lg { width: min(100%, 340px); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 64px; }
  .step:nth-child(2) { margin-top: 0; }
  .step { align-items: center; text-align: center; }
  .phone { width: min(60vw, 280px); border-radius: 40px; padding: 8px; }
  .phone img { border-radius: 33px; }
}

/* ---------- Library ---------- */
.shelf { margin-bottom: clamp(48px, 6vw, 72px); }
.shelf__row {
  display: flex; align-items: flex-end; justify-content: center; gap: 6px;
  overflow-x: auto; scrollbar-width: none; padding: 30px 2px 0;
}

.shelf__row::-webkit-scrollbar { display: none; }
.spine {
  --h: 300px; --c: #7A2630; --f: #E9C878;
  flex: 1 0 auto; max-width: 84px; position: relative;
  width: 62px; height: var(--h);
  border-radius: 5px 5px 3px 3px;
  background: var(--c);
  color: var(--f);
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between;
  padding: 24px 0 22px;
  writing-mode: vertical-rl;
  transition: transform .45s var(--ease);
}
.spine::before, .spine::after {
  /* foil rules near the head and tail */
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; border-block: 1px solid currentColor; opacity: .7;
}
.spine::before { top: 12px; }
.spine::after { bottom: 10px; }
.spine b { font: 500 17px/1 var(--serif); letter-spacing: .01em; white-space: nowrap; transform: rotate(180deg); margin-inline: auto; }
.spine i { font: 600 9.5px/1 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; opacity: .85; transform: rotate(180deg); }
.spine:hover { transform: translateY(-14px); }
.s1 { --c: #8E2B32; --h: 300px; } .s2 { --c: #1F4A3A; --h: 330px; width: 70px; } .s3 { --c: #1E2B5C; --h: 312px; }
.s4 { --c: #C7672A; --h: 262px; --f: #FFF1D6; } .s5 { --c: #3D2B46; --h: 296px; } .s6 { --c: #1A1A1C; --h: 318px; --f: #D9B3B3; width: 56px; }
.s7 { --c: #6E5A2E; --h: 286px; --f: #F5E6BE; } .s8 { --c: #2D5B6E; --h: 304px; } .s9 { --c: #8B4A2B; --h: 326px; width: 72px; }
.s10 { --c: #B02F2A; --h: 248px; --f: #FFE4C9; } .s11 { --c: #2E3A2A; --h: 292px; } .s12 { --c: #2235D1; --h: 270px; --f: #FFE0C8; }
.s13 { --c: #4A1F2A; --h: 334px; width: 76px; } .s14 { --c: #6F7F5A; --h: 280px; --f: #F7F1DC; } .s15 { --c: #9C3E52; --h: 258px; }
.s16 { --c: #2B2B2B; --h: 308px; --f: #EFCB8A; }
.shelf__row .spine:hover { transform: translateY(-14px); }
@media (max-width: 1100px) {
  .shelf__row { justify-content: flex-start; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .shelf__row .spine { flex-grow: 0; }
}
.shelf__board { height: 14px; border-radius: 3px; background: var(--ink); opacity: .85; margin-top: -1px; }

.library__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.label { margin-bottom: 16px; color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 9px 15px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 14px/1 var(--sans); }
.pills--soft li { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pills a { color: inherit; text-decoration: none; }
.pills a:hover { text-decoration: underline; text-underline-offset: 3px; }
.library__browse { margin-top: clamp(40px, 5vw, 64px); }
.levels li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.levels li:first-child { padding-top: 2px; }
.bar { width: 42px; height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--orange) var(--p), var(--line) var(--p)); }
.b1 { --p: 33%; } .b2 { --p: 66%; } .b3 { --p: 100%; }
@media (max-width: 860px) { .library__grid { grid-template-columns: 1fr; } }

/* ---------- Practice ---------- */
.practice { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 110px); align-items: center; }
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.games li { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-top: 1px solid var(--line); }
.games b { font: 500 20px/1.2 var(--serif); letter-spacing: -.01em; }
.games span { font: 500 13px/1.35 var(--sans); color: var(--ink-3); }
.practice .phone { background: #0E0E10; }
@media (max-width: 860px) {
  .practice { grid-template-columns: 1fr; }
  .practice .phone { margin-inline: auto; width: min(64vw, 300px); }
}
@media (max-width: 480px) { .games { grid-template-columns: 1fr; } }

/* ---------- Details ---------- */
.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px); }
.details svg { width: 30px; height: 30px; fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.details h3 { font: 500 22px/1.2 var(--serif); letter-spacing: -.01em; margin-bottom: 8px; }
.details p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 980px) { .details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .details { grid-template-columns: 1fr; } }

/* ---------- Review ---------- */
.voice { padding: clamp(64px, 8vw, 104px) 0; }
.voice__inner { text-align: center; max-width: 640px; }
.stars { color: var(--orange); letter-spacing: .2em; font-size: 20px; margin-bottom: 18px; }
.voice__title { font: 500 15px/1 var(--sans); letter-spacing: .02em; color: var(--ink-2); margin-bottom: 14px; }
.voice blockquote p:last-child { font: italic 400 clamp(30px, 3.4vw, 46px)/1.15 var(--serif); letter-spacing: -.015em; }
.voice__src { margin-top: 20px; font: 500 13px/1 var(--sans); color: var(--ink-3); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.plan__price { font: 450 54px/1 var(--serif); letter-spacing: -.03em; font-variation-settings: "opsz" 72; }
.plan__price span { font: 500 15px var(--sans); letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.plan__lede { margin: 10px 0 24px; color: var(--ink-2); font-size: 17px; }
.plan ul { display: grid; align-content: start; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 17px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 12px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; }
.plan--pro { background: var(--ink); color: var(--paper); box-shadow: none; }
.plan--pro h3 { color: #FFC7A6; }
.plan--pro .plan__price span, .plan--pro .plan__lede { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.plan--pro .btn--line { color: var(--paper); }
.fineprint { margin: 24px auto 0; max-width: 620px; text-align: center; font: 500 13px/1.5 var(--sans); color: var(--ink-3); }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .head { position: sticky; top: 110px; }
.faq .sub a { color: var(--orange-ink); text-underline-offset: 3px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font: 500 21px/1.3 var(--serif); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.8px solid var(--ink-2); border-bottom: 1.8px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 36em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq .head { position: static; } }

/* ---------- CTA ---------- */
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }

/* ---------- Footer ---------- */
.foot { padding: 72px 0 32px; border-top: 1px solid var(--line); }
.foot__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot__brand p { margin-top: 12px; color: var(--ink-2); max-width: 22em; font-size: 17px; }
.foot__cols { display: flex; gap: clamp(32px, 6vw, 88px); flex-wrap: wrap; }
.foot__cols h2 { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.foot__cols a { display: block; padding: 5px 0; font: 500 14px/1.4 var(--sans); text-decoration: none; color: var(--ink-2); }
.foot__cols a:hover { color: var(--ink); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font: 500 12px/1.4 var(--sans); color: var(--ink-3); }
.totop { text-decoration: none; }
.foot__langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot__langs a { text-decoration: none; color: var(--ink-3); }
.foot__langs a:hover, .foot__langs a[aria-current="page"] { color: var(--ink); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__copy > * { animation: rise .9s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .06s; }
.js .hero__copy > :nth-child(3) { animation-delay: .14s; }
.js .hero__copy > :nth-child(4) { animation-delay: .22s; }
.js .hero__copy > :nth-child(5) { animation-delay: .3s; }
.js .demo { animation: rise 1s .25s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .circled path { stroke-dashoffset: 0; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; align-items: center; }
.notfound .wordmark { display: inline-block; margin-bottom: 64px; }
.notfound .sub { margin: 24px 0 36px; }
