/* Later Chapters Press: Funnel 2 pages (/peptides60 and its thank-you page).
 *
 * Tokens are SAMPLED from the cover (ALT_couple_v4), not chosen by eye.
 * Source and measured contrast: Book Projects/Peptides for Seniors/Design/Brand-Kit.md.
 * Do not add a colour pair without measuring it: the reader is 66 and reading on a phone.
 *
 * Design rules for this sheet:
 *  - One idea per screen. Generous space between sections; nothing crammed beside the form.
 *  - Motion explains (a page prints, a letter is sent); it never decorates for its own sake.
 *  - Every animation is off under prefers-reduced-motion, and every reveal is visible
 *    without JavaScript (hidden states are scoped to html.js).
 *
 * One comment per block, closed on the same block. A comment closed early strands
 * its prose and silently drops the next rule (Skill-Harvest-Backlog, 2026-10-02).
 */

@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/Merriweather-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("../fonts/Merriweather-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/SourceSans3-normal-latin.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --green-700: #264446;
  --green-800: #1e3d3f;
  --green-900: #1c383c;
  --green-950: #152b2e;
  --blush: #f9d5d7;
  --blush-soft: #fcebec;
  --ink: #39354c;
  --copper: #cf9a76;
  --plum: #47283d;
  --cream: #f6efe2;
  --gold: #d5a575;
  --page: #fbf7f0;
  --paper: #fffdf8;
  --muted: #5a5568;
  --copper-text: #8a5a3c;
  --rule: #e3d7c3;
  --field-border: #7d7790;
  --error: #9e4a3a;

  --display: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-page: 0 1px 1px rgba(28, 56, 60, .08), 0 12px 28px -10px rgba(28, 56, 60, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.1875rem/1.6 var(--sans);   /* 19px (Jason 2026-10-16: scale down so the book shows above the fold); copy §6 floor is 18px */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-800); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--copper-text); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: inherit; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Skip link and the preview ribbon (shown only while config.js says the page is not live) */
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.preview-ribbon { display: none; background: var(--plum); color: var(--cream); text-align: center; font-size: 1rem; font-weight: 600; padding: 10px var(--gutter); }
.is-preview .preview-ribbon { display: block; }

/* The copper band: the cover's LARGE PRINT strip, carrying one reader-facing fact */
.band {
  background: var(--copper); color: var(--plum);
  text-align: center; font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 11px var(--gutter);
}
.band span { white-space: nowrap; }
.band span + span::before { content: "·"; margin: 0 .7em; }
@media (max-width: 480px) { .band { font-size: .8rem; letter-spacing: .1em; } .band span + span::before { margin: 0 .45em; } }

.kicker { font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-text); }

/* ---------- Buttons: dark green with the copper underline, the only button style ---------- */
.button {
  --lift: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 58px; padding: 12px 28px;
  background: var(--green-900); color: var(--cream);
  font: 700 clamp(1.125rem, 1rem + .5vw, 1.25rem)/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 0; border-radius: 14px; cursor: pointer;
  box-shadow: inset 0 -5px 0 var(--copper), 0 14px 26px -14px rgba(21, 43, 46, .7);
  transform: translateY(var(--lift));
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.button:hover { --lift: -2px; background: var(--green-950); color: var(--cream); box-shadow: inset 0 -5px 0 var(--copper), 0 20px 30px -14px rgba(21, 43, 46, .75); }
.button:active { --lift: 1px; }
.button .icon { width: 1.05em; height: 1.05em; stroke-width: 2.2; transition: transform .3s var(--ease); }
.button:hover .icon { transform: translateX(4px); }
.button[disabled] { opacity: .7; cursor: progress; }
.button-on-green { background: var(--cream); color: var(--green-900); box-shadow: inset 0 -5px 0 var(--copper), 0 16px 30px -14px rgba(0, 0, 0, .6); }
.button-on-green:hover { background: #fff; color: var(--green-900); }

/* ====================================================================================
   HERO
   ==================================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(60% 50% at 82% 18%, rgba(207, 154, 118, .16), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(249, 213, 215, .06), transparent 70%),
    linear-gradient(180deg, var(--green-700) 0%, var(--green-800) 55%, var(--green-900) 100%);
  padding-block: clamp(28px, 3.5vw, 48px) clamp(56px, 7vw, 96px);
}
/* Faint botanical line-work, after the cover's ground pattern; draws itself once */
.hero-sprig { position: absolute; z-index: -1; color: var(--copper); opacity: .16; pointer-events: none; }
.hero-sprig path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.hero-sprig.one { width: min(420px, 60vw); right: -60px; bottom: -40px; }
.hero-sprig.two { width: 260px; left: -70px; top: 30px; transform: scaleX(-1) rotate(-12deg); }
.js .hero-sprig path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-grid { display: grid; gap: clamp(24px, 3vw, 32px) clamp(40px, 6vw, 88px); align-items: start; grid-template-areas: "stage" "copy" "form"; }
.hero-copy { grid-area: copy; }
.hero-stage { grid-area: stage; }
.form-card { grid-area: form; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "copy form" "stage form"; }
  .hero-stage { justify-self: start; margin-left: -4%; margin-top: 22px; }
  .hero .form-card { margin-top: 0; }
}
.hero-copy { max-width: 620px; }
.hero .kicker { color: var(--copper); display: inline-flex; align-items: center; gap: .6em; }
.hero .kicker::before { content: ""; width: 28px; height: 2px; background: var(--copper); }
.hero h1 {
  margin-top: 14px;
  font-weight: 900; font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem); line-height: 1.14; letter-spacing: -.012em;
}
.hero h1 .accent { color: var(--copper); }
.hero .deck { margin-top: 16px; font-size: clamp(1.1rem, 1.02rem + .3vw, 1.25rem); line-height: 1.55; color: var(--cream); max-width: 34em; }
.hero .for-readers { margin-top: 12px; font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--blush); }

/* Load-in: the headline block rises in three beats */
.js .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* The stage: the cover with three real tool pages fanned behind it */
.hero-stage { position: relative; margin-inline: auto; width: min(100%, 500px); aspect-ratio: 1 / .78; }
@media (max-width: 959px) { .hero-stage { width: min(100%, 380px); aspect-ratio: 1 / .66; margin-bottom: -8px; } }
.hero-stage .page, .hero-stage .cover {
  position: absolute; border-radius: 6px; overflow: hidden;
  transition: transform 1.1s var(--ease), opacity .9s var(--ease);
}
.hero-stage .page { width: 38%; top: 7%; left: 31%; background: var(--paper); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .65); }
.hero-stage .page img { width: 100%; }
.hero-stage .p1 { transform: translate(calc(-46% - var(--spread, 0px)), 6%) rotate(-11deg); }
.hero-stage .p2 { transform: translate(calc(46% + var(--spread, 0px)), 4%) rotate(9deg); }
.hero-stage .p3 { transform: translate(calc(30% + var(--spread, 0px) * .6), -9%) rotate(4deg); }
.hero-stage .cover {
  width: 44%; left: 28%; top: 0;
  border-radius: 4px 8px 8px 4px;
  box-shadow: -1px 0 0 rgba(255, 255, 255, .25) inset, 0 40px 60px -26px rgba(0, 0, 0, .8), 0 2px 6px rgba(0, 0, 0, .3);
  animation: float 7s ease-in-out 1.6s infinite;
}
.hero-stage .cover::after { /* a spine highlight so it reads as a book, not a flat image */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .28) 0, rgba(255, 255, 255, .14) 1.6%, rgba(0, 0, 0, 0) 4.5%);
}
@keyframes float { 50% { transform: translateY(-8px) rotate(-.6deg); } }
.js .hero-stage:not(.is-in) .page { transform: translate(0, 10%) rotate(0); opacity: 0; }
.js .hero-stage:not(.is-in) .cover { transform: translateY(24px); opacity: 0; }
.hero-stage .p1 { transition-delay: .35s; }
.hero-stage .p2 { transition-delay: .5s; }
.hero-stage .p3 { transition-delay: .2s; }
.hero-stage .seal {
  position: absolute; width: 23%; left: 8%; bottom: 7%; z-index: 3;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35));
  transition: transform .9s var(--ease) .9s, opacity .6s .9s;
}
.js .hero-stage:not(.is-in) .seal { transform: scale(.6) rotate(-20deg); opacity: 0; }



/* ---------- The form card ---------- */
.form-card {
  position: relative; margin-top: clamp(30px, 4vw, 44px);
  background: var(--paper); color: var(--ink);
  border-radius: 22px; padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 40px 70px -30px rgba(0, 0, 0, .65);
}
.form-card::before { /* copper hairline across the top: the cover's bar, in miniature */
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--copper);
}
.form-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.form-head .badge { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-soft); color: var(--copper-text); flex: none; }
.form-head .badge .icon { width: 26px; height: 26px; }
.form-head p { font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; min-height: 56px; padding: 10px 16px;
  font: 400 1.25rem/1.3 var(--sans); color: var(--ink);   /* 20px (scaled down 2026-10-16; brand kit asked 22px) */
  background: #fff; border: 2px solid var(--field-border); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #8b8698; }
.field input:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 4px rgba(207, 154, 118, .45); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.error { display: none; margin-top: 8px; color: var(--error); font-weight: 600; font-size: 1.05rem; }
.field input[aria-invalid="true"] + .error { display: block; }
.form-card .button { width: 100%; margin-top: 6px; }
.under-button { display: flex; align-items: center; justify-content: center; gap: .5em; margin-top: 12px; font-weight: 600; font-size: .95rem; color: var(--green-800); text-align: center; }
.under-button .icon { color: var(--copper-text); stroke-width: 2.2; }
.form-status:not(:empty) { margin-top: 14px; color: var(--error); font-weight: 600; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule);
  font-size: .9rem; line-height: 1.55; color: var(--muted);
}
.consent a { color: var(--green-800); font-weight: 600; }

/* ====================================================================================
   SECTIONS
   ==================================================================================== */
.section { padding-block: var(--section); }
.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-top: 12px; font-weight: 800; font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.16; letter-spacing: -.01em; }
.section-head p { margin-top: 14px; font-size: 1.125rem; color: var(--muted); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Benefits: a sticky printer that prints the page as you read ---------- */
.benefits-grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: start; }
@media (min-width: 960px) {
  .benefits-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .printer-wrap { position: sticky; top: 12vh; }
}
.printer-scene { --p: 0; position: relative; width: min(100%, 440px); margin-inline: auto; padding-bottom: 6%; }
.printer-scene .printer { position: relative; z-index: 2; width: 100%; color: var(--green-800); }
.printer-scene .tray { position: relative; z-index: 1; margin: -9% auto 0; width: 74%; overflow: hidden; }
.printer-scene .printed {
  width: 100%; background: var(--paper); border-radius: 0 0 6px 6px; box-shadow: var(--shadow-page);
  transform: translateY(calc((1 - var(--p)) * -100%));
}
.printer-scene .printed img { width: 100%; }
.printer-scene .pen {
  position: absolute; z-index: 3; width: 9%; right: 3%; bottom: 4%; color: var(--copper-text);
  opacity: clamp(0, calc((var(--p) - .82) * 6), 1);
  transform: translate(calc((1 - var(--p)) * 60px), calc((1 - var(--p)) * 30px)) rotate(-28deg);
}
.printer-scene .light { fill: var(--copper); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { fill: #7fbf9e; } }

.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 4.5vw, 56px); }
.benefit { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.icon-ring {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--copper); color: var(--copper-text); background: var(--paper);
  box-shadow: 0 0 0 8px rgba(207, 154, 118, .1);
  transition: transform .5s var(--ease), background-color .3s;
}
.icon-ring .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.benefit:hover .icon-ring { transform: rotate(-8deg) scale(1.05); background: var(--blush-soft); }
.benefit h3 { font-weight: 700; font-size: clamp(1.2rem, 1.1rem + .35vw, 1.375rem); line-height: 1.25; margin-top: 4px; }
.benefit p { margin-top: 8px; color: var(--ink); }

/* The blush panel: the one sentence that matters most on this surface */
.free-panel {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; gap: 22px 36px; align-items: center;
  background: var(--blush); color: var(--ink);
  border-radius: 28px; padding: clamp(32px, 5vw, 56px) clamp(28px, 5vw, 64px);
  position: relative; overflow: hidden;
}
@media (min-width: 720px) { .free-panel { grid-template-columns: auto 1fr; } }
.free-panel .icon-ring { width: 84px; height: 84px; background: var(--paper); }
.free-panel .icon-ring .icon { width: 38px; height: 38px; }
.free-panel h3 { font-weight: 900; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); line-height: 1.2; }
.free-panel p { margin-top: 8px; font-size: 1.2rem; }
.free-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid rgba(207, 154, 118, .45); }

/* ---------- The download: twelve real pages ---------- */
.tools-section { background: var(--cream); border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0; }
.tools-head { display: grid; gap: 8px 40px; align-items: center; max-width: 900px; margin: 0 auto clamp(44px, 6vw, 72px); }
@media (min-width: 720px) { .tools-head { grid-template-columns: auto 1fr; } }
.big-count {
  font-family: var(--display); font-weight: 900; line-height: .85;
  font-size: clamp(5.5rem, 4rem + 6vw, 9rem); color: var(--copper);
  font-variant-numeric: tabular-nums; letter-spacing: -.04em;
}
.tools-head h2 { font-weight: 800; font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.16; }
.tools-head p { margin-top: 12px; font-size: 1.125rem; color: var(--muted); }

.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 5vw, 56px) clamp(22px, 3vw, 36px); counter-reset: tool; }
@media (min-width: 720px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .tools { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tool { position: relative; }
.tool .thumb {
  aspect-ratio: 4 / 4.3; overflow: hidden; border-radius: 6px;
  background: var(--paper); box-shadow: var(--shadow-page);
  transform: rotate(var(--r, 0deg)); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tool .thumb::after { /* soften the cut edge so the page reads as continuing */
  content: ""; position: absolute; inset: auto 0 0 0; height: 28%;
  background: linear-gradient(transparent, rgba(255, 253, 248, .92));
}
.tool .thumb { position: relative; }
.tool .thumb img { width: 100%; }
.tool:hover .thumb { transform: rotate(0) translateY(-6px); box-shadow: 0 2px 2px rgba(28, 56, 60, .08), 0 26px 40px -16px rgba(28, 56, 60, .35); }
.tool .meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tool .num {
  width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--green-900); color: var(--cream); font-weight: 700; font-size: 1.05rem;
  box-shadow: inset 0 -3px 0 var(--copper);
}
.tool .ch { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-text); }
.tool h3 { margin-top: 10px; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.tool p { margin-top: 6px; font-size: 1rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 719px) {
  .tool { display: grid; grid-template-columns: 112px 1fr; gap: 0 20px; align-items: start; }
  .tool .thumb { grid-row: span 3; aspect-ratio: 4 / 5; }
  .tool .meta { margin-top: 2px; }
  .tool h3 { font-size: 1.15rem; margin-top: 8px; }
}

/* The bonus: a separately labelled ticket, deliberately not a thirteenth card */
.bonus {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; gap: 32px 52px; align-items: center;
  background: var(--paper); border: 2px dashed var(--copper); border-radius: 26px;
  padding: clamp(28px, 5vw, 56px);
}
@media (min-width: 860px) { .bonus { grid-template-columns: 300px 1fr; } }
.bonus-tag { display: inline-block; background: var(--copper); color: var(--plum); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.bonus h3 { margin-top: 14px; font-weight: 800; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); line-height: 1.25; }
.bonus p { margin-top: 14px; }
.bonus .note { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; background: var(--blush-soft); border-radius: 14px; font-size: 1.05rem; }
.bonus .note .icon { width: 26px; height: 26px; color: var(--copper-text); margin-top: 2px; }
/* An abstract table: rows and columns, no words, no grades, no prices (Claims Check row 23) */
.table-art { position: relative; width: 100%; max-width: 300px; margin-inline: auto; aspect-ratio: 11 / 8.5; }
.table-art .sheet {
  position: absolute; inset: 0; background: var(--paper); border-radius: 8px; box-shadow: var(--shadow-page);
  padding: 9% 8%; display: grid; gap: 7%; align-content: start;
}
.table-art .sheet.back { transform: rotate(-6deg) translate(-6%, 4%); background: var(--blush-soft); }
.table-art .sheet.front { transform: rotate(3deg); transition: transform .6s var(--ease); }
.bonus:hover .table-art .sheet.front { transform: rotate(0deg) translateY(-4px); }
.table-art .row { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.4fr; gap: 6%; }
.table-art .row i { display: block; height: 7px; border-radius: 4px; background: var(--rule); }
.table-art .row.head i { background: var(--green-800); height: 9px; }
.table-art .row:nth-child(3n) i:first-child { background: var(--blush); }
.table-art .stamp { position: absolute; right: -6%; top: -10%; width: 40%; color: var(--copper-text); transform: rotate(10deg); }

/* ---------- Final call to action ---------- */
.final {
  position: relative; overflow: hidden; color: var(--ink);
  background: radial-gradient(60% 70% at 78% 45%, rgba(255, 253, 248, .75), transparent 70%), var(--blush);
}
.final-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .final-grid { grid-template-columns: 1.2fr .8fr; } }
.final h2 { font-weight: 900; font-size: clamp(1.75rem, 1.25rem + 1.7vw, 2.5rem); line-height: 1.16; }
.final h2 .accent { color: var(--copper-text); }
.final .button { margin-top: 30px; }
.final .under-button { justify-content: flex-start; color: var(--green-800); }
.final-art { position: relative; width: min(100%, 340px); margin-inline: auto; aspect-ratio: 1 / 1; }
.final-art .cover { position: absolute; z-index: 2; width: 60%; left: 4%; top: 4%; border-radius: 3px 6px 6px 3px; box-shadow: 0 34px 50px -24px rgba(0, 0, 0, .8); transform: rotate(-5deg); }
.final-art .page { position: absolute; z-index: 1; width: 50%; right: 0; top: 26%; border-radius: 5px; background: var(--paper); box-shadow: 0 30px 46px -22px rgba(0, 0, 0, .7); transform: rotate(7deg); transition: transform .9s var(--ease); }
.final-art .scissors {
  position: absolute; z-index: 3; right: 2%; top: 12%; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--plum);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5);
}
.final-art .scissors .icon { width: 34px; height: 34px; stroke-width: 1.8; }
.js .final-art.reveal:not(.is-in) .page { transform: rotate(0deg) translate(-45%, 4%); }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: var(--cream); padding-block: clamp(56px, 8vw, 88px) 40px; text-align: center; }
.disclaimer { display: grid; justify-items: center; gap: 14px; max-width: 760px; margin-inline: auto; font-size: 1.05rem; line-height: 1.6; }
.disclaimer .icon { width: 30px; height: 30px; color: var(--copper); }
.disclaimer strong { color: #fff; }
.footer-line { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(246, 239, 226, .18); font-size: 1rem; color: rgba(246, 239, 226, .85); }
.footer-line span { white-space: nowrap; }
.footer-line span + span::before { content: "·"; margin: 0 .6em; }
@media (max-width: 559px) {
  .footer-line span { display: block; }
  .footer-line span + span { margin-top: 6px; }
  .footer-line span + span::before { content: none; }
}
.footer a { color: var(--cream); }
.footer a:hover { color: var(--copper); }
.imprint { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; margin-bottom: 22px; color: var(--copper); }

/* ---------- Sticky call to action: appears once the form has scrolled away ---------- */
.sticky-cta {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule); box-shadow: 0 -10px 30px -18px rgba(28, 56, 60, .4);
  transform: translateY(calc(100% + 48px)); transition: transform .45s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta .button { width: 100%; min-height: 58px; font-size: 1.25rem; }
@media (min-width: 720px) {
  .sticky-cta { left: auto; right: 28px; bottom: 28px; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sticky-cta .button { width: auto; padding-inline: 28px; }
}

/* ====================================================================================
   THANK-YOU PAGE: shared sections (one tool a week, emails timeline, sign-off)
   ==================================================================================== */

.ty-split { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; max-width: 1040px; margin-inline: auto; }
@media (min-width: 860px) { .ty-split { grid-template-columns: .85fr 1.15fr; } .ty-split.flip > :first-child { order: 2; } }
.ty-split h2 { margin-top: 12px; font-weight: 800; font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2rem); line-height: 1.2; }
.ty-split p { margin-top: 18px; }

/* One tool a week: twelve small pages, this week's lit */
.weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: min(100%, 360px); margin-inline: auto; }
.weeks span {
  aspect-ratio: 3 / 4; border-radius: 6px; background: var(--paper); box-shadow: var(--shadow-page);
  position: relative; display: grid; place-items: center;
  font-weight: 700; color: var(--muted); font-size: 1rem;
}
.weeks span::before { content: ""; position: absolute; left: 18%; right: 18%; top: 18%; height: 4px; border-radius: 2px; background: var(--rule); box-shadow: 0 9px 0 var(--rule), 0 18px 0 var(--rule); }
.weeks span b { position: absolute; bottom: 10%; font-size: .9rem; }
.weeks .now { background: var(--green-900); color: var(--cream); transform: translateY(-6px) rotate(-3deg); box-shadow: inset 0 -5px 0 var(--copper), 0 18px 30px -14px rgba(28, 56, 60, .6); }
.weeks .now::before { background: rgba(246, 239, 226, .35); box-shadow: 0 9px 0 rgba(246, 239, 226, .35), 0 18px 0 rgba(246, 239, 226, .35); }
.js .weeks.reveal span { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--k) * 60ms); }
.js .weeks.reveal.is-in span { opacity: 1; transform: none; }
.js .weeks.reveal.is-in .now { transform: translateY(-6px) rotate(-3deg); }

/* What emails come next: a three-stop timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
@media (min-width: 860px) { .timeline { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.timeline li { position: relative; background: var(--paper); border-radius: 20px; padding: 28px 26px 30px; box-shadow: 0 1px 0 var(--rule), 0 20px 40px -30px rgba(28, 56, 60, .5); }
.timeline .when { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-text); }
.timeline .when .icon { width: 28px; height: 28px; }
.timeline p { margin-top: 14px; }
@media (min-width: 860px) {
  .timeline li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -26px; width: 20px; height: 2px; background: var(--copper); }
}
.signoff { max-width: 760px; margin: clamp(56px, 8vw, 96px) auto 0; text-align: center; }
.signoff .free { font-size: 1.15rem; }
.signoff .thanks { margin-top: 26px; font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); }
.signoff .sig { margin-top: 10px; font-family: var(--display); font-weight: 700; color: var(--copper-text); font-size: 1.2rem; }
.unsub { margin-top: 22px; text-align: center; color: var(--muted); font-size: 1rem; }

/* ====================================================================================
   DOWNLOAD PAGE (the page after the form; copy §8b)
   ==================================================================================== */
.download-card .form-head p { margin: 0; }
.file-meta { display: block; margin-top: 2px; font-size: .95rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.jump { display: flex; align-items: center; justify-content: center; gap: .45em; margin-top: 16px; font-weight: 600; font-size: 1rem; color: var(--green-800); text-decoration: none; }
.jump .icon { color: var(--copper-text); stroke-width: 2.2; transition: transform .3s var(--ease); }
.jump:hover .icon { transform: translateY(3px); }
.tools-dl .thumb { display: block; }
@media (min-width: 960px) { .hero .download-card { align-self: center; } }
@media (min-width: 720px) {
  .tools-dl .tool { display: flex; flex-direction: column; align-items: flex-start; }
  .tools-dl .thumb { align-self: stretch; }
  .tools-dl .dl { margin-top: auto; }
  .tools-dl h3 { margin-bottom: 14px; }
}
.dl {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 12px; min-height: 44px; padding: 8px 16px;
  border: 2px solid var(--green-800); border-radius: 10px; color: var(--green-800);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.dl .icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.dl:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream); }
.bonus-button { margin-top: 22px; }
.help-cards { display: grid; gap: 24px; margin-top: clamp(56px, 7vw, 88px); }
@media (min-width: 860px) { .help-cards { grid-template-columns: 1fr 1fr; } }
.help-card { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; background: var(--paper); border-radius: 20px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 1px 0 var(--rule), 0 20px 40px -30px rgba(28, 56, 60, .5); }
.help-card h3 { font-weight: 700; font-size: 1.2rem; margin-top: 4px; }
.help-card p { margin-top: 8px; }
.help-card p.small { margin-top: 12px; font-size: 1rem; color: var(--muted); }
/* Preview only: a dashed outline marks every download whose PDF is not on the server yet */
.is-preview [data-file].missing { outline: 2px dashed var(--error); outline-offset: 3px; }

/* ====================================================================================
   Reduced motion: everything settles in place, nothing moves
   ==================================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .hero-stage .cover { animation: none; }
  .printer-scene { --p: 1 !important; }
}
