/* =====================================================================
   The Offline Advantage — shared styles (sales + thank-you pages)
   Tokens follow the ebook's design system: Forest, Cream, Ochre, Paper.
   Mobile-first. Breakpoints: 720px (tablet), 1040px (desktop).
   ===================================================================== */

:root {
  --forest: #1F3D36;
  --forest-deep: #173029;
  --cream: #F4EDDD;
  --ochre: #C8873A;
  --ochre-ink: #8F5A18;      /* contrast-safe ochre for small text on light grounds */
  --ochre-hover: #D69447;
  --ochre-on-dark: #D69447; /* small ochre text on Forest (4.6:1) */
  --charcoal: #242424;
  --paper: #FDFBF6;
  --forest-70: #4E665F;
  --forest-45: #8A9C96;
  --forest-20: #CFD8D4;
  --on-dark-muted: #C9D3CE;  /* secondary text on forest (≈8:1) */

  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;

  --gutter: 20px;
  --max: 1160px;
  --radius: 4px;
  --section-y: clamp(64px, 11vw, 132px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--forest); margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--cream); padding: 10px 16px;
  font-family: var(--font-display); font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 760px; }
.section { padding: var(--section-y) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--deep { background: var(--forest-deep); color: var(--cream); }
.section--forest h2, .section--forest h3, .section--deep h2, .section--deep h3 { color: var(--cream); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: .75rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ochre-ink);
  margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ochre); flex: none; }
.section--forest .eyebrow, .section--deep .eyebrow { color: var(--ochre-on-dark); }
.h-section { font-size: clamp(2rem, 5.4vw, 3.4rem); max-width: 18ch; }
.h-section--wide { max-width: 22ch; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.5; font-style: italic; color: var(--forest); max-width: 38em; }
.section--forest .lead, .section--deep .lead { color: var(--cream); }
.muted { color: var(--forest-70); }
.section--forest .muted, .section--deep .muted { color: var(--on-dark-muted); }
.rule { width: 48px; height: 3px; background: var(--ochre); border: 0; margin: 22px 0 26px; }
.caps { font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.section-head { margin-bottom: clamp(36px, 6vw, 64px); }
.section-head .lead { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 58px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 28px;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--ochre); color: var(--forest-deep); box-shadow: 0 1px 0 rgba(23,48,41,.25), 0 10px 24px -12px rgba(143,90,24,.6); }
.btn--primary:hover { background: var(--ochre-hover); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.cta-group { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-note { font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--forest-70); display: flex; align-items: center; gap: 8px; margin: 0; }
.cta-note svg { flex: none; }
.section--forest .cta-note, .section--deep .cta-note { color: var(--on-dark-muted); }

/* ---------- Book mockup (real cover artwork) ---------- */
.book { position: relative; width: min(100%, 340px); margin: 0 auto; perspective: 1400px; }
.book__obj {
  position: relative; transform: rotateY(-14deg) rotateX(2deg);
  transition: transform .8s var(--ease);
}
.book__cover {
  position: relative; z-index: 2; border-radius: 2px 5px 5px 2px; overflow: hidden;
  box-shadow: 0 1px 1px rgba(0,0,0,.15), 0 30px 60px -20px rgba(23,48,41,.55), 0 18px 30px -18px rgba(23,48,41,.45);
}
.book__cover img { width: 100%; aspect-ratio: 7 / 10; object-fit: cover; }
/* spine crease + sheen */
.book__cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.35) 0, rgba(255,255,255,.10) 2.2%, rgba(0,0,0,.06) 4%, transparent 8%),
              linear-gradient(115deg, rgba(255,255,255,.10) 0%, transparent 35%);
}
/* page block */
.book__obj::after {
  content: ""; position: absolute; z-index: 1; top: 1.4%; bottom: 1.4%; right: -7px; width: 9px;
  background: repeating-linear-gradient(90deg, #f4efe4 0 1px, #e3dccb 1px 2px);
  border-radius: 0 3px 3px 0; box-shadow: 2px 0 6px rgba(23,48,41,.18);
}
.book__shadow { position: absolute; left: 8%; right: 0; bottom: -18px; height: 26px; background: radial-gradient(ellipse at center, rgba(23,48,41,.35), transparent 70%); filter: blur(4px); z-index: 0; }
@media (hover: hover) { .book:hover .book__obj { transform: rotateY(-6deg) rotateX(1deg); } }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: 28px 0 var(--section-y); overflow: hidden; background: var(--paper); }
.hero__noise { position: absolute; inset: 0; pointer-events: none; color: var(--forest-20); opacity: .55; }
@media (min-width: 720px) { .hero__noise { opacity: 1; } }
.hero__noise svg { width: 100%; height: 100%; }
.brandbar { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(32px, 7vw, 72px); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--forest); text-decoration: none; }
.wordmark svg { width: 28px; height: auto; }
.brandbar__tag { font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .3em; color: var(--forest-70); display: none; }
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 8.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; }
.hero h1 .accent { color: var(--ochre-ink); display: block; }
.hero__sub { font-size: clamp(1.1rem, 2.3vw, 1.3rem); line-height: 1.55; margin: 26px 0 28px; max-width: 34em; }
.benefits { display: grid; gap: 14px; margin: 0 0 34px; }
.benefits li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 1.04rem; line-height: 1.45; }
.benefits svg { margin-top: 2px; color: var(--ochre); }
.hero__visual { position: relative; padding: 10px 0 30px; }
.hero__visual .book { width: min(72vw, 330px); }
.hero__horizon { position: absolute; left: -10%; right: -10%; bottom: 8px; display: grid; gap: 9px; justify-items: center; z-index: -1; }
.hero__horizon span { height: 1px; background: var(--forest-45); display: block; }

/* =====================================================================
   RECOGNITION
   ===================================================================== */
.recognition { background: var(--cream); overflow: hidden; }
.opening { font-family: var(--font-body); font-style: italic; font-weight: 400; color: var(--forest); font-size: clamp(1.6rem, 4.4vw, 2.6rem); line-height: 1.28; letter-spacing: -0.01em; max-width: 24ch; }
.opening strong { font-weight: 600; }
.moments { display: grid; gap: 12px; margin: clamp(40px, 6vw, 64px) 0; }
.moment {
  display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start;
  background: var(--paper); border: 1px solid var(--forest-20); border-radius: 14px;
  padding: 16px 18px; box-shadow: 0 8px 22px -18px rgba(23,48,41,.5);
}
.moment__icon { width: 36px; height: 36px; border-radius: 9px; background: var(--forest); color: var(--cream); display: grid; place-items: center; }
.moment__icon svg { width: 18px; height: 18px; }
.moment p { margin: 0; font-size: 1rem; line-height: 1.45; }
.moment .caps { display: block; color: var(--forest-70); margin-bottom: 4px; font-size: .62rem; }
.recognition__close { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--forest); max-width: 36em; }
.recognition__close strong { font-family: var(--font-display); font-weight: 800; }

/* =====================================================================
   REFRAME
   ===================================================================== */
.reframe__grid { display: grid; gap: 56px; }
.stat { border-top: 2px solid var(--forest); border-bottom: 1px solid var(--forest-20); padding: 26px 0 22px; }
.stat__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.stat__num { font-family: var(--font-display); font-weight: 800; color: var(--forest); font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1; letter-spacing: -0.03em; }
.stat__num small { font-size: .45em; font-weight: 700; margin-left: 2px; letter-spacing: 0; }
.stat__num--now { color: var(--ochre-ink); }
.stat__bar { height: 6px; background: var(--forest); margin: 12px 0 8px; border-radius: 1px; }
.stat__bar--now { background: var(--ochre); }
.stat__label { font-family: var(--font-display); font-weight: 700; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-70); }
.stat__cap { font-size: .95rem; margin: 18px 0 8px; }
.stat__caveat { font-family: var(--font-display); font-weight: 700; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-70); margin: 0; line-height: 1.6; }

.advantage { margin-top: clamp(56px, 8vw, 96px); background: var(--forest); color: var(--cream); border-radius: 6px; padding: clamp(32px, 6vw, 64px); position: relative; overflow: hidden; }
.advantage__quote { font-family: var(--font-body); font-style: italic; font-size: clamp(1.45rem, 3.6vw, 2.2rem); line-height: 1.3; max-width: 26ch; margin: 0 0 32px; color: var(--cream); position: relative; }
.advantage__quote em { font-style: normal; font-family: var(--font-display); font-weight: 800; color: var(--ochre); letter-spacing: -0.01em; }
.skills { display: grid; gap: 1px; background: rgba(244,237,221,.18); border-top: 1px solid rgba(244,237,221,.18); border-bottom: 1px solid rgba(244,237,221,.18); position: relative; }
.skills li { background: var(--forest); padding: 18px 0; display: grid; grid-template-columns: 34px 1fr; gap: 10px; font-size: 1.02rem; }
.skills .n { font-family: var(--font-display); font-weight: 800; color: var(--ochre-on-dark); }
.advantage__foot { margin: 28px 0 0; color: var(--on-dark-muted); position: relative; max-width: 34em; }
.advantage__sun { position: absolute; right: -40px; bottom: -70px; width: 200px; height: 100px; border-radius: 200px 200px 0 0; background: var(--ochre); opacity: .9; }

/* =====================================================================
   SOLUTION
   ===================================================================== */
.solution__grid { display: grid; gap: 52px; align-items: center; }
.solution__visual { background: var(--cream); border-radius: 6px; padding: 48px 24px 56px; position: relative; overflow: hidden; }
.solution__visual .book { width: min(62vw, 280px); }
.solution__visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 34px; height: 1px; background: var(--forest-45); }
.solution__visual .book { position: relative; z-index: 1; }
.promises { margin: 32px 0; border-top: 1px solid var(--forest-20); }
.promises li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--forest-20); }
.promises .n { font-family: var(--font-display); font-weight: 800; color: var(--ochre-ink); font-size: 1.1rem; }
.promises strong { font-family: var(--font-display); font-weight: 800; color: var(--forest); display: block; margin-bottom: 2px; letter-spacing: -0.01em; }
.promises p { margin: 0; color: var(--charcoal); }
.diffs { display: grid; gap: 10px 22px; margin: 0 0 36px; }
.diffs li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1rem; }
.diffs svg { color: var(--ochre); margin-top: 4px; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 30px; }
.book-meta span { font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-70); }

/* =====================================================================
   RECLAIM FRAMEWORK
   ===================================================================== */
.reclaim { background: var(--forest); color: var(--cream); overflow: clip; }
.reclaim .h-section { color: var(--cream); }
.reclaim__intro { display: grid; gap: 24px; }
.reclaim__track {
  position: sticky; top: 0; z-index: 5; background: var(--forest);
  display: flex; justify-content: center; gap: clamp(10px, 3vw, 26px);
  padding: 14px 0; margin: 40px 0 8px; border-bottom: 1px solid rgba(244,237,221,.14);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .1em;
}
.reclaim__track span { color: rgba(244,237,221,.45); transition: color .3s var(--ease); }
.reclaim__track span.is-active { color: var(--ochre); }
.reclaim__track span.is-done { color: var(--cream); }

.phase { display: grid; gap: 6px; padding: 30px 0 10px; }
.phase__name { font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ochre-on-dark); }
.phase__flow { font-style: italic; color: var(--on-dark-muted); font-size: 1rem; }

.steps { position: relative; }
.step {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px;
  padding: 26px 0 30px; border-bottom: 1px solid rgba(200,135,58,.45);
}
.step__rail { position: relative; display: flex; flex-direction: column; align-items: center; grid-column: 1; grid-row: 1 / span 2; }
.step__main, .step__detail { grid-column: 2; min-width: 0; }
.step__letter {
  font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: .9; color: var(--cream);
  letter-spacing: -0.03em; transition: color .4s var(--ease);
}
.step.is-active .step__letter { color: var(--ochre); }
.step__glyph { width: 30px; height: 30px; margin-top: 14px; color: var(--on-dark-muted); }
.step__label { font-family: var(--font-display); font-weight: 800; font-size: .66rem; letter-spacing: .22em; color: var(--ochre-on-dark); text-transform: uppercase; margin: 2px 0 6px; }
.step h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); letter-spacing: .01em; text-transform: uppercase; color: var(--cream); }
.step__q { font-style: italic; color: var(--on-dark-muted); margin: 8px 0 12px; font-size: 1.05rem; }
.step__benefit { margin: 0 0 12px; font-size: 1.04rem; color: var(--cream); }
.step__tools { font-family: var(--font-display); font-size: .78rem; font-weight: 600; color: var(--on-dark-muted); letter-spacing: .01em; margin: 0; }
.step__tools b { color: var(--ochre-on-dark); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .66rem; margin-right: 6px; }
/* noise-to-order rail: dotted → dashed → solid, mirroring the book's framework page */
.step__rail::after { content: ""; flex: 1; width: 0; margin-top: 12px; border-left: 2px dotted rgba(244,237,221,.35); }
.step[data-phase="gen"] .step__rail::after { border-left-style: solid; border-left-color: rgba(244,237,221,.35); }
.step:nth-child(2) .step__rail::after, .step:nth-child(3) .step__rail::after { border-left-style: dashed; }
.reclaim__note { margin-top: 44px; padding: 26px 0 0; border-top: 2px solid var(--ochre); display: grid; gap: 12px; }
.reclaim__note p { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-style: italic; line-height: 1.45; margin: 0; max-width: 34em; }

/* =====================================================================
   OUTCOMES
   ===================================================================== */
.outcomes { display: grid; gap: 0; border-top: 2px solid var(--forest); }
.outcomes li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--forest-20); }
.outcomes .letter { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ochre-ink); line-height: 1.1; }
.outcomes h3 { font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 4px; line-height: 1.3; }
.outcomes p { margin: 0; color: var(--forest-70); font-size: 1rem; }

/* =====================================================================
   INSIDE THE BOOK (real pages)
   ===================================================================== */
.pages { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--forest-45) transparent; overscroll-behavior-x: contain; }
.page-card { scroll-snap-align: start; margin: 0; }
.page-card button { all: unset; display: block; cursor: zoom-in; width: 100%; border-radius: 3px; }
.page-card button:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
.page-card img { width: 100%; aspect-ratio: 7 / 10; object-fit: cover; border-radius: 3px; background: var(--paper); box-shadow: 0 1px 2px rgba(23,48,41,.12), 0 18px 36px -22px rgba(23,48,41,.55); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.page-card button:hover img { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(23,48,41,.12), 0 26px 44px -22px rgba(23,48,41,.6); }
.page-card figcaption { padding-top: 14px; }
.page-card figcaption strong { display: block; font-family: var(--font-display); font-weight: 800; color: var(--forest); font-size: .98rem; letter-spacing: -0.005em; }
.page-card figcaption span { font-size: .92rem; color: var(--forest-70); line-height: 1.4; display: block; margin-top: 2px; }
.pages-hint { font-family: var(--font-display); font-size: .75rem; font-weight: 600; color: var(--forest-70); margin: 4px 0 0; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 640px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(23,48,41,.88); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox p { color: var(--cream); text-align: center; font-family: var(--font-display); font-weight: 700; font-size: .85rem; margin: 12px 0 0; }
.lightbox__close { position: absolute; top: -48px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,237,221,.4); background: transparent; color: var(--cream); cursor: pointer; display: grid; place-items: center; }

/* =====================================================================
   30-DAY PLAN
   ===================================================================== */
.plan__flow { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; border-bottom: 2px solid var(--forest); padding-bottom: 14px; margin: 0 0 8px; }
.plan__flow div { text-align: center; }
.plan__flow b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 3.4vw, 1.6rem); color: var(--forest); letter-spacing: .02em; }
.plan__flow b.ochre { color: var(--ochre-ink); }
.plan__flow span { font-family: var(--font-display); font-weight: 700; font-size: .58rem; letter-spacing: .16em; color: var(--forest-70); text-transform: uppercase; }
.weeks { display: grid; gap: 14px; margin-top: 30px; }
.week { background: var(--paper); border-radius: 6px; padding: 24px 22px; border: 1px solid var(--forest-20); position: relative; }
.week__top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.week__n { font-family: var(--font-display); font-weight: 800; font-size: .7rem; letter-spacing: .2em; color: var(--forest-70); text-transform: uppercase; }
.week__letters { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ochre-ink); letter-spacing: .02em; line-height: 1; }
.week h3 { font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin: 8px 0 6px; }
.week__sum { margin: 0 0 14px; color: var(--forest-70); font-size: .98rem; }
.week ul { display: grid; gap: 8px; border-top: 1px solid var(--forest-20); padding-top: 14px; }
.week li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .97rem; line-height: 1.4; }
.week li::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--forest); border-radius: 3px; margin-top: 3px; }
.week--review { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.week--review h3, .week--review .week__letters { color: var(--cream); }
.week--review .week__letters { color: var(--ochre); }
.week--review .week__n, .week--review .week__sum { color: var(--on-dark-muted); }
.plan__menu { margin-top: 34px; display: grid; gap: 22px; }
.plan__menu blockquote { margin: 0; font-style: italic; font-size: clamp(1.25rem, 2.8vw, 1.6rem); line-height: 1.4; color: var(--forest); max-width: 30em; padding-left: 20px; border-left: 3px solid var(--ochre); }

/* =====================================================================
   TOOLS
   ===================================================================== */
.tools { display: grid; gap: 1px; background: var(--forest-20); border: 1px solid var(--forest-20); border-radius: 6px; overflow: hidden; }
.tool { background: var(--paper); padding: 26px 22px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.tool svg { width: 32px; height: 32px; color: var(--forest); }
.tool h3 { font-size: 1.08rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.tool p { margin: 0; font-size: .97rem; color: var(--forest-70); line-height: 1.5; }
.tool .caps { color: var(--ochre-ink); font-size: .6rem; display: block; margin-bottom: 6px; }

/* =====================================================================
   EVIDENCE
   ===================================================================== */
.evidence__grid { display: grid; gap: 48px; }
.ev-story { border-top: 2px solid var(--cream); padding-top: 26px; }
.ev-story h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--cream); }
.ev-story p { color: var(--on-dark-muted); }
.ev-story .pull { font-style: italic; color: var(--cream); font-size: 1.35rem; line-height: 1.35; margin: 22px 0 0; }
.ev-table { width: 100%; border-collapse: collapse; }
.ev-table caption { text-align: left; padding-bottom: 14px; }
.ev-table th { font-family: var(--font-display); font-weight: 800; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); text-align: left; padding: 0 0 10px; border-bottom: 2px solid var(--cream); }
.ev-table td { padding: 15px 0; border-bottom: 1px solid rgba(244,237,221,.16); vertical-align: top; font-size: .98rem; line-height: 1.4; }
.ev-table td:first-child { padding-right: 14px; color: var(--cream); }
.ev-table td:last-child { text-align: right; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid currentColor; border-radius: 100px; padding: 4px 11px 4px 9px; font-family: var(--font-display); font-weight: 800; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); line-height: 1.3; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ochre); flex: none; }
.ev-legend { margin-top: 20px; font-size: .9rem; color: var(--on-dark-muted); }

/* =====================================================================
   FIT
   ===================================================================== */
.fit { display: grid; gap: 18px; }
.fit__col { border-radius: 6px; padding: 30px 24px; }
.fit__col--yes { background: var(--forest); color: var(--cream); }
.fit__col--no { background: var(--paper); border: 1px solid var(--forest-20); }
.fit__col h3 { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.fit__col--yes h3 { color: var(--ochre-on-dark); }
.fit__col--no h3 { color: var(--forest-70); }
.fit__col li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(207,216,212,.35); font-size: 1.02rem; line-height: 1.45; }
.fit__col--no li { border-top-color: var(--forest-20); }
.fit__col svg { margin-top: 3px; }
.fit__col--yes svg { color: var(--ochre); }
.fit__col--no svg { color: var(--forest-45); }

/* =====================================================================
   TRANSFORMATION
   ===================================================================== */
.shift { display: grid; gap: 0; border-top: 2px solid var(--forest); }
.shift__head { display: none; }
.shift__row { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: center; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--forest-20); }
.shift__from { color: var(--forest-70); font-family: var(--font-display); font-weight: 700; font-size: clamp(.95rem, 2.4vw, 1.3rem); letter-spacing: -0.01em; text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgba(138,156,150,.6); }
.shift__to { color: var(--forest); font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 2.6vw, 1.45rem); letter-spacing: -0.015em; text-align: right; }
.shift__arrow { color: var(--ochre); justify-self: center; }
.shift__note { margin-top: 26px; color: var(--forest-70); font-style: italic; max-width: 40em; }

/* =====================================================================
   OFFER
   ===================================================================== */
.offer { background: var(--cream); }
.offer-card { background: var(--forest-deep); color: var(--cream); border-radius: 8px; overflow: hidden; display: grid; max-width: 980px; margin: 0 auto; box-shadow: 0 40px 80px -40px rgba(23,48,41,.6); }
.offer-card__visual { position: relative; padding: 44px 24px 30px; background: var(--forest); overflow: hidden; }
.offer-card__visual .book { width: min(56vw, 240px); position: relative; z-index: 1; }
.offer-card__visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: rgba(244,237,221,.3); }
.offer-card__body { padding: 34px 24px 36px; }
.offer-card h2 { color: var(--cream); font-size: clamp(1.8rem, 4.6vw, 2.5rem); letter-spacing: -0.02em; }
.offer-card .sub { font-style: italic; color: var(--on-dark-muted); margin: 6px 0 24px; font-size: 1.1rem; }
.includes { display: grid; gap: 10px; margin: 0 0 28px; padding: 20px 0; border-top: 1px solid rgba(244,237,221,.18); border-bottom: 1px solid rgba(244,237,221,.18); }
.includes li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1rem; line-height: 1.4; }
.includes svg { color: var(--ochre); margin-top: 3px; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; }
.price__amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 7vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; color: var(--cream); }
.price__label { font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.offer-card .cta-note { margin-top: 14px; justify-content: center; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { border-top: 2px solid var(--forest); }
.faq details { border-bottom: 1px solid var(--forest-20); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.02rem, 2.2vw, 1.15rem); color: var(--forest); letter-spacing: -0.01em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--forest-45); position: relative; transition: transform .3s var(--ease), background .3s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--forest); transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details[open] summary .plus { background: var(--cream); }
.faq .answer { padding: 0 44px 24px 0; color: var(--charcoal); }
.faq .answer p:last-child { margin: 0; }

/* =====================================================================
   FINAL CTA (calm: one sun, even lines — like Chapter 7's opener)
   ===================================================================== */
.final { background: var(--forest-deep); color: var(--cream); text-align: center; padding-bottom: 0; overflow: hidden; }
.final h2 { color: var(--cream); font-size: clamp(2.1rem, 6vw, 3.8rem); max-width: 17ch; margin: 0 auto; letter-spacing: -0.03em; }
.final h2 .accent { color: var(--ochre); }
.final p.lead { margin: 26px auto 34px; color: var(--on-dark-muted); max-width: 32em; }
.final .cta-group { align-items: center; }
.final__price { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--cream); letter-spacing: .02em; }
.final__horizon { position: relative; height: 210px; margin-top: 64px; }
.final__sun { position: absolute; left: 50%; bottom: 120px; width: 180px; height: 90px; margin-left: -90px; border-radius: 180px 180px 0 0; background: var(--ochre); }
.final__lines { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; border-top: 1px solid rgba(244,237,221,.5); display: grid; align-content: start; justify-items: center; gap: 22px; padding-top: 22px; }
.final__lines span { height: 1px; background: rgba(244,237,221,.25); display: block; }

.footer { background: var(--forest-deep); color: var(--on-dark-muted); border-top: 1px solid rgba(244,237,221,.1); padding: 30px 0 40px; font-size: .85rem; }
.footer .wrap { display: grid; gap: 10px; }
.footer p { margin: 0; max-width: 60em; line-height: 1.55; }
.footer strong { color: var(--cream); font-family: var(--font-display); font-weight: 700; }

/* =====================================================================
   MOBILE STICKY CTA
   ===================================================================== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(23,48,41,.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px;
  transform: translateY(110%); transition: transform .35s var(--ease); border-top: 1px solid rgba(244,237,221,.12);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__meta { flex: 1; min-width: 0; color: var(--cream); line-height: 1.2; }
.sticky-cta__meta strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta__meta span { font-family: var(--font-display); font-size: .72rem; color: var(--on-dark-muted); font-weight: 600; }
.sticky-cta .btn { --h: 48px; padding: 0 18px; font-size: .92rem; flex: none; }
body.has-sticky { padding-bottom: 76px; }

/* Dev-only notice when a placeholder URL has not been replaced yet */
.config-notice { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 200; background: var(--charcoal); color: #fff; font-family: var(--font-display); font-size: .85rem; font-weight: 600; padding: 12px 16px; border-radius: 6px; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.3); }

/* =====================================================================
   REVEAL ANIMATION (progressive enhancement; off for reduced motion)
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }
@keyframes float { 0%, 100% { transform: rotateY(-14deg) rotateX(2deg) translateY(0); } 50% { transform: rotateY(-14deg) rotateX(2deg) translateY(-6px); } }
.hero .book__obj { animation: float 7s ease-in-out infinite; }
.hero .book:hover .book__obj { animation-play-state: paused; }
@keyframes drift { from { opacity: .9; } to { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   THANK-YOU PAGE
   ===================================================================== */
.ty-hero { padding: 28px 0 var(--section-y); background: var(--paper); text-align: center; position: relative; overflow: hidden; }
.ty-hero .brandbar { justify-content: center; }
.ty-check { width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: var(--cream); display: grid; place-items: center; margin: 0 auto 26px; }
.ty-hero h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); max-width: 16ch; margin: 0 auto; letter-spacing: -0.03em; line-height: 1.05; }
.ty-hero h1 .accent { color: var(--ochre-ink); }
.ty-hero .lead { margin: 22px auto 0; text-align: center; }
.ty-book { margin: 44px auto 40px; }
.ty-book .book { width: min(46vw, 250px); }
.ty-book { margin: 32px auto 32px; }
.ty-download { display: grid; justify-items: center; gap: 14px; }
.ty-download .btn { width: min(100%, 420px); padding: 0 18px; font-size: .95rem; gap: 10px; white-space: nowrap; }
.ty-hint { font-size: .98rem; color: var(--forest-70); margin: 0; font-style: italic; }
.ty-steps { display: grid; gap: 14px; counter-reset: s; }
.ty-step { background: var(--paper); border: 1px solid var(--forest-20); border-radius: 6px; padding: 24px 22px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.ty-step .n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--ochre-ink); line-height: 1; }
.ty-step h3 { font-size: 1.1rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.ty-step p { margin: 0; color: var(--forest-70); font-size: .98rem; }
.ty-aware { margin-top: 36px; font-style: italic; font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--forest); text-align: center; }
.ty-aware::before { content: ""; display: block; width: 56px; height: 28px; border-radius: 56px 56px 0 0; background: var(--ochre); margin: 0 auto 16px; }
.ty-roadmap { display: grid; gap: 1px; background: rgba(244,237,221,.18); border-top: 2px solid var(--cream); }
.ty-roadmap li { background: var(--forest); padding: 18px 0; display: grid; grid-template-columns: 92px 70px 1fr; gap: 10px; align-items: baseline; }
.ty-roadmap .wk { font-family: var(--font-display); font-weight: 700; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }
.ty-roadmap .lt { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ochre); }
.ty-roadmap .nm { font-family: var(--font-display); font-weight: 800; color: var(--cream); font-size: 1rem; letter-spacing: .02em; }
.ty-roadmap .nm span { display: block; font-family: var(--font-body); font-weight: 400; font-style: italic; color: var(--on-dark-muted); font-size: .95rem; letter-spacing: 0; margin-top: 2px; }

/* =====================================================================
   TABLET ≥ 720px
   ===================================================================== */
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .brandbar__tag { display: block; }
  .moments { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .moment:nth-child(odd) { transform: rotate(-.6deg); }
  .moment:nth-child(even) { transform: rotate(.5deg) translateY(14px); }
  .skills { grid-template-columns: repeat(2, 1fr); }
  .skills li { padding: 20px 24px 20px 0; }
  .diffs { grid-template-columns: repeat(2, 1fr); }
  .outcomes { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .pages { grid-auto-columns: 40%; }
  .weeks { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .fit { grid-template-columns: 1fr 1fr; }
  .fit__col { padding: 40px 36px; }
  .offer-card { grid-template-columns: 5fr 7fr; }
  .offer-card__visual { display: grid; place-items: center; padding: 48px 32px; }
  .offer-card__body { padding: 48px 44px; }
  .offer-card .cta-note { justify-content: flex-start; }
  .step { grid-template-columns: 96px 1fr; gap: 0 28px; padding: 34px 0 38px; }
  .step__letter { font-size: 5.4rem; }
  .ty-steps { grid-template-columns: repeat(3, 1fr); }
  .ty-step { grid-template-columns: 1fr; }
  .ty-roadmap { grid-template-columns: repeat(4, 1fr); }
  .ty-roadmap li { grid-template-columns: 1fr; padding: 22px 20px 24px 0; }
  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
}

/* =====================================================================
   DESKTOP ≥ 1040px
   ===================================================================== */
@media (min-width: 1040px) {
  .hero__grid { grid-template-columns: 7fr 5fr; gap: 56px; }
  .hero__visual .book { width: 360px; }
  .hero { padding-bottom: 120px; }
  .moments { grid-template-columns: repeat(3, 1fr); }
  .moment:nth-child(3n+2) { transform: rotate(.6deg) translateY(26px); }
  .moment:nth-child(3n) { transform: rotate(-.4deg) translateY(8px); }
  .moment:nth-child(3n+1) { transform: rotate(-.7deg); }
  .reframe__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .solution__grid { grid-template-columns: 5fr 7fr; gap: 80px; }
  .solution__visual { padding: 72px 40px 80px; position: sticky; top: 40px; }
  .reclaim__intro { grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; }
  .phase { grid-template-columns: 200px 1fr; align-items: baseline; }
  .step { grid-template-columns: 150px 1fr 1fr; gap: 0 40px; align-items: start; }
  .step__letter { font-size: 7rem; }
  .step__main { grid-column: 2; grid-row: 1; }
  .step__detail { grid-column: 3; grid-row: 1; padding-top: 30px; }
  .outcomes { grid-template-columns: repeat(2, 1fr); column-gap: 72px; }
  .pages { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 40px 28px; }
  .pages-hint { display: none; }
  .weeks { grid-template-columns: repeat(5, 1fr); }
  .week { padding: 26px 20px; }
  .plan__menu { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px; }
  .tools { grid-template-columns: repeat(3, 1fr); }
  .evidence__grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .shift__head { display: grid; grid-template-columns: 1fr 30px 1fr; padding: 0 0 12px; }
  .shift { border-top: 0; }
  .shift__head + .shift__row { border-top: 2px solid var(--forest); }
  .offer-card__visual .book { width: 260px; }
}
@media (min-width: 1440px) {
  :root { --max: 1240px; }
}

/* Dark panels that sit inside light sections: keep small text contrast-safe */
.advantage .eyebrow, .offer-card .eyebrow, .final .eyebrow { color: var(--ochre-on-dark); }
.offer-card .cta-note, .final .cta-note { color: var(--on-dark-muted); }
@media (min-width: 720px) and (max-width: 1039px) {
  .tools .tool:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
