/* =========================================================================
   AudioBook Factory -- Design System "Studio"
   Premium, warm, book + audio universe. Mobile-first. ASCII only.
   Palette : warm espresso ink + cream parchment + amber + clay + teal/sage.
   ========================================================================= */

:root {
  --ink: #14100c;          /* warm near-black */
  --ink-2: #1c1712;        /* surface */
  --ink-3: #261f18;        /* elevated surface */
  --line: #342a20;         /* borders / veil */
  --cream: #f4ece0;        /* primary text (parchment) */
  --cream-dim: #b6a892;    /* secondary text */
  --amber: #d6974a;        /* primary accent (gold/amber) */
  --amber-2: #f0c074;      /* light amber */
  --clay: #c16248;         /* clay / terracotta (warm CTA, romance) */
  --clay-2: #e0805f;
  --teal: #5ca896;         /* audio / waveform accent */
  --teal-2: #86d0bd;
  --sage: #9bb07a;         /* soft secondary */
  --halo: rgba(214, 151, 74, .16);

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --r: 16px;
  --r-lg: 26px;
  --shadow: 0 30px 80px -34px rgba(0, 0, 0, .8);
  --shadow-sm: 0 14px 40px -22px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden }
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }
::selection { background: var(--amber); color: var(--ink) }

/* warm ambient backdrop */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(214, 151, 74, .08), transparent 60%),
    radial-gradient(55% 45% at 92% 8%, rgba(92, 168, 150, .07), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(193, 98, 72, .06), transparent 65%);
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Layout helpers ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); position: relative; z-index: 2 }
.section { position: relative; padding-block: clamp(72px, 11vw, 150px); z-index: 2 }
.section.tight { padding-block: clamp(54px, 8vw, 96px) }
.center { text-align: center }
.eyebrow {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; display: inline-block; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 30px; height: 1px; background: var(--amber);
  vertical-align: middle; margin-right: 13px; opacity: .6;
}
.eyebrow.teal { color: var(--teal-2) } .eyebrow.teal::before { background: var(--teal-2) }
.eyebrow.clay { color: var(--clay-2) } .eyebrow.clay::before { background: var(--clay-2) }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em }
h2.title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px }
.lead {
  font-family: var(--serif); font-size: clamp(1.12rem, 2.1vw, 1.45rem); color: var(--cream-dim);
  max-width: 60ch; line-height: 1.6;
}
.section .lead.center { margin-inline: auto }
.muted { color: var(--cream-dim) }
.amber { color: var(--amber) } .teal { color: var(--teal-2) } .clay { color: var(--clay-2) }

/* =========================================================================
   Header / Nav
   ========================================================================= */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut); transition: background .5s var(--ease), padding .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(20, 16, 12, .82); backdrop-filter: blur(14px);
  border-bottom-color: var(--line); padding-block: 12px;
}
.brand {
  font-family: var(--display); font-size: 1.16rem; letter-spacing: .01em; font-weight: 600;
  color: var(--cream); display: flex; align-items: center; gap: 11px;
}
.brand b { color: var(--amber); font-weight: 600 }
.brand .mark { width: 30px; height: 30px; flex: 0 0 auto; filter: drop-shadow(0 0 8px var(--halo)) }
.nav { display: flex; align-items: center; gap: 28px }
.nav a {
  font-size: .82rem; letter-spacing: .04em; color: var(--cream-dim);
  position: relative; transition: color .3s; font-weight: 500;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--amber); transition: width .4s var(--ease);
}
.nav a:hover { color: var(--cream) } .nav a:hover::after { width: 100% }
.nav .btn { margin-left: 4px }
/* nav <a> color has higher specificity than .btn-amber and was washing out the
   button label (cream-dim on amber). Force dark bold text on nav/mobile CTAs. */
.nav a.btn-amber, .mobile-nav a.btn-amber { color: #14100c; font-weight: 700 }
.burger {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px;
  background: transparent; cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 10px; right: 10px; height: 1.6px; background: var(--cream); transition: .3s }
.burger span:nth-child(1) { top: 14px } .burger span:nth-child(2) { top: 19px } .burger span:nth-child(3) { top: 24px }
.burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg) }
.burger.open span:nth-child(2) { opacity: 0 }
.burger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg) }

.mobile-nav {
  position: fixed; inset: 0; z-index: 55; background: rgba(20, 16, 12, .98); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  opacity: 0; visibility: hidden; transition: .5s var(--ease);
}
.mobile-nav.open { opacity: 1; visibility: visible }
.mobile-nav a { font-family: var(--display); font-size: 1.5rem; color: var(--cream) }
.mobile-nav a:hover { color: var(--amber) }
.mobile-nav .btn { margin-top: 12px }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 600;
  font-size: .85rem; letter-spacing: .02em; cursor: pointer; border: none;
  padding: 14px 28px; border-radius: 100px; transition: .4s var(--ease); position: relative;
  white-space: nowrap;
}
.btn-amber { background: linear-gradient(135deg, var(--amber-2), var(--amber)); color: #14100c;
  font-weight: 700; text-shadow: 0 1px 0 rgba(255,255,255,.18);
  box-shadow: 0 12px 40px -14px var(--amber) }
.btn-amber:hover { transform: translateY(-3px); box-shadow: 0 20px 52px -14px var(--amber) }
.btn-clay { background: linear-gradient(135deg, var(--clay-2), var(--clay)); color: #fff;
  box-shadow: 0 12px 40px -14px var(--clay) }
.btn-clay:hover { transform: translateY(-3px); box-shadow: 0 20px 54px -14px var(--clay) }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line) }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-3px) }
.btn .ico { width: 17px; height: 17px }
.btn-lg { padding: 17px 34px; font-size: .9rem }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  overflow: hidden; padding: 140px var(--gut) 90px;
}
.hero-layers { position: absolute; inset: 0; z-index: 0 }
.hero-layer { position: absolute; inset: -8%; will-change: transform }
.hero-glow {
  background: radial-gradient(50% 45% at 70% 25%, rgba(214, 151, 74, .22), transparent 60%),
    radial-gradient(46% 42% at 22% 70%, rgba(92, 168, 150, .16), transparent 60%);
}
#fx-wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9 }
.hero-inner { position: relative; z-index: 4; max-width: 760px }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.02em; line-height: 1.02;
}
.hero h1 .grad {
  background: linear-gradient(105deg, var(--amber-2), var(--amber) 45%, var(--clay) 110%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .sub {
  font-family: var(--serif); font-size: clamp(1.12rem, 2.3vw, 1.55rem); color: var(--cream-dim);
  margin: 24px 0 0; max-width: 56ch; line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; align-items: center }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--cream-dim);
  font-size: .82rem; align-items: center }
.hero-trust b { color: var(--cream); font-weight: 600 }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-dim);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.scroll-cue .line { width: 1px; height: 42px; background: linear-gradient(var(--amber), transparent);
  animation: cue 2.4s var(--ease) infinite }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top } 40% { transform: scaleY(1); transform-origin: top }
  60% { transform: scaleY(1); transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* equalizer bars (decorative audio motif) */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px }
.eq span { width: 3px; height: 100%; border-radius: 3px; background: var(--teal-2);
  transform-origin: bottom; animation: eq 1s var(--ease) infinite alternate }
@keyframes eq { from { transform: scaleY(.18) } to { transform: scaleY(1) } }

/* =========================================================================
   Pipeline / chain diagram (hero + how-it-works)
   ========================================================================= */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px }
.chain-step {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 22px; position: relative; overflow: hidden;
  transition: .5s var(--ease);
}
.chain-step::after {
  content: ""; position: absolute; right: -10px; top: 50%; width: 22px; height: 22px;
  border-top: 2px solid var(--amber); border-right: 2px solid var(--amber); transform: translateY(-50%) rotate(45deg);
  opacity: .55; z-index: 3;
}
.chain-step:last-child::after { display: none }
.chain-step:hover { border-color: rgba(214, 151, 74, .4); transform: translateY(-5px) }
.chain-ico { width: 42px; height: 42px; color: var(--amber); margin-bottom: 16px }
.chain-step .n { font-family: var(--display); font-size: .8rem; color: var(--teal-2); letter-spacing: .1em }
.chain-step h3 { font-size: 1.18rem; margin: 6px 0 8px; color: var(--cream) }
.chain-step p { font-size: .92rem; color: var(--cream-dim) }

/* =========================================================================
   Manifesto (word reveal)
   ========================================================================= */
.manifesto p {
  font-family: var(--display); font-size: clamp(1.55rem, 4.2vw, 3rem); line-height: 1.3;
  font-weight: 500; max-width: 20ch;
}
.manifesto .reveal-word { color: #3a3026; transition: color .25s var(--ease) }
.manifesto .reveal-word.lit { color: var(--cream) }
.manifesto .reveal-word.accent.lit { color: var(--amber) }

/* =========================================================================
   Feature / value cards
   ========================================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px }
.card {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line);
  border-radius: var(--r); padding: 34px 30px; position: relative; overflow: hidden;
  transition: .5s var(--ease); transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at var(--mx, 50%) var(--my, 0%), var(--halo), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { border-color: rgba(214, 151, 74, .4); transform: translateY(-6px) }
.card:hover::before { opacity: 1 }
.card .ico { width: 46px; height: 46px; color: var(--amber); margin-bottom: 20px; position: relative; z-index: 2 }
.card h3 { font-size: 1.3rem; margin-bottom: 11px; color: var(--cream); position: relative; z-index: 2 }
.card p { font-size: .96rem; color: var(--cream-dim); position: relative; z-index: 2 }
.card.t-teal .ico { color: var(--teal-2) }
.card.t-clay .ico { color: var(--clay-2) }
.card .pill {
  display: inline-block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-2); border: 1px solid var(--line); border-radius: 100px; padding: 4px 11px;
  margin-bottom: 16px; position: relative; z-index: 2;
}

/* =========================================================================
   Split feature rows (features / for-authors)
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 70px }
.split.alt .split-media { order: 2 }
.split h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 16px }
.split ul { list-style: none; margin-top: 22px; display: grid; gap: 13px }
.split li { display: flex; gap: 13px; align-items: flex-start; color: var(--cream-dim); font-size: 1rem }
.split li svg { width: 21px; height: 21px; color: var(--teal-2); flex: 0 0 auto; margin-top: 3px }
.split-media {
  border-radius: var(--r-lg); border: 1px solid var(--line); padding: 36px; min-height: 320px;
  background: radial-gradient(120% 90% at 30% 10%, var(--ink-3), var(--ink-2));
  display: flex; flex-direction: column; justify-content: center; gap: 18px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}

/* mock "casting" rows for visual demo */
.cast-row { display: flex; align-items: center; gap: 14px; background: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px }
.cast-dot { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--amber-2), var(--clay)) }
.cast-row.v2 .cast-dot { background: linear-gradient(135deg, var(--teal-2), var(--teal)) }
.cast-row.v3 .cast-dot { background: linear-gradient(135deg, var(--sage), var(--teal)) }
.cast-meta b { display: block; font-family: var(--display); color: var(--cream); font-size: .98rem }
.cast-meta span { font-size: .78rem; color: var(--cream-dim) }
.cast-row .eq { margin-left: auto; height: 18px }

/* lang chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px }
.chip { font-size: .8rem; color: var(--cream-dim); border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 15px; background: var(--ink) }
.chip.on { color: var(--ink); background: linear-gradient(135deg, var(--amber-2), var(--amber)); border-color: transparent; font-weight: 600 }

/* =========================================================================
   Comparison table
   ========================================================================= */
.compare-wrap { margin-top: 54px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg) }
table.compare { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .92rem }
table.compare th, table.compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line) }
table.compare thead th { font-family: var(--display); font-size: .98rem; color: var(--cream); background: var(--ink-3) }
table.compare thead th.us { color: var(--amber) }
table.compare tbody tr:last-child td { border-bottom: none }
table.compare td.feat { color: var(--cream); font-weight: 500 }
table.compare .yes { color: var(--teal-2); font-weight: 700 }
table.compare .no { color: #7a6a58 }
table.compare .partial { color: var(--amber) }
table.compare tbody tr:hover { background: rgba(214, 151, 74, .05) }
table.compare col.col-us, table.compare th.us, table.compare td.us { background: rgba(214, 151, 74, .06) }

/* =========================================================================
   Pricing
   ========================================================================= */
.billing-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px;
  flex-wrap: wrap }
.billing-label { font-size: .9rem; color: var(--cream-dim); font-weight: 500 }
.billing-label.on { color: var(--cream) }
[data-billing-toggle] {
  width: 58px; height: 30px; border-radius: 100px; border: 1px solid var(--line); background: var(--ink-3);
  position: relative; cursor: pointer; padding: 0; transition: .3s;
}
[data-billing-toggle]::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-2), var(--amber)); transition: .3s var(--ease);
}
[data-billing-toggle].annual { background: rgba(92, 168, 150, .25); border-color: var(--teal) }
[data-billing-toggle].annual::after { left: 33px; background: linear-gradient(135deg, var(--teal-2), var(--teal)) }
.save-tag { font-size: .72rem; color: var(--teal-2); border: 1px solid var(--teal); border-radius: 100px;
  padding: 4px 11px; letter-spacing: .04em }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px }
.price-card {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 28px; display: flex; flex-direction: column;
  transition: .5s var(--ease); position: relative;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(214, 151, 74, .4) }
.price-card.featured { border-color: var(--amber); box-shadow: 0 30px 70px -34px var(--amber) }
.price-card.featured::before {
  content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber-2), var(--amber)); color: #2a1c0c; font-size: .68rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px;
}
.price-card h3 { font-size: 1.4rem; color: var(--cream); margin-bottom: 6px }
.price-card .plan-sub { font-size: .88rem; color: var(--cream-dim); margin-bottom: 22px; min-height: 38px }
.price-card .amount { font-family: var(--display); font-size: 2.8rem; color: var(--cream); line-height: 1 }
.price-card .amount sup { font-size: 1.1rem; vertical-align: super; color: var(--cream-dim) }
.price-card .per { font-size: .85rem; color: var(--cream-dim); margin-bottom: 4px }
.price-card .annual-note { font-size: .76rem; color: var(--teal-2); min-height: 18px; margin-bottom: 22px }
.price-card ul { list-style: none; display: grid; gap: 12px; margin: 4px 0 28px; flex: 1 }
.price-card li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--cream-dim) }
.price-card li svg { width: 18px; height: 18px; color: var(--teal-2); flex: 0 0 auto; margin-top: 3px }
.price-card .btn { width: 100% ; justify-content: center }

/* one-off + add-on banners */
.offer-band { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px }
.offer-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px;
  background: radial-gradient(120% 90% at 0% 0%, var(--ink-3), var(--ink-2)); display: flex; flex-direction: column;
}
.offer-card .price-line { font-family: var(--display); font-size: 2rem; color: var(--cream); margin: 8px 0 4px }
.offer-card .price-line small { font-size: .9rem; color: var(--cream-dim); font-family: var(--sans) }

/* =========================================================================
   Genres
   ========================================================================= */
.genre-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px }
.genre-card {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px 26px; transition: .5s var(--ease); position: relative; overflow: hidden;
  transform-style: preserve-3d; display: flex; flex-direction: column; min-height: 220px;
}
.genre-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), transparent);
}
.genre-card.acc-clay::before { background: linear-gradient(90deg, var(--clay-2), transparent) }
.genre-card.acc-teal::before { background: linear-gradient(90deg, var(--teal-2), transparent) }
.genre-card.acc-sage::before { background: linear-gradient(90deg, var(--sage), transparent) }
.genre-card:hover { transform: translateY(-6px); border-color: rgba(214, 151, 74, .4) }
.genre-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px }
.genre-tag { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
  border: 1px solid var(--line); border-radius: 100px; padding: 4px 11px }
.genre-demand { font-size: .76rem; color: var(--cream-dim) }
.genre-card h3 { font-size: 1.34rem; color: var(--cream); margin-bottom: 9px }
.genre-card p { font-size: .92rem; color: var(--cream-dim); flex: 1 }
.genre-foot { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-2); font-size: .76rem;
  font-weight: 600; letter-spacing: .04em; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px }
.genre-foot svg { width: 18px; height: 18px }

/* =========================================================================
   Stats / proof band
   ========================================================================= */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px }
.stat { text-align: center; padding: 22px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--ink-2) }
.stat .num { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--amber); line-height: 1 }
.stat .lbl { font-size: .84rem; color: var(--cream-dim); margin-top: 8px }

/* numbered steps (how-it-works) */
.steps { display: grid; gap: 22px; margin-top: 56px }
.step {
  display: grid; grid-template-columns: 84px 1fr; gap: 28px; align-items: start;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 34px; transition: .4s var(--ease);
}
.step:hover { border-color: rgba(214, 151, 74, .4); transform: translateY(-4px) }
.step .step-n {
  font-family: var(--display); font-size: 2.6rem; color: var(--amber); line-height: 1;
  border-right: 1px solid var(--line); padding-right: 24px; min-height: 60px;
}
.step h3 { font-size: 1.45rem; color: var(--cream); margin-bottom: 10px }
.step p { color: var(--cream-dim); max-width: 60ch }
.step .step-extra { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px }
.step .step-extra .chip { background: var(--ink) }

/* =========================================================================
   Page hero (interior pages)
   ========================================================================= */
.page-hero {
  position: relative; padding-top: clamp(140px, 17vw, 210px); padding-bottom: clamp(36px, 6vw, 72px);
  text-align: center; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 50% 0%, rgba(214, 151, 74, .12), transparent 65%);
}
.page-hero h1 { position: relative; z-index: 2; font-size: clamp(2.3rem, 6.5vw, 4.4rem); letter-spacing: -.02em }
.page-hero .lead { position: relative; z-index: 2; margin: 20px auto 0 }

/* =========================================================================
   FAQ accordion
   ========================================================================= */
.faq-list { max-width: 820px; margin: 50px auto 0; display: grid; gap: 14px }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); overflow: hidden }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: none; cursor: pointer; color: var(--cream);
  font-family: var(--display); font-size: 1.1rem; padding: 22px 26px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.faq-q::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--amber); transition: transform .3s }
.faq-item.open .faq-q::after { transform: rotate(45deg) }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease) }
.faq-item.open .faq-a { max-height: 420px }
.faq-a p { padding: 0 26px 24px; color: var(--cream-dim); font-size: .98rem; max-width: 70ch }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band { position: relative; text-align: center; overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(160deg, var(--ink-2), var(--ink)) }
.cta-band .glow { position: absolute; inset: 0;
  background: radial-gradient(55% 60% at 50% 30%, var(--halo), transparent 70%) }
.cta-band .wrap { position: relative; z-index: 2; max-width: 720px }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 18px }

/* =========================================================================
   Inline waitlist card (waitlist.html)
   ========================================================================= */
.waitlist-card {
  max-width: 560px; margin: 50px auto 0; background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 38px; box-shadow: var(--shadow);
}
[data-waitlist-card].done .wl-form { display: none }
.wl-done { display: none } [data-waitlist-card].done .wl-done { display: block; text-align: center }
.wl-done .ok-mark { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: rgba(92, 168, 150, .15); border: 1px solid var(--teal); color: var(--teal-2);
  display: flex; align-items: center; justify-content: center }
.wl-done .ok-mark svg { width: 30px; height: 30px }

/* form fields */
.field { margin-bottom: 16px }
.field label { display: block; font-size: .8rem; color: var(--cream-dim); margin-bottom: 7px; letter-spacing: .02em }
.field input, .field select {
  width: 100%; background: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--cream); font-size: 1rem; font-family: var(--sans); transition: border-color .3s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--amber) }
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b6a892' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.form-status { font-size: .86rem; margin-top: 12px; min-height: 20px; color: var(--cream-dim) }
.form-status.is-error { color: var(--clay-2) }
.form-status.is-ok { color: var(--teal-2) }
.form-status.is-pending { color: var(--amber) }
.wl-fine { font-size: .78rem; color: var(--cream-dim); margin-top: 14px; text-align: center }

/* =========================================================================
   Waitlist modal (global)
   ========================================================================= */
.modal {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(10, 8, 6, .72); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: .35s var(--ease);
}
.modal.open { opacity: 1; visibility: visible }
.modal-card {
  width: 100%; max-width: 520px; background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 34px; position: relative;
  box-shadow: var(--shadow); transform: translateY(16px) scale(.98); transition: .4s var(--ease);
  max-height: 92vh; overflow-y: auto;
}
.modal.open .modal-card { transform: none }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--ink); color: var(--cream-dim); cursor: pointer; font-size: 1.2rem;
}
.modal-close:hover { color: var(--cream); border-color: var(--amber) }
.modal-card .eyebrow { margin-bottom: 10px }
.modal-card h2 { font-size: 1.7rem; margin-bottom: 8px }
.modal-card .modal-sub { color: var(--cream-dim); font-size: .95rem; margin-bottom: 24px }

/* =========================================================================
   Footer
   ========================================================================= */
.site-foot { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: 66px 34px; position: relative; z-index: 2 }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px }
.foot-grid h5 { font-family: var(--display); font-size: .98rem; color: var(--amber); margin-bottom: 16px }
.foot-grid a { display: block; color: var(--cream-dim); font-size: .92rem; padding: 5px 0; transition: color .3s }
.foot-grid a:hover { color: var(--cream) }
.foot-grid p { color: var(--cream-dim); font-size: .95rem; max-width: 38ch }
.foot-brand .brand { margin-bottom: 16px }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 26px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--cream-dim) }
.foot-bottom a { color: var(--cream-dim) } .foot-bottom a:hover { color: var(--amber) }

/* =========================================================================
   Reveal animations + reduced-motion fallback
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 1s var(--ease), transform 1s var(--ease) }
.reveal.in { opacity: 1; transform: none }
.stagger > * { opacity: 0; transform: translateY(28px) }
.no-js .reveal, .no-js .stagger > * { opacity: 1; transform: none }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .grid-3, .price-grid, .genre-grid, .chain { grid-template-columns: repeat(2, 1fr) }
  .stat-band { grid-template-columns: repeat(2, 1fr) }
  .split, .grid-2, .offer-band { grid-template-columns: 1fr; gap: 36px }
  .split.alt .split-media { order: 0 }
  .foot-grid { grid-template-columns: 1fr 1fr }
  .chain-step::after { display: none }
}
@media (max-width: 680px) {
  .nav { display: none }
  .burger { display: block }
  .grid-3, .price-grid, .genre-grid, .chain, .stat-band { grid-template-columns: 1fr }
  .foot-grid { grid-template-columns: 1fr 1fr }
  .foot-brand { grid-column: 1 / -1 }
  .step { grid-template-columns: 1fr; gap: 14px }
  .step .step-n { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 12px; min-height: 0 }
  .field-2 { grid-template-columns: 1fr }
  .hero { padding-top: 120px }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important }
}

/* =========================================================================
   Generated visuals (hero backdrop + genre vignettes) -- AudioBook Factory
   AI art = backgrounds only, no text. WebP + lazyload, perf-safe.
   ========================================================================= */
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .34; z-index: 0; filter: saturate(1.02);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 96%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,16,12,.30), rgba(20,16,12,.62) 70%, var(--ink));
}
.hero .hero-inner, .hero #fx-wave, .hero .scroll-cue { z-index: 4 }

/* genre vignette art (top of each genre card) */
.genre-card { padding-top: 0 }
.genre-art {
  display: block; width: calc(100% + 52px); height: 168px; margin: 0 -26px 20px;
  object-fit: cover; border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.genre-card .genre-top { padding-inline: 0 }
