/* ==========================================================================
   50 Micro SaaS You Can Build Without Coding: sales page + thank-you page
   Palette taken from the book cover: deep navy, amber, white, cool gray.
   ========================================================================== */

:root {
  --navy: #13213c;
  --navy-2: #1b2b4d;
  --tile: #26376b;
  --tile-light: #e3e8f4;
  --orange: #f49e0b;
  --orange-ink: #8f5500;
  --paper: #f4f6fa;
  --white: #ffffff;
  --line: #dce1ec;
  --line-navy: rgba(255, 255, 255, 0.14);
  --ink: #13213c;
  --muted: #55607a;
  --muted-navy: #b9c2d9;
  --ok: #1d7a4d;
  --no: #b23a3a;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.on-navy { background: var(--navy); color: #fff; }
.on-paper { background: var(--paper); }
.on-white { background: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; }
.section-head p { margin-top: 16px; font-size: 1.125rem; color: var(--muted); max-width: 60ch; }
.on-navy .section-head p { color: var(--muted-navy); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

.lede { font-size: 1.125rem; color: var(--muted); }
.on-navy .lede { color: var(--muted-navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 30px; white-space: nowrap;
  background: var(--orange); color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.005em;
  text-decoration: none; border-radius: 10px; border: 0; cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), 0 8px 20px -8px rgba(244, 158, 11, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { background: #ffb02e; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 1rem; box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.nav-links { display: none; gap: 28px; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--navy); }
@media (min-width: 960px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero { background: var(--white); position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }

.badge {
  display: inline-block; padding: 6px 12px; border-radius: 6px;
  background: var(--navy); color: var(--orange);
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.06em;
}
.hero h1 { margin-top: 20px; font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
.hero .sub { margin-top: 20px; font-size: clamp(1.125rem, 2vw, 1.3125rem); color: var(--muted); max-width: 34em; }
.hero .hook { margin-top: 18px; max-width: 34em; }
.hero .hook strong { font-weight: 600; }

.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 28px; max-width: 34em; }
.benefits li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.benefits li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--orange); }

.buy-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.price-tag { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; line-height: 1; }
.fineprint { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 360px; }
.pixels { position: absolute; width: 100%; max-width: 400px; right: 0; top: 50%; transform: translateY(-50%); z-index: 0; }
.pixels rect { fill: var(--tile-light); }
.pixels rect.o { fill: var(--orange); transform-box: fill-box; transform-origin: center; animation: pop 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) both; animation-delay: calc(var(--i) * 140ms + 200ms); }
@keyframes pop { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .pixels rect.o { animation: none; } }

.cover { position: relative; z-index: 1; width: min(340px, 74%); height: auto; border-radius: 4px; box-shadow: 0 2px 4px rgba(19, 33, 60, 0.2), 0 30px 60px -12px rgba(19, 33, 60, 0.55); }

@media (max-width: 899px) {
  .hero-art { order: -1; min-height: 0; padding-block: 8px; }
  .hero-art .cover { width: min(190px, 50%); }
  .hero-art .pixels { max-width: 300px; }
}

/* ---------- Problem ---------- */
.problem-list { display: grid; gap: 16px; }
@media (min-width: 720px) { .problem-list { grid-template-columns: 1fr 1fr; } }
.problem-list li {
  padding: 22px 24px; background: var(--navy-2); border-left: 4px solid var(--orange); border-radius: 4px 12px 12px 4px;
  font-family: var(--font-display); font-size: 1.1875rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em;
}
.bridge { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 28px; }
@media (min-width: 900px) { .bridge { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px; } }
.bridge h3 { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 700; }
.bridge p { margin-top: 14px; color: var(--muted-navy); max-width: 52ch; }
.path { display: grid; gap: 10px; counter-reset: p; }
.path li { counter-increment: p; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line-navy); border-radius: 12px; font-weight: 600; }
.path li::before { content: counter(p); flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--tile); font-family: var(--font-display); font-weight: 700; }
.path li:last-child::before { background: var(--orange); color: var(--navy); }

/* ---------- Feature cards ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.card .num { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: var(--orange-ink); }
.card h3 { margin-top: 14px; font-size: 1.375rem; font-weight: 700; }
.card p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

/* ---------- Ideas ---------- */
.cats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 40px; }
@media (min-width: 760px) { .cats { grid-template-columns: repeat(4, 1fr); } }
.cat { padding: 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.cat b { overflow-wrap: anywhere; display: block; font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.2; }
.cat span { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--muted); }
.cat.all { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat.all span { color: var(--muted-navy); }

.ideas { display: grid; gap: 14px; }
@media (min-width: 640px) { .ideas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ideas { grid-template-columns: repeat(4, 1fr); } }
.idea { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.idea .tag { font-size: 0.8125rem; color: var(--orange-ink); font-weight: 600; }
.idea h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.22; }
.idea p { font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }
.more-note { margin-top: 24px; font-weight: 600; }

.cta-band { margin-top: clamp(40px, 6vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px clamp(20px, 4vw, 40px); background: var(--navy); color: #fff; border-radius: 16px; }
.cta-band p { flex: 1 1 300px; font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 700; max-width: 26em; line-height: 1.2; }
.cta-band .buy { flex: 0 1 auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-band .price-tag { font-size: 1.5rem; }

/* ---------- Anatomy card ---------- */
.anatomy { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .anatomy { grid-template-columns: 0.8fr 1.2fr; } }
.anatomy h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
.anatomy .lede { margin-top: 18px; max-width: 30em; }
.anatomy .note { margin-top: 18px; font-size: 0.9375rem; color: var(--muted); }

.spec { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(19, 33, 60, 0.35); }
.spec-head { padding: 22px 26px; background: var(--navy); color: #fff; }
.spec-head small { color: var(--orange); font-weight: 600; font-size: 0.875rem; }
.spec-head h3 { margin-top: 6px; font-size: 1.5rem; font-weight: 700; }
.spec-head p { margin-top: 4px; color: var(--muted-navy); font-size: 0.9375rem; }
.spec dl { margin: 0; }
.spec .row { display: grid; gap: 4px; padding: 16px 26px; border-top: 1px solid var(--line); }
.spec .row:first-child { border-top: 0; }
@media (min-width: 600px) { .spec .row { grid-template-columns: 150px 1fr; gap: 20px; } }
.spec dt { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; color: var(--orange-ink); }
.spec dd { margin: 0; font-size: 1rem; }
.spec dd ul { display: grid; gap: 6px; }
.spec dd li { position: relative; padding-left: 18px; }
.spec dd li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--tile); }
.spec .split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Validation (vertical timeline) ---------- */
.split-layout { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 960px) { .split-layout { grid-template-columns: 0.85fr 1.15fr; align-items: start; } .split-layout .sticky { position: sticky; top: 100px; } }
.split-layout h2 { font-size: clamp(2rem, 4.4vw, 3.125rem); font-weight: 700; }
.split-layout .lede { margin-top: 18px; max-width: 30em; }
.callout { margin-top: 28px; padding: 20px 22px; border-radius: 12px; border: 1px solid var(--line-navy); background: var(--navy-2); }
.callout b { font-family: var(--font-display); color: var(--orange); }
.callout p { margin-top: 6px; color: var(--muted-navy); font-size: 1rem; }

.vsteps { position: relative; }
.vstep { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding-bottom: 28px; }
.vstep:not(:last-child)::before { content: ""; position: absolute; left: 29px; top: 64px; bottom: 4px; width: 2px; background: var(--line-navy); }
.tile { width: 60px; height: 60px; border-radius: 14px; background: var(--tile); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-family: var(--font-display); font-weight: 700; }
.tile small { font-size: 0.6875rem; font-weight: 500; opacity: 0.85; margin-bottom: 3px; }
.tile b { font-size: 1.375rem; }
.tile.accent { background: var(--orange); color: var(--navy); }
.vstep h3 { font-size: 1.25rem; font-weight: 700; padding-top: 6px; }
.vstep p { margin-top: 6px; color: var(--muted-navy); font-size: 1rem; }

/* ---------- 30-day ---------- */
.weeks { display: grid; gap: 16px; counter-reset: w; }
@media (min-width: 720px) { .weeks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .weeks { grid-template-columns: repeat(4, 1fr); } }
.week { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.week .tile { width: 56px; height: 56px; background: var(--navy); color: #fff; }
.week.last .tile { background: var(--orange); color: var(--navy); }
.week h3 { margin-top: 18px; font-size: 1.3125rem; font-weight: 700; }
.week p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.channels { margin-top: 40px; padding: 28px; border-radius: 16px; background: var(--paper); display: grid; gap: 18px; }
@media (min-width: 900px) { .channels { grid-template-columns: 0.7fr 1.3fr; align-items: start; gap: 40px; } }
.channels h3 { font-size: 1.375rem; font-weight: 700; }
.channels ul { display: grid; gap: 10px 28px; }
@media (min-width: 640px) { .channels ul { grid-template-columns: 1fr 1fr; } }
.channels li { display: flex; gap: 10px; align-items: flex-start; }
.channels li::before { content: ""; flex: none; margin-top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }

/* ---------- Toolkit ---------- */
.tools { display: grid; gap: 16px; }
@media (min-width: 680px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tools { grid-template-columns: repeat(3, 1fr); } }
.tool-group { padding: 22px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.tool-group h3 { font-size: 1.125rem; font-weight: 700; }
.tool-group p { margin-top: 4px; font-size: 0.9375rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips li { padding: 5px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 0.9375rem; font-weight: 500; }
.stacks { margin-top: 40px; }
.stacks h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: 16px; }
.stack-grid { display: grid; gap: 12px; }
@media (min-width: 680px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stack-grid { grid-template-columns: repeat(4, 1fr); } }
.stack { padding: 18px 20px; border-radius: 12px; background: var(--navy); color: #fff; }
.stack b { font-family: var(--font-display); color: var(--orange); font-size: 1rem; }
.stack p { margin-top: 6px; font-size: 0.9375rem; color: var(--muted-navy); line-height: 1.45; }
.disclaimer { margin-top: 24px; font-size: 0.9rem; color: var(--muted); max-width: 70ch; }

/* ---------- For / Not for ---------- */
.fit { display: grid; gap: 20px; }
@media (min-width: 820px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit-col { padding: clamp(24px, 4vw, 40px); border-radius: 18px; }
.fit-col.yes { background: var(--paper); border: 1px solid var(--line); }
.fit-col.no { background: var(--white); border: 1px dashed #b5bdd0; }
.fit-col h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 22px; }
.fit-col li { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; }
.mark { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 0.9375rem; line-height: 1; color: #fff; margin-top: 1px; }
.yes .mark { background: var(--ok); }
.no .mark { background: var(--no); }

/* ---------- What's inside (journey) ---------- */
.journey { position: relative; display: grid; gap: 0; max-width: 820px; }
.stop { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding-bottom: 30px; }
.stop:not(:last-child)::before { content: ""; position: absolute; left: 29px; top: 62px; bottom: 4px; width: 2px; background: var(--line); }
.stop .tile { background: var(--navy); color: #fff; }
.stop.core .tile { background: var(--orange); color: var(--navy); }
.stop .tile b { font-size: 1.0625rem; }
.stop h3 { font-size: 1.3125rem; font-weight: 700; padding-top: 4px; }
.stop h3 span { font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.stop p { margin-top: 6px; color: var(--muted); }

/* ---------- Preview ---------- */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.shots:focus-visible { outline-offset: -3px; }
.shot { flex: 0 0 min(72%, 280px); scroll-snap-align: start; margin: 0; }
.shot button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: zoom-in; overflow: hidden; box-shadow: 0 18px 36px -22px rgba(19, 33, 60, 0.5); }
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }
.shot figcaption b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1rem; }
@media (min-width: 1000px) {
  .shots { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .shot { flex: none; }
}
.tap-hint { margin-top: 4px; font-size: 0.9rem; color: var(--muted); }

dialog.lightbox { width: min(92vw, 760px); max-height: 94vh; padding: 0; border: 0; border-radius: 10px; background: #fff; overflow: auto; }
dialog.lightbox::backdrop { background: rgba(10, 18, 35, 0.8); }
dialog.lightbox img { width: 100%; height: auto; }
.lightbox-close { position: sticky; top: 8px; float: right; margin: 8px 8px -48px 0; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* ---------- Trust ---------- */
.trust-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .trust-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.trust-grid h2 { font-size: clamp(2rem, 4.4vw, 3.125rem); font-weight: 700; }
.trust-grid .lede { margin-top: 18px; max-width: 30em; }
.honest { display: grid; gap: 14px; }
.honest li { padding: 18px 22px; border: 1px solid var(--line-navy); border-radius: 12px; background: var(--navy-2); }
.honest b { font-family: var(--font-display); font-size: 1.0625rem; }
.honest p { margin-top: 4px; color: var(--muted-navy); font-size: 0.9688rem; }

/* ---------- Author ---------- */
.author { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; max-width: 720px; }
.author .avatar { width: 84px; height: 84px; border-radius: 18px; background: var(--navy); display: grid; place-items: center; }
.author .avatar svg { width: 44px; height: 44px; }
.author h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.author p { margin-top: 8px; color: var(--muted); }

/* ---------- Offer ---------- */
.offer { max-width: 920px; margin-inline: auto; display: grid; gap: 28px; padding: clamp(24px, 5vw, 48px); background: var(--navy); color: #fff; border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(19, 33, 60, 0.7); }
@media (min-width: 800px) { .offer { grid-template-columns: 0.7fr 1.3fr; align-items: center; gap: 48px; } }
.offer .cover-sm { width: min(240px, 60%); margin-inline: auto; border-radius: 4px; box-shadow: 0 24px 40px -14px rgba(0, 0, 0, 0.6); }
.offer h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 700; }
.offer .title { margin-top: 14px; font-weight: 600; }
.offer .title span { display: block; font-weight: 400; color: var(--muted-navy); font-size: 0.9688rem; }
.checks { margin-top: 20px; display: grid; gap: 8px 20px; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; }
.checks li::before { content: ""; flex: none; margin-top: 0.5em; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
.offer .buy-row { margin-top: 28px; }
.offer .price-tag { font-size: 2.25rem; }
.offer .fineprint { color: var(--muted-navy); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--paper); font-size: 1.25rem; line-height: 1; transition: transform 0.2s ease, background-color 0.2s ease; }
.faq details[open] summary::after { content: "\2212"; background: var(--orange); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); max-width: 64ch; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final h2 { font-size: clamp(2rem, 4.8vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; max-width: 16em; margin-inline: auto; }
.final p { margin: 20px auto 0; font-size: 1.1875rem; color: var(--muted-navy); max-width: 32em; }
.final .buy-row { justify-content: center; margin-top: 32px; }
.final .price-tag { font-size: 1.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0d172b; color: var(--muted-navy); padding-block: 36px; font-size: 0.9rem; }
.site-footer .wrap { display: grid; gap: 12px; }
.site-footer a { color: #fff; }
.site-footer .legal { max-width: 78ch; line-height: 1.55; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  body.has-sticky { padding-bottom: 84px; }
  .sticky-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.25s ease; visibility: hidden;
  }
  .sticky-cta.is-visible { transform: none; visibility: visible; }
  .sticky-cta .price { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1; }
  .sticky-cta .btn { flex: 1; min-width: 0; max-width: 240px; padding-inline: 16px; font-size: 1.0625rem; }
  .sticky-cta .price { font-size: 1.1875rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } .btn { transition: none; } }

/* ---------- Dev toast (only appears if a placeholder URL is still in place) ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 90; max-width: min(92vw, 460px); padding: 12px 18px; border-radius: 10px; background: #111; color: #fff; font-size: 0.9375rem; text-align: center; }

/* ---------- Thank-you page ---------- */
.ty { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.ty header { background: #fff; border-bottom: 1px solid var(--line); }
.ty header .wrap { min-height: 64px; display: flex; align-items: center; }
.ty main { flex: 1; padding-block: clamp(32px, 7vw, 80px); }
.ty-card { max-width: 900px; margin-inline: auto; display: grid; gap: 32px; padding: clamp(24px, 5vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -40px rgba(19, 33, 60, 0.4); }
@media (min-width: 760px) { .ty-card { grid-template-columns: 280px 1fr; gap: 48px; align-items: center; } }
.ty-card .cover-sm { width: min(220px, 56%); margin-inline: auto; border-radius: 4px; box-shadow: 0 20px 36px -14px rgba(19, 33, 60, 0.55); }
.ty-card h1 { font-size: clamp(1.9rem, 4.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
.ty-card .lede { margin-top: 14px; }
.ty-card .btn { margin-top: 26px; }
.ty-card .save { margin-top: 16px; font-size: 0.9688rem; color: var(--muted); }
.ty-card .help { margin-top: 10px; font-size: 0.9688rem; color: var(--muted); }
.ty-next { max-width: 900px; margin: 28px auto 0; padding: clamp(24px, 4vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.ty-next h2 { font-size: 1.375rem; font-weight: 700; }
.ty-next ol { margin-top: 18px; display: grid; gap: 10px; counter-reset: n; }
.ty-next li { counter-increment: n; display: flex; gap: 14px; align-items: flex-start; }
.ty-next li::before { content: counter(n); flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; margin-top: 1px; }
.ty footer { padding-block: 28px; text-align: center; font-size: 0.875rem; color: var(--muted); }

/* ---------- 3D book mockup (thank-you page) ---------- */
.book3d { position: relative; width: min(270px, 70%); margin-inline: auto; perspective: 1100px; padding-block: 8px 22px; }
.book { position: relative; transform: rotateY(-24deg) rotateX(2deg); transform-style: preserve-3d; aspect-ratio: 480 / 679; }
.book img { width: 100%; height: 100%; border-radius: 2px 5px 5px 2px; box-shadow: inset 4px 0 6px -2px rgba(255, 255, 255, 0.18); }
.book::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 26px; transform-origin: left center; transform: rotateY(90deg); background: linear-gradient(90deg, #0b1527, #1b2b4d 55%, #0e182e); border-radius: 2px 0 0 2px; }
.book::after { content: ""; position: absolute; inset: 0; border-radius: 2px 5px 5px 2px; background: linear-gradient(100deg, rgba(0, 0, 0, 0.28) 0, rgba(255, 255, 255, 0.1) 3.5%, rgba(0, 0, 0, 0) 9%, rgba(255, 255, 255, 0.05) 60%, rgba(0, 0, 0, 0.12) 100%); pointer-events: none; }
.book-shadow { position: absolute; left: 6%; right: -6%; bottom: 4px; height: 20px; background: radial-gradient(ellipse at center, rgba(19, 33, 60, 0.4), rgba(19, 33, 60, 0) 70%); filter: blur(4px); z-index: -1; }


@media (max-width: 420px) {
  .site-header .wrap { gap: 10px; }
  .btn-sm { padding-inline: 13px; font-size: 0.9375rem; }
  .brand { font-size: 1rem; }
}
@media (max-width: 359px) { .brand-text { display: none; } }

.site-footer .refund-note { font-size: 0.8125rem; scroll-margin-top: 80px; }
.offer .fineprint a { text-decoration: underline; text-underline-offset: 3px; }
