/* Layout concept: a calm editorial story told in five chapters (challenge → understanding → approach → toolkit → result),
   set on warm paper, with the toolkit's own documents and cards as the visual material. */
:root {
  /* Color: the Calm Parenting Toolkit palette (shared with the PDFs)
     ~55% cream · 20% plum · 10% peach · 7% teal · 5% coral · 3% yellow */
  --cream: #FFF9F2;        /* Warm Cream: main background */
  --paper: #FFFFFF;        /* card surface */
  --peach: #F7C9B6;        /* Soft Peach: background cards */
  --peach-soft: #FDE6DC;
  --sage: #A8BFA8;         /* Sage Green: supporting accents */
  --sage-soft: #E6EEE6;
  --teal: #42B7A8;         /* Fresh Teal: tools + exercises (fills only) */
  --teal-soft: #DDF2EF;
  --sage-ink: #1F7A70;     /* deep teal: any teal that carries text (5.2:1) */
  --coral: #FF786A;        /* Vibrant Coral: decorative highlights (fills only) */
  --coral-ink: #C9443A;    /* deep coral: any coral that carries text */
  --rose-soft: #EFEAFD;    /* Soft Lavender tint: reflection + emotional learning */
  --lavender: #B8A5EF;
  --mustard: #FFD76A;      /* Sunny Yellow: tips + illustrations */
  --mustard-soft: #FFF2C9;
  --brand: #493B4A;        /* Deep Plum: headings, primary text, buy buttons */
  --brand-hover: #5E4D60;
  --deep: #3D3140;         /* darker plum bands */
  --ink: #493B4A;
  --muted: #6A5A6B;
  --line: #EFE3D8;

  /* Type */
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Shape and depth */
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(73, 59, 74, .06), 0 4px 12px rgba(73, 59, 74, .06);
  --shadow: 0 2px 4px rgba(73, 59, 74, .05), 0 12px 32px rgba(73, 59, 74, .10);
  --shadow-lg: 0 4px 10px rgba(73, 59, 74, .06), 0 28px 60px rgba(73, 59, 74, .18);
  --wrap: 1160px;

  /* Motion tokens */
  --dur-hover: 200ms;
  --dur-ui: 350ms;
  --dur-reveal: 600ms;
  --dur-story: 800ms;
  --dur-heading: 850ms;
  --dur-image: 900ms;
  --rise: 32px;            /* vertical entrance distance */
  --rise-sm: 20px;         /* paragraphs */
  --slide: 40px;           /* horizontal entrance distance */
  --stagger: 110ms;        /* gap between sibling cards */
  --ease-reveal: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: page-in var(--dur-ui) var(--ease-out) both;
}
body.menu-open { overflow: hidden; }
main { overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--brand); line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-hover); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: var(--paper); --btn-bd: var(--brand);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .85rem 1.6rem; border-radius: 999px;
  border: 2px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: 800 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-soft),
              border-color var(--dur-hover) var(--ease-soft), box-shadow var(--dur-hover) var(--ease-soft), color var(--dur-hover);
}
.btn .arrow { display: inline-block; transition: transform var(--dur-hover) var(--ease-out); }
.btn:hover { --btn-bg: var(--brand-hover); --btn-bd: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(73, 59, 74, .25); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; transition-duration: 80ms; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--btn-fg); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--brand); --btn-bd: var(--brand); }
.btn-ghost:hover { --btn-bg: var(--peach-soft); --btn-bd: var(--brand); --btn-fg: var(--brand); box-shadow: none; }
.btn-light { --btn-bg: var(--mustard); --btn-fg: var(--deep); --btn-bd: var(--mustard); }
.btn-light:hover { --btn-bg: #FFE59A; --btn-bd: #FFE59A; --btn-fg: var(--deep); }
.btn-sm { min-height: 40px; padding: .6rem 1.1rem; font-size: .92rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--brand); text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: 1rem; font-family: var(--font-body); }
.text-link .arrow { transition: transform var(--dur-hover) var(--ease-out); }
.text-link:hover .arrow { transform: translateX(4px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: rgba(255, 249, 242, .7); border-bottom: 1px solid transparent;
  transition: background-color var(--dur-ui) var(--ease-soft), border-color var(--dur-ui), box-shadow var(--dur-ui);
}
.site-header.is-scrolled { background: rgba(255, 249, 242, .88); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(73, 59, 74, .06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.15rem; color: var(--brand); text-decoration: none; white-space: nowrap; }
.logo-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; flex: none; transition: transform var(--dur-ui) var(--ease-out); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-mark svg { width: 20px; height: 20px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link { position: relative; padding: 8px 12px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; transition: color var(--dur-hover), background-color var(--dur-hover); }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-ui) var(--ease-out); }
.nav-link:hover { color: var(--brand); }
.nav-link:hover::after, .nav-link[aria-current="true"]::after { transform: scaleX(1); }
.nav-link[aria-current="true"] { color: var(--brand); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--brand); position: relative; transition: transform var(--dur-ui) var(--ease-out), background-color var(--dur-hover); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; top: 0; z-index: 25; padding: calc(env(safe-area-inset-top, 0px) + 84px) 20px 32px;
  background: var(--cream); display: grid; align-content: start; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--dur-ui) var(--ease-soft), transform var(--dur-ui) var(--ease-out), visibility 0s linear var(--dur-ui);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.6rem; color: var(--brand); text-decoration: none; }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Sections ---------- */
section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.center { text-align: center; margin-inline: auto; justify-items: center; }
.band-paper { background: var(--paper); border-block: 1px solid var(--line); }
.band-deep { background: var(--deep); color: var(--paper); }
.band-deep h2, .band-deep h3, .band-deep .eyebrow { color: var(--paper); }
.band-deep .lede { color: #E9E1F7; }
.chapter { display: inline-flex; align-items: center; gap: 10px; }
.chapter-num { font-family: var(--font-display); font-size: .95rem; letter-spacing: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--peach-soft); color: var(--brand); text-transform: none; }
.band-deep .chapter-num { background: rgba(255, 255, 255, .14); color: var(--mustard); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(64px, 9vw, 112px); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 50%, var(--peach-soft) 100%); }
.hero-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 48% 52% 60% 40% / 55% 45% 55% 45%; filter: blur(2px); opacity: .55; animation: drift 26s ease-in-out infinite alternate; }
.blob-1 { width: 420px; height: 300px; background: var(--peach); left: -120px; bottom: -120px; }
.blob-2 { width: 520px; height: 340px; background: var(--sage); right: -160px; bottom: -170px; animation-duration: 32s; animation-delay: -6s; }
.blob-3 { width: 260px; height: 200px; background: var(--peach); right: 22%; top: 8%; opacity: .35; animation-duration: 30s; animation-delay: -12s; }
.sprig { position: absolute; width: 90px; color: var(--sage-ink); opacity: .35; }
.sprig-1 { left: 42%; bottom: 3%; transform: rotate(-18deg); }
.sprig-2 { right: 4%; top: 62%; transform: rotate(14deg) scaleX(-1); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 .line { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: "✓ "; color: var(--sage-ink); font-weight: 800; }

/* Entrance sequence: short, never blocks interaction */
.hero h1 .mask > span { animation: line-up var(--dur-heading) var(--ease-reveal) both; animation-delay: var(--d, 0ms); }
.enter { animation: rise var(--dur-reveal) var(--ease-out) both; animation-delay: var(--d, 0ms); }
.enter-depth { animation: depth-in var(--dur-story) var(--ease-out) both; animation-delay: var(--d, 0ms); }

/* Hero product stack */
.product-stack { position: relative; height: 470px; perspective: 1200px; }
.product-stack .doc { position: absolute; width: 186px; }
.product-stack .doc:nth-child(1) { left: 2%; top: 70px; transform: rotate(-9deg); z-index: 1; }
.product-stack .doc:nth-child(2) { left: 50%; top: 0; transform: translateX(-50%) rotate(1deg); z-index: 3; width: 260px; }
.product-stack .doc:nth-child(3) { right: 0; top: 90px; transform: rotate(8deg); z-index: 2; }
.float-card {
  position: absolute; left: 4%; bottom: 0; z-index: 4; max-width: 280px; padding: 16px 18px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 6px;
  animation: depth-in var(--dur-story) var(--ease-out) both, bob 9s ease-in-out 1.4s infinite;
  animation-delay: var(--d, 0ms), 1.4s;
}
.float-card .tag { justify-self: start; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--sage-soft); color: var(--sage-ink); }
.float-card p { font-family: var(--font-display); color: var(--brand); font-size: 1.1rem; line-height: 1.3; }

/* ---------- Document mockups (used in hero and showcase) ---------- */
.doc { position: relative; aspect-ratio: 9 / 16; max-width: 100%; }
.doc::before, .doc::after { content: ""; position: absolute; inset: 0; border-radius: 6px 12px 12px 6px; background: var(--paper); border: 1px solid var(--line); }
.doc::before { transform: translate(10px, 8px) rotate(2deg); box-shadow: var(--shadow-sm); }
.doc::after { transform: translate(5px, 4px) rotate(1deg); }
.doc-cover {
  position: absolute; inset: 0; z-index: 1; border-radius: 6px 12px 12px 6px; overflow: hidden;
  background: var(--paper); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  padding: 11% 10% 0; text-align: center;
}
.doc-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: linear-gradient(90deg, rgba(73, 59, 74, .14), transparent); }
.doc-kicker { font-size: .58rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-hover); }
.doc-title { font-family: var(--font-display); color: var(--brand); font-size: 1.32rem; line-height: 1.12; margin-top: 8px; text-wrap: balance; }
.doc-sub { font-size: .66rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.doc-art { margin-top: auto; width: 100%; height: 44%; display: block; }
.doc[data-tone="peach"] .doc-cover { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 46%, var(--peach-soft) 100%); }
.doc[data-tone="sage"] .doc-cover { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 46%, var(--sage-soft) 100%); }
.doc[data-tone="rose"] .doc-cover { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 46%, var(--rose-soft) 100%); }
.doc[data-tone="mustard"] .doc-cover { background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 46%, var(--mustard-soft) 100%); }
.doc[data-tone="deep"] .doc-cover { background: var(--deep); }
.doc[data-tone="deep"] .doc-title { color: var(--paper); }
.doc[data-tone="deep"] .doc-kicker { color: var(--mustard); }
.doc[data-tone="deep"] .doc-sub { color: #E9E1F7; }

/* ---------- Editorial statement ---------- */
.statement { overflow: hidden; }
.statement-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.statement-lines { display: grid; gap: clamp(18px, 3vw, 30px); }
.statement-line { font-size: clamp(2rem, 5.4vw, 3.9rem); line-height: 1.05; }
.statement-line:nth-child(2) { color: var(--sage-ink); padding-left: clamp(0px, 4vw, 56px); }
.statement-line:nth-child(3) { color: var(--deep); padding-left: clamp(0px, 8vw, 112px); }
.statement-copy { max-width: 46ch; color: var(--muted); font-size: 1.1rem; margin-top: 8px; }
.statement-art { border-radius: 32px; background: linear-gradient(180deg, var(--peach-soft), var(--rose-soft)); aspect-ratio: 4 / 5; max-width: 100%; display: grid; align-content: end; overflow: hidden; position: relative; }
.statement-art svg { width: 100%; height: auto; display: block; }
.statement-art .sun { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--peach); top: 18%; right: 18%; opacity: .85; }
.statement-art .cloud { position: absolute; height: 9%; border-radius: 999px; background: var(--paper); opacity: .7; }
.statement-art .cloud-1 { width: 38%; top: 34%; left: 10%; }
.statement-art .cloud-2 { width: 24%; top: 46%; left: 30%; opacity: .5; }

/* Real cover images inside document mockups */
.doc-photo { padding: 0; background: var(--paper); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.sample-shot { margin: 0; }
.sample-shot img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper); }

/* ---------- Chapter 1: challenge ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.pain .quote { font-family: var(--font-display); font-size: 1.3rem; color: var(--brand); line-height: 1.25; }
.pain p:last-child { color: var(--muted); font-size: .98rem; }

/* ---------- Chapter 2: understanding ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact { display: grid; gap: 8px; align-content: start; padding: 28px; border-radius: var(--radius); background: rgba(255, 249, 240, .07); border: 1px solid rgba(255, 249, 240, .16); transition: transform var(--dur-ui) var(--ease-out), background-color var(--dur-ui); }
.fact:hover { transform: translateY(-4px); background: rgba(255, 249, 240, .1); }
.fact .big { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.2rem); color: var(--mustard); line-height: 1; font-variant-numeric: tabular-nums; }
.fact p { color: #FFF9F2; }
.fact .src { font-size: .82rem; color: #D9CDEB; }
.band-foot { margin-top: 28px; color: #D9CDEB; font-size: .92rem; text-align: center; max-width: 64ch; margin-inline: auto; }

/* ---------- Chapter 3: "What would you say?" ---------- */
.approach-pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.pill { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--ink); }
.scenario-shell { max-width: 940px; margin: 0 auto; display: grid; gap: 22px; }
.scenario-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.scenario-tab {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font: 700 .95rem var(--font-body); color: var(--ink); cursor: pointer;
  transition: background-color var(--dur-hover), color var(--dur-hover), border-color var(--dur-hover), transform var(--dur-hover) var(--ease-out);
}
.scenario-tab:hover { border-color: var(--brand); transform: translateY(-1px); }
.scenario-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--paper); }
.scenario-stage { padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 22px; }
.scenario-situation { display: grid; gap: 6px; text-align: center; }
.scenario-situation .label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.scenario-situation h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.responses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.response {
  text-align: left; display: grid; gap: 10px; align-content: start; padding: 20px 22px; border-radius: 18px;
  border: 2px solid var(--line); background: var(--cream); cursor: pointer; font: inherit; color: inherit;
  transition: transform var(--dur-ui) var(--ease-out), border-color var(--dur-hover), box-shadow var(--dur-ui), background-color var(--dur-ui), opacity var(--dur-ui);
}
.response:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--peach); }
.response .r-label { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.response .r-say { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; color: var(--ink); }
.response[aria-pressed="true"] { border-color: var(--brand); background: var(--paper); box-shadow: var(--shadow); transform: translateY(-3px); }
.responses.has-choice .response[aria-pressed="false"] { opacity: .62; }
.insight {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-ui) var(--ease-out);
}
.insight.is-open { grid-template-rows: 1fr; }
.insight > div { overflow: hidden; }
.insight-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; padding: 22px; border-radius: 18px; background: var(--sage-soft); opacity: 0; transform: translateY(8px); transition: opacity var(--dur-ui) var(--ease-soft) 80ms, transform var(--dur-ui) var(--ease-out) 80ms; }
.insight.is-open .insight-inner { opacity: 1; transform: none; }
.insight h4 { font-size: 1.15rem; color: var(--sage-ink); margin-bottom: 6px; }
.insight .principle { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 14px; background: var(--paper); }
.insight .principle strong { font-family: var(--font-display); font-weight: 400; color: var(--brand); font-size: 1.1rem; line-height: 1.25; }
.insight .resource { font-size: .9rem; color: var(--muted); }
.insight .resource b { color: var(--ink); }
.scenario-hint { text-align: center; color: var(--muted); font-size: .95rem; min-height: 1.6em; }
.scenario-note { text-align: center; color: var(--muted); font-size: .86rem; max-width: 62ch; margin: 0 auto; }

/* ---------- Chapter 4: product showcase ---------- */
.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.showcase-item {
  display: grid; gap: 16px; align-content: start; padding: 22px 22px 20px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); text-align: left; font: inherit; color: inherit; cursor: pointer;
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-soft), border-color var(--dur-hover);
}
.showcase-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--peach); }
.showcase-item.is-wide { grid-column: span 2; grid-template-columns: 1fr 1fr; align-items: center; }
.showcase-visual { padding: 6px 18px 18px 6px; perspective: 900px; }
.showcase-visual .doc { width: 100%; max-width: 150px; margin: 0 auto; transition: transform var(--dur-ui) var(--ease-out); transform-style: preserve-3d; }
.showcase-item.is-wide .showcase-visual .doc { max-width: 180px; }
.showcase-meta { display: grid; gap: 6px; }
.showcase-meta h3 { font-size: 1.2rem; }
.showcase-meta p { color: var(--muted); font-size: .94rem; }
.showcase-meta .edition { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-ink); }
.showcase-meta .cta { margin-top: 4px; font-weight: 800; color: var(--brand); display: inline-flex; gap: .4rem; align-items: center; }
.showcase-meta .cta .arrow { transition: transform var(--dur-hover) var(--ease-out); }
.showcase-item:hover .cta .arrow { transform: translateX(4px); }
.showcase-meta .cta.soon { color: var(--muted); font-weight: 700; }

/* Lightbox */
.lightbox, .letter {
  border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%;
  overflow: hidden; color: var(--ink);
}
.lightbox::backdrop, .letter::backdrop { background: rgba(61, 49, 64, 0); transition: background-color var(--dur-ui) var(--ease-soft); }
.lightbox.is-open::backdrop, .letter.is-open::backdrop { background: rgba(61, 49, 64, .55); }
.lb-frame {
  position: absolute; inset: 0; margin: auto; width: min(760px, calc(100% - 24px)); height: min(860px, calc(100% - 32px));
  display: grid; grid-template-rows: auto 1fr auto; border-radius: 24px; background: var(--cream); box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity var(--dur-ui) var(--ease-soft), transform var(--dur-ui) var(--ease-out);
}
.is-open .lb-frame { opacity: 1; transform: none; }
.lb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px 24px; border-bottom: 1px solid var(--line); }
.lb-head h2 { font-size: 1.3rem; }
.lb-head .eyebrow { display: block; margin-bottom: 2px; }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--brand); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color var(--dur-hover), transform var(--dur-hover) var(--ease-out); }
.icon-btn:hover { background: var(--peach-soft); }
.icon-btn:active { transform: scale(.94); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.lb-stage { overflow-y: auto; padding: 22px; display: grid; place-items: start center; }
.lb-page { width: 100%; max-width: 620px; animation: page-swap var(--dur-ui) var(--ease-out) both; }
.lb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.lb-count { font-weight: 700; color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.lb-note { padding: 0 24px 14px; font-size: .82rem; color: var(--muted); text-align: center; }

/* Sample pages */
.sample-page { background: var(--paper); border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(22px, 5vw, 44px); display: grid; gap: 14px; font-size: .96rem; }
.sample-page h3 { font-size: 1.6rem; }
.sample-page h4 { font-size: 1.1rem; margin-top: 4px; }
.sample-page ul, .sample-page ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.sample-page .sp-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink); }
.sample-page .sp-foot { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); display: flex; justify-content: space-between; }
.sp-table { overflow-x: auto; }
.sp-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.sp-table th, .sp-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sp-table th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sp-table td.blank { height: 40px; }
.sp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-card { border: 1.5px dashed var(--peach); border-radius: 14px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.sp-card h4 { margin: 0; }
.sp-card ul { font-size: .88rem; }
.sp-lines { display: grid; gap: 14px; }
.sp-lines div { border-bottom: 1px solid var(--line); padding-bottom: 6px; font-size: .9rem; color: var(--muted); min-height: 38px; }
.sp-callout { padding: 14px 16px; border-radius: 12px; background: var(--peach-soft); }
.lb-soon { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 40px 20px; }
.lb-soon .doc { width: 200px; }

/* ---------- Module explorer ---------- */
.explorer { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 28px; align-items: start; }
.module-list { display: grid; gap: 8px; }
.module-tab {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; text-align: left; width: 100%;
  min-height: 60px; padding: 12px 16px; border-radius: 16px; border: 1px solid transparent; background: transparent;
  font: 700 1rem/1.3 var(--font-body); color: var(--ink); cursor: pointer;
  transition: background-color var(--dur-hover), border-color var(--dur-hover), transform var(--dur-hover) var(--ease-out);
}
.module-tab:hover { background: var(--paper); transform: translateX(3px); }
.module-tab .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; background: var(--paper); color: var(--brand); border: 1px solid var(--line); transition: background-color var(--dur-ui), color var(--dur-ui); }
.module-tab[aria-selected="true"] { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-sm); }
.module-tab[aria-selected="true"] .num { background: var(--brand); color: var(--paper); border-color: var(--brand); }
.module-panel { min-height: 460px; padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 180px; gap: 28px; align-content: start; }
.module-panel .mp-body { display: grid; gap: 14px; min-width: 0; align-content: start; }
.module-panel.is-swapping .mp-body, .module-panel.is-swapping .mp-art { animation: page-swap var(--dur-ui) var(--ease-out) both; }
.mp-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink); }
.mp-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.mp-body p { color: var(--muted); }
.mp-outcomes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mp-outcomes li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.mp-outcomes li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231F7A70' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.mp-try { padding: 14px 16px; border-radius: 14px; background: var(--peach-soft); font-size: .95rem; }
.mp-try b { color: var(--brand); }
.mp-art { width: 180px; height: 180px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--brand); }
.mp-art svg { width: 110px; height: 110px; }

/* ---------- Who it's for ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.fit { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.fit ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 8px; }
.fit.not { background: var(--paper); }
.fit h3 { font-size: 1.2rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier {
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px; padding: 32px 28px; border-radius: 24px;
  background: var(--paper); border: 1.5px solid var(--line); position: relative;
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-soft), border-color var(--dur-ui);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--peach); }
.tier-name { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--brand-hover); }
.tier-price { font-family: var(--font-display); font-size: 3.2rem; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }
.tier-price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 600; }
.tier-pitch { color: var(--muted); font-size: 1rem; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.tier li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .97rem; }
.tier li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231F7A70' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.tier .btn { width: 100%; }
.tier::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 6px; border-radius: 0 0 6px 6px; }
.tier.ed-starter { background: linear-gradient(180deg, var(--peach-soft) 0, var(--paper) 140px); }
.tier.ed-starter::before { background: var(--coral); }
.tier.ed-starter .tier-name { color: var(--coral-ink); }
.tier.ed-complete { background: linear-gradient(180deg, var(--sage-soft) 0, var(--paper) 140px); }
.tier.ed-complete::before { background: var(--teal); }
.tier.ed-complete .tier-name { color: var(--sage-ink); }
.tier.featured::before { background: var(--mustard); }
.tier.featured li::before { background-color: var(--lavender); }
.tier.featured { background: var(--deep); border-color: var(--deep); color: var(--paper); box-shadow: var(--shadow-lg); }
.tier.featured:hover { border-color: var(--deep); }
.tier.featured .tier-name, .tier.featured .tier-pitch, .tier.featured .tier-price small { color: #E9E1F7; }
.tier.featured .tier-price { color: var(--paper); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--mustard); color: var(--deep); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.checkout-msg { margin-top: 14px; font-size: .9rem; color: var(--deep); text-align: center; min-height: 1.4em; }
.pricing-note { margin-top: 22px; display: grid; gap: 8px; justify-items: center; text-align: center; color: var(--muted); font-size: .92rem; }

/* Comparison accordion */
.compare { max-width: 920px; margin: 48px auto 0; display: grid; gap: 10px; }
.compare-head { display: grid; grid-template-columns: 1fr repeat(3, 84px); gap: 8px; padding: 0 20px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare-head span:not(:first-child) { text-align: center; }
.acc-item { border-radius: 16px; background: var(--paper); border: 1px solid var(--line); transition: box-shadow var(--dur-ui), border-color var(--dur-hover); }
.acc-item:hover { border-color: var(--peach); }
.acc-item.is-open { box-shadow: var(--shadow-sm); }
.acc-trigger { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: none; border: 0; cursor: pointer; font: 800 1rem/1.35 var(--font-body); color: var(--brand); text-align: left; border-radius: 16px; }
.acc-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--peach-soft); transition: background-color var(--dur-hover), transform var(--dur-ui) var(--ease-out); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--brand); transition: transform var(--dur-ui) var(--ease-out); }
.acc-icon::after { transform: rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon { transform: rotate(180deg); background: var(--peach); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-ui) var(--ease-out); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-body { padding: 0 20px 18px; color: var(--muted); }
.compare-row { display: grid; grid-template-columns: 1fr repeat(3, 84px); gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: .95rem; }
.compare-row .c { text-align: center; }
.yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-ink); font-weight: 800; font-size: .8rem; }
.no { color: #B9AAB9; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; counter-reset: step; }
.step { display: grid; gap: 12px; align-content: start; justify-items: start; padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui), border-color var(--dur-hover); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--peach); }
.step-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--peach-soft); color: var(--brand); }
.step:nth-child(2) .step-icon { background: var(--sage-soft); color: var(--sage-ink); }
.step:nth-child(3) .step-icon { background: var(--rose-soft); color: #5A47A6; }
.step-icon svg { width: 28px; height: 28px; }
.step-num { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Result / final CTA ---------- */
.final { text-align: center; }
.final .wrap { display: grid; gap: 22px; justify-items: center; }
.result-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.final h2 { max-width: 18ch; }

/* ---------- Meet Rachel ---------- */
.author { background: var(--rose-soft); overflow: hidden; isolation: isolate; }
.author-deco { position: absolute; z-index: -1; right: -40px; bottom: -30px; width: min(420px, 60vw); color: var(--coral); opacity: .18; pointer-events: none; }
.author-grid { display: grid; max-width: 760px; }
.author-copy { display: grid; gap: 16px; min-width: 0; }
.author-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.author-copy p { max-width: 62ch; }
.author-quote { font-family: var(--font-display); font-size: 1.3rem; color: var(--brand); }

/* Rachel letter */
.letter .lb-frame { width: min(640px, calc(100% - 24px)); height: auto; max-height: calc(100% - 32px); grid-template-rows: auto 1fr; }
.letter-body { overflow-y: auto; padding: 8px clamp(22px, 5vw, 44px) 34px; display: grid; gap: 14px; }
.letter-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.letter-sign { margin-top: 8px; }
.letter-name { font-family: var(--font-display); font-size: 1.7rem; color: var(--brand); }
.letter-sign small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 800px; margin: 0 auto; }
.faq .acc-trigger { font-size: 1.02rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 40px; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 18px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--brand-hover); text-decoration: none; font-weight: 700; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.disclaimer { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); }

/* ---------- Legal pages ---------- */
.legal { padding-block: 48px 80px; }
.legal .wrap { max-width: 760px; display: grid; gap: 18px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 14px; }
.legal ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.legal .updated { color: var(--muted); font-size: .92rem; }
.legal .placeholder { background: var(--peach-soft); padding: 1px 6px; border-radius: 4px; }

/* ---------- Scroll reveal system ----------
   Usage in HTML: data-reveal="up | text | card | left | right | image | fade | lines"
   Parents with data-stagger reveal their [data-reveal] children one after another.
   Content is fully visible until script.js adds .js-motion, so nothing is hidden
   if JavaScript is off or fails. Each element animates once. */
.js-motion [data-reveal] {
  opacity: 0;
  transition-property: opacity, transform, clip-path;
  transition-duration: var(--dur-reveal);
  transition-timing-function: var(--ease-reveal);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.js-motion [data-reveal="up"]    { transform: translateY(var(--rise)); }
.js-motion [data-reveal="text"]  { transform: translateY(var(--rise-sm)); }
.js-motion [data-reveal="card"]  { transform: translateY(var(--rise)) scale(.98); }
.js-motion [data-reveal="left"]  { transform: translateX(calc(var(--slide) * -1)); }
.js-motion [data-reveal="right"] { transform: translateX(var(--slide)); }
.js-motion [data-reveal="fade"]  { transition-duration: var(--dur-story); }
.js-motion [data-reveal="image"] { transform: scale(1.04); clip-path: inset(8% 8% 8% 8% round 28px); transition-duration: var(--dur-image); }
.js-motion [data-reveal].is-visible { opacity: 1; transform: none; }
.js-motion [data-reveal="image"].is-visible { clip-path: inset(0 0 0 0 round 32px); }
.js-motion [data-reveal="image"].is-done { clip-path: none; }
.js-motion [data-reveal].is-done {
  will-change: auto; transition-delay: 0ms;
  transition-property: transform, opacity, box-shadow, border-color, background-color;
  transition-duration: var(--dur-ui); transition-timing-function: var(--ease-out);
}
.js-motion .author-deco[data-reveal].is-visible { opacity: .18; }

/* Masked line reveal for major statements: <h2 data-reveal="lines"><span class="mask"><span>Line</span></span>…</h2> */
.mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.mask > span { display: block; }
.js-motion [data-reveal="lines"] { opacity: 1; transform: none; }
.js-motion [data-reveal="lines"] .mask > span { transform: translateY(105%); opacity: 0; transition: transform var(--dur-heading) var(--ease-reveal), opacity var(--dur-heading) var(--ease-soft); }
.js-motion [data-reveal="lines"] .mask:nth-child(2) > span { transition-delay: calc(var(--delay, 0ms) + 120ms); }
.js-motion [data-reveal="lines"] .mask:nth-child(3) > span { transition-delay: calc(var(--delay, 0ms) + 240ms); }
.js-motion [data-reveal="lines"].is-visible .mask > span { transform: none; opacity: 1; }

/* Layered product reveal: the document rises after its card, with a small settle rotation */
.js-motion .showcase-item[data-reveal] .showcase-visual { transform: translateY(26px) rotate(-2.5deg) scale(.96); opacity: 0; transition: transform var(--dur-image) var(--ease-reveal), opacity var(--dur-image) var(--ease-soft); transition-delay: calc(var(--delay, 0ms) + 140ms); }
.js-motion .showcase-item[data-reveal].is-visible .showcase-visual { transform: none; opacity: 1; }
.js-motion .showcase-item.is-wide[data-reveal] .showcase-visual { transform: translateY(40px) scale(.95); }

/* Subtle parallax (desktop only; set by script.js via --py) */
.parallax { translate: 0 var(--py, 0px); }

/* ---------- Keyframes ---------- */
@keyframes line-up { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes depth-in { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes drift { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(24px, -18px) rotate(6deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes page-swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .showcase-item.is-wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  .nav .nav-link, .nav .btn { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-stack { height: 400px; max-width: 460px; width: 100%; margin: 0 auto; }
  .product-stack .doc { width: 156px; }
  .product-stack .doc:nth-child(2) { width: 215px; }
  .pain-grid, .facts { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .tier.featured { order: -1; }
  .explorer { grid-template-columns: 1fr; }
  .module-list { grid-template-columns: 1fr 1fr; }
  .module-panel { grid-template-columns: 1fr; min-height: 0; }
  .mp-art { display: none; }
  .insight-inner { grid-template-columns: 1fr; }
  .statement-grid { grid-template-columns: 1fr; }
  .statement-art { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  :root { --rise: 22px; --rise-sm: 14px; --slide: 22px; --dur-reveal: 520ms; --dur-heading: 700ms; --dur-image: 700ms; --stagger: 90ms; }
  body { font-size: 16px; }
  .pain-grid, .facts, .fit-grid, .responses { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr 1fr; gap: 14px; }
  .showcase-item { padding: 16px 14px; }
  .showcase-item.is-wide { grid-template-columns: 1fr; }
  .showcase-meta p { display: none; }
  .showcase-item.is-wide .showcase-meta p { display: block; }
  .module-list { grid-template-columns: 1fr; }
  .product-stack { height: 330px; }
  .product-stack .doc { width: 124px; }
  .product-stack .doc:nth-child(2) { width: 170px; }
  .product-stack .doc:nth-child(1) { top: 60px; }
  .product-stack .doc:nth-child(3) { top: 70px; }
  .float-card { max-width: 230px; padding: 12px 14px; animation: depth-in var(--dur-story) var(--ease-out) both; }
  .float-card p { font-size: 1rem; }
  .doc-title { font-size: 1.05rem; }
  .compare-head, .compare-row { grid-template-columns: 1fr repeat(3, 44px); gap: 4px; }
  .compare-head { padding: 0 14px; font-size: .62rem; letter-spacing: .04em; }
  .acc-body { padding: 0 14px 14px; }
  .acc-trigger { padding: 14px; }
  .sp-cards { grid-template-columns: 1fr; }
  .site-header .wrap > .btn { display: none; }
  .blob { animation: none; }
  .sprig { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js-motion [data-reveal], .js-motion [data-reveal] .mask > span, .js-motion .showcase-item[data-reveal] .showcase-visual { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .parallax { translate: none !important; }
}

/* Free guide (email sign-up via Gumroad) */
.freebie { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--peach-soft); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.freebie-copy { display: grid; gap: 16px; justify-items: start; }
.freebie-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.freebie-note { font-size: .9rem; color: var(--muted); max-width: 52ch; }
.freebie-note a { color: inherit; }
.freebie-art img { width: 100%; max-width: 260px; height: auto; display: block; margin-inline: auto;
  border-radius: 18px; box-shadow: 0 18px 40px rgba(61, 49, 64, .22); transform: rotate(3deg); }
@media (max-width: 900px) {
  .freebie { grid-template-columns: 1fr; }
  .freebie-art { order: -1; }
  .freebie-art img { max-width: 190px; }
}
