/* ==========================================================================
   Leadmagnet E-book — free guide download landing page
   Sample: Crumb & Co. Kitchen · "The Home-Baker's Pricing Guide"
   1 Tokens  2 Base  3 Buttons  4 Masthead  5 Hero  6 3D book  7 Form
   8 Strip  9 Learn  10 Contents & spread  11 Calculator  12 Author
   13 Words  14 FAQ  15 Final  16 Footer  17 Sticky CTA  18 Reveal
   19 Responsive  20 Reduced motion
   ========================================================================== */

/* ------------------------------ 1. TOKENS ------------------------------ */
:root {
  --cream:   #f7f0e4;
  --cream-2: #efe4d2;
  --paper:   #fffaf2;
  --berry:   #8c1d47;
  --berry-d: #6b1235;
  --berry-x: #4a0c25;
  --blush:   #f4dbe3;
  --gold:    #c9973f;
  --gold-d:  #8a6526;
  --ink:     #2b1420;
  --text:    #3d2a33;
  --dim:     #6a5560;
  --line:    rgba(43, 20, 32, .16);
  --line-2:  rgba(43, 20, 32, .08);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --pad: clamp(16px, 4.5vw, 40px);
  --sec: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(.25, .8, .25, 1);
}

/* ------------------------------- 2. BASE ------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 16.5px; line-height: 1.65; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; }
em { font-style: italic; }
h1 em, h2 em { color: var(--berry); font-weight: 400; }
[hidden] { display: none !important; }
::selection { background: var(--berry); color: var(--paper); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.1em; height: 1.1em; flex: none; display: inline-block; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 300; background: var(--berry); color: var(--paper); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec); }
section[id] { scroll-margin-top: 80px; }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--berry); margin-bottom: 18px; }
.eyebrow::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow--light { color: var(--blush); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); text-wrap: balance; }
.h2--light { color: var(--paper); }
.h2--light em { color: #ffc2d6; }
.sec-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .eyebrow::before { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }

/* ------------------------------ 3. BUTTONS ----------------------------- */
.btn { --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 26px; border-radius: 4px; font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .01em; white-space: nowrap; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.btn--sm { --h: 40px; padding: 0 18px; font-size: .92rem; }
.btn--lg { --h: 56px; font-size: 1.04rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 8px; }
.btn--berry { background: var(--berry); color: var(--paper); box-shadow: 0 6px 0 var(--berry-x); }
.btn--berry:hover { background: var(--berry-d); transform: translateY(-1px); }
.btn--berry:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--berry-x); }
.btn--cream { background: var(--paper); color: var(--berry-d); box-shadow: 0 6px 0 rgba(0,0,0,.25); }
.btn--cream:hover { background: #fff; transform: translateY(-1px); }

/* ------------------------------ 4. MASTHEAD ---------------------------- */
.mast { position: sticky; top: 0; z-index: 100; background: rgba(247, 240, 228, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mast__inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mast__brand { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: baseline; gap: 6px; letter-spacing: -.02em; }
.mast__brand i { color: var(--berry); font-weight: 400; }
.mast__brand span { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-left: 8px; }
.mast__nav { display: flex; align-items: center; gap: 26px; }
.mast__nav a:not(.btn) { font-size: .95rem; font-weight: 500; color: var(--dim); background-image: linear-gradient(var(--berry), var(--berry)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease), color .2s; padding-bottom: 2px; }
.mast__nav a:not(.btn):hover { color: var(--ink); background-size: 100% 1px; }
.mast__mcta { display: none !important; }
.mast__end { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { width: 18px; height: 1.8px; background: var(--ink); transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.9px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.9px) rotate(-45deg); }

/* -------------------------------- 5. HERO ------------------------------ */
.hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 90px); overflow: hidden; background: radial-gradient(50% 70% at 22% 50%, #f1dfd6 0%, transparent 70%), linear-gradient(180deg, var(--cream), var(--cream-2)); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(140, 29, 71, .05) 31px 32px); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 72px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; color: var(--dim); font-weight: 500; }
.kicker span { padding: 4px 12px; border: 1px solid var(--berry); color: var(--berry); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-radius: 999px; }
.hero__title { margin-top: 18px; font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.hero__lead { margin-top: 18px; font-size: 1.1rem; color: var(--dim); max-width: 540px; }

/* ------------------------------ 6. 3D BOOK ----------------------------- */
.hero__book { position: relative; display: grid; place-items: center; min-height: 600px; }
.stage { position: relative; perspective: 1800px; }
.book { --w: 330px; --h: 462px; --t: 42px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateY(-28deg) rotateX(4deg) rotateZ(-1deg); transition: transform .9s var(--ease); animation: hover 7s ease-in-out infinite; }
.hero__book:hover .book { transform: rotateY(-14deg) rotateX(2deg); }
@keyframes hover { 50% { translate: 0 -10px; } }
.book__front { position: absolute; inset: 0; transform: translateZ(calc(var(--t) / 2)); border-radius: 3px 8px 8px 3px; overflow: hidden; box-shadow: inset 4px 0 10px rgba(0,0,0,.25); }
.book__pages { position: absolute; top: 6px; bottom: 6px; left: calc(var(--w) - var(--t) / 2 - 4px); width: var(--t); transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #fffaf2 0 2px, #e9dcc8 2px 3px); box-shadow: inset 0 0 12px rgba(0,0,0,.18); }
.book::before { content: ""; position: absolute; inset: 0; transform: translateZ(calc(var(--t) / -2)); background: var(--berry-x); border-radius: 3px 8px 8px 3px; }
.stage__shadow { position: absolute; left: 8%; right: -6%; bottom: -34px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(74, 12, 37, .38), transparent); filter: blur(4px); }
.cover { position: relative; width: 100%; height: 100%; padding: 30px 28px 26px 36px; display: flex; flex-direction: column; background: radial-gradient(90% 60% at 70% 20%, #a42a58 0%, transparent 70%), linear-gradient(160deg, #9b2350, var(--berry-d)); color: var(--paper); }
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16px; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12) 60%, transparent); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.14) 50%, transparent 60%); pointer-events: none; }
.cover__top { font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #f4c7d6; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 250, 242, .3); }
.cover__title { font-family: var(--serif); font-size: 2.35rem; line-height: 1.02; font-weight: 600; margin-top: 18px; letter-spacing: -.02em; }
.cover__title em { color: #ffc46b; font-weight: 400; }
.cover__art { width: 82%; margin: auto auto 6px; }
.cover__sub { font-family: var(--serif); font-style: italic; font-size: .95rem; color: #f4c7d6; line-height: 1.35; }
.cover__by { white-space: nowrap; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 250, 242, .3); font-weight: 600; font-size: .9rem; }
.cover__by span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #f4c7d6; font-weight: 500; }
.sticker { position: absolute; top: 40px; right: 6%; width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--gold); color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1; transform: rotate(12deg); box-shadow: 0 10px 20px -10px rgba(74, 12, 37, .6); border: 2px dashed rgba(43, 20, 32, .35); outline: 5px solid var(--gold); outline-offset: -1px; }
.sticker b { font-style: normal; font-size: 1.7rem; letter-spacing: .02em; }

/* -------------------------------- 7. FORM ------------------------------ */
.getcard { margin-top: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px 18px; box-shadow: 10px 10px 0 var(--blush); max-width: 560px; position: relative; scroll-margin-top: 100px; }
.getform { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.getform__title, .getform .field--full, .getform .btn, .getform__fine { grid-column: 1 / -1; }
.getform__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.field { margin-bottom: 14px; min-width: 0; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); margin-bottom: 5px; }
.field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(43, 20, 32, .3); border-radius: 4px; background: #fff; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #a8979f; }
.field input:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 3px rgba(140, 29, 71, .15); }
.field input[aria-invalid="true"] { border-color: #b3123a; box-shadow: 0 0 0 3px rgba(179, 18, 58, .12); }
.field__pre { position: relative; }
.field__pre span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--dim); pointer-events: none; }
.field__pre input { padding-left: 48px; }
.field__err { margin-top: 5px; color: #a10f34; font-size: .84rem; font-weight: 600; }
.field__err:empty { display: none; }
.getform .btn { margin-top: 4px; }
.getform__fine { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 14px; font-size: .82rem; color: var(--dim); }
.getdone { text-align: center; padding: 8px 4px; }
.getdone:focus { outline: none; }
.getdone__kicker { font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--berry); }
.getdone__title { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--ink); margin: 6px 0 8px; line-height: 1.1; }
.getdone__text { color: var(--dim); margin-bottom: 20px; }
.getdone .btn { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.getdone__note { margin-top: 12px; font-size: .82rem; color: var(--dim); }
.getdone__edit { margin-top: 10px; font-size: .88rem; font-weight: 600; color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.proof { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: .94rem; color: var(--dim); }
.proof b { color: var(--ink); }
.proof__avas { display: flex; }
.proof__avas i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .66rem; font-weight: 600; color: var(--paper); background: var(--berry); border: 2px solid var(--cream); margin-left: -8px; }
.proof__avas i:first-child { margin-left: 0; background: var(--gold-d); }
.proof__avas i:last-child { background: var(--ink); }

/* -------------------------------- 8. STRIP ----------------------------- */
.strip { border-block: 1px solid var(--line); background: var(--paper); }
.strip__row { display: flex; justify-content: space-between; gap: 10px 26px; flex-wrap: wrap; padding-block: 20px; }
.strip__row li { font-size: .92rem; color: var(--dim); letter-spacing: .02em; }
.strip__row b { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--berry); margin-right: 6px; }

/* -------------------------------- 9. LEARN ----------------------------- */
.learn__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; counter-reset: l; }
.learn__list li { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.learn__no { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 3.2rem; line-height: .9; color: var(--berry); }
.learn__list h3 { font-size: 1.4rem; margin-bottom: 8px; }
.learn__list p { color: var(--dim); }

/* -------------------------- 10. CONTENTS & SPREAD ---------------------- */
.inside { background: var(--paper); border-block: 1px solid var(--line); }
.inside__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.toc li { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.toc__ch { flex: none; width: 52px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); }
.toc__t { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.toc__dots { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(43, 20, 32, .3); transform: translateY(-4px); }
.toc__p { font-family: var(--serif); font-style: italic; color: var(--dim); white-space: nowrap; }
.toc__extra .toc__t { font-style: italic; color: var(--berry); }
.spread { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; transform: rotate(-2deg); filter: drop-shadow(0 30px 40px rgba(74, 12, 37, .22)); }
.spread__page { position: relative; aspect-ratio: 3 / 4; padding: 26px 22px; background: #fffdf8; }
.spread__page--l { border-radius: 6px 0 0 6px; background: linear-gradient(90deg, #fffdf8 85%, #efe6d8); }
.spread__page--r { border-radius: 0 6px 6px 0; background: linear-gradient(90deg, #e8decf, #fffdf8 14%); display: flex; flex-direction: column; gap: 10px; }
.pg__run { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--berry); border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.pg__h { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 14px 0 12px; line-height: 1.15; }
.pg__table { width: 100%; border-collapse: collapse; font-size: .76rem; color: var(--text); }
.pg__table td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.pg__table td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.pg__tot td { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 9px; font-family: var(--serif); font-size: .95rem; font-weight: 600; color: var(--berry); }
.pg__pull { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.3; color: var(--berry); padding: 12px 0 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.pg__line { height: 7px; border-radius: 4px; background: #ece2d4; }
.pg__line--s { width: 64%; }
.pg__num { position: absolute; bottom: 14px; left: 22px; font-family: var(--serif); font-style: italic; font-size: .8rem; color: var(--dim); }
.pg__num--r { left: auto; right: 22px; }
.spread figcaption { position: absolute; bottom: -38px; left: 0; right: 0; text-align: center; font-family: var(--serif); font-style: italic; color: var(--dim); font-size: .92rem; }

/* ----------------------------- 11. CALCULATOR -------------------------- */
.calc { background: var(--berry-d); color: #f4dbe3; position: relative; overflow: hidden; }
.calc::before { content: "₹"; position: absolute; right: -40px; top: -120px; font-family: var(--serif); font-size: 34rem; line-height: 1; color: rgba(255, 250, 242, .05); pointer-events: none; }
.calc__grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.calc__intro p { margin: 14px 0 26px; font-size: 1.06rem; max-width: 42ch; }
.calc__form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: clamp(20px, 3vw, 30px); background: var(--paper); border-radius: 6px; color: var(--text); box-shadow: 12px 12px 0 var(--berry-x); }
.cfield label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; line-height: 1.3; min-height: 2.6em; }
.cfield input { width: 100%; height: 48px; padding: 0 12px; border: 1px solid rgba(43, 20, 32, .3); border-radius: 4px; font-size: 1.05rem; font-weight: 600; color: var(--ink); background: #fff; font-variant-numeric: tabular-nums; }
.cfield input:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 3px rgba(140, 29, 71, .15); }
.calc__out { grid-column: span 1; display: flex; flex-direction: column; justify-content: center; padding: 12px 16px; border-radius: 4px; background: var(--blush); }
.calc__out span { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--berry); }
.calc__out b { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.calc__out small { font-size: .78rem; color: var(--dim); }

/* ------------------------------- 12. AUTHOR ---------------------------- */
.abox { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(22px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; position: relative; }
.abox::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line-2); border-radius: 4px; pointer-events: none; }
.abox__img { width: 100%; height: auto; border-radius: 4px; }
.abox__name { font-size: clamp(2.2rem, 4vw, 3rem); }
.abox__role { font-family: var(--serif); font-style: italic; color: var(--berry); font-size: 1.1rem; margin: 6px 0 18px; }
.abox__body > p:not(.eyebrow):not(.abox__role):not(.abox__sig) { color: var(--dim); margin-bottom: 14px; max-width: 62ch; }
.abox__body > p:nth-of-type(3)::first-letter { font-family: var(--serif); float: left; font-size: 3.6rem; line-height: .9; padding: 4px 10px 0 0; color: var(--berry); }
.abox__stats { display: flex; gap: 0; margin: 22px 0 10px; border-block: 1px solid var(--line); }
.abox__stats li { flex: 1; padding: 14px 12px; border-left: 1px solid var(--line); }
.abox__stats li:first-child { border-left: 0; padding-left: 0; }
.abox__stats b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.abox__stats span { font-size: .84rem; color: var(--dim); }
.abox__sig { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--berry); transform: rotate(-4deg); display: inline-block; margin-top: 8px; }

/* ------------------------------- 13. WORDS ----------------------------- */
.words { padding-top: 0; }
.words__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.word { position: relative; padding: 40px 30px 10px; border-left: 1px solid var(--line); }
.word:first-child { border-left: 0; padding-left: 0; }
.word::before { content: "\201C"; position: absolute; top: -10px; left: 24px; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--berry); opacity: .9; }
.word:first-child::before { left: -6px; }
.word blockquote { font-family: var(--serif); font-size: 1.22rem; line-height: 1.45; color: var(--ink); margin-top: 18px; }
.word figcaption { margin-top: 18px; font-size: .9rem; color: var(--dim); }
.word b { color: var(--berry); font-weight: 600; }

/* -------------------------------- 14. FAQ ------------------------------ */
.faq { background: var(--paper); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; font-family: var(--serif); font-size: 1.28rem; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--berry); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 40px 22px 0; color: var(--dim); }

/* ------------------------------- 15. FINAL ----------------------------- */
.final { background: var(--berry); padding-block: clamp(56px, 7vw, 96px); overflow: hidden; }
.final__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.final .h2 { margin-bottom: 26px; max-width: 18ch; }
.mini-book { width: 150px; height: 210px; padding: 18px 14px 14px 20px; display: flex; align-items: flex-end; border-radius: 2px 6px 6px 2px; background: linear-gradient(160deg, #a42a58, var(--berry-x)); box-shadow: inset 6px 0 8px rgba(0,0,0,.3), 8px 8px 0 var(--berry-x), 16px 26px 40px -12px rgba(0,0,0,.5); transform: rotate(-8deg); }
.mini-book span { font-family: var(--serif); font-weight: 600; color: var(--paper); font-size: 1.15rem; line-height: 1.05; }
.mini-book em { color: #ffc46b; font-weight: 400; }

/* ------------------------------ 16. FOOTER ----------------------------- */
.footer { background: var(--ink); color: #c9b8c0; padding: 44px 0 22px; font-size: .92rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: baseline; gap: 14px 30px; flex-wrap: wrap; }
.footer__brand { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); }
.footer__brand i { color: #ffc2d6; }
.footer a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }

/* ---------------------------- 17. STICKY CTA --------------------------- */
.mcta { display: none; }

/* ------------------------------ 18. REVEAL ----------------------------- */
.rv-on .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv-on .reveal.in { opacity: 1; transform: none; }
.rv-on .spread.reveal.in { transform: rotate(-2deg); }

/* ---------------------------- 19. RESPONSIVE --------------------------- */
@media (max-width: 1080px) {
  .book { --w: 290px; --h: 406px; --t: 36px; }
  .cover__title { font-size: 2rem; }
  .hero__book { min-height: 520px; }
  .calc__form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .mast__nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 20px; background: var(--cream); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .mast__nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .mast__nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; background: none; }
  .mast__mcta { display: inline-flex !important; margin-top: 14px; }
  .mast__end .btn { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { order: -1; }
  .getcard { max-width: none; }
  .hero__book { min-height: 0; padding: 30px 0 50px; }
  .inside__grid, .calc__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .spread { max-width: 560px; margin: 0 auto 40px; }
  .abox { grid-template-columns: minmax(0, 1fr); }
  .abox__img { max-width: 300px; }
  .words__grid { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .word, .word:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 44px 0 24px; }
  .word::before, .word:first-child::before { left: -4px; }
}
@media (max-width: 760px) {
  .mast__brand span { display: none; }
  .learn__list { grid-template-columns: minmax(0, 1fr); }
  .learn__list li { grid-template-columns: 60px 1fr; gap: 12px; padding: 22px 0; }
  .learn__no { font-size: 2.4rem; }
  .strip__row { justify-content: center; }
  .final__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .final .h2 { margin-inline: auto; }
  .mini-book { width: 120px; height: 168px; }
  .mini-book span { font-size: .95rem; }

  .mcta { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; align-items: center; gap: 12px; padding: 9px 9px 9px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px -14px rgba(74, 12, 37, .5); transform: translateY(150%); transition: transform .4s var(--ease); }
  .mcta.is-on { transform: none; }
  .mcta__book { flex: none; width: 28px; height: 38px; border-radius: 1px 4px 4px 1px; background: linear-gradient(160deg, #a42a58, var(--berry-x)); box-shadow: inset 3px 0 3px rgba(0,0,0,.3); }
  .mcta p { flex: 1; min-width: 0; line-height: 1.2; }
  .mcta b { display: block; font-family: var(--serif); color: var(--ink); font-size: 1rem; }
  .mcta small { color: var(--dim); font-size: .78rem; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 520px) {
  .getform { grid-template-columns: minmax(0, 1fr); }
  .getcard { padding: 18px 16px 14px; box-shadow: 6px 6px 0 var(--blush); }
  .book { --w: 236px; --h: 330px; --t: 30px; }
  .cover { padding: 20px 18px 18px 26px; }
  .cover__top { font-size: .56rem; }
  .cover__title { font-size: 1.62rem; margin-top: 12px; }
  .cover__sub { font-size: .8rem; }
  .cover__by { font-size: .78rem; }
  .cover__by span { display: none; }
  .sticker { width: 74px; height: 74px; right: 2%; top: 14px; font-size: .84rem; }
  .sticker b { font-size: 1.3rem; }
  .calc__form { grid-template-columns: 1fr 1fr; gap: 12px; }
  .calc__out { grid-column: 1 / -1; }
  .toc__ch { width: 44px; }
  .toc__t { font-size: 1.05rem; }
  .spread__page { padding: 16px 12px; }
  .pg__h { font-size: .9rem; }
  .pg__table { font-size: .62rem; }
  .pg__pull { font-size: .82rem; }
  .abox__stats { flex-direction: column; }
  .abox__stats li, .abox__stats li:first-child { border-left: 0; padding: 10px 0; border-top: 1px solid var(--line-2); }
  .abox__stats li:first-child { border-top: 0; }
  .qa summary { font-size: 1.12rem; }
  .qa p { padding-right: 0; }
}

/* -------------------------- 20. REDUCED MOTION ------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv-on .reveal { opacity: 1; transform: none; }
  .rv-on .spread.reveal { transform: rotate(-2deg); }
}
