/* ==========================================================================
   Sandhya Bajaj Academy — Parenting Guide ebook funnel
   Tokens come from the Sandhya Bajaj Academy design system (tokens.json).
   ========================================================================== */

:root {
  /* Colour — light theme (cream pages) */
  /* Palette: Navy (primary background), Cream (secondary background), Coral (CTA + highlights) */
  --navy: #14213d;
  --cream: #f4ede0;
  --coral: #ff6858;
  --coral-strong: #f0503f;          /* hover / pressed */

  --surface: var(--cream);
  --surface-raised: #ffffff;
  --surface-tint: rgba(20, 33, 61, 0.05);
  --deep: var(--navy);
  --ink: var(--navy);
  --ink-body: #39445a;
  --ink-muted: #5c6577;
  --brand: var(--navy);             /* icons, numerals' ink, secondary fills */
  --brand-strong: #0d1729;
  --on-brand: #ffffff;
  --accent: var(--coral);
  --accent-strong: var(--coral-strong);
  --on-accent: #ffffff;             /* CTA text is white */
  --gold-ink: var(--navy);          /* eyebrows on cream */
  --logo-red: #ed1b24;
  --border: rgba(20, 33, 61, 0.26);
  --border-soft: rgba(20, 33, 61, 0.12);

  /* Dark-band equivalents (design-system dark theme) */
  --dark-ink: #fffefb;
  --dark-body: rgba(255, 255, 255, 0.78);
  --dark-border: rgba(255, 255, 255, 0.18);

  /* Type */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 80px;

  /* Radius */
  --radius-xs: 2px;
  --radius-md: 15px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --container: 1160px;
  --gutter: 20px;
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-body);
  font: 400 18px/28px var(--font-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-strong); }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: var(--radius-pill);
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-5) 0; }
.section--tint { background: linear-gradient(var(--surface-tint), var(--surface-tint)), var(--surface); }
.section--deep { background: var(--deep); color: var(--dark-body); }
.section--deep h2, .section--deep h3 { color: var(--dark-ink); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-block;
  font: 700 13px/18px var(--font-serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: var(--space-2);
}
.section--deep .eyebrow { color: var(--accent); }
.h-section { font-size: clamp(30px, 4.2vw, 40px); line-height: 1.2; }
.section-head { max-width: 760px; margin: 0 auto var(--space-4); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }

/* One emphasised phrase per headline: brand colour + 3px amber underline */
.em {
  color: var(--coral);
  background-image: linear-gradient(rgba(255, 104, 88, 0.35), rgba(255, 104, 88, 0.35));
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 92%;
  border-radius: var(--radius-xs);
  font-style: italic;
  padding-bottom: 2px;
}
.hero .em { white-space: nowrap; }
.section--deep .em { color: var(--accent); background-image: none; }

/* ---------- Brand wordmark (no S-monogram file supplied yet) ---------- */
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark__name { font: 700 22px/1 var(--font-serif); letter-spacing: 0.06em; color: var(--logo-red); }
.wordmark__tag { font: italic 400 12px/1.2 var(--font-serif); color: var(--ink-muted); margin-top: 4px; letter-spacing: 0.01em; }
.wordmark--dark .wordmark__tag { color: var(--dark-body); }

/* ---------- Buttons (design-system Button) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: 700 16px/20px var(--font-serif);
  border: 0; border-radius: var(--radius-pill);
  padding: 14px 28px; min-height: 52px;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn--accent {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: var(--on-accent);
  padding: 10px 10px 10px 28px;
  min-height: 56px;
  box-shadow: 0 10px 24px -12px rgba(255, 104, 88, 0.55);
}
.btn--accent:hover { background: var(--accent-strong); color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(255, 104, 88, 0.75); }
.btn--accent:active { transform: translateY(0); }
.btn__arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  transition: transform .18s ease;
}
.btn--accent:hover .btn__arrow { transform: translateX(3px); }
.btn__arrow svg { width: 16px; height: 16px; }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.section--deep .btn:focus-visible, .site-footer .btn:focus-visible { outline-color: var(--accent); }

/* Price (design-system PriceTag, without a struck price: none in the approved copy) */
.price { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--font-serif); }
.price__now { font-size: 36px; line-height: 1; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.price__note { font-size: 15px; color: var(--ink-muted); }
.section--deep .price__now { color: var(--dark-ink); }
.section--deep .price__note { color: var(--dark-body); }

.buy-row { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.buy-row--center { justify-content: center; }
.cta-block { margin-top: var(--space-4); display: flex; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 237, 224, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border-soft); box-shadow: 0 6px 20px -16px rgba(20, 33, 61, 0.5); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 var(--space-5); position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-areas: "copy visual";
  gap: 56px; align-items: center;
}
.hero__copy { grid-area: copy; }
.hero__visual { grid-area: visual; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.12; letter-spacing: -0.01em; }
.hero__sub { margin-top: var(--space-3); font-size: 20px; line-height: 31px; max-width: 560px; }
.hero__buy { margin-top: 32px; }
.hero__trust { margin-top: var(--space-2); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; line-height: 22px; color: var(--ink-muted); list-style: none; padding: 0; }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* Book stage */
.book-stage { position: relative; display: grid; place-items: center; padding: 36px 0 28px; }
.book-stage::before {
  content: ""; position: absolute; inset: 0 6% 0 6%;
  background: var(--deep); border-radius: 28px;
}
.book-stage::after {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(255, 104, 88, 0.5); top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.book-stage__byline {
  position: absolute; z-index: 3; top: 16px; right: 0;
  background: var(--accent); color: var(--on-accent);
  font: 700 14px/20px var(--font-serif); padding: 8px 18px; border-radius: var(--radius-pill);
  box-shadow: 0 10px 20px -12px rgba(20, 33, 61, 0.6);
}

/* CSS 3D book mockup — real cover on the front face, a page block on the right
   edge and a back board, all in true 3D. --t is the book's thickness. */
.book {
  --t: 26px;
  position: relative; z-index: 2; width: min(320px, 72%);
  perspective: 1800px;
  filter: drop-shadow(18px 26px 26px rgba(0, 0, 0, 0.38));
}
.book__body {
  position: relative;
  transform: rotateY(-28deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.book:hover .book__body { transform: rotateY(-18deg) rotateX(3deg); }
.book__cover {
  position: relative; border-radius: 2px 6px 6px 2px; overflow: hidden;
  transform: translateZ(calc(var(--t) / 2));
  backface-visibility: hidden;
}
.book__cover img { width: 100%; aspect-ratio: 969 / 1500; object-fit: cover; }
.book__cover::after {
  /* hinge crease near the spine + soft gloss */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.30) 0, rgba(0,0,0,.06) 2%, rgba(255,255,255,.28) 3%, rgba(255,255,255,0) 6.5%),
    linear-gradient(118deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 34%, rgba(0,0,0,0) 70%, rgba(0,0,0,.10) 100%);
}
.book__pages {
  /* page block on the right edge: centred on the edge, turned 90deg to face right */
  position: absolute; top: 1.2%; bottom: 1.2%;
  left: calc(100% - var(--t) / 2 - 3px); width: var(--t);
  transform: rotateY(90deg);
  background:
    linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.14)),
    repeating-linear-gradient(90deg, #fbf7ef 0 1.5px, #e6dccb 1.5px 2.5px);
}
.book__back {
  position: absolute; inset: 0;
  transform: translateZ(calc(var(--t) / -2));
  background: #2a1d55; border-radius: 6px 2px 2px 6px;
}
.book--sm { --t: 12px; width: min(200px, 60%); }

/* Framed product photo (hardcover mockup) used outside the hero:
   white mat + hairline border, soft lift shadow, offset coral outline behind */
.mockup { position: relative; margin: 0; width: 260px; max-width: 100%; flex: none; }
.mockup::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1.5px solid rgba(255, 104, 88, 0.7); border-radius: 22px;
}
.mockup__frame {
  position: relative; background: #fff; padding: 8px; border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(20, 33, 61, 0.10),
    0 2px 4px rgba(20, 33, 61, 0.06),
    0 28px 48px -22px rgba(20, 33, 61, 0.55);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}
.mockup:hover .mockup__frame { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(20, 33, 61, 0.10), 0 2px 4px rgba(20, 33, 61, 0.06), 0 36px 56px -22px rgba(20, 33, 61, 0.6); }
.mockup img { width: 100%; height: auto; aspect-ratio: 800 / 1132; object-fit: cover; border-radius: 13px; }
.section--deep .mockup__frame, .offer-card__visual .mockup__frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 50px -20px rgba(0, 0, 0, 0.6); }
.mockup--who { width: 150px; }
.mockup--who::before { inset: 10px -10px -10px 10px; border-radius: 18px; }
.mockup--who .mockup__frame { padding: 6px; border-radius: 16px; }
.mockup--who img { border-radius: 11px; }

/* ---------- What you'll learn (numbered editorial grid) ---------- */
.learn-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border-soft);
}
.learn-item {
  padding: 32px 28px 36px 0;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.learn-item:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--border-soft); }
.learn-item__num {
  display: block; font: italic 700 44px/1 var(--font-serif); color: var(--coral);
  margin-bottom: var(--space-2);
}
.learn-item__num::after {
  content: ""; display: block; width: 28px; height: 3px; border-radius: var(--radius-xs);
  background: var(--accent); margin-top: 12px;
}
.learn-item h3 { font-size: 22px; line-height: 30px; margin-bottom: 10px; }
.learn-item p { font-size: 17px; line-height: 27px; }

/* ---------- Who it is for ---------- */
.who-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.who-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.who-intro .h-section { margin-bottom: var(--space-3); }
.who-intro__book { margin-top: var(--space-4); display: flex; align-items: center; gap: var(--space-3); }
.who-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.who-card {
  background: var(--surface-raised); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 24px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.who-card:hover { border-color: var(--border); transform: translateY(-2px); box-shadow: 0 16px 30px -24px rgba(20, 33, 61, 0.6); }
.icon-chip {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--surface-tint); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-2);
}
.icon-chip svg { width: 24px; height: 24px; }
.who-card h3 { font-size: 20px; line-height: 27px; margin-bottom: 8px; }
.who-card p { font-size: 16px; line-height: 25px; }

/* ---------- Offer / What you get ---------- */
.offer-card {
  max-width: 1000px; margin: 0 auto;
  background: var(--surface-raised);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: 0 30px 60px -40px rgba(20, 33, 61, 0.45);
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
}
.offer-card__visual { background: var(--deep); display: grid; place-items: center; padding: 40px 24px; }
.offer-card__visual .mockup { width: min(220px, 82%); }
.offer-card__body { padding: 44px 48px; }
.offer-card__body .h-section { margin-bottom: var(--space-3); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.checklist li { display: flex; gap: 12px; font-size: 16px; line-height: 25px; color: var(--ink-body); }
.check {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface-tint); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.check svg { width: 14px; height: 14px; }
.offer-card__buy {
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2);
}

/* ---------- Author ---------- */
.author { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
/* Cut-out portrait sits on a deep-indigo disc with a thin amber ring */
.author__portrait { margin: 0; position: relative; width: 100%; max-width: 460px; justify-self: center; }
.author__photo { position: relative; aspect-ratio: 800 / 794; }
.author__photo::before {
  content: ""; position: absolute; inset: 1.5%; border-radius: 50%; background: var(--deep);
}
.author__photo::after {
  content: ""; position: absolute; inset: -3%; border-radius: 50%;
  border: 1.5px solid rgba(255, 104, 88, 0.75); pointer-events: none;
}
.author__photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.author__caption {
  position: relative; z-index: 2;
  width: max-content; max-width: 100%; margin: -28px auto 0;
  background: var(--surface-raised); border: 1px solid var(--border-soft); border-radius: var(--radius-pill);
  padding: 10px 26px; text-align: center;
  box-shadow: 0 14px 30px -20px rgba(20, 33, 61, 0.55);
}
.author__caption span { display: block; font: 700 18px/1.3 var(--font-serif); color: var(--ink); }
.author__caption small { display: block; font: italic 400 14px/1.4 var(--font-serif); color: var(--ink-muted); }
.author__bio p + p { margin-top: var(--space-2); }
.author__bio .h-section { margin-bottom: var(--space-3); }
.pull-quote {
  margin: 32px 0 0; padding: 24px 28px;
  background: var(--surface-tint); border-radius: var(--radius-lg);
  font: italic 700 clamp(22px, 2.6vw, 28px)/1.3 var(--font-serif); color: var(--ink);
  position: relative;
}
.pull-quote::before {
  content: "\201C"; position: absolute; top: -18px; left: 18px;
  font: 700 72px/1 var(--font-serif); color: var(--accent);
}
.author__buy { margin-top: 32px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border-soft); }
.faq__item:first-child { border-top: 1px solid var(--border-soft); }
.faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: 22px 4px; font: 700 20px/28px var(--font-serif); color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand); }
.faq__icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border); color: var(--brand);
  display: grid; place-items: center; transition: transform .25s ease, background-color .2s ease;
}
.faq__icon svg { width: 14px; height: 14px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--surface-tint); }
.faq__a { padding: 0 56px 24px 4px; }
.faq__a p { font-size: 17px; line-height: 28px; }

/* ---------- Closing offer band ---------- */
.closing { text-align: center; position: relative; overflow: hidden; }
.closing__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; text-align: left; max-width: 920px; margin: 0 auto; }
.closing .mockup { width: 250px; }
.closing h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.2; margin-bottom: var(--space-2); }
.closing__sub { margin-bottom: 28px; }
.closing .buy-row { gap: var(--space-2) var(--space-3); }

/* ---------- Footer ---------- */
.site-footer { background: #0f1a31; border-top: 1px solid var(--dark-border); color: var(--dark-body); padding: 40px 0; font-size: 14px; line-height: 22px; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); }
.site-footer .wordmark__name { color: #ff5a60; } /* logo red lifted for 4.5:1 on navy */

/* ---------- Mobile sticky buy bar ---------- */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(244, 237, 224, 0.97);
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -10px 30px -20px rgba(20, 33, 61, 0.6);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(110%); transition: transform .3s ease;
}
.buy-bar.is-visible { transform: translateY(0); }
.buy-bar .price__now { font-size: 26px; }
.buy-bar .price__note { font-size: 13px; }
.buy-bar .price { flex-direction: column; gap: 2px; }
.buy-bar .btn--accent { min-height: 50px; padding: 7px 7px 7px 20px; font-size: 15px; }
.buy-bar .btn__arrow { width: 34px; height: 34px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1440px) {
  :root { --container: 1200px; }
}

@media (max-width: 1100px) {
  .hero__grid { gap: 40px; }
  .learn-item { padding-right: 20px; }
  .learn-item:not(:nth-child(3n + 1)) { padding-left: 20px; }
}

/* Tablet */
@media (max-width: 1023px) {
  :root { --space-5: 64px; }
  .hero { padding-top: 40px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .book-stage__byline { right: -6px; }
  .learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learn-item, .learn-item:not(:nth-child(3n + 1)) { padding: 28px 20px 32px; border-left: 0; }
  .learn-item:nth-child(2n) { border-left: 1px solid var(--border-soft); }
  .learn-item:nth-child(2n + 1) { padding-left: 0; }
  .who-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .who-intro { position: static; text-align: center; }
  .who-intro .eyebrow { display: block; }
  .who-intro__book { display: none; }
  .offer-card { grid-template-columns: 220px minmax(0, 1fr); }
  .offer-card__body { padding: 36px 32px; }
  .checklist { grid-template-columns: 1fr; }
  .author { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --gutter: 16px; --space-5: 56px; --header-h: 60px; }
  body { font-size: 17px; line-height: 27px; }
  .section-head { margin-bottom: 32px; }
  .wordmark__name { font-size: 18px; }
  .wordmark__tag { font-size: 11px; }
  .site-header .btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }

  .hero { padding: 24px 0 48px; }
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual";
    gap: 28px;
  }
  .hero__copy { text-align: center; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.16; }
  .hero__sub { font-size: 17px; line-height: 27px; margin: 16px auto 0; }
  .hero__buy { margin-top: 24px; flex-direction: column; gap: 14px; }
  .hero__buy .btn--accent { width: 100%; max-width: 380px; }
  .hero__trust { justify-content: center; }
  .book-stage { padding: 28px 0 22px; max-width: 360px; margin: 0 auto; width: 100%; }
  .book-stage::before { inset: 0; }
  .book { --t: 20px; width: min(230px, 62%); }
  .book-stage__byline { top: -14px; right: 50%; transform: translateX(50%); white-space: nowrap; }

  .learn-grid { grid-template-columns: 1fr; border-top: 0; }
  .learn-item, .learn-item:not(:nth-child(3n + 1)), .learn-item:nth-child(2n), .learn-item:nth-child(2n + 1) {
    padding: 22px 0 22px 64px; border-left: 0; border-top: 0;
  }
  .learn-item:first-child { border-top: 1px solid var(--border-soft); }
  .learn-item__num { position: absolute; left: 0; top: 22px; font-size: 34px; margin: 0; }
  .learn-item__num::after { width: 20px; margin-top: 8px; }
  .learn-item h3 { font-size: 20px; line-height: 27px; margin-bottom: 6px; }
  .learn-item p { font-size: 16px; line-height: 25px; }

  .who-cards { grid-template-columns: 1fr; gap: 12px; }
  .who-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .who-card .icon-chip { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .who-card h3 { font-size: 18px; line-height: 25px; margin-bottom: 4px; }
  .who-card p { font-size: 15px; line-height: 23px; }

  .offer-card { grid-template-columns: 1fr; border-radius: 20px; }
  .offer-card__visual { padding: 28px 16px 44px; }
  .offer-card__visual .mockup { width: 190px; }
  .offer-card__body { padding: 28px 20px; }
  .offer-card__buy { flex-direction: column; align-items: stretch; text-align: center; }
  .offer-card__buy .price { justify-content: center; }
  .offer-card__buy .btn--accent { width: 100%; }

  .author { grid-template-columns: 1fr; gap: 32px; }
  .author__portrait { max-width: 300px; }
  .author__caption { padding: 8px 20px; margin-top: -22px; }
  .author__bio { text-align: left; }
  .pull-quote { padding: 22px 20px; }
  .author__buy { flex-direction: column; align-items: stretch; text-align: center; }
  .author__buy .price { justify-content: center; }

  .faq__q { font-size: 18px; line-height: 26px; padding: 18px 0; }
  .faq__icon { width: 32px; height: 32px; }
  .faq__a { padding: 0 0 20px; }
  .faq__a p { font-size: 16px; line-height: 26px; }

  .closing__inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .closing .mockup { width: 200px; margin: 0 auto 8px; }
  .closing .buy-row { flex-direction: column; }
  .closing .btn--accent { width: 100%; max-width: 380px; }

  .site-footer { padding-bottom: 110px; }
  .site-footer__inner { flex-direction: column; text-align: center; }

  .buy-bar { display: flex; }
  /* one buy button on screen at a time: header CTA steps aside while the bar is up */
  .site-header .btn--sm { transition: opacity .2s ease, visibility .2s; }
  .has-buy-bar .site-header .btn--sm { opacity: 0; visibility: hidden; }
  .cta-block .btn--accent { width: 100%; max-width: 380px; }
}

@media (max-width: 360px) {
  .site-header .btn--sm span { display: none; }
  .buy-bar .btn--accent { padding-left: 14px; font-size: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .book__body, .book:hover .book__body { transform: rotateY(-24deg) rotateX(3deg); }
}
