/* Forbidden Love — Dominic Francis
   Static site. No build step. */

:root {
  --ink: #0e0b0a;
  --ink-2: #16110f;
  --ink-3: #201916;
  --line: rgba(214, 178, 112, 0.18);
  --gold: #d6b270;
  --gold-soft: #b8975c;
  --ember: #b3202a;
  --ember-bright: #d33a3f;
  --cream: #efe6d8;
  --cream-dim: #c9bdac;
  --muted: #9a8e80;
  --serif: "Cormorant Garamond", "Garamond", "Georgia", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1160px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }
::selection { background: var(--ember); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(14, 11, 10, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.brand svg { width: 22px; height: 22px; flex: none; }
.brand em { font-style: normal; color: var(--ember-bright); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--cream-dim); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.nav-links a:hover { color: var(--gold); }
.nav-links .btn { text-transform: none; letter-spacing: 0; }
.menu-btn { display: none; background: none; border: 0; color: var(--cream); padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 10px 30px -12px rgba(179, 32, 42, .8); }
.btn-primary:hover { background: var(--ember-bright); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e4c488; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(239, 230, 216, .28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 110px 0 70px;
  isolation: isolate; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -40px; z-index: -2;
  background: url("../assets/cover-640.webp") center 30% / cover no-repeat;
  filter: blur(40px) saturate(1.1); opacity: .35; transform: scale(1.1);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 75% 40%, rgba(179, 32, 42, .18), transparent 70%),
    linear-gradient(180deg, rgba(14, 11, 10, .55) 0%, rgba(14, 11, 10, .85) 60%, var(--ink) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.hero h1 {
  font-family: var(--serif); font-weight: 600; line-height: .92; margin: 0;
  font-size: clamp(64px, 10vw, 132px); letter-spacing: -.01em;
}
.hero h1 span { display: block; }
.hero h1 .love { color: var(--ember-bright); font-style: italic; font-weight: 500; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; color: var(--cream); margin: 26px 0 8px; max-width: 30ch; }
.byline { font-size: 14px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 22px 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.age-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 13px; color: var(--muted); }
.age-note b { display: inline-grid; place-items: center; width: 34px; height: 22px; border-radius: 5px; border: 1px solid var(--muted); font-size: 11px; letter-spacing: .04em; color: var(--cream-dim); }

.cover-stage { position: relative; justify-self: center; width: min(100%, 470px); perspective: 1600px; }
.cover {
  position: relative; border-radius: 6px 10px 10px 6px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(214, 178, 112, .15), -8px 0 0 -2px rgba(0,0,0,.35) inset;
  transform: rotateY(-8deg) rotateX(2deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.45), transparent); }
.cover-stage:hover .cover { transform: rotateY(-2deg) rotateX(0deg); }
.cover-glow { position: absolute; inset: 12% -10% -6% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(179, 32, 42, .35), transparent); filter: blur(30px); }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; margin: 0 0 26px; }
.h2 em { color: var(--ember-bright); font-weight: 500; }
.lede { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 27px); line-height: 1.45; color: var(--cream); }
.prose p { margin: 0 0 1.1em; color: var(--cream-dim); max-width: 62ch; }
.prose p:first-child { color: var(--cream); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.about-aside { position: sticky; top: 110px; }
.ornament { display: flex; align-items: center; gap: 14px; color: var(--ember); margin: 30px 0; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: .7; }
.ornament i { width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }

/* quote band */
.quote-band { padding: 100px 0; text-align: center; overflow: hidden; }
.quote-band blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(32px, 5vw, 56px); line-height: 1.15; }
.quote-band blockquote::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--ember); font-style: normal; }
.quote-band cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--sans); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* characters */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 46px; }
.card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px 30px;
}
.card h3 { font-family: var(--serif); font-size: 34px; font-weight: 600; margin: 0 0 4px; }
.card .role { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.card p { margin: 0; color: var(--cream-dim); }
.card .line { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--cream); margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }

/* places */
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 46px; }
.place { background: var(--ink); padding: 30px 26px; }
.place .num { font-family: var(--serif); font-size: 15px; color: var(--ember-bright); font-style: italic; }
.place h4 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 6px 0 8px; }
.place p { margin: 0; font-size: 15px; color: var(--muted); }

/* excerpt teaser */
.excerpt { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.phone {
  background: #120e0d; border: 1px solid var(--line); border-radius: 28px; padding: 26px 20px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); max-width: 420px; justify-self: center; width: 100%;
}
.phone .time { text-align: center; font-size: 12px; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.bubble { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.45; margin: 0 0 10px; }
.bubble.her { background: var(--ink-3); color: var(--cream); border-bottom-left-radius: 6px; }
.bubble.him { background: var(--ember); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.bubble small { display: block; font-size: 11px; opacity: .65; margin-bottom: 2px; letter-spacing: .04em; }

/* buy */
.buy { text-align: center; }
.buy .h2 { margin-bottom: 14px; }
.buy-sub { color: var(--cream-dim); margin: 0 auto 36px; max-width: 52ch; }
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 20px; }
.format { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.format h3 { font-family: var(--serif); font-size: 28px; margin: 0; }
.format p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.format .btn { width: 100%; margin-top: auto; }
.soon { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* author */
.author-grid { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; }
.monogram {
  aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, var(--ink-3), var(--ink)); border: 1px solid var(--line);
  font-family: var(--serif); font-size: 96px; color: var(--gold); font-weight: 500; letter-spacing: -.02em;
}
.monogram span { color: var(--ember-bright); font-style: italic; }
.also { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.also h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.also ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.also li { font-family: var(--serif); font-style: italic; font-size: 21px; }

/* footer */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--cream-dim); }
.foot a:hover { color: var(--gold); }
.fine { margin-top: 24px; font-size: 12.5px; color: #7d7267; max-width: 80ch; }

/* ---------- reading page ---------- */
.reader-top { padding: 130px 0 40px; text-align: center; }
.reader-top .h2 { font-size: clamp(44px, 7vw, 76px); font-style: italic; font-weight: 500; margin-bottom: 8px; }
.reader-top .ch { font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--ember-bright); margin: 0 0 12px; }
.chapter { max-width: 680px; margin: 0 auto; padding: 0 20px 40px; font-family: var(--serif); font-size: 21px; line-height: 1.7; color: #e7ddcf; }
.chapter p { margin: 0; text-indent: 1.4em; }
.chapter p.first, .chapter .pov + p, .chapter .scene + p, .chapter .msg + p { text-indent: 0; }
.chapter .pov { text-align: center; font-family: var(--sans); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin: 10px 0 30px; text-indent: 0; }
.chapter .scene { text-align: center; color: var(--ember); margin: 38px 0; letter-spacing: 1.2em; text-indent: 1.2em; font-family: var(--sans); font-size: 14px; }
.chapter .msg { font-family: var(--sans); font-size: 15.5px; line-height: 1.5; text-indent: 0; max-width: 82%; padding: 10px 14px; border-radius: 16px; margin: 10px 0; }
.chapter .msg b { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; opacity: .7; margin-bottom: 2px; }
.chapter .msg.from-shafieka { background: var(--ink-3); color: var(--cream); border-bottom-left-radius: 5px; }
.chapter .msg.from-dominic { background: #7e1a21; color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }
.chapter .msg + .msg { margin-top: 6px; }
.chapter p.msg + p:not(.msg) { margin-top: 14px; }
.chapter p:not(.msg) + .msg { margin-top: 16px; }
.dropcap::first-letter { float: left; font-size: 4.1em; line-height: .82; padding: .06em .1em 0 0; color: var(--ember-bright); font-weight: 600; }
.chapter-end { text-align: center; padding: 50px 20px 110px; }
.chapter-end p { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--cream); margin: 0 auto 26px; max-width: 30ch; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--ember), var(--gold)); z-index: 60; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.notfound .h2 { font-style: italic; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cover, .cover-stage:hover .cover { transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .excerpt, .author-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-aside { position: static; }
  .places { grid-template-columns: repeat(2, 1fr); }
  .author-grid .monogram { width: 200px; justify-self: center; font-size: 66px; }
  .section { padding: 84px 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14, 11, 10, .97); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    transform: translateY(-120%); transition: transform .35s ease; visibility: hidden;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; border-bottom: 0; }
  .hero { padding-top: 96px; text-align: center; }
  .hero-grid { gap: 36px; }
  .hero .cover-stage { order: -1; width: min(78%, 330px); }
  .tagline { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .cta-row .btn { flex: 1 1 100%; }
  .cover { transform: none; }
  .cards { grid-template-columns: 1fr; }
  .formats { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr; }
  .card { padding: 28px 22px 24px; }
  .chapter { font-size: 19px; }
  .chapter .msg { max-width: 92%; }
  .foot { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   PRICING + CHECKOUT
   ========================================================= */
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.price-card, .checkout {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: 18px; padding: 38px 36px;
}
.badge { display: inline-block; padding: 7px 16px; border-radius: 999px; background: rgba(179, 32, 42, .9); color: #fff; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.price-title { font-family: var(--serif); font-size: clamp(34px, 4vw, 44px); font-weight: 600; margin: 22px 0 4px; line-height: 1.05; }
.price-meta { color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.price .amt { font-family: var(--serif); font-weight: 600; font-size: clamp(64px, 8vw, 88px); line-height: 1; letter-spacing: -.01em; }
.price .cur { color: var(--muted); font-size: 18px; font-weight: 600; letter-spacing: .06em; }
.price-note { color: var(--gold); margin: 6px 0 24px; font-size: 15px; }
.chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 14px; }
.diamonds { list-style: none; padding: 0; margin: 0 0 26px; }
.diamonds li { position: relative; padding-left: 28px; margin: 0 0 12px; color: var(--cream); }
.diamonds li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.sa-note { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--cream-dim); font-size: 15px; }
.sa-note + .sa-note { border-top: 0; padding-top: 10px; }
.sa-note b { color: var(--cream); }
.price-card .age-note { margin-top: 20px; }

.cur-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cur-head h3 { font-family: var(--serif); font-size: 32px; margin: 0; }
.rates-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.rates-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.rates-status.live i { background: #3ecf72; box-shadow: 0 0 0 3px rgba(62, 207, 114, .18); }
.rates-status.down i { background: #d9a23a; }
.field-label { display: block; font-size: 14px; color: var(--cream-dim); margin: 0 0 8px; }
.field {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .35); color: var(--cream); font: inherit; font-size: 16px;
}
.field::placeholder { color: #6f655b; }
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 178, 112, .15); }
.cur-list { list-style: none; margin: 12px 0 18px; padding: 6px; max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .25); }
.cur-list li[data-code] { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 9px; cursor: pointer; border: 1px solid transparent; }
.cur-list li[data-code]:hover, .cur-list li[data-code]:focus { background: rgba(255, 255, 255, .04); outline: none; }
.cur-list li[aria-selected="true"] { border-color: rgba(214, 178, 112, .55); background: rgba(214, 178, 112, .06); }
.c-code { font-weight: 600; letter-spacing: .04em; font-size: 14px; }
.c-name { color: var(--cream); font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-price { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--cream); white-space: nowrap; }
.cur-empty { padding: 16px; color: var(--muted); font-size: 14px; }
.cur-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.cur-cards div { border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; }
.cur-cards span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cur-cards b { font-size: 16px; overflow-wrap: anywhere; }
#pay-form .field { margin-bottom: 14px; }
.btn-pay { width: 100%; min-height: 56px; font-size: 17px; background: linear-gradient(180deg, #f2d898, var(--gold)); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(214, 178, 112, .7); }
.btn-pay:hover { background: linear-gradient(180deg, #f7e2ae, #e1bd7c); color: var(--ink); }
.btn-pay:disabled, .restore button:disabled { opacity: .7; cursor: wait; }
.form-error { margin: -4px 0 12px; color: #ff8a80; font-size: 14px; }
.secure { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--cream-dim); margin: 18px 0 10px; }
.secure svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--gold); }
.est { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.est a { color: var(--cream-dim); text-decoration: underline; }
.restore { border-top: 1px solid var(--line); padding-top: 16px; }
.restore summary { cursor: pointer; color: var(--gold); font-size: 14.5px; }
.restore form { margin-top: 16px; }
.restore .field { margin-bottom: 12px; }
.owned { text-align: center; padding: 30px 0; }
.owned h3 { font-family: var(--serif); font-size: 40px; margin: 18px 0 8px; }
.owned p { color: var(--cream-dim); }
.dl-links { margin: 18px 0 0; font-size: 15px; }
.dl-links a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.dl-links span { color: var(--muted); margin: 0 8px; }
.amazon { margin-top: 56px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-family: var(--serif); font-size: 23px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 12px 0 0; color: var(--cream-dim); max-width: 60ch; }

/* thank-you */
.ty { max-width: 560px; }
.ty-cover { width: 150px; margin: 0 auto 30px; border-radius: 6px; box-shadow: 0 20px 40px -20px #000; }
.ty .h2 { font-size: clamp(36px, 6vw, 52px); }
.ty-sub { color: var(--cream-dim); margin: 0 auto 28px; }
.ty-help { color: var(--muted); font-size: 14px; margin-top: 26px; }
.spinner { width: 34px; height: 34px; margin: 10px auto; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* reader */
.reader-links { display: flex; gap: 22px; }
.reader-links a { color: var(--cream-dim); font-size: 14px; }
.reader-links a:hover { color: var(--gold); }
.reader-cover { text-align: center; padding: 120px 20px 40px; }
.reader-cover img { width: min(60vw, 260px); margin: 0 auto 30px; border-radius: 6px; box-shadow: 0 30px 60px -30px #000; }
.reader-cover .h2 { font-size: clamp(48px, 8vw, 80px); margin: 0; }
.reader-cover .byline { margin: 14px 0 20px; }
.reader-dl a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.reader-dl span { color: var(--muted); margin: 0 8px; }
.dedication { text-align: center; font-family: var(--serif); font-size: 21px; padding: 50px 20px; color: var(--cream); }
.dedication p { margin: 0 auto 18px; max-width: 34ch; }
.dedication .dim { color: var(--cream-dim); font-size: 18px; }
.toc { max-width: 560px; margin: 0 auto; padding: 40px 20px 60px; text-align: center; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a { display: flex; justify-content: center; gap: 14px; padding: 9px 0; color: var(--cream); font-family: var(--serif); font-size: 21px; font-style: italic; border-bottom: 1px solid var(--line); }
.toc li a span { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ember-bright); align-self: center; min-width: 76px; text-align: right; }
.book-chapter { border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.book-chapter .reader-top { padding: 80px 20px 30px; }

@media (max-width: 960px) {
  .buy-grid, .faq { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .price-card, .checkout { padding: 28px 20px; }
  .cur-cards { grid-template-columns: repeat(2, 1fr); }
  .cur-list li[data-code] { grid-template-columns: 46px 1fr auto; gap: 8px; }
  .reader-links { gap: 14px; }
  .reader-links a[href="#contents"] { display: none; }
}
