/* Wonder landing site. Colors, radii and the type scale come from docs/DESIGN.md; the paper tints and the
   depth treatment (rim, gloss, layered tinted shadows) follow the redesigned app (docs/WEEKLY/pitches/2026-10-05-depth).
   Marketing-only sizes are marked "site". Light only, like the app. Spacing steps: 8 16 24 40 64 96 120. */

@font-face {
  font-family: "Assistant";
  src: url("fonts/Assistant.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #F5F4F1;
  --ground-sunk: #F1F0EC;
  --surface: #FBFAF7;
  --surface-white: #FFFFFF;
  --ink: #6B675E;          /* body copy */
  --ink-head: #46423A;     /* headlines: warm, never near-black */
  --ink-hero: #1F1F1C;     /* the wordmark only */
  --ink-strong: #1C1B18;
  --ink-mid: #33322D;
  --ink-faint: #6F6E67;
  --line: #E4E2DC;
  --line-strong: #DCDAD3;
  --accent: #25A06B;
  --accent-soft: #E7F5EF;
  --accent-ink: #1B734D;
  --paper-yellow: #F4E7B8;

  --ui-font: "Assistant", "Arial Hebrew", Arial, sans-serif;

  --r-md: 9px;
  --r-lg: 11px;
  --r-xl: 14px;
  --r-sheet: 18px;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px; --s7: 120px;
  --wrap: 1200px;
  --gutter: 16px;
  --section: clamp(64px, 9vw, 120px);

  /* depth: broad ambient + mid + contact, tinted instead of grey */
  --float:
    0 1px 2px rgba(48, 44, 60, .08),
    0 10px 24px -8px rgba(48, 44, 60, .14),
    0 36px 64px -28px rgba(48, 44, 60, .26),
    0 72px 110px -56px rgba(48, 44, 60, .20);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--ui-font);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent-soft); color: var(--accent-ink); }

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

a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink-head); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.skip {
  position: absolute; inset-inline-start: 12px; top: -48px; z-index: 20;
  background: var(--surface-white); padding: 8px 14px; border-radius: var(--r-md);
}
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 244, 241, .86);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.top.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(48, 44, 60, .18); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-hero); }
.brand img { width: 30px; height: 30px; }
.brand span { font-size: 20px; font-weight: 800; letter-spacing: -.4px; }

.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
.nav a:hover { color: var(--ink-hero); }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-inline-start: auto; } }

/* ---------- buttons: soft glass pill, and the green jewel ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(70, 66, 58, .14);
  background: linear-gradient(180deg, #FFFFFF, #F6F4EF);
  color: var(--ink-head);
  font: 700 15px/1 var(--ui-font);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 1px 2px rgba(48, 44, 60, .08), 0 6px 14px -8px rgba(48, 44, 60, .22);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { color: var(--ink-hero); transform: translateY(-1px); box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(48, 44, 60, .08), 0 12px 20px -10px rgba(48, 44, 60, .28); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-lg { height: 56px; padding: 0 32px; font-size: 18px; }
.btn-primary {
  border-color: #176346;
  background: linear-gradient(180deg, #2A9A6C 0%, #1F8459 52%, #1A7050 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .35) inset,
    0 -1px 0 rgba(0, 0, 0, .12) inset,
    0 2px 4px rgba(23, 99, 70, .20),
    0 14px 24px -10px rgba(23, 99, 70, .50);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 -1px 0 rgba(0, 0, 0, .12) inset, 0 3px 6px rgba(23, 99, 70, .22), 0 20px 30px -12px rgba(23, 99, 70, .55);
}
.btn-cream {
  border-color: rgba(255, 255, 255, .6);
  background: linear-gradient(180deg, #FFFFFF, #F1EFE8);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(10, 50, 35, .18), 0 16px 28px -12px rgba(10, 50, 35, .55);
}
.btn-cream:hover { color: #14573B; }

/* ---------- hero (shared with start.html, then the home variant) ---------- */
.hero { padding-top: clamp(56px, 9vw, 112px); text-align: center; }
.hero h1 {
  margin: 0 auto;
  max-width: 15ch;
  color: var(--ink-hero);
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-wrap: balance;
}
.hero .lede {
  margin: 24px auto 0;
  max-width: 36em;
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 520px) { .cta-row .btn-lg { width: 100%; max-width: 320px; } }
.cta-note { margin: 16px 0 0; font-size: 15px; color: var(--ink-faint); }
.cta-note a { color: inherit; }

.hero-home { position: relative; text-align: start; padding-top: clamp(40px, 6vw, 88px); padding-bottom: 0; overflow: clip; }
.hero-home .copy { position: relative; z-index: 1; max-width: 640px; }
.hero-home h1 { margin: 0; max-width: none; font-size: inherit; letter-spacing: 0; text-wrap: wrap; }
.hero-home .mark {
  display: block;
  color: var(--ink-hero);
  font-size: clamp(120px, 24vw, 280px);
  line-height: .82;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero-home .rule {
  display: block; width: 120px; height: 4px; margin-block: var(--s4) var(--s3);
  border-radius: 4px;
  background: linear-gradient(90deg, #2A9A6C, #7FD3AE);
}
.hero-home .say {
  display: block;
  max-width: 20ch;
  color: var(--ink-head);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero-home .lede { margin: var(--s3) 0 0; max-width: 31em; font-size: clamp(18px, 2vw, 22px); }
.hero-home .cta-row { justify-content: flex-start; margin-top: var(--s4); }
@media (max-width: 520px) { .hero-home .cta-row .btn-lg { max-width: none; } }
.hero-home .cta-note { margin-top: var(--s2); }
.hero-home .by { justify-content: flex-start; margin-top: var(--s4); }

/* the page curling up at the corner: paper, light, shadow */
.curl {
  position: absolute; z-index: 0; top: 0; inset-inline-end: 0;
  width: clamp(300px, 46vw, 620px); height: auto;
  transform: translateX(-14%);
  pointer-events: none;
  opacity: .96;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26%);
  mask-image: linear-gradient(180deg, transparent 0, #000 26%);
}
@media (max-width: 899px) { .curl { width: 54vw; opacity: .55; } }

/* ---------- floating UI: a card of light, never a flat rectangle ---------- */
.float {
  position: relative; margin: 0;
  border-radius: var(--fr, 22px);
  box-shadow: var(--float);
  background: var(--surface);
}
.float img { width: 100%; border-radius: inherit; }
.float::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, 0) 30%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 1px rgba(60, 50, 70, .07);
}

.hero-shot { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 72px); }
.hero-shot .float { --fr: clamp(14px, 2vw, 26px); max-width: 1120px; margin-inline: auto; }
@media (max-width: 640px) { .hero-shot .float { --fr: 16px; } }
/* a soft pool of mint under the window, so it hovers instead of sitting */
.hero-shot::before {
  content: ""; position: absolute; z-index: -1; inset: 18% -4% -10% -4%;
  background: radial-gradient(60% 60% at 50% 55%, rgba(120, 200, 170, .30), rgba(120, 200, 170, 0) 70%);
  filter: blur(8px);
}

.by {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  margin: 40px auto 0; padding: 0; list-style: none;
  color: var(--ink); font-size: 16px;
}
.by li { display: flex; align-items: center; gap: 8px; }
.by svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- sections ---------- */
section { padding-block: var(--section); }
.hero-home { padding-bottom: var(--s6); }
.sect-head { max-width: 40em; }
.sect-head.center { margin-inline: auto; text-align: center; }
.kicker { margin: 0 0 var(--s2); font-size: 16px; font-weight: 700; color: var(--accent-ink); }
h2 {
  margin: 0;
  color: var(--ink-head);
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.sect-head p { margin: var(--s3) 0 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; color: var(--ink); text-wrap: pretty; }
h3 { margin: 0; color: var(--ink-head); font-size: 20px; line-height: 1.35; font-weight: 700; }

/* depth stage: a tinted, lit panel that the floating pieces rest on */
.stage {
  position: relative;
  padding: clamp(24px, 4vw, 56px);
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--stage, linear-gradient(180deg, #E6F1EC, #D5E7DF));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .8) inset,
    0 0 0 1px rgba(60, 90, 80, .06),
    0 24px 48px -28px rgba(46, 80, 68, .30);
}
.stage::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%);
}
.stage > * { position: relative; }
.stage-mint { --stage: linear-gradient(180deg, #E8F2EE 0%, #D3E6DD 100%); }
.stage-blue { --stage: linear-gradient(180deg, #E8EEF7 0%, #D4DEEE 100%); display: grid; align-content: center; min-height: clamp(260px, 32vw, 380px); }
.stage-warm { --stage: linear-gradient(180deg, #F3EEE6 0%, #E9E2D6 100%); }

/* ---------- switcher: from Word / from Final Draft ---------- */
.switch {
  display: inline-flex; gap: 4px; padding: 4px; margin-top: var(--s4);
  background: var(--ground-sunk); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(48, 44, 60, .05) inset;
}
.switch button {
  appearance: none; border: 0; cursor: pointer;
  height: 44px; padding: 0 24px; border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 700 16px/1 var(--ui-font);
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.switch button:hover { color: var(--ink-head); }
.switch button[aria-selected="true"] {
  background: linear-gradient(180deg, #FFFFFF, #F8F6F1); color: var(--ink-head);
  box-shadow: 0 1px 0 #fff inset, 0 1px 2px rgba(48, 44, 60, .10), 0 6px 12px -6px rgba(48, 44, 60, .22);
}

.from { display: grid; gap: var(--s5); align-items: center; margin-top: var(--s5); }
@media (min-width: 900px) { .from { grid-template-columns: 5fr 6fr; gap: var(--s6); } }
.js .from[hidden] { display: none; }
.from + .from { margin-top: var(--s6); }
.js .from + .from { margin-top: var(--s5); }

.from h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.from > div > p { margin: var(--s2) 0 0; color: var(--ink); }
.points { margin: var(--s4) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s3); }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.points svg { width: 22px; height: 22px; margin-top: 4px; color: var(--accent); }
.points b { display: block; color: var(--ink-head); font-weight: 700; }
.points span { color: var(--ink); font-size: 17px; }

/* the visual for each side: pieces resting on the stage */
.from-visual { position: relative; }
.dialog-card { --fr: clamp(16px, 2.6vw, 30px); width: 84%; margin-inline-end: auto; }
.tile-card {
  --fr: clamp(12px, 1.8vw, 20px);
  position: absolute; z-index: 2; bottom: clamp(-12px, -1vw, 0px); inset-inline-end: 2%;
  width: 46%;
  transform: rotate(-4deg);
  box-shadow: var(--float);
}
.menu-card { --fr: clamp(14px, 2vw, 24px); }

/* ---------- ideas ---------- */
.ideas-head { max-width: 40em; }
.ideas-stage { margin-top: var(--s5); padding-bottom: clamp(24px, 4vw, 56px); }
.board-card { --fr: clamp(14px, 2vw, 26px); width: min(100%, 920px); margin-inline: auto; }
.notes {
  display: grid; gap: var(--s4);
  margin: clamp(-72px, -6vw, -32px) 0 0; padding: 0; list-style: none;
  position: relative; z-index: 2;
}
@media (min-width: 900px) { .notes { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; } }
@media (max-width: 899px) { .notes { margin-top: var(--s4); } }

.note {
  position: relative;
  padding: 44px 28px 36px;
  border-radius: 6px 6px 6px 6px;
  background: var(--n-bg);
  color: var(--n-body);
  transform: rotate(var(--tilt, 0deg));
  box-shadow:
    0 1px 1px rgba(60, 50, 30, .10),
    0 10px 18px -8px rgba(60, 50, 30, .22),
    0 30px 46px -26px rgba(60, 50, 30, .34);
}
.note h3 { color: var(--n-head); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.note p { margin: 10px 0 0; font-size: 17px; line-height: 1.6; color: var(--n-body); }
/* tape */
.note.taped::before {
  content: ""; position: absolute; top: -15px; left: 50%; width: 96px; height: 30px;
  transform: translateX(-50%) rotate(var(--tape, -3deg));
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .46));
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 1px 3px rgba(60, 50, 30, .14);
}
/* pin */
.note.pinned::before {
  content: ""; position: absolute; top: 12px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFB3A4 0%, #D9594A 55%, #A63328 100%);
  box-shadow: 0 5px 6px -2px rgba(80, 30, 20, .45), 0 1px 1px rgba(80, 30, 20, .4);
}
/* the corner curling up */
.note::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 44px; height: 44px;
  background: linear-gradient(225deg, rgba(255, 255, 255, 0) 48%, rgba(60, 50, 30, .16) 50%, var(--n-curl) 54%, var(--n-curl) 100%);
  border-bottom-left-radius: 6px;
  box-shadow: -4px 4px 8px -4px rgba(60, 50, 30, .25);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.note-yellow { --n-bg: linear-gradient(168deg, #FBF0BE 0%, #F3E193 100%); --n-head: #5C4C14; --n-body: #6E5A1E; --n-curl: #EAD684; }
.note-peach  { --n-bg: linear-gradient(168deg, #FBE3D6 0%, #F2CDBA 100%); --n-head: #6E3A25; --n-body: #80492F; --n-curl: #E6BCA7; }
.note-violet { --n-bg: linear-gradient(168deg, #EDE5F6 0%, #DCCFEC 100%); --n-head: #46365F; --n-body: #5B4776; --n-curl: #CDBDE0; }

/* ---------- features: a bento of five tinted tiles, 40px apart ---------- */
.bento { display: grid; gap: clamp(24px, 3.5vw, var(--s4)); margin-top: var(--s5); }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
.tile {
  position: relative;
  padding: clamp(28px, 3.6vw, 48px);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--t-bg);
  color: var(--t-body);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .75) inset,
    0 0 0 1px var(--t-edge),
    0 2px 4px var(--t-shadow),
    0 22px 36px -22px var(--t-shadow-deep);
}
.tile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(90% 70% at 80% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 65%);
}
.tile > * { position: relative; }
.tile .ico {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s3);
  border-radius: 18px;
  color: var(--t-head);
  background: linear-gradient(180deg, #FFFFFF, rgba(255, 255, 255, .62));
  box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(255, 255, 255, .5), 0 8px 14px -6px var(--t-shadow-deep);
}
.tile .ico svg { width: 28px; height: 28px; }
.tile h3 { color: var(--t-head); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.tile p { margin: var(--s2) 0 0; font-size: 18px; line-height: 1.6; color: var(--t-body); max-width: 28em; }
.tile-blue   { --t-bg: linear-gradient(170deg, #E8EEF8 0%, #D6E0F0 100%); --t-head: #3A5377; --t-body: #4E6486; --t-edge: rgba(58, 83, 119, .08); --t-shadow: rgba(58, 83, 119, .10); --t-shadow-deep: rgba(58, 83, 119, .30); }
.tile-yellow { --t-bg: linear-gradient(170deg, #FAF1CD 0%, #F2E4A8 100%); --t-head: #6E5A1E; --t-body: #7A6628; --t-edge: rgba(110, 90, 30, .09); --t-shadow: rgba(110, 90, 30, .10); --t-shadow-deep: rgba(110, 90, 30, .30); }
.tile-peach  { --t-bg: linear-gradient(170deg, #FBE7DB 0%, #F3D3C2 100%); --t-head: #80492F; --t-body: #8C573C; --t-edge: rgba(128, 73, 47, .08); --t-shadow: rgba(128, 73, 47, .10); --t-shadow-deep: rgba(128, 73, 47, .28); }
.tile-violet { --t-bg: linear-gradient(170deg, #EEE7F6 0%, #DFD3EE 100%); --t-head: #5B4776; --t-body: #6A5686; --t-edge: rgba(91, 71, 118, .08); --t-shadow: rgba(91, 71, 118, .10); --t-shadow-deep: rgba(91, 71, 118, .30); }
.tile-mint   { --t-bg: linear-gradient(170deg, #E6F1EC 0%, #D3E6DD 100%); --t-head: #3C5E52; --t-body: #4A6A5E; --t-edge: rgba(60, 94, 82, .08); --t-shadow: rgba(60, 94, 82, .10); --t-shadow-deep: rgba(60, 94, 82, .28); }
@media (min-width: 720px) { .tile-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2.2fr; gap: var(--s4); align-items: start; } }
.tile-wide .also { margin-top: 0; }

.also {
  display: grid; gap: var(--s2) var(--s4); margin: var(--s3) 0 0; padding: 0; list-style: none;
  color: var(--t-body); font-size: 17px; line-height: 1.5;
}
@media (min-width: 720px) { .also { grid-template-columns: repeat(3, 1fr); } }
.also li { display: flex; gap: 12px; align-items: baseline; }
.also li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--t-head); opacity: .55; transform: translateY(-2px); }

/* ---------- pricing: the green band, books floating in it ---------- */
.price-band {
  position: relative; overflow: clip;
  color: #F6F8F3;
  background:
    radial-gradient(70% 90% at 12% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(10, 60, 40, .35), rgba(10, 60, 40, 0) 70%),
    linear-gradient(165deg, #1F7753 0%, #175F43 100%);
}
.price-grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s6); } }
.price-band h2 { color: #FFFFFF; }
.price-band .tag {
  display: inline-block; margin-top: var(--s3); padding: 6px 18px;
  border-radius: 999px; font-size: 16px; font-weight: 700; color: #F6F8F3;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32);
}
.price-band p { margin: var(--s2) 0 0; max-width: 30em; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: #EEF5EF; }
.price-band ul { margin: var(--s4) 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 28em; }
.price-band li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 18px; color: #F1F6F0; }
.price-band li svg { width: 22px; height: 22px; margin-top: 4px; color: #A5E3C6; }
.price-band .btn { margin-top: var(--s4); }

.books { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / .92; }
.book {
  position: absolute; top: 50%; margin: 0;
  width: 38%;
  border-radius: 12px;
  transform: translateY(-50%) rotate(var(--rot, 0deg));
  box-shadow: 0 2px 3px rgba(5, 40, 28, .25), 0 18px 30px -10px rgba(5, 40, 28, .50), 0 44px 60px -28px rgba(5, 40, 28, .55);
}
.book img { width: 100%; border-radius: inherit; }
.book::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 34%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.book-1 { --rot: -7deg; inset-inline-start: 0; margin-top: 7%; z-index: 1; }
.book-2 { --rot: 2deg; inset-inline-start: 28%; margin-top: -4%; z-index: 3; width: 44%; }
.book-3 { --rot: 8deg; inset-inline-start: 62%; margin-top: 8%; z-index: 2; }

/* ---------- FAQ: one lilac card ---------- */
.faq-card {
  position: relative;
  display: grid; gap: var(--s5);
  padding: clamp(28px, 5vw, 72px);
  border-radius: clamp(28px, 4vw, 56px);
  background: linear-gradient(175deg, #F0EAF7 0%, #E3DAF0 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 0 0 1px rgba(91, 71, 118, .07), 0 28px 50px -30px rgba(91, 71, 118, .38);
}
.faq-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(70% 50% at 20% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%); }
.faq-card > * { position: relative; }
@media (min-width: 900px) { .faq-card { grid-template-columns: 1fr 2.2fr; gap: var(--s6); align-items: start; } }
.faq-card h2 { color: #4A3E62; }
.faq { border-top: 1px solid rgba(91, 71, 118, .2); }
.faq details { border-bottom: 1px solid rgba(91, 71, 118, .2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0;
  color: #4A3E62; font-size: 19px; font-weight: 700;
}
.faq summary:hover { color: #36294F; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid #6F5A8C; /* physical: a chevron is a shape, not text — inline-end flipped it to point left in RTL */ border-bottom: 2px solid #6F5A8C;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .a { padding: 0 0 var(--s3); color: #5F527A; font-size: 17px; }
.faq .a p { margin: 0 0 12px; }
.faq .a ol { margin: 0 0 12px; padding-inline-start: 22px; }
.faq .a li { margin-bottom: 6px; }
.faq .a a { color: #3D2F5C; }
.faq code, .legal code {
  direction: ltr; unicode-bidi: isolate; display: inline-block;
  font: 14px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--ground-sunk); border: 1px solid var(--line); border-radius: 6px;
  padding: 1px 7px; color: var(--ink-mid); max-width: 100%; overflow-x: auto; white-space: nowrap;
  vertical-align: middle;
}

/* ---------- closing: a mint band, the window peeking up from below ---------- */
.closing {
  position: relative; overflow: clip; text-align: center; padding-bottom: 0;
  background:
    radial-gradient(70% 70% at 50% 0%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #E4F0EA 0%, #CFE3DA 100%);
}
.closing h2 { max-width: 14ch; margin-inline: auto; color: #3C5E52; }
.closing p { margin: var(--s3) auto 0; color: #4A6A5E; font-size: clamp(18px, 2vw, 24px); }
.closing .cta-row { margin-top: var(--s4); }
.peek { margin: var(--s6) auto 0; width: min(100%, 980px); }
.peek .float { --fr: clamp(14px, 2vw, 26px); border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: 0 2px 4px rgba(30, 70, 56, .10), 0 -10px 40px -16px rgba(30, 70, 56, .22), 0 30px 60px -20px rgba(30, 70, 56, .35); }
.peek .float::after { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.peek-clip { height: clamp(180px, 28vw, 380px); overflow: hidden; }

/* ---------- footer ---------- */
.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-faint); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-inline-start: auto; }
.foot a { color: var(--ink-faint); }
.foot a:hover { color: var(--ink-strong); }
.foot .brand span { font-size: 17px; }
.foot .brand img { width: 24px; height: 24px; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 96px; font-size: 17px; }
.legal h1 { margin: 0; color: var(--ink-head); font-size: clamp(32px, 5vw, 44px); letter-spacing: -.6px; line-height: 1.15; font-weight: 800; }
.legal h2 { margin: 48px 0 12px; font-size: 24px; letter-spacing: -.2px; font-weight: 700; line-height: 1.3; }
.legal h3 { margin: 28px 0 8px; font-size: 18px; }
.legal p, .legal li { color: var(--ink); }
.legal ul, .legal ol { padding-inline-start: 22px; }
.legal li { margin-bottom: 6px; }
.legal .draft {
  margin: 20px 0 32px; padding: 14px 18px;
  background: var(--paper-yellow); color: #4D421A;
  border-radius: var(--r-lg); font-weight: 600;
}
.legal .meta { color: var(--ink-faint); font-size: 15px; margin-top: 8px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15.5px; margin: 12px 0; }
.legal th, .legal td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink-head); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.top .push { margin-inline-start: auto; }

/* ---------- start page (download picker) ---------- */
.start { padding-bottom: clamp(56px, 8vw, 96px); }
.start .hero h1, .start h1 { max-width: 18ch; font-size: clamp(34px, 6vw, 56px); }
.start-steps { margin: 20px auto 0; max-width: 34em; font-size: 16px; line-height: 1.6; color: var(--ink-faint); text-wrap: pretty; }
.start-alt { margin-top: clamp(40px, 6vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); }
.start-alt > p:first-child { margin: 0; font-size: 16px; color: var(--ink-faint); }
