/* Learncher site. Warm paper, ink, and the app's amber; one night section for contrast.
   Type: Instrument Serif for display, Geist for reading, LXGW WenKai for the words themselves. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/serif.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Learncher Hand"; src: url("/assets/fonts/hand.woff2") format("woff2"); font-display: swap; }
/* Metric-matched fallbacks, so text doesn't jump when the web fonts arrive. */
@font-face { font-family: "Serif Fallback"; src: local("Times New Roman"), local("Times"); size-adjust: 92%; ascent-override: 98%; }
@font-face { font-family: "Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 104%; ascent-override: 92%; }

:root {
  --paper: #f5f0e6;
  --paper-2: #efe7d8;
  --card: #fbf8f2;
  --ink: #16130e;
  --ink-2: #463f35;
  --ink-3: #6f675b;
  --line: rgb(22 19 14 / 0.1);
  --line-strong: rgb(22 19 14 / 0.18);
  --amber: #e8c77a;
  --amber-deep: #b98a2e;
  --night: #0e0d0b;
  --night-2: #191714;
  --night-ink: #f2eee6;
  --night-ink-2: #b4ada1;

  --serif: "Instrument Serif", "Serif Fallback", Georgia, serif;
  --sans: "Geist", "Sans Fallback", system-ui, -apple-system, sans-serif;
  --hand: "Learncher Hand", var(--sans);

  --gutter: max(20px, env(safe-area-inset-left));
  --max: 1180px;
  --radius: 28px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-phone: 0 1px 1px rgb(22 19 14 / 0.06), 0 12px 24px -8px rgb(22 19 14 / 0.18), 0 40px 80px -24px rgb(22 19 14 / 0.35);
  --shadow-card: 0 1px 1px rgb(22 19 14 / 0.05), 0 8px 20px -10px rgb(22 19 14 / 0.25), 0 24px 48px -24px rgb(22 19 14 / 0.3);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
/* A whisper of paper grain over everything. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.night :focus-visible { outline-color: var(--amber); }
::selection { background: var(--amber); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }

/* ---- Type ---- */
h1, h2, h3 { color: var(--ink); font-weight: 400; margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.015em; }
h1 { font-size: clamp(60px, 9.2vw, 128px); line-height: 0.94; }
h2 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1; }
h3 { font-family: var(--sans); font-size: 19px; font-weight: 560; letter-spacing: -0.01em; line-height: 1.35; }
h1 em, h2 em { font-style: italic; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; max-width: 34em; }
.eyebrow { font-size: 12.5px; font-weight: 560; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.hand { font-family: var(--hand); }

/* The amber marker: drawn by hand behind one word per headline. */
.mark {
  font-style: italic;
  padding: 0 0.1em; margin: 0 -0.04em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath fill='%23E8C77A' d='M6 14C50 6 120 12 194 6c4 14-2 28 4 42-50 8-120 2-190 8C2 42 10 28 6 14z'/%3E%3C/svg%3E") no-repeat 0 62% / 100% 66%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.night .mark { color: var(--ink); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 10px 0 22px;
  border-radius: 999px; text-decoration: none;
  font: 520 16.5px/1 var(--sans); letter-spacing: -0.005em;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 rgb(255 255 255 / 0.12) inset, 0 10px 24px -12px rgb(22 19 14 / 0.6); }
.btn-ink:hover { background: #2a251d; }
.btn-paper { background: var(--night-ink); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.price-chip { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.btn-ink .price-chip { background: rgb(255 255 255 / 0.12); }
.btn-paper .price-chip { background: rgb(22 19 14 / 0.08); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 520; text-decoration: none; }
.link-arrow span { transition: transform 160ms var(--ease); }
.link-arrow:hover span { transform: translateY(2px); }
@media (hover: none) { .btn-ink:hover { background: var(--ink); } .btn-paper:hover { background: var(--night-ink); } }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(245 240 230 / 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 15px; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.nav a:hover { background: rgb(22 19 14 / 0.05); color: var(--ink); }
.site-header .btn { min-height: 44px; padding: 0 6px 0 16px; font-size: 15px; }
.site-header .price-chip { height: 32px; padding: 0 10px; }

/* ---- Hero ---- */
.hero { position: relative; padding: 56px 0 96px; }
.hero::before {
  /* Dot-grid notebook paper and a lamp-warm glow, fading out toward the edges. */
  content: ""; position: absolute; inset: -72px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 38%, rgb(232 199 122 / 0.5), transparent 70%),
    radial-gradient(rgb(22 19 14 / 0.11) 1.1px, transparent 1.3px) 0 0 / 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 14px; color: var(--ink-2); }
.badge b { display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.assurances { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; font-size: 14.5px; color: var(--ink-3); }
.assurances li { display: inline-flex; align-items: center; gap: 7px; }
.assurances svg { width: 16px; height: 16px; color: var(--amber-deep); }

/* The phone: graphite, thin bezel, punch-hole camera. */
.stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone {
  position: relative; width: min(330px, 78vw); padding: 9px; border-radius: 52px;
  background: linear-gradient(145deg, #4a4a4e, #1b1b1d 45%, #36363a);
  box-shadow: var(--shadow-phone);
}
.phone::before { content: ""; position: absolute; inset: 3px; border-radius: 49px; background: #050505; }
.phone::after { content: ""; position: absolute; top: 22px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #0a0a0a; box-shadow: 0 0 0 1.5px #222225; }
.phone img { position: relative; width: 100%; aspect-ratio: 1280 / 2596; border-radius: 43px; background: #000; }
.hero .phone { transform: rotate(-3deg); }

/* The live word card: the same thing the app shows on home, tap and all. */
.word-card {
  position: absolute; left: -10%; bottom: 2%; width: min(310px, 74vw);
  padding: 22px 24px 18px; border-radius: 26px;
  background: #050505; color: var(--night-ink);
  box-shadow: var(--shadow-card), 0 0 0 1px rgb(255 255 255 / 0.08) inset;
  transform: rotate(2.5deg);
  display: grid; gap: 10px;
}
.word-card .meta { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8d877d; }
.word-btn { all: unset; position: relative; display: block; cursor: pointer; padding: 10px 0 6px; border-radius: 10px; }
.word-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.word-btn::before, .word-btn::after { content: ""; position: absolute; left: 0; right: 0; border-top: 1px dashed rgb(255 255 255 / 0.12); }
.word-btn::before { top: 20%; }
.word-btn::after { top: 45%; }
.word { display: block; font-family: var(--hand); font-size: 62px; line-height: 1.15; border-bottom: 1px solid rgb(255 255 255 / 0.18); overflow-wrap: anywhere; }
.reading { font-family: var(--hand); color: var(--amber); font-size: 18px; min-height: 1.4em; }
.meaning { font-family: var(--hand); font-size: 18px; color: #c9c3b8; min-height: 1.5em; transition: opacity 200ms var(--ease), filter 200ms var(--ease); }
/* Hidden like on the phone: the shape of the answer is there, the words aren't. */
.word-card[data-hidden] .meaning, .word-card[data-hidden] .reading { opacity: 0.55; filter: blur(7px); user-select: none; }
.word-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hint { font-family: var(--hand); font-size: 15px; color: #8d877d; transition: opacity 200ms var(--ease); }
.word-card:not([data-hidden]) .hint { opacity: 0; }
.next {
  border: 0; cursor: pointer; flex: none;
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: rgb(255 255 255 / 0.08); color: var(--night-ink); font: 500 13.5px var(--sans);
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.next:hover { background: rgb(255 255 255 / 0.14); }
.next:active { transform: scale(0.96); }
.sticker {
  position: absolute; right: 2%; top: 7%;
  display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  font: 18px/1.05 var(--hand); text-align: center;
  box-shadow: 0 0 0 9px var(--amber), inset 0 0 0 2px rgb(22 19 14 / 0.25), var(--shadow-card);
  outline: 2px dashed rgb(22 19 14 / 0.28); outline-offset: -12px;
  transform: rotate(10deg);
  pointer-events: none;
}

/* ---- Word band ---- */
.band { border-block: 1px solid var(--line); padding: 26px 0; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 10px 28px; }
.band span { font-family: var(--hand); font-size: clamp(22px, 2.4vw, 30px); color: var(--ink-3); }
.band span:first-child { color: var(--ink); }

/* ---- Sections ---- */
section { padding: clamp(88px, 11vw, 140px) 0; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head p { font-size: 18px; max-width: 38em; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.step { display: grid; grid-template-rows: auto 1fr; gap: 22px; padding: 14px 14px 26px; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.step figure { margin: 0; position: relative; aspect-ratio: 5 / 4; border-radius: 18px; overflow: hidden; background: #000; }
.step figure img { width: 100%; height: 100%; object-fit: cover; }
.step .text { display: grid; gap: 8px; padding: 0 12px; align-content: start; }
.step .n { font-family: var(--hand); font-size: 22px; color: var(--amber-deep); }
.tap {
  position: absolute; left: 22%; top: 46%; width: 54px; height: 54px; border-radius: 50%;
  background: rgb(232 199 122 / 0.35); box-shadow: 0 0 0 10px rgb(232 199 122 / 0.16);
}

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split .copy { display: grid; gap: 22px; justify-items: start; }
.ticks { display: grid; gap: 12px; padding: 0; margin: 4px 0 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.ticks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--amber-deep); }
.ticks b { color: var(--ink); font-weight: 560; }

.strokes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.strokes figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #000; box-shadow: var(--shadow-card); }
.strokes figure:nth-child(1) { transform: rotate(-2deg); }
.strokes figure:nth-child(2) { transform: rotate(1.5deg) translateY(18px); }
.strokes figure:nth-child(3) { transform: rotate(1deg); }
.strokes figure:nth-child(4) { transform: rotate(-1.5deg) translateY(18px); }
.strokes figcaption { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--ink); font: 18px var(--hand); }
.gloss { margin-top: 40px; font-family: var(--hand); font-size: 22px; color: var(--ink-3); }
.gloss b { color: var(--ink); font-weight: 400; font-size: 30px; }
.gloss i { font-style: normal; color: var(--amber-deep); }

/* Night section */
.night { background: var(--night); color: var(--night-ink-2); position: relative; overflow: hidden; }
.night::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 25% 50%, rgb(232 199 122 / 0.16), transparent 70%), radial-gradient(rgb(255 255 255 / 0.07) 1.1px, transparent 1.3px) 0 0 / 24px 24px; }
.night .wrap { position: relative; }
.night h2, .night h3, .night .ticks b { color: var(--night-ink); }
.night .eyebrow { color: #8d877d; }
.night .ticks svg { color: var(--amber); }
.night .phone { box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.8), 0 0 0 1px rgb(255 255 255 / 0.06); }
.countdown { position: absolute; right: -6%; bottom: 6%; font: italic 140px/1 var(--serif); color: var(--amber); transform: rotate(-6deg); text-shadow: 0 10px 40px rgb(0 0 0 / 0.5); pointer-events: none; }

/* Two cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.tile .text { display: grid; gap: 10px; padding: 36px 36px 0; }
.tile .text p { max-width: 30em; }
.tile .peek { position: relative; height: 380px; margin-top: 36px; overflow: hidden; }
.tile .peek .phone { position: absolute; left: 50%; top: 0; width: 300px; transform: translateX(-50%); }
.tile .chip-shot { position: absolute; right: 7%; top: 120px; width: 210px; border-radius: 18px; box-shadow: var(--shadow-card), 0 0 0 1px rgb(255 255 255 / 0.08); transform: rotate(4deg); }

/* Languages */
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.langs li { display: grid; gap: 4px; padding: 18px 20px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.langs li:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-card); }
.langs .native { font-family: var(--hand); font-size: 30px; line-height: 1.2; color: var(--ink); }
.langs .first { font-size: 14px; color: var(--ink-3); }
.langs .first i { font-style: normal; font-family: var(--hand); font-size: 16px; color: var(--ink-2); }
@media (hover: none) { .langs li:hover { transform: none; box-shadow: 0 0 0 1px var(--line); } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.price-card { position: relative; padding: 40px; border-radius: 32px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); display: grid; gap: 26px; }
.price { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); color: var(--ink); }
.price .amount { font-size: clamp(88px, 10vw, 120px); line-height: 0.9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price .once { font-style: italic; font-size: 34px; color: var(--ink-3); }
.price-card .fine { font-size: 13.5px; color: var(--ink-3); }

/* Privacy */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.promises li { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line); }
.promises svg { width: 28px; height: 28px; color: var(--amber-deep); }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 22px 48px 22px 0; color: var(--ink); font-size: 18px; font-weight: 520; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq details p { padding: 0 48px 24px 0; }

/* Final call */
.final { text-align: center; }
.final .wrap { display: grid; justify-items: center; gap: 28px; }
.final h2 { font-size: clamp(48px, 7vw, 96px); max-width: 12em; }
.final .hand-word { font-family: var(--hand); font-style: normal; color: var(--amber); }
.final .assurances { justify-content: center; color: #8d877d; }

/* ---- Footer ---- */
.site-footer { background: var(--night); color: #8d877d; padding: 0 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14.5px; }
.site-footer .top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding: 64px 0 48px; border-top: 1px solid rgb(255 255 255 / 0.08); }
.site-footer .brand { color: var(--night-ink); }
.site-footer .brand img { box-shadow: none; }
.site-footer .about { display: grid; gap: 16px; align-content: start; max-width: 300px; }
.site-footer h4 { margin: 0 0 14px; color: var(--night-ink); font-size: 13px; font-weight: 560; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-block; padding: 5px 0; text-decoration: none; transition: color 160ms var(--ease); }
.site-footer a:hover { color: var(--night-ink); }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: 13px; line-height: 1.6; }
.site-footer .bottom p { max-width: 70ch; }

/* ---- Document pages (privacy) ---- */
.doc { padding: 72px 0 120px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(52px, 8vw, 88px); margin-bottom: 16px; }
.doc h2 { font-size: 36px; margin: 56px 0 14px; }
.doc p, .doc li { font-size: 17.5px; }
.doc p { margin-bottom: 1.2em; }
.doc .updated { color: var(--ink-3); font-size: 15px; margin-bottom: 40px; }
.doc .short { padding: 24px 28px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font-size: 19px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.doc th { color: var(--ink); font-weight: 560; }
.doc code { font: 500 0.92em var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.doc strong { color: var(--ink); font-weight: 560; }

/* ---- 404 ---- */
.lost { min-height: calc(100dvh - 72px); display: grid; place-content: center; justify-items: center; gap: 18px; padding: 48px 20px; text-align: center; }
.lost .word { font-family: var(--hand); font-size: clamp(80px, 16vw, 150px); color: var(--ink); border: 0; }
.lost p { font-size: 18px; }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .hero .wrap, .split, .pricing, .faq { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .stage { min-height: 0; padding: 24px 0 8px; }
  .steps, .promises { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr 1fr; grid-template-rows: none; align-items: center; }
  .duo { grid-template-columns: 1fr; }
  .split.flip .media { order: 2; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .site-footer .about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .site-header .wrap { height: 64px; }
  .word-card { left: 0; bottom: -2%; }
  .sticker { width: 104px; height: 104px; font-size: 15px; right: 0; top: 2%; }
  .step { grid-template-columns: 1fr; }
  .tile .text { padding: 28px 24px 0; }
  .tile .peek { height: 320px; }
  .tile .chip-shot { width: 170px; right: 3%; }
  .price-card { padding: 28px 24px; }
  .countdown { font-size: 100px; right: 0; }
  .faq summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
