/* ─────────────────────────────────────────────────────────────────────────────
   BASE.CSS — Apex Standard
   Sections: Reset · Typography · Layout · Buttons · Nav · Cart · Hero ·
             Pillars · Book Cards · Shop · Manifesto · Testimonials ·
             Opt-in · Book Page · About · Legal/Success · Footer ·
             Animations · Responsive
───────────────────────────────────────────────────────────────────────────── */

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text);
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section { padding-block: var(--section-y); }

.section-header {
  margin-bottom: 3.5rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-sub {
  margin-inline: auto;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-border);
}
.btn-outline:hover {
  border-color: var(--gold-border-hover);
  background: var(--gold-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding-inline: 0.5rem;
}
.btn-ghost:hover { color: var(--text); }

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(10,10,9,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease);
}
.nav.scrolled { border-bottom-color: var(--gold-border); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.nav-logo-main {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text);
}
.nav-logo-sub {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  transition: color var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }

.nav-link--cta {
  color: var(--gold);
  border: 1px solid var(--gold-border);
}
.nav-link--cta:hover {
  color: var(--gold-light);
  background: var(--gold-dim);
  border-color: var(--gold);
}

.nav-link--diagnosis {
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
}
.nav-link--diagnosis:hover {
  background: var(--gold-light);
  color: var(--bg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: color var(--ease), background var(--ease);
  border: 1px solid transparent;
}
.nav-cart:hover {
  color: var(--text);
  border-color: var(--gold-border);
  background: var(--gold-dim);
}
.nav-cart svg { width: 18px; height: 18px; }
.nav-cart.bump { animation: cartBump 0.35s ease; }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity var(--ease), transform var(--ease);
}
.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text-muted);
  transition: transform var(--ease), opacity var(--ease), width var(--ease);
  transform-origin: left;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(-1px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(1px); }

/* ── Cart Drawer ─────────────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 910;
  background: rgba(0,0,0,0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-slow);
}
.cart-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 920;
  width: min(420px, 100vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--gold-border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--ease-slow);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gold-border);
}
.cart-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.cart-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  border-radius: var(--radius);
  font-size: 1.25rem;
  transition: color var(--ease);
}
.cart-close:hover { color: var(--text); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 2px; }

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.cart-empty-icon { width: 2rem; height: 2rem; margin-bottom: 0.75rem; opacity: 0.35; display: block; margin-inline: auto; }
.cart-empty-actions { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 1.5rem; }
.cart-empty-btn { justify-content: center; }

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cart-item-cover {
  width: 56px;
  height: 72px;
  border-radius: var(--radius);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.cart-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-info { min-width: 0; }
.cart-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}
.cart-item-price {
  font-size: 0.8125rem;
  color: var(--gold);
  font-weight: 500;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease), color var(--ease);
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-value { font-size: 0.875rem; min-width: 1.25rem; text-align: center; }

.cart-item-remove {
  color: var(--text-faint);
  font-size: 0.875rem;
  padding: 4px;
  transition: color var(--ease);
  line-height: 1;
}
.cart-item-remove:hover { color: #e05555; }

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gold-border);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}
.cart-subtotal-label { color: var(--text-muted); }
.cart-subtotal-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}
.cart-note {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 0.75rem;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-border);
}

.hero-inner {
  padding-top: 9rem;
  padding-bottom: 7rem;
  position: relative;
  max-width: 760px;
}

.hero-eyebrow { margin-bottom: 2rem; }

.hero-title {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.95;
  margin-bottom: 2rem;
  color: var(--text);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-body {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--gold-border);
  margin-block: 0;
}

/* ── Pillars ─────────────────────────────────────────────────────────────── */
.pillars { background: var(--bg-surface); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pillar-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--ease);
}
.pillar-card:hover { background: var(--bg-elevated); }

.pillar-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.18;
  line-height: 1;
}

.pillar-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: -0.5rem;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.pillar-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--ease);
}
.pillar-link:hover { gap: 0.7rem; }

/* ── Book Cards ─────────────────────────────────────────────────────────── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--ease), transform var(--ease);
  position: relative;
}
.book-card:hover {
  border-color: var(--gold-border-hover);
  transform: translateY(-4px);
}

.book-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.book-actions {
  position: relative;
  z-index: 2;
}

.book-cover {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}

.book-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-cover-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.book-cover-pillar {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
}

.book-cover-title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  max-width: 160px;
}

.book-cover-sub {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  max-width: 150px;
}

.book-badge {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
}

.book-body {
  padding: 1.25rem 1.25rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.book-pillar-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.book-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 900;
  line-height: 1.2;
}

.book-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem 1.25rem;
  gap: 0.75rem;
  margin-top: auto;
}

.book-price {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--gold);
}

.book-pages {
  font-size: 0.7rem;
  color: var(--text-faint);
  text-align: right;
  line-height: 1.4;
}

.book-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-add-cart {
  padding: 0.625rem 1rem;
  font-size: 0.7rem;
}

.btn-view-book {
  padding: 0.625rem 1rem;
  font-size: 0.7rem;
}

/* Added-to-cart state */
.btn-add-cart.added {
  background: #1c2e1c;
  color: #4ade80;
  border-color: rgba(74,222,128,0.3);
}

/* ── Shop Page ───────────────────────────────────────────────────────────── */
.shop-hero {
  padding-top: calc(68px + 4rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--gold-border);
}

.shop-hero-inner { max-width: 600px; }

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--gold-border-hover); }
.filter-btn.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.pillar-section { margin-bottom: 5rem; }
.pillar-section:last-child { margin-bottom: 0; }
.pillar-section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold-border);
}
.pillar-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.pillar-count {
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* ── Featured Section ────────────────────────────────────────────────────── */
.featured { background: var(--bg); }

/* ── Manifesto ───────────────────────────────────────────────────────────── */
.manifesto {
  background: var(--bg-surface);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-inner { position: relative; max-width: 820px; margin-inline: auto; }

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.manifesto-text strong {
  font-style: normal;
  color: var(--gold);
}

/* ── Testimonials ────────────────────────────────────────────────────────── */
/* ── Outcomes ────────────────────────────────────────────────────────────── */
.outcomes-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.outcome-card {
  padding: 1.75rem;
  border-left: 1px solid var(--gold-border);
}

.outcome-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.outcome-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.outcome-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Opt-in ──────────────────────────────────────────────────────────────── */
.optin {
  background: var(--bg);
  border-top: 1px solid var(--gold-border);
}

.optin-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.optin-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.optin-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.optin-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.optin-form-wrap { display: flex; flex-direction: column; gap: 1rem; }

.optin-input-row {
  display: flex;
  gap: 0.75rem;
}

.optin-input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  color: var(--text);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--ease);
}
.optin-input::placeholder { color: var(--text-faint); }
.optin-input:focus { border-color: var(--gold); }

.optin-disclaimer {
  font-size: 0.75rem;
  color: var(--text-faint);
  line-height: 1.6;
}

.optin-success {
  display: none;
  padding: 1.5rem;
  background: rgba(74,222,128,0.07);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius-md);
  color: #4ade80;
  font-size: 0.9375rem;
}

/* ── Book Page ───────────────────────────────────────────────────────────── */
.book-hero {
  padding-top: calc(68px + 4rem);
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--gold-border);
}

/* ── Bundle Detail Page ──────────────────────────────────────────────────── */
.bundle-detail-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
}

.bundle-detail-covers {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 0.75rem;
  flex-shrink: 0;
}

.bundle-detail-mini-cover {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.bundle-detail-mini-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bundle-book-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gold-border);
}

.bundle-book-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bundle-book-cover-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.bundle-book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bundle-book-step {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  line-height: 1;
}

.book-hero-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.book-hero-cover {
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: sticky;
  top: calc(68px + 2rem);
  overflow: hidden;
}

.book-hero-cover-content { position: relative; }

.book-hero-pillar {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.book-hero-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.book-hero-sub-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.book-detail-pillar {
  margin-bottom: 0.75rem;
}

.book-detail-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.book-detail-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.book-meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gold-border);
}

.book-meta-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
}

.book-meta-info {
  font-size: 0.8125rem;
  color: var(--text-faint);
  line-height: 1.7;
}

.book-detail-actions {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.book-detail-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.book-features-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}

.book-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.book-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}
.book-features-list li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.book-who-for {
  background: var(--bg-elevated);
  border-left: 2px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2.5rem;
}
.book-who-for-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.book-who-for-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.book-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 640px;
  margin: 4rem auto 0;
  padding-top: 4rem;
  border-top: 1px solid var(--gold-border);
}

/* ── Related Books ───────────────────────────────────────────────────────── */
.related { background: var(--bg-surface); }

/* ── About Page ──────────────────────────────────────────────────────────── */
.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: calc(68px + 4rem);
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(201,168,76,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.about-hero-inner { position: relative; max-width: 800px; }

.about-hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 2rem;
}

.about-hero-body {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 620px;
}

.about-section { padding-block: var(--section-y); }

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-block-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.about-block-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.25rem;
}

.about-block-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.about-block-body p + p { margin-top: 1em; }

/* ── Legal / Success ─────────────────────────────────────────────────────── */
.simple-page {
  padding-top: calc(68px + 4rem);
  padding-bottom: 6rem;
}

.simple-page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gold-border);
  max-width: 700px;
}

.simple-page-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.simple-page-meta { font-size: 0.875rem; color: var(--text-faint); }

.prose {
  max-width: 700px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.85;
}
.prose h2 {
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.prose h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.prose p + p { margin-top: 1em; }
.prose a { color: var(--gold); text-decoration: underline; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-top: 0.625rem; }
.prose ul li + li { margin-top: 0.4rem; }
.prose h2 + ul,
.prose h3 + ul { margin-top: 0.5rem; }

/* Success page */
.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--gold-border);
  padding-block: 4rem 2.5rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand { max-width: 280px; }

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 1rem;
}
.footer-logo-main {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text);
}
.footer-logo-sub {
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-faint);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-email {
  font-size: 0.8125rem;
  color: var(--gold);
  transition: color var(--ease);
}
.footer-email:hover { color: var(--gold-light); }

.footer-col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-faint);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-faint);
  transition: color var(--ease);
}
.footer-legal a:hover { color: var(--text-muted); }

/* ── Scroll Animations ───────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── Keyframes ───────────────────────────────────────────────────────────── */
@keyframes cartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25); }
  70%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-y: 5rem; }

  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .about-block { grid-template-columns: 1fr; gap: 2rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { max-width: 100%; }
}

@media (max-width: 768px) {
  :root { --section-y: 4rem; }

  /* Nav mobile */
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--gold-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    margin-left: 0;
    /* Anchored at top:68px, so translateY(-110%) of its own height leaves the bottom
       links peeking at the top of the screen. Pull it fully clear of the viewport. */
    transform: translateY(calc(-100% - 80px));
    transition: transform var(--ease-slow);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    pointer-events: all;
  }
  .nav-link { padding: 0.75rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .nav-hamburger { display: flex; }
  /* nav-links is now position:fixed (out of flow), so its margin-left:auto no longer
     pushes the cart+hamburger to the right — restore that on the actions themselves. */
  .nav-actions { margin-left: auto; }

  .hero-title { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .pillars-grid { grid-template-columns: 1fr; }

  .books-grid { grid-template-columns: 1fr; }

  .outcomes-grid { grid-template-columns: 1fr; }

  .optin-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .optin-input-row { flex-direction: column; }

  .book-hero-inner { grid-template-columns: 1fr; }
  .book-hero-cover { position: static; aspect-ratio: 16/9; }

  .bundle-detail-hero { grid-template-columns: 1fr; }
  .bundle-detail-covers { grid-template-columns: repeat(3, 90px); justify-content: start; }
  .bundle-book-row { grid-template-columns: 140px 1fr; gap: 1.5rem; }

  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .book-meta-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .book-detail-actions { flex-direction: column; }
}

/* ── System Progression Bar ──────────────────────────────────────────────── */
.system-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.125rem 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  margin-bottom: 4rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.system-bar::-webkit-scrollbar { display: none; }

.system-bar-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 1rem;
  border-right: 1px solid var(--gold-border);
}

.system-steps {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-evenly;
  flex-wrap: nowrap;
}

.system-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.system-step-num {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.55;
}

.system-step-name {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.system-step-arrow {
  color: var(--text-faint);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-inline: 0.25rem;
}

/* ── Book Step Badge ─────────────────────────────────────────────────────── */
.book-step-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(0, 0, 0, 0.6);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1.4;
}

/* ── Shop Books Section ──────────────────────────────────────────────────── */
.shop-books-section { margin-bottom: 6rem; }

/* ── Bundle Section ──────────────────────────────────────────────────────── */
.bundles-section {
  padding-top: 5rem;
  border-top: 1px solid var(--gold-border);
}

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ── Bundle Card — Base ──────────────────────────────────────────────────── */
.bundle-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: border-color var(--ease), transform var(--ease);
}
.bundle-card:hover {
  border-color: var(--gold-border-hover);
  transform: translateY(-3px);
}

.bundle-content { flex: 1; }

/* Small bundle cards: explicit grid rows so pricing/CTA always align */
.bundles-grid .bundle-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}

.bundle-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.bundle-covers {
  display: flex;
  gap: 0.625rem;
}

.bundle-mini-cover {
  width: 54px;
  height: 70px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.bundle-mini-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bundle-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.bundle-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.375rem;
}

.bundle-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.375rem;
}

.bundle-who {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bundle-includes {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.6;
}

.bundle-includes-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}

.bundle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.bundle-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.bundle-original {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.bundle-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.bundle-saving {
  font-size: 0.75rem;
  color: #4ade80;
  font-weight: 600;
}

.bundle-cta { white-space: nowrap; }

.bundle-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Bundle Card — Featured (Attraction Bundle) ───────────────────────────── */
.bundle-card--featured {
  border-color: rgba(201, 168, 76, 0.4);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 168, 76, 0.03) 100%);
  box-shadow: 0 0 48px rgba(201, 168, 76, 0.07);
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}
.bundle-card--featured:hover { transform: translateY(-4px); }

.bundle-card--featured .bundle-badge {
  position: static;
  align-self: flex-start;
}

.bundle-featured-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
}

.bundle-card--featured .bundle-title { font-size: 1.75rem; }

.bundle-card--featured .bundle-includes {
  border-top: none;
  padding-top: 0;
  font-size: 0.875rem;
}

.bundle-card--featured .bundle-footer {
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.bundle-card--featured .bundle-price { font-size: 2.5rem; }

.bundle-covers--featured {
  flex-direction: column;
  gap: 0.75rem;
}
.bundle-covers--featured .bundle-mini-cover {
  width: 88px;
  height: 114px;
}

/* ── Bundle Card — Flagship (Complete System) ────────────────────────────── */
.bundle-card--flagship {
  border-color: var(--gold);
  background: linear-gradient(160deg, #0d0c0a 0%, #131008 60%, #0a0a08 100%);
  box-shadow: 0 0 80px rgba(201, 168, 76, 0.12), 0 0 140px rgba(201, 168, 76, 0.04);
  padding: 2.5rem;
  gap: 2rem;
}
.bundle-card--flagship:hover { transform: translateY(-5px); }

.bundle-flagship-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.bundle-card--flagship .bundle-badge {
  flex-shrink: 0;
  white-space: nowrap;
}

.bundle-card--flagship .bundle-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.bundle-card--flagship .bundle-tagline {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.bundle-covers--flagship {
  gap: 0.75rem;
  padding-block: 0.25rem;
}
.bundle-covers--flagship .bundle-mini-cover {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 96px;
}

.bundle-flagship-progression {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  padding-block: 0.5rem;
}

.bundle-flagship-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.bundle-card--flagship .bundle-original { font-size: 0.875rem; }
.bundle-card--flagship .bundle-price { font-size: 3rem; }
.bundle-card--flagship .bundle-saving { font-size: 0.875rem; }

.bundle-cta--flagship {
  padding: 1.125rem 2.75rem;
  font-size: 0.8rem;
}

/* ── Responsive — Bundles ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bundles-grid { grid-template-columns: repeat(2, 1fr); }
  .bundle-covers--flagship .bundle-mini-cover { height: 80px; }
}

@media (max-width: 768px) {
  .bundles-grid { grid-template-columns: 1fr; }
  .system-bar { gap: 1rem; padding: 1rem 1.25rem; }
  .system-bar-label { display: none; }

  .bundle-featured-layout { grid-template-columns: 1fr; }
  .bundle-covers--featured { flex-direction: row; }
  .bundle-covers--featured .bundle-mini-cover { width: 64px; height: 82px; }

  .bundle-flagship-header { flex-direction: column; gap: 0.75rem; }
  .bundle-card--flagship { padding: 1.75rem; }
  .bundle-flagship-footer { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .bundle-cta--flagship { width: 100%; justify-content: center; }

  .bundle-covers--flagship .bundle-mini-cover { height: 64px; }
}

/* ── Attraction Diagnosis Quiz ───────────────────────────────────────────── */

/* ── Diagnosis page ─────────────────────────────────────────────────────── */
.diagnosis-hero {
  padding-block: 6rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--gold-border);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 70%);
}

.diagnosis-hero-inner {
  max-width: 640px;
  margin-inline: auto;
}

.diagnosis-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text);
  margin-block: 1.5rem;
}

.diagnosis-hero-title em {
  color: var(--gold);
  font-style: italic;
}

.diagnosis-hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.diagnosis-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.diagnosis-meta-dot { color: var(--gold-border-hover); }

/* On the diagnosis page, hide the intro text block and go straight to button */
.diagnosis-quiz-section .quiz-intro-inner {
  display: flex;
  justify-content: center;
  padding-block: 1rem 3rem;
}

.diagnosis-quiz-section .quiz-start-btn {
  font-size: 1rem;
  padding: 1.25rem 3.5rem;
}

/* ── Quiz section (embedded in other pages) ─────────────────────────────── */
.quiz-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
}

.quiz-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(201,168,76,0.045) 0%, transparent 65%);
  pointer-events: none;
}

/* Intro */
.quiz-intro {
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: relative;
}

.quiz-intro--hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.quiz-intro-inner {
  max-width: 600px;
  margin-inline: auto;
}

.quiz-intro-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.quiz-intro-title em {
  font-style: italic;
  color: var(--gold);
}

.quiz-intro-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.quiz-intro-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

.quiz-meta-dot { color: var(--gold-border-hover); }

.quiz-start-btn {
  font-size: 0.875rem;
  padding: 1.125rem 3rem;
  letter-spacing: 0.12em;
}

/* Quiz wrapper */
.quiz-wrapper {
  max-width: 700px;
  margin-inline: auto;
  position: relative;
}

/* Progress bar */
.quiz-progress { margin-bottom: 2rem; }

.quiz-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.quiz-step-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.quiz-pct-label {
  font-size: 0.65rem;
  color: var(--text-faint);
  font-weight: 500;
}

.quiz-bar-track {
  height: 2px;
  background: rgba(201,168,76,0.1);
  border-radius: 1px;
  overflow: hidden;
}

.quiz-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 1px;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Question panel */
.quiz-q-hint {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.625rem;
}

.quiz-q-text {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

/* Options */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.9375rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
  user-select: none;
}

.quiz-option:hover {
  background: var(--bg-elevated);
  border-color: var(--gold-border-hover);
}

.quiz-option.selected {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.5);
}

.quiz-option.locked {
  opacity: 0.38;
  cursor: not-allowed;
}

.quiz-option.locked:hover {
  background: var(--bg-card);
  border-color: var(--gold-border);
}

.quiz-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--bg);
  background: transparent;
  transition: background var(--ease), border-color var(--ease);
}

.quiz-option.selected .quiz-checkbox {
  background: var(--gold);
  border-color: var(--gold);
}

.quiz-option-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color var(--ease);
}

.quiz-option.selected .quiz-option-text {
  color: var(--text);
}

/* Nav row */
.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ── Results ─────────────────────────────────────────────────────────────── */

.quiz-results-header {
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2.5rem 2.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quiz-results-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 80%, rgba(201,168,76,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.quiz-results-eyebrow { margin-bottom: 1.5rem; position: relative; }

.quiz-leak-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.625rem;
  font-family: var(--font-body);
  position: relative;
}

.quiz-leak-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  position: relative;
}

.quiz-results-insight {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  position: relative;
}

.quiz-results-fix {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  position: relative;
}

/* Rec blocks */
.quiz-rec-block { margin-bottom: 1.5rem; }

.quiz-rec-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.quiz-rec-eyebrow--bundle { color: var(--gold); }
.quiz-rec-eyebrow--secondary { color: var(--text-faint); }

/* Primary book card */
.quiz-book-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  align-items: start;
}

.quiz-book-cover {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.quiz-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quiz-book-detail {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.quiz-book-role {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.quiz-book-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
}

.quiz-book-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.quiz-book-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 0.375rem;
}

.quiz-book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
}

.quiz-book-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.quiz-book-btns {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

/* Bundle card */
.quiz-bundle-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 0 48px rgba(201,168,76,0.06);
}

.quiz-bundle-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.quiz-bundle-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.quiz-bundle-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.quiz-bundle-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
  flex-shrink: 0;
}

.quiz-bundle-was {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.quiz-bundle-price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.quiz-bundle-save {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
}

.quiz-bundle-includes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.125rem 1.25rem;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.quiz-bundle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quiz-bundle-check {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.quiz-bundle-book-name {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.quiz-bundle-cta-row {
  display: flex;
  gap: 0.75rem;
}

.quiz-bundle-cta {
  flex: 1;
  justify-content: center;
  padding: 1rem;
  font-size: 0.8rem;
}

.quiz-bundle-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 0.75rem;
}

/* Secondary book */
.quiz-secondary-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.quiz-secondary-cover {
  width: 60px;
  height: 78px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.quiz-secondary-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quiz-secondary-info { flex: 1; min-width: 0; }

.quiz-secondary-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.125rem;
}

.quiz-secondary-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.quiz-secondary-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.quiz-secondary-btn {
  padding: 0.5rem 1.125rem;
  font-size: 0.7rem;
}

/* Retake */
.quiz-retake-row {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 0.5rem;
}

/* Quiz fade-in transition */
.fade-in-quiz {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.fade-in-quiz.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shake on locked option */
@keyframes quizShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.quiz-shake { animation: quizShake 0.3s ease; }

/* ── Quiz Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .quiz-book-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .quiz-book-cover {
    aspect-ratio: auto;
    height: 180px;
    max-width: 140px;
  }

  .quiz-book-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .quiz-bundle-top {
    flex-direction: column;
    gap: 1rem;
  }

  .quiz-bundle-pricing { align-items: flex-start; }

  .quiz-results-header { padding: 1.75rem 1.5rem; }
}

/* ── Checkout Page ───────────────────────────────────────────────────────── */

.co-hero {
  padding-top: calc(68px + 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gold-border);
}

.co-hero-inner { max-width: 540px; }

.co-hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.625rem;
}

.co-hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.co-body { padding-block: 3rem 6rem; }

.co-layout { max-width: 640px; }

/* Option list */
.co-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.co-option {
  display: flex;
  gap: 1.125rem;
  padding: 1.375rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
  user-select: none;
}

.co-option:hover {
  border-color: var(--gold-border-hover);
  background: var(--bg-elevated);
}

.co-option--selected {
  border-color: rgba(201,168,76,0.55);
  background: rgba(201,168,76,0.04);
}

/* Radio */
.co-radio {
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
  transition: border-color var(--ease);
}

.co-option--selected .co-radio { border-color: var(--gold); }

.co-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background var(--ease);
}

.co-option--selected .co-radio-dot { background: var(--gold); }

/* Option body */
.co-option-body { flex: 1; min-width: 0; }

.co-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.625rem;
  border-radius: 20px;
  margin-bottom: 0.875rem;
}

.co-badge--selection {
  background: rgba(255,255,255,0.05);
  color: var(--text-faint);
  border: 1px solid rgba(255,255,255,0.07);
}

.co-badge--upgrade {
  background: rgba(74,222,128,0.1);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.2);
}

.co-badge--best {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

/* Option content layout */
.co-option-content {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
}

/* Single book cover */
.co-single-cover {
  width: 76px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.co-single-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mini covers */
.co-covers-row {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  max-width: 220px;
}

.co-mini-cover--sm {
  width: 32px;
  height: 42px;
  border-radius: var(--radius);
  overflow: hidden;
}

.co-mini-cover--md {
  width: 52px;
  height: 68px;
  border-radius: var(--radius);
  overflow: hidden;
}

.co-mini-cover--sm img,
.co-mini-cover--md img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Option info */
.co-option-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.co-option-role {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.co-option-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.co-option-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.co-option-includes {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.25rem;
}

.co-include-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.co-include-check {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.co-option-book-list { display: flex; flex-direction: column; gap: 0.2rem; }

.co-option-book-name {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Bonus books (upgrade extra) */
.co-bonus-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 0.375rem;
}

.co-bonus-books {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.375rem;
}

.co-bonus-item {
  font-size: 0.8125rem;
  color: #4ade80;
  font-weight: 500;
}

/* Pricing */
.co-option-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.375rem;
  flex-wrap: wrap;
}

.co-option-price {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.co-option-was {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.co-option-save {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
}

/* CTA box */
.co-cta-box {
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.co-cta-summary {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  flex-wrap: wrap;
  justify-content: center;
}

.co-cta-label {
  font-size: 0.75rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.co-cta-item {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.co-cta-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
}

.co-cta-btn {
  width: 100%;
  max-width: 380px;
  justify-content: center;
  padding: 1.0625rem 2rem;
  font-size: 0.8125rem;
}

.co-cta-note {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
}

/* ── Checkout Responsive ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .co-option-content { flex-direction: column; gap: 0.875rem; }
  .co-covers-row { max-width: 100%; }
  .co-option-pricing { gap: 0.375rem; }
}
