/* ==========================================================================
   VINCENT — sales landing page
   Tokens come from the book series design (covers + interior).
   Mobile first. Dark editorial; one light section (real pages on paper).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* primitives */
  --ink-0: #0B0C0E;      /* cover background */
  --ink-1: #121417;      /* book ink */
  --ink-2: #181A1E;
  --ivory: #F1EBDE;
  --ivory-2: #D8D1C2;
  --ivory-3: #A9A293;
  --gold: #C6A15B;
  --gold-light: #E3CC98;
  --gold-dark: #8A6A2C;
  --paper: #F7F1E5;
  --paper-box: #FCF9F2;
  --paper-border: #DCCFAF;
  --paper-text: #24272C;
  --paper-muted: #5F636B;

  /* semantic */
  --bg: var(--ink-0);
  --bg-raised: var(--ink-1);
  --text: var(--ivory-2);
  --text-strong: var(--ivory);
  --text-muted: var(--ivory-3);
  --accent: var(--gold);
  --hairline: rgba(198, 161, 91, 0.22);
  --hairline-strong: rgba(198, 161, 91, 0.45);
  --hairline-neutral: rgba(241, 235, 222, 0.1);

  /* type */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-lead: 1.1875rem;
  --fs-h1: clamp(2.5rem, 1.6rem + 4.6vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.6vw, 3.25rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);

  /* space */
  --gutter: 20px;
  --section-y: clamp(80px, 9vw + 40px, 160px);
  --radius: 2px;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --fs-body: 1.125rem; }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: var(--gold-light); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ivory); }

strong { color: var(--text-strong); font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 1px;
}

[id] { scroll-margin-top: 24px; }

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink-0); padding: 10px 16px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--text-strong);
  text-wrap: balance;
}

.lead {
  margin-top: 20px;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn--gold { background: var(--gold); color: var(--ink-0); }
.btn--gold:hover { background: var(--gold-light); color: var(--ink-0); }
.btn--outline { border-color: var(--hairline-strong); color: var(--gold-light); background: transparent; }
.btn--outline:hover { border-color: var(--gold); background: rgba(198, 161, 91, 0.08); color: var(--ivory); }
.btn--block { width: 100%; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }

/* Checkout not connected yet: visibly inactive, still readable */
[data-checkout][aria-disabled="true"] { cursor: not-allowed; }
.btn[aria-disabled="true"] { flex-wrap: wrap; row-gap: 6px; padding-block: 10px; }
.btn__label { white-space: nowrap; }
.btn[aria-disabled="true"].btn--gold { background: #6E5A35; color: #F1EBDE; }
.btn[aria-disabled="true"].btn--gold:hover { background: #6E5A35; }
.btn[aria-disabled="true"].btn--outline { border-color: var(--hairline); color: var(--text-muted); }
.btn[aria-disabled="true"].btn--outline:hover { background: transparent; }
.soon {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.85;
}

.buy-note {
  margin-top: 12px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.wordmark {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.wordmark:hover { color: var(--ivory); }
.wordmark__diamond { color: var(--gold); font-size: 0.55em; margin-left: 4px; letter-spacing: 0; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: var(--fs-small);
  color: var(--text);
  text-decoration: none;
  padding: 10px 0;
}
.site-nav a:hover { color: var(--ivory); }
.site-nav__primary {
  color: var(--gold-light) !important;
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 4px !important;
}
.site-nav__secondary { display: none; }
@media (min-width: 960px) {
  .site-nav__secondary { display: inline; }
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-0);
  padding-bottom: 96px;
  isolation: isolate;
}

.hero__media {
  position: relative;
  display: block;
  height: min(52svh, 520px);
  min-height: 320px;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(0.78) contrast(1.05) brightness(0.86);
}
/* fade the photo into the page */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 12, 14, 0.55) 0%, rgba(11, 12, 14, 0) 22%),
    linear-gradient(to top, var(--ink-0) 2%, rgba(11, 12, 14, 0.6) 30%, rgba(11, 12, 14, 0) 58%);
}

.hero__content {
  position: relative;
  margin-top: -132px;
}

.hero__kicker {
  font-size: var(--fs-small);
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.hero__title {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ivory);
  text-wrap: balance;
  max-width: 13ch;
}

.hero__lead {
  margin-top: 18px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  max-width: 34rem;
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.hero__price {
  font-size: var(--fs-small);
  color: var(--text);
  text-align: center;
}
.hero__price span { color: var(--gold-light); font-weight: 600; }

.hero__honesty {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ivory-2);
  max-width: 34rem;
}

@media (min-width: 560px) {
  .hero__actions { flex-direction: row; align-items: center; gap: 22px; }
  .hero__price { text-align: left; }
}

@media (min-width: 768px) {
  .hero {
    min-height: min(100svh, 940px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 150px;
  }
  .hero__media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 74%;
    height: 100%;
    min-height: 0;
    z-index: -1;
  }
  .hero__media img { object-position: 46% 28%; }
  .hero__media::after {
    background:
      linear-gradient(to right, var(--ink-0) 0%, rgba(11, 12, 14, 0.82) 22%, rgba(11, 12, 14, 0.15) 58%, rgba(11, 12, 14, 0) 80%),
      linear-gradient(to top, var(--ink-0) 0%, rgba(11, 12, 14, 0) 30%),
      linear-gradient(to bottom, rgba(11, 12, 14, 0.6) 0%, rgba(11, 12, 14, 0) 20%);
  }
  .hero__content { margin-top: 0; }
  .hero__lead { margin-top: 22px; font-size: var(--fs-lead); }
  .hero__title, .hero__lead, .hero__honesty { max-width: 30rem; }
  .hero__title { max-width: 11ch; }
}

@media (min-width: 1200px) {
  .hero__media { width: 66%; }
}

/* The calm line: erratic candles settle into one steady line (series motif) */
.calm-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  height: 56px;
  padding-inline: var(--gutter);
  max-width: 1200px;
  margin-inline: auto;
  pointer-events: none;
}
.calm-line__svg { width: 100%; height: 100%; overflow: visible; }
.calm-line .c-wick { stroke: var(--gold); stroke-width: 1.2; }
.calm-line .c-body { stroke: var(--gold); stroke-width: 1.2; }
.calm-line .c-body--fill { fill: var(--gold); }
.calm-line .c-body--hollow { fill: var(--ink-0); }
.calm-line .c-line { stroke: var(--gold); stroke-width: 1.2; fill: none; }
.calm-line .c-dot { fill: var(--gold-light); }

@media (prefers-reduced-motion: no-preference) {
  .calm-line.is-animating .c-candle {
    opacity: 0;
    animation: candle-in 520ms var(--ease-out) forwards;
    animation-delay: calc(var(--i) * 38ms + 250ms);
  }
  .calm-line.is-animating .c-line {
    stroke-dasharray: var(--len);
    stroke-dashoffset: var(--len);
    animation: line-draw 1100ms var(--ease-out) forwards;
    animation-delay: var(--line-delay);
  }
  .calm-line.is-animating .c-dot {
    opacity: 0;
    animation: dot-in 500ms ease forwards;
    animation-delay: var(--line-delay);
  }
}
@keyframes candle-in {
  from { opacity: 0; transform: translateY(var(--dy, 6px)); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes line-draw { to { stroke-dashoffset: 0; } }
@keyframes dot-in { to { opacity: 1; } }

/* ---------- 2. The books at a glance ---------- */
.glance {
  background: var(--ink-0);
  padding: 56px 0 clamp(64px, 8vw, 104px);
}
.glance__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h3);
  color: var(--ivory);
}
.glance__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.glance__book {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
}
.glance__book img {
  width: 100%;
  margin-bottom: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  transition: transform 220ms var(--ease-out);
}
.glance__book:hover img { transform: translateY(-3px); }
.glance__label { font-size: var(--fs-xs); font-weight: 500; color: var(--gold-light); }
.glance__name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--ivory);
}
.glance__line { font-size: var(--fs-xs); line-height: 1.5; color: var(--text); }
.glance__price {
  margin-top: 2px;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--ivory);
}
.glance__book:hover .glance__name { color: var(--gold-light); }

.glance__bundle {
  margin-top: 32px;
  display: grid;
  gap: 18px;
  padding: 22px 20px;
  border: 1px solid var(--hairline-strong);
  background: var(--ink-1);
}
.glance__offer { display: grid; gap: 6px; }
.glance__offer strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.1875rem; }
.glance__prices { display: flex; align-items: baseline; gap: 12px; color: var(--text-muted); }
.glance__now { font-family: var(--font-serif); font-size: 2rem; line-height: 1; color: var(--ivory); }
.glance__save { font-size: var(--fs-small); font-weight: 600; color: var(--gold-light); }
.glance__note { margin-top: 14px; font-size: var(--fs-xs); color: var(--text-muted); }

@media (min-width: 860px) {
  .glance { padding-top: 72px; }
  .glance__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .glance__book { display: grid; grid-template-columns: 150px 1fr; grid-template-rows: auto auto auto auto 1fr; column-gap: 22px; row-gap: 6px; align-content: start; }
  .glance__book img { grid-row: 1 / span 5; margin-bottom: 0; }
  .glance__line { font-size: var(--fs-small); }
  .glance__bundle { grid-template-columns: 1fr auto; align-items: center; padding: 24px 28px; }
  .glance__line { max-width: 34ch; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }

/* ---------- 2. Problem ---------- */
.problem { background: var(--ink-0); border-top: 1px solid var(--hairline-neutral); }
.problem__intro > * { max-width: 860px; }

.scenes {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}
.scene blockquote {
  padding: 26px 24px;
  border-left: 2px solid var(--gold);
  background: var(--ink-1);
}
.scene p {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ivory);
}
@media (min-width: 768px) {
  .scenes { grid-template-columns: 1fr 1fr; }
  .scene blockquote { height: 100%; padding: 32px; }
}

.bridge {
  margin-top: 40px;
  font-size: var(--fs-lead);
  color: var(--text);
  max-width: 62ch;
}

.moments__title {
  margin-top: clamp(64px, 8vw, 104px);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h3);
  color: var(--text-strong);
}
.moments {
  margin-top: 28px;
  display: grid;
  border-top: 1px solid var(--hairline);
}
.moments li {
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--text);
}
.moments li strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1875rem;
  margin-bottom: 4px;
}
@media (min-width: 768px) {
  .moments { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .moments li { padding: 24px 0; }
}
@media (min-width: 1100px) {
  .moments { grid-template-columns: repeat(3, 1fr); }
}
.moments__note {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

/* ---------- 3. Philosophy ---------- */
.philosophy { background: var(--ink-1); }
.philosophy__grid { display: grid; gap: 48px; }
.philosophy__portrait {
  position: relative;
  max-width: 420px;
}
.philosophy__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.06) brightness(0.88);
}
/* cover-style inset hairline frame */
.philosophy__portrait::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(198, 161, 91, 0.5);
  pointer-events: none;
}

.principles {
  margin-top: 40px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.principles > div {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.principles dt {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  color: var(--gold-light);
}
.principles dd { color: var(--text); }
@media (min-width: 560px) {
  .principles > div { grid-template-columns: 11rem 1fr; gap: 20px; align-items: baseline; }
}

.disclosure {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--hairline);
  background: rgba(11, 12, 14, 0.5);
}
.disclosure h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}
.disclosure p {
  margin-top: 10px;
  font-size: var(--fs-small);
  color: var(--text);
}

@media (min-width: 960px) {
  .philosophy__grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }
  .philosophy__portrait { position: sticky; top: 40px; }
}

/* ---------- 4. Collection ---------- */
.collection { background: var(--ink-0); border-top: 1px solid var(--hairline-neutral); }

.bundle {
  position: relative;
  display: grid;
  gap: 36px;
  padding: 32px 22px 28px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(198, 161, 91, 0.09), rgba(198, 161, 91, 0) 60%),
    var(--ink-1);
  border: 1px solid var(--hairline-strong);
}
.bundle::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}

.bundle__covers {
  position: relative;
  width: min(94%, 400px);
  margin-inline: auto;
  aspect-ratio: 1.12 / 1;
}
.bundle__cover {
  position: absolute;
  width: 64%;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}
.bundle__cover--back { right: 0; top: 0; transform: rotate(3deg); }
.bundle__cover--front { left: 0; top: 10%; transform: rotate(-2deg); }

.bundle__body { position: relative; }
.bundle__tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-light);
}
.bundle__title {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  line-height: 1.12;
  color: var(--ivory);
}
.bundle__subtitle { margin-top: 8px; color: var(--text); }

.bundle__pair {
  margin-top: 24px;
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-block: 1px solid var(--hairline);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--ivory-2);
}
.bundle__pair strong { color: var(--gold-light); font-weight: 500; }

.checklist { margin-top: 22px; display: grid; gap: 10px; }
.checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.price-row {
  margin: 28px 0 20px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.price { display: flex; align-items: baseline; gap: 14px; }
.price__was { color: var(--text-muted); font-size: 1.25rem; }
.price__now {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--ivory);
}
.price__save {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gold-light);
}

@media (min-width: 860px) {
  .bundle {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
    padding: clamp(48px, 5vw, 72px);
  }
  .bundle__covers { width: 100%; max-width: 500px; }
  .btn--block { width: auto; min-width: 280px; }
}

/* Single books */
.books {
  margin-top: 28px;
  display: grid;
  gap: 28px;
}
.book {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 24px 20px 28px;
  background: var(--ink-1);
  border: 1px solid var(--hairline-neutral);
}
.book__head {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 18px;
  align-items: end;
}
.book__cover {
  width: 100%;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
}
.book__label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}
.book__title {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.15;
  color: var(--ivory);
}
.book__subtitle {
  margin-top: 6px;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--text-muted);
}
.book__value { color: var(--ivory-2); }
.checklist--small { margin-top: 0; gap: 8px; }
.checklist--small li { font-size: var(--fs-small); }

.rule {
  padding: 16px 18px;
  background: rgba(198, 161, 91, 0.06);
  border-left: 2px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--ivory);
}
.rule__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-light);
}

.book__buy { padding-top: 4px; }
.book__buy .btn { width: 100%; }
.book__price {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--ivory);
}

@media (min-width: 1024px) {
  .books { grid-template-columns: 1fr 1fr; }
  .book { padding: 36px 36px 40px; }
  .book__head { grid-template-columns: 180px 1fr; gap: 28px; }
}

/* Expandable details (book cards) */
.more {
  border-top: 1px solid var(--hairline-neutral);
}
.more + .more { margin-top: 0 !important; }
.more:last-of-type { border-bottom: 1px solid var(--hairline-neutral); }
.more summary,
.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  color: var(--text-strong);
  font-weight: 500;
}
.more summary::-webkit-details-marker,
.faq__list summary::-webkit-details-marker { display: none; }
.more summary::after,
.faq__list summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 200ms ease;
}
.more[open] summary::after,
.faq__list details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.more summary { font-size: var(--fs-small); }
.more ul { padding: 4px 0 8px 0; display: grid; gap: 8px; }
.more li {
  position: relative;
  padding-left: 20px;
  font-size: var(--fs-small);
  color: var(--text);
}
.more li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}
.more__note {
  padding-bottom: 14px;
  font-size: var(--fs-small);
  color: var(--text);
}

/* ---------- 5. Inside the books (paper) ---------- */
.inside {
  background: var(--paper);
  color: var(--paper-text);
}
.inside .h2 { color: #16181B; }
.inside .lead { color: var(--paper-text); }

.shelf + .shelf { margin-top: clamp(48px, 6vw, 72px); }
.shelf__title {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-border);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.375rem;
  color: #16181B;
}

/* Mobile: one row per book that scrolls sideways; desktop: three across */
ul.pages {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
}
.page { scroll-snap-align: start; }
@media (min-width: 768px) {
  ul.pages {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    max-width: 960px;
  }
}

.page__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--paper-border);
  background: var(--paper-box);
  cursor: zoom-in;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 18px 40px -18px rgba(60, 45, 20, 0.35);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.page__open img { width: 100%; aspect-ratio: 480 / 621; object-fit: cover; }
.page__open:hover { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 24px 48px -16px rgba(60, 45, 20, 0.45); }
.page__open:focus-visible { outline-color: var(--gold-dark); }
.page__caption {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.4;
  color: #16181B;
}
.page__caption span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  color: var(--paper-muted);
}
.inside a { color: var(--gold-dark); }

/* ---------- 6. First win ---------- */
.first-win { background: var(--ink-1); }
.steps {
  margin-top: 40px;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ivory-2);
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--gold);
}
.first-win__close {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ivory);
  max-width: 50ch;
}

/* ---------- 7. Who this is for ---------- */
.fit { background: var(--ink-0); border-top: 1px solid var(--hairline-neutral); }
.fit__grid { display: grid; gap: 48px; }
.fit__col h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.1;
  color: var(--ivory);
}
.fit__col ul { margin-top: 24px; border-top: 1px solid var(--hairline); }
.fit__col li {
  position: relative;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text);
}
.fit__col li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(16px + 0.6em);
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.fit__col--not h3 { color: var(--ivory-3); }
.fit__col--not li::before {
  background: none;
  width: 10px;
  height: 1.5px;
  top: calc(16px + 0.78em);
  transform: none;
  background-color: var(--ivory-3);
}
@media (min-width: 860px) {
  .fit__grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); }
}

/* ---------- 8. FAQ ---------- */
.faq { background: var(--ink-1); }
.faq__list { margin-top: 40px; border-top: 1px solid var(--hairline); }
.faq__list details { border-bottom: 1px solid var(--hairline); }
.faq__list summary {
  padding: 16px 0;
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 500;
  min-height: 60px;
}
.faq__list summary:hover { color: var(--gold-light); }
.faq__list details p {
  padding: 0 32px 22px 0;
  color: var(--text);
}
.pending { color: var(--gold-light); font-style: italic; }

/* ---------- 9. Final CTA ---------- */
.final {
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(198, 161, 91, 0.1), rgba(198, 161, 91, 0) 70%),
    var(--ink-0);
  border-top: 1px solid var(--hairline);
}
.final__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final__diamond { color: var(--gold); font-size: 0.875rem; margin-bottom: 24px; }
.final .lead { margin: 16px auto 36px; }
.final__singles {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.final__singles a { padding: 6px 0; }
.final__singles a[aria-disabled="true"] { color: var(--text-muted); text-decoration: none; }
@media (min-width: 640px) {
  .final__singles { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 calc(48px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline-neutral);
  background: var(--ink-0);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.wordmark--footer { margin-bottom: 20px; }
.disclaimer { max-width: 72ch; line-height: 1.7; }
.footer-nav {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.footer-nav a, .footer-nav span { color: var(--ivory-2); padding: 8px 0; }
.copyright { margin-top: 16px; }

/* ---------- Page preview lightbox ---------- */
.lightbox {
  width: min(92vw, 820px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(11, 12, 14, 0.88); }
.lightbox__img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 56px);
  object-fit: contain;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__close {
  display: block;
  margin: 0 0 12px auto;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  background: var(--ink-1);
  color: var(--ivory);
  font: 600 var(--fs-small) var(--font-sans);
  cursor: pointer;
}
.lightbox__close:hover { border-color: var(--gold); }

/* ---------- Legal pages ---------- */
.legal-header { padding-block: 28px; }
.legal { padding-block: 48px 96px; }
.legal p { margin-top: 20px; max-width: 65ch; }

/* ---------- Mobile buy bar ---------- */
.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 12, 14, 0.94);
  border-top: 1px solid var(--hairline-strong);
  transform: translateY(110%);
  transition: transform 260ms var(--ease-out);
}
@supports (backdrop-filter: blur(8px)) {
  .buybar { background: rgba(11, 12, 14, 0.82); backdrop-filter: blur(10px); }
}
.buybar.is-visible { transform: translateY(0); }
.buybar__text { font-size: var(--fs-small); color: var(--text); }
.buybar__text strong { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; margin-left: 6px; }
@media (min-width: 768px) {
  .buybar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .buybar { transition: none; }
}
