/* =====================================================
   The Reader's Codex: sales page
   A long-form sales page: problem, recognition, what helps, the product,
   proof, offer. One heading colour per surface, real screenshots and the
   template's own banner photos, texture in deliberate places only.
   Palette and type from .claude/skills/trc-design-system.
   ===================================================== */

:root {
  --ink: #1A120F;           /* midnight: dark surface, text on light */
  --ink-raised: #2A1E19;    /* raised panel on dark */
  --paper: #FAF6F0;          /* page background: warm ivory */
  --paper-tint: #F1EAE1;     /* alternate band: soft parchment, low saturation */
  --card: #FFFFFF;           /* card on a light band */
  --cream: #F4EDE2;          /* light card on dark bands (sticky note) */
  --text: #3A2E26;           /* charcoal: body text on light, and the tab brown */
  --text-muted: #5A4A40;     /* 7:1 on the alternate band */
  --on-dark: #F4EDE2;
  --on-dark-muted: rgba(244, 237, 226, 0.74);
  --gold: #C9A15A;           /* brass: the primary button on dark, marks and separators */
  --gold-text: #7A5B27;      /* brass for small text on light surfaces: 5.2:1 or better */
  --gold-bright: #C9A15A;    /* brass on dark: 7.7:1 on ink, 5.4:1 on oxblood */
  --highlight: #E9D4A6; --no: #C4473D; --yes: #2E8A55;      /* brass highlighter behind a phrase */
  --burgundy: #5C1A26;       /* oxblood: the primary button on light */
  --burgundy-hover: #6E2130;
  --wine: #5C1A26;           /* oxblood: ticker, How It Works panel, final CTA */
  --rule: rgba(26, 18, 15, 0.14);
  --rule-dark: rgba(244, 237, 226, 0.14);

  --serif: 'EB Garamond', Georgia, serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
  --wordmark: 'Pirata One', Georgia, serif;

  --radius: 2px;
  --radius-btn: 8px;         /* buttons and fields: slightly rounded */
  --radius-card: 6px;
  --radius-tile: 18px;
  --gutter: clamp(20px, 4vw, 80px); /* side margin: the page fills the window at any width */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--serif); font-size: 19px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.022em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
mark { background: linear-gradient(transparent 54%, var(--highlight) 54%, var(--highlight) 94%, transparent 94%); color: inherit; padding: 0 2px; }

.container { width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--burgundy); color: var(--on-dark); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 10px;
}
.eyebrow--gold { color: var(--gold-bright); }

/* Small gold star used as a list marker (never a circled number). */
.mark { flex: none; width: 18px; height: 18px; fill: var(--gold); margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  padding: 15px 26px; border-radius: var(--radius-btn); border: 1px solid transparent;
  cursor: pointer; transition: background-color 160ms, border-color 160ms, color 160ms;
}
.btn--sm { font-size: 16px; padding: 11px 18px; }
.btn--lg { font-size: 19px; padding: 18px 32px; }
.btn--block { display: flex; width: 100%; }
/* Primary button on dark bands: brass, the brightest thing on the band. */
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #D6B06C; }
.btn--burgundy { background: var(--burgundy); color: var(--on-dark); }
.btn--burgundy:hover { background: var(--burgundy-hover); }
.btn--outline-light { background: transparent; color: var(--on-dark); border-color: rgba(237, 226, 201, 0.45); }
.btn--outline-light:hover { border-color: var(--on-dark); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--rule-dark); }
.nav__inner { margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav__wordmark { font-family: var(--wordmark); font-size: 24px; line-height: 1; color: var(--on-dark); text-decoration: none; white-space: nowrap; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 17px; color: var(--on-dark-muted); text-decoration: none; }
.nav__links a:hover { color: var(--on-dark); }

/* ---------- Tiles: rounded image frames (photos and screenshots) ---------- */
.tile { margin: 0; border-radius: var(--radius-tile); overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6); }
.tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero: centred headline ---------- */
.hero { background: var(--ink); color: var(--on-dark); padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 860px); justify-content: center; }
.hero__text { text-align: center; }
.hero__title { font-size: clamp(44px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.035em; color: var(--on-dark); }
.hero__lede { font-size: 21px; line-height: 1.5; color: var(--on-dark-muted); max-width: 620px; margin: 20px auto 0; }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Preloaded series ticker ---------- */
.ticker { background: var(--wine); color: var(--on-dark); display: flex; align-items: center; overflow: hidden; border-top: 1px solid rgba(192, 152, 88, 0.35); border-bottom: 1px solid rgba(192, 152, 88, 0.35); }
.ticker__label {
  flex: none; padding: 20px 24px; background: var(--wine); position: relative; z-index: 1;
  font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-bright);
}
.ticker__viewport { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px); mask-image: linear-gradient(to right, transparent 0, #000 36px); }
.ticker__track { padding-left: 28px; }
.ticker__track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { list-style: none; margin: 0; padding: 0; display: flex; }
.ticker__list li { font-style: italic; font-size: 20px; white-space: nowrap; padding: 18px 0; }
.ticker__list li::after { content: "·"; font-style: normal; color: var(--gold-bright); margin: 0 22px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Big type statement (static, so it always fits the window) ---------- */
.statement {
  font-size: clamp(40px, 5.6vw, 104px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
  color: var(--ink); text-align: center; text-wrap: balance; max-width: 1500px; margin: 0 auto 24px;
}
.dashboard__lede { text-align: center; font-size: 21px; color: var(--text-muted); max-width: 760px; margin: 0 auto 40px; text-wrap: balance; }
.footer-mark { background: var(--ink); border-top: 1px solid var(--rule-dark); padding: 56px var(--gutter) 8px; text-align: center; }
.footer-mark p { font-family: var(--wordmark); font-size: clamp(48px, 8vw, 132px); line-height: 1; color: var(--on-dark); opacity: 0.9; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; position: relative; }
.section--flush { padding-top: 88px; }
.section--tint { background: var(--paper-tint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--ink { background: var(--ink); }
/* A light section that rises over the dark band above it on a rounded edge. */
.section--rounded { border-radius: 40px 40px 0 0; margin-top: -40px; z-index: 1; border-top: 0; }
.section--rounded:not(.section--tint):not(.section--ink):not(.section--photo) { background: var(--paper); }
.section--rounded:not(.section--ink) { box-shadow: 0 -1px 0 var(--rule); } /* the arch stays visible light-on-light */
.section__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(34px, 4.2vw, 54px); color: var(--ink); }
.section__head:has(.display) { max-width: 1120px; }
#goodreads .section__head { max-width: 1000px; } /* the reader's question reads in two lines */
.section__head .display { font-size: clamp(48px, 7vw, 104px); letter-spacing: -0.04em; line-height: 0.95; white-space: nowrap; }
.section__lede { font-size: 20px; line-height: 1.5; color: var(--text-muted); margin-top: 14px; }
.section__cta { text-align: center; margin-top: 56px; }
.pull + .section__cta { margin-top: 40px; }
.section--ink .section__head h2 { color: var(--on-dark); }
.section--ink .section__lede { color: var(--on-dark-muted); }

/* ---------- Problem: image and text, alternating ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin: 0 auto; }
.split + .split { margin-top: 104px; }
.split--flip .split__media { order: 2; }
.split__media { aspect-ratio: 16 / 10; }
.split__text h2 { font-size: clamp(32px, 3.6vw, 48px); color: var(--ink); margin-bottom: 20px; }
.split__text p:not(.eyebrow) { font-size: 20px; line-height: 1.6; color: var(--text); }
.split__text p + p { margin-top: 16px; }
.problems { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 28px; }
.problems li { display: flex; gap: 16px; }
.problems h3 { font-size: 26px; color: var(--ink); margin-bottom: 6px; }
.problems p { font-size: 18px !important; color: var(--text-muted) !important; }
.problems-wrap { margin-top: 80px; text-align: center; }
.problems--row { grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; margin-top: 24px; }
.problems--row li { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 28px 28px 30px 68px; box-shadow: 0 1px 3px rgba(28, 20, 16, 0.06); }
.problems--row li { display: block; }
.problems--row h3 { font-size: 24px; }
.xmark, .ok { position: absolute; left: -38px; top: 0.12em; width: 26px; height: 26px; padding: 6px; border-radius: 50%; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; } /* hangs in the card's left margin, beside the headline's first line */
.problems--row h3, .need h3 { position: relative; text-wrap: pretty; }
.xmark { background: var(--no); }

.pull {
  max-width: 980px; margin: 112px auto 0; text-align: center;
  font-size: clamp(34px, 4.4vw, 60px); font-weight: 500; font-style: italic; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink);
}

/* ---------- Voices: real reader posts on dark, tilted cards ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 auto; }
.voice {
  margin: 0; padding: 28px 30px; border-radius: 12px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.7);
}
.voice p { font-size: 20px; line-height: 1.45; font-style: italic; }
.voice cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.8; }
.v--cream { background: var(--cream); color: var(--ink); }
.v--tint { background: var(--paper-tint); color: var(--ink); }
.v--stone { background: var(--paper-tint); color: var(--ink); }
.v--wine { background: var(--wine); color: var(--on-dark); border: 1px solid rgba(237, 226, 201, 0.14); }
.v--brown { background: var(--text); color: var(--on-dark); }
.voices__fine { text-align: center; color: var(--on-dark-muted); font-size: 15px; margin-top: 24px; }

/* ---------- What you need: staggered, tilted cards ---------- */
.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0 auto; }
.need {
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 30px 30px 32px 68px;
  box-shadow: 0 18px 40px -26px rgba(28, 20, 16, 0.4);
}
.need h3 { font-size: 25px; color: var(--ink); margin-bottom: 10px; }
.ok { background: var(--yes); }
.need p { font-size: 18px; color: var(--text-muted); line-height: 1.55; }

/* ---------- Introducing: framed screenshot with floating pills ---------- */
.reveal-shot { position: relative; margin: 0 auto; max-width: 1440px; } /* the one screenshot that would otherwise outgrow its source on very wide screens */
.shot--intro { box-shadow: 0 40px 90px -40px rgba(28, 20, 16, 0.55); }

/* Light / dark switch on the Dashboard. Shown only when site.js is running;
   without it the light screenshot shows alone. */
.theme-switch { display: none; justify-content: center; gap: 0; margin: 0 auto 20px; width: max-content; padding: 4px; border-radius: 999px; background: var(--paper-tint); border: 1px solid var(--rule); }
.js-theme .theme-switch { display: flex; }
.theme-switch__btn { font: 600 16px/1 var(--serif); color: var(--text-muted); background: none; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; }
.theme-switch__btn[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.theme-switch__note { text-align: center; font-size: 16px; color: var(--text-muted); margin-top: 14px; }
.reveal-shot[data-theme-view="light"] .shot--darkmode, .reveal-shot[data-theme-view="dark"] .shot--light { display: none; }
.shot--darkmode { border-color: rgba(28, 20, 16, 0.4); background: var(--ink-raised); }

/* ---------- Screenshots ---------- */
.shot { margin: 0; position: relative; border-radius: var(--radius-card); overflow: hidden; border: 1px solid rgba(28, 20, 16, 0.22); box-shadow: 0 2px 6px rgba(28, 20, 16, 0.06), 0 30px 70px -30px rgba(28, 20, 16, 0.42); background: var(--card); }
.shot picture, .shot img { display: block; width: 100%; }
.shot--dark { border-color: rgba(237, 226, 201, 0.18); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7); background: var(--ink-raised); }

/* Handwritten-style side notes beside the tab screenshots (wide screens only). */
.annotated { position: relative; }
.anno { display: none; }
@media (min-width: 1280px) {
  .annotated .shot { max-width: calc(100% - 320px); margin: 0 auto; }
  .anno {
    display: block; position: absolute; top: var(--y); width: 140px; margin: 0;
    transform: translateY(-100%); font-style: italic; font-weight: 500; font-size: 20px; line-height: 1.25; color: var(--ink);
  }
  .anno--left { left: 0; text-align: right; }
  .anno--right { right: 0; text-align: left; }
  .anno__arrow { display: block; width: 72px; height: 36px; margin-top: 6px; fill: none; stroke: var(--gold-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .anno--left .anno__arrow { margin-left: auto; margin-right: -26px; }
  .anno--right .anno__arrow { margin-left: -26px; transform: scaleX(-1); }
  .tabs__panel .shot-caption { display: none; }
}
.shot-caption {
  text-align: center; margin-top: 18px;
  font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted);
}
.shot-caption span { color: var(--gold-text); margin: 0 10px; }

/* ---------- Feature tabs (folder tabs in brand brown) ---------- */
.tabs { position: relative; }
.tabs__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; position: relative; z-index: 2; }
.tabs:not(.tabs--js) .tabs__list { display: none; }
.tabs__tab {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 12px; border: 1.5px solid var(--text); border-bottom: 0; border-radius: 10px 10px 0 0; text-align: center;
  background: var(--text); color: var(--on-dark);
  font: 600 18px/1.15 var(--serif); cursor: pointer; transition: background-color 160ms, color 160ms;
}
.tabs__tab img { width: auto; height: 30px; flex: none; }
.tabs__tab:hover { background: #4A3B31; border-color: #4A3B31; }
.tabs__tab[aria-selected="true"] { background: var(--card); color: var(--ink); border-color: var(--text); margin-bottom: -1.5px; padding-bottom: 17.5px; }
.tabs--js .tabs__panel {
  background: var(--card); border: 1.5px solid var(--text); border-radius: 0 0 10px 10px;
  padding: 56px 44px 48px; box-shadow: 0 30px 70px -40px rgba(28, 20, 16, 0.35);
}
.tabs__panel[hidden] { display: none; }
.tabs:not(.tabs--js) .tabs__panel + .tabs__panel { margin-top: 96px; }
.feature__text { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.feature__text h3 { font-size: clamp(26px, 2.8vw, 36px); color: var(--ink); margin-bottom: 10px; }
.feature__text p { color: var(--text); }


/* ---------- What changes: numbered-free outcome list ---------- */

/* ---------- Six more pages ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 28px; box-shadow: 0 1px 3px rgba(28, 20, 16, 0.06); }
.card__crest { display: block; width: auto; height: 64px; margin-bottom: 18px; }
.card h3 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.card p { font-size: 17px; line-height: 1.55; color: var(--text-muted); }
.cards__more { text-align: center; color: var(--text-muted); margin-top: 32px; }

/* ---------- How it works: photo beside a wine panel ---------- */
.how { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.how__media { margin: 0; }
.how__media { background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 64px clamp(24px, 5vw, 72px); }
.how__phone { width: 100%; max-width: 560px; height: auto; border-radius: var(--radius-card); border: 1px solid rgba(237, 226, 201, 0.16); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.how__phone { display: none; }
/* Two straight crops of the dark Dashboard, layered like the demo figure. */
.how__visual { position: relative; width: 100%; max-width: 560px; aspect-ratio: 560 / 470; }
.how__card { position: absolute; margin: 0; }
.how__card--back { width: 36%; left: 0; top: 0; }
.how__card--front { width: 70%; right: 0; bottom: 0; z-index: 1; }
.how__panel { background: var(--wine); color: var(--on-dark); padding: 96px clamp(28px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.how__panel h2 { font-size: clamp(40px, 5vw, 64px); color: var(--on-dark); margin-bottom: 32px; }
.how .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.how .step { border-top: 1px solid rgba(237, 226, 201, 0.25); padding: 24px 0; }
.how .step:last-child { border-bottom: 1px solid rgba(237, 226, 201, 0.25); }
.step__num { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 8px; }
.how .step h3 { font-size: 26px; color: var(--on-dark); margin-bottom: 6px; }
.how .step p { color: var(--on-dark-muted); font-size: 18px; }
.how__cta { margin-top: 36px; }

/* ---------- The short version ---------- */

/* ---------- This is for you if ---------- */

/* ---------- Pricing, over the Library's own banner photo ---------- */
.section--photo { background: linear-gradient(rgba(26, 18, 15, 0.74), rgba(26, 18, 15, 0.74)), url("assets/band-library.webp") center / cover no-repeat, var(--ink); }
.section--photo .section__head h2 { color: var(--on-dark); }
.price {
  max-width: 580px; margin: 0 auto; background: var(--card); border-radius: 14px;
  padding: 44px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.crest { display: block; width: auto; height: 84px; margin: 0 auto 18px; }
.price__name { font-size: 22px; font-weight: 600; color: var(--ink); }
.price__amount { font-size: 76px; font-weight: 700; line-height: 1; color: var(--ink); margin-top: 18px; letter-spacing: -0.03em; }
.price__currency { font-size: 36px; vertical-align: top; position: relative; top: 8px; margin-right: 2px; }
.price__term { font-size: 17px; color: var(--text-muted); margin-top: 8px; }
.price__list { list-style: none; padding: 0; margin: 32px 0; text-align: left; display: grid; gap: 14px; }
.price__list li { position: relative; padding-left: 30px; font-size: 18px; line-height: 1.5; }
.price__list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(-45deg); }
.price__fine { font-size: 15px; color: var(--text-muted); margin-top: 16px; }

/* ---------- Live demo ---------- */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.demo__text h2 { font-size: clamp(34px, 4.2vw, 54px); color: var(--ink); margin-bottom: 16px; }
.demo__lede { font-size: 20px; line-height: 1.5; color: var(--text); max-width: 540px; }
.demo__lede + .demo__lede { margin-top: 12px; }
.demo__form { display: flex; gap: 10px; margin-top: 28px; max-width: 560px; }
.demo__form input { flex: 1; min-width: 0; font: 18px var(--serif); color: var(--ink); background: var(--card); border: 1px solid rgba(28, 20, 16, 0.35); border-radius: var(--radius-btn); padding: 16px 18px; }
.demo__form input::placeholder { color: var(--text-muted); font-style: italic; }
.demo__form input:focus { outline: 2px solid var(--gold-bright); outline-offset: 1px; }
.demo__fine { font-size: 15px; color: var(--text-muted); margin-top: 12px; }
.demo__status { font-size: 18px; margin-top: 16px; color: var(--ink); font-weight: 600; }
.demo__visual { position: relative; height: 520px; }
.demo__card { position: absolute; margin: 0; }
.demo__card--back { width: 68%; left: 0; top: 0; }
.demo__card--front { width: 74%; right: 0; bottom: 40px; z-index: 1; }

/* ---------- FAQ: two columns on dark ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.faq-wrap__head { position: sticky; top: 104px; }
.faq-wrap__head h2 { font-size: clamp(38px, 4.4vw, 58px); color: var(--on-dark); }
.faq-wrap__help { color: var(--on-dark-muted); margin-top: 18px; }
.faq-wrap__help a { color: var(--on-dark); text-underline-offset: 3px; }
.faq-wrap__cta { margin-top: 28px; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 21px; font-weight: 600; color: var(--ink); display: flex; gap: 18px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: translateY(-70%) rotate(45deg); transition: transform 160ms; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 44px 24px 44px; color: var(--text); }
.faq a { color: var(--burgundy); text-underline-offset: 3px; }
.faq__num { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; color: var(--gold-text); flex: none; width: 26px; }
.faq--dark { border-top-color: var(--rule-dark); }
.faq--dark details { border-bottom-color: var(--rule-dark); }
.faq--dark summary { color: var(--on-dark); }
.faq--dark summary::after { border-color: var(--gold-bright); }
.faq--dark .faq__num { color: var(--gold-bright); }
.faq--dark details p { color: var(--on-dark-muted); }
.faq--dark a { color: var(--on-dark); }

/* ---------- Final CTA ---------- */
.final { background: var(--wine); color: var(--on-dark); padding: 112px 0; text-align: center; }
.final__inner { max-width: 760px; }
.final h2 { font-size: clamp(40px, 5.4vw, 72px); color: var(--on-dark); }
.final p { font-size: 20px; color: var(--on-dark-muted); margin: 20px auto 36px; }
.final .final__note { font-size: 16px; margin: 18px 0 0; }

/* ---------- Legal pages (privacy, terms) ---------- */
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 5vw, 60px); color: var(--ink); margin: 8px 0 20px; }
.legal h2 { font-size: clamp(26px, 2.6vw, 32px); color: var(--ink); margin: 48px 0 12px; }
.legal h3 { font-size: 21px; color: var(--ink); margin: 24px 0 8px; }
.legal p:not(.eyebrow), .legal li { font-size: 18px; line-height: 1.65; color: var(--text); }
.legal p:not(.eyebrow) + p { margin-top: 14px; }
.legal p.legal__lede { font-size: 21px; line-height: 1.55; color: var(--text); padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.legal ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.legal a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }

/* ---------- Seasonal landing pages (/2027-book-tracker/) ---------- */
.hero--landing { padding-bottom: 72px; }
.hero__shot { max-width: 1120px; margin: 56px auto 0; }
.split__shot { margin: 0; }
/* Phone frame for screen recordings, as on the freebie pages. */
.phone { position: relative; justify-self: center; width: min(300px, 80vw); background: #1C1410; border-radius: 44px; padding: 12px; border: 1px solid rgba(184, 149, 72, 0.25); box-shadow: 0 44px 88px -40px rgba(26, 20, 16, 0.55); }
.phone__notch { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; background: #1C1410; border-radius: 999px; z-index: 4; }
.phone__screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 34px; overflow: hidden; background: #1C1410; }
.phone__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.split--flip .split__shot { order: 2; }
.prose { max-width: 760px; margin: 0 auto; text-align: center; }
.prose h2 { font-size: clamp(34px, 4.2vw, 54px); color: var(--ink); margin-bottom: 24px; }
.prose p:not(.eyebrow) { font-size: 21px; line-height: 1.6; color: var(--text); }
.prose p + p { margin-top: 16px; }
.planner { max-width: 1120px; margin: 72px auto 0; background: var(--card); border-radius: 14px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.planner h3 { font-size: clamp(28px, 3vw, 38px); color: var(--ink); margin-bottom: 14px; }
.planner p:not(.eyebrow) { font-size: 19px; line-height: 1.55; color: var(--text); }
.planner p + p { margin-top: 12px; }
.planner .demo__form { margin-top: 22px; }
.planner__fine { font-size: 15px !important; color: var(--text-muted) !important; }
.section--plans { background: #FAF8F3; }
.btn--rust { background: #B5502A; color: #FFFFFF; }
.btn--rust:hover { background: #A2461F; }
.btn--cream { background: #FBF8F2; color: #2E2B26; }
.btn--cream:hover { background: #FFFFFF; }
.mid-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
.mid-cta__alt { font-size: 17px; color: var(--text-muted); text-underline-offset: 3px; }
.mid-cta__alt:hover { color: var(--ink); }
.plans { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, auto) 1fr; column-gap: 24px; align-items: stretch; }
.plan { background: #FFFFFF; color: #2E2B26; border: 1px solid #E8E4DC; border-radius: 10px; padding: 36px; box-shadow: 0 24px 60px -36px rgba(26, 18, 15, 0.35); display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.plan > .btn { margin-top: 36px; align-self: start; }
.plan__pill--light { background: var(--paper-tint); }
.plan__pill--empty { visibility: hidden; }
.plan__pill { justify-self: start; }
.plan__pill--empty::before { content: "x"; }
.plan__body { display: flex; flex-direction: column; }
.plan__price--word { font-size: clamp(54px, 5vw, 62px); align-self: end; }
.plan--dark { background: var(--ink-raised); color: var(--on-dark); border: 1px solid rgba(201, 161, 90, 0.45); box-shadow: 0 40px 80px -30px rgba(26, 18, 15, 0.6); }
.plan__name { font-size: clamp(28px, 2.6vw, 34px); font-weight: 600; line-height: 1.1; color: var(--ink); }
.plan__for { font-size: 18px; line-height: 1.5; margin-top: 12px; }
.plan__price { font-family: var(--serif); font-size: clamp(60px, 5.5vw, 70px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--ink); margin-top: 20px; }
.plan__term { font-size: 16px; color: var(--text-muted); margin-top: 10px; }
.plan__value { margin: -8px 0 24px; padding: 12px 14px; border-radius: 8px; background: rgba(201, 161, 90, 0.16); border: 1px solid rgba(201, 161, 90, 0.5); font-size: 16px; line-height: 1.45; color: var(--on-dark); }
.plan__lead { font-size: 17px; font-weight: 600; margin: 36px 0 12px; }
.tip { position: relative; display: inline; }
.tip__term { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: help; text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.tip__term:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 2px; }
.tip__box { position: absolute; left: -12px; bottom: calc(100% + 12px); width: 280px; max-width: 80vw; padding: 12px 14px; border-radius: 10px; background: #FBF8F2; color: #2E2B26; font-size: 15px; line-height: 1.45; text-align: left; box-shadow: 0 12px 30px -8px rgba(26, 18, 15, 0.45); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s; z-index: 20; pointer-events: none; }
.tip__box::after { content: ""; position: absolute; left: 24px; top: 100%; border: 8px solid transparent; border-top-color: #FBF8F2; }
.tip:hover .tip__box, .tip__term:focus-visible + .tip__box, .tip.is-open .tip__box { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .tip__box { transition: none; transform: none; } }
.plan__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan__list li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.5; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(-45deg); }
.plan__fine { font-size: 15px; color: var(--text-muted); margin-top: auto; padding-top: 24px; }
.plan__signup { margin-top: 36px; align-self: start; }
.plan__form-fine { font-size: 14px; line-height: 1.45; color: var(--text-muted); margin-top: 10px; }
.plan__form { display: flex; gap: 8px; }
.plan__form[hidden], .demo__form[hidden] { display: none; }
.plan__form input { flex: 1; min-width: 0; font: 18px var(--serif); color: var(--ink); background: var(--card); border: 1px solid rgba(28, 20, 16, 0.35); border-radius: var(--radius-btn); padding: 16px 18px; }
.plan__form input::placeholder { color: var(--text-muted); font-style: italic; }
.plan__form input:focus { outline: 2px solid var(--gold-bright); outline-offset: 1px; }
.plan__status { font-size: 18px; line-height: 1.45; margin-top: 14px; color: var(--ink); font-weight: 600; }
.plan--dark .plan__name, .plan--dark .plan__price { color: var(--on-dark); }
.plan__pill { align-self: flex-start; background: var(--on-dark); color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.plan .u { text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: currentColor; }
.plan--dark .plan__term, .plan--dark .plan__fine { color: var(--on-dark-muted); }
.plan--dark .plan__list li::before { border-color: var(--gold-bright); }
.crosslink { text-align: center; color: var(--on-dark-muted); margin-top: 40px; font-size: 19px; }
.section--plans .crosslink { color: var(--text-muted); margin-top: 64px; }
.section--plans .crosslink a, .section--plans .crosslink strong { color: var(--ink); }
.crosslink a { color: var(--on-dark); text-underline-offset: 3px; }
.crosslink strong { color: var(--on-dark); }
/* Clearly marked gaps for screenshots and forms that do not exist yet. */
.todo { display: flex; align-items: center; justify-content: center; min-height: 260px; padding: 24px; border: 2px dashed var(--gold-text); border-radius: var(--radius-card); background: var(--paper-tint); color: var(--gold-text); font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; line-height: 1.5; }
.todo--form { min-height: 0; margin-top: 22px; }
@media (max-width: 960px) {
  .split--flip .split__shot { order: 0; }
  .planner { grid-template-columns: 1fr; gap: 32px; }
  .plans { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 24px; }
  .plan { grid-row: auto; grid-template-rows: none; }
  .plan__pill--empty { display: none; }
  .plan__list li { position: relative; }
  .tip { position: static; }
  .tip__box { left: 0; right: 0; width: auto; max-width: none; }
  .tip__box::after { display: none; }
}
@media (max-width: 600px) {
  .plan__form { flex-direction: column; }
  .hero__shot { margin-top: 40px; }
  .planner { padding: 28px 20px; }
  .plan { padding: 32px 22px; }
  .plan__price { font-size: 60px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: 48px 0 32px; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; }
.footer__wordmark { font-family: var(--wordmark); font-size: 26px; color: var(--on-dark); text-decoration: none; display: inline-block; margin-bottom: 12px; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer nav a { text-decoration: none; }
.footer a:hover { color: var(--on-dark); }
.footer__title { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 6px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule-dark); font-size: 14px; }
.footer__bottom a { text-decoration: none; }

/* ---------- Reveal on scroll (added by site.js; content is visible without it) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .split.reveal.is-visible .split__media { transition: transform 900ms ease; }

/* ---------- Phone buy bar ---------- */
.buybar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .ticker__label { display: none; }
  .split, .split--flip { grid-template-columns: 1fr; gap: 36px; }
  .split--flip .split__media { order: 0; }
  .split + .split { margin-top: 72px; }
  .needs { grid-template-columns: 1fr 1fr; }
  .problems--row { grid-template-columns: 1fr; gap: 28px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .feature__text { margin-bottom: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; }
  .how__media { padding: 40px 20px; }
  .demo { grid-template-columns: 1fr; gap: 48px; }
  .demo__visual { height: 440px; max-width: 560px; width: 100%; margin: 0 auto; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-wrap__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .tabs__tab { font-size: 16px; padding: 12px 6px; }
  .tabs__tab img { display: none; }
  .tabs--js .tabs__panel { padding: 40px 24px 32px; }
}

@media (max-width: 760px) {
  .voices { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .how__visual { display: none; }
  .how__phone { display: block; }
  body { font-size: 18px; }
  .container { padding: 0 16px; }
  .nav__inner { padding: 10px 16px; gap: 12px; }
  .nav__wordmark { font-size: 20px; }
  .hero { padding: 48px 0 64px; }
  .hero__lede { font-size: 19px; }
  .hero__ctas .btn { width: 100%; }
  .section { padding: 60px 0; }
  .section--rounded { border-radius: 28px 28px 0 0; margin-top: -28px; }
  .section__head { margin-bottom: 36px; }
  .pull { margin-top: 72px; }
  .voices { grid-template-columns: 1fr; }
  .nav .btn { display: none; }
  .section__head .display { white-space: normal; }
  .needs, .cards { grid-template-columns: 1fr; }
  .card { padding: 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; }
  .card__crest { grid-row: span 2; height: 58px; margin: 0; }
  .problems-wrap { margin-top: 56px; }
  .price { padding: 32px 22px; }
  .how__panel { padding: 64px 20px; }
  .final { padding: 80px 0; }
  .final .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .demo__form { flex-direction: column; }
  .demo__form .btn { width: 100%; max-width: none; }
  .demo__visual { display: none; }
  .shot-caption { display: none; }
  .tabs--js .tabs__list { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .tabs--js .tabs__list::-webkit-scrollbar { display: none; }
  .tabs--js .tabs__tab { flex: none; white-space: nowrap; padding: 12px 16px; }
  .tabs--js .tabs__panel { padding: 28px 16px 24px; }
  .tabs:not(.tabs--js) .tabs__panel + .tabs__panel { margin-top: 72px; }
  .buybar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 1px solid var(--rule-dark);
    transform: translateY(110%); transition: transform 220ms ease;
  }
  .buybar--show { transform: translateY(0); }
  .buybar__text { display: flex; flex-direction: column; line-height: 1.2; }
  .buybar__name { color: var(--on-dark); font-weight: 600; font-size: 17px; }
  .buybar__price { color: var(--on-dark-muted); font-size: 15px; }
  .footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .buybar { transition: none; }
  .ticker__track { animation: none; width: auto; }
  .ticker__list { flex-wrap: wrap; }
  .ticker__list[aria-hidden="true"] { display: none; }
}
