/* ============================================================
   MERITOCRACYBOOK.COM — Wireframe Stylesheet v1.0
   Design spec: /meritocracy-lf-addendum.md
   Fonts: load via <link> in each HTML file's <head>
   ============================================================ */

/* ── Color Tokens ──────────────────────────────────────────── */
:root {
  --cream:        #F0EAD8;
  --cream-dark:   #E4DAC4;
  --navy:         #1C1A5C;
  --navy-mid:     #2C2A72;
  --charcoal:     #2C2C2C;
  --muted:        #6B6860;
  --green:        #3DC83A;
  --green-dark:   #2FAF2C;
  --blue:         #4A7EC8;
  --purple:       #7C4EA0;
  --amber:        #D97830;
  --red:          #C43228;
  --white:        #FFFFFF;
  --section-pad:  96px;
  --content-max:  1200px;
  --content-pad:  64px;
  --col-gap:      48px;
  --radius:       6px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

/* ── Layout ────────────────────────────────────────────────── */
.section {
  padding: var(--section-pad) var(--content-pad);
  max-width: var(--content-max);
  margin: 0 auto;
}
.section-outer { width: 100%; }
.bg-cream       { background: var(--cream); }
.bg-cream-light { background: #FDFBF7; }   /* hero section — lighter than header */
.bg-cream-dark  { background: var(--cream-dark); }
.bg-navy        { background: var(--navy); }

/* ── Typography ────────────────────────────────────────────── */
.kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 12px;
}
.kicker.amber { color: var(--amber); }
.kicker.muted { color: var(--muted); }

h1, .h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  color: var(--navy);
}
h2, .h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
}
h3, .h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
.white  { color: var(--white); }
.amber  { color: var(--amber); }
.muted  { color: var(--muted); }
.italic { font-style: italic; }

.body-lg { font-size: 18px; line-height: 1.65; }
.body-sm { font-size: 14px; line-height: 1.6; color: var(--muted); }
.pull-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(16px, 1.8vw, 20px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 180ms ease;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); color: var(--white); text-decoration: none; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(28,26,92,0.12);
  height: 72px;
  display: flex; align-items: center;
  transition: box-shadow 200ms ease;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(28,26,92,0.10); }
.header-inner {
  max-width: var(--content-max); margin: 0 auto;
  padding: 0 var(--content-pad); width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo-text { font-family: 'Barlow Condensed', 'Arial Narrow', Helvetica, sans-serif; font-weight: 900; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; }
.nav a:hover { color: var(--blue); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: var(--col-gap); align-items: center; min-height: 560px;
}
.hero-content { display: flex; flex-direction: column; gap: 18px; }
.hero-hook { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(18px, 2vw, 24px); font-style: italic; font-weight: 700; color: var(--amber); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hero-author { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 500; color: var(--muted); }
.hero-cover-wrap { display: flex; justify-content: center; padding-top: 24px; will-change: transform; }
.hero-cover { max-width: 300px; width: 100%; filter: drop-shadow(20px 28px 36px rgba(28,26,92,0.22)); }

/* ── Core Idea ─────────────────────────────────────────────── */
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px; }
.metric-card {
  background: var(--white); border: 1px solid rgba(28,26,92,0.10);
  border-radius: var(--radius); box-shadow: 0 4px 16px rgba(28,26,92,0.07);
  overflow: hidden; transition: transform 200ms ease, box-shadow 200ms ease;
}
.metric-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(28,26,92,0.13); }
.metric-band { height: 6px; }
.metric-body { padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.metric-label { font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.metric-name { font-family: 'Playfair Display', Georgia, serif; font-size: 34px; font-weight: 700; line-height: 1; }
.metric-arrow { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--muted); font-size: 18px; }
.metric-arrow-line { flex: 1; height: 1px; background: rgba(28,26,92,0.15); }
.finance-name { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.metric-desc { font-size: 13px; color: var(--muted); line-height: 1.5; padding-top: 10px; border-top: 1px solid rgba(28,26,92,0.08); margin-top: 4px; }

/* ── Chapters ──────────────────────────────────────────────── */
.chapters-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 32px; }
.chapter-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(28,26,92,0.09); }
.chapter-num { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 700; color: var(--amber); line-height: 1; padding-top: 3px; }
.chapter-title { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 3px; }
.chapter-summary { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ── Endorsements ──────────────────────────────────────────── */
.endorse-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.endorse-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius); padding: 32px 28px;
  transition: background 200ms ease;
}
.endorse-card:hover { background: rgba(255,255,255,0.11); }
.quote-mark { font-family: 'Playfair Display', Georgia, serif; font-size: 72px; font-weight: 800; color: var(--amber); opacity: 0.35; line-height: 0.8; display: block; margin-bottom: 10px; }
.endorser-name { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: var(--white); margin-top: 18px; }
.endorser-role { font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(255,255,255,0.58); line-height: 1.5; margin-top: 3px; }

/* ── Audience ──────────────────────────────────────────────── */
.audience-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-top: 32px; }
.audience-card {
  background: var(--white); border: 1px solid rgba(28,26,92,0.12);
  border-radius: var(--radius); padding: 22px 18px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.audience-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(28,26,92,0.10); }
.audience-title { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }

/* ── Author Bios ───────────────────────────────────────────── */
.author-row { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; margin-bottom: 52px; }
.author-row:last-of-type { margin-bottom: 0; }
.author-photo { width: 200px; height: 220px; object-fit: cover; object-position: top center; border-radius: var(--radius); border: 1px solid rgba(28,26,92,0.10); }
.author-band { height: 4px; border-radius: 0 0 var(--radius) var(--radius); }
.author-name { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.author-role { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 14px; }
.author-bio { font-size: 16px; line-height: 1.75; max-width: 560px; }

/* ── Work with Aleria ──────────────────────────────────────── */
.aleria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.aleria-card {
  background: var(--white); border: 1px solid rgba(28,26,92,0.12);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.aleria-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(28,26,92,0.10); }

/* ── Registration Form ─────────────────────────────────────── */
.reg-card {
  max-width: 500px; margin: 36px auto 0;
  background: var(--white); border-radius: 8px;
  padding: 44px; box-shadow: 0 8px 32px rgba(28,26,92,0.10);
}
.form-stack { display: flex; flex-direction: column; gap: 11px; }
.form-input {
  border: 1.5px solid rgba(28,26,92,0.22); border-radius: var(--radius);
  padding: 12px 15px; font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px; color: var(--charcoal); width: 100%;
  background: var(--white); transition: border-color 150ms ease, box-shadow 150ms ease; outline: none;
}
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(74,126,200,0.16); }
.btn-full { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ── Companion Sub-nav ─────────────────────────────────────── */
.sub-nav {
  position: sticky; top: 72px; z-index: 90;
  background: var(--navy); height: 44px;
  display: flex; align-items: center;
}
.sub-nav-inner {
  max-width: var(--content-max); margin: 0 auto;
  padding: 0 var(--content-pad); width: 100%;
  display: flex; align-items: center; gap: 26px;
  overflow-x: auto; scrollbar-width: none;
}
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-nav-link {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.65); white-space: nowrap;
  text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.sub-nav-link:hover, .sub-nav-link.active { color: var(--white); border-bottom-color: var(--green); text-decoration: none; }

/* ── Tool Teaser Cards ─────────────────────────────────────── */
.tool-stack { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.tool-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(28,26,92,0.07);
  display: grid; grid-template-columns: 6px 1fr;
  overflow: hidden; transition: transform 200ms ease, box-shadow 200ms ease;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(28,26,92,0.12); }
.tool-band { /* background set inline */ }
.tool-body { padding: 26px 30px; display: flex; flex-direction: column; gap: 9px; }
.tool-body .btn { align-self: flex-start; margin-top: 4px; }
.tool-ask-link { font-family: 'Montserrat', sans-serif; font-size: 12px; color: var(--blue); }
.tool-ask-link:hover { color: var(--navy); text-decoration: underline; }

/* ── Accordion ─────────────────────────────────────────────── */
.accordion { border-top: 1px solid rgba(28,26,92,0.11); margin-top: 28px; }
.accordion-item { border-bottom: 1px solid rgba(28,26,92,0.11); }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; background: none; border: none; cursor: pointer; text-align: left; gap: 16px;
}
.acc-label { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 700; color: var(--navy); }
.acc-chevron { flex-shrink: 0; width: 18px; height: 18px; color: var(--navy); transition: transform 300ms ease; }
.accordion-item.open .acc-chevron { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 320ms ease-out; }
.acc-body-inner { padding: 4px 0 22px; }
.acc-coming-soon { font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--muted); font-style: italic; }

/* ── Bulk Orders / Review / Stay Updated ──────────────────── */
.simple-block {
  max-width: 680px; margin: 0 auto;
  text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 60px var(--content-pad) 28px; }
.footer-grid {
  max-width: var(--content-max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.11);
}
.footer-tagline { font-family: 'Source Serif 4', Georgia, serif; font-size: 14px; font-style: italic; color: rgba(255,255,255,0.50); margin-top: 10px; line-height: 1.5; }
.footer-col-head { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--amber); margin-bottom: 14px; }
.footer-link { display: block; font-family: 'Montserrat', sans-serif; font-size: 13px; color: rgba(255,255,255,0.68); margin-bottom: 7px; text-decoration: none; }
.footer-link:hover { color: var(--white); text-decoration: none; }
.footer-bottom { max-width: var(--content-max); margin: 22px auto 0; display: flex; justify-content: space-between; }
.footer-legal { font-family: 'Montserrat', sans-serif; font-size: 11px; color: rgba(255,255,255,0.38); }

/* ── Chatbot Launcher ──────────────────────────────────────── */
.chatbot-launcher { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chatbot-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white); border: none; border-radius: 999px;
  padding: 11px 18px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; box-shadow: 0 4px 16px rgba(28,26,92,0.28); transition: background 180ms ease, transform 180ms ease;
}
.chatbot-pill:hover { background: var(--navy-mid); transform: translateY(-1px); }
.chatbot-panel {
  width: 350px; max-height: 62vh; background: var(--white);
  border-radius: 12px 12px 4px 4px; box-shadow: 0 8px 32px rgba(28,26,92,0.22);
  display: none; flex-direction: column; overflow: hidden;
}
.chatbot-panel.open { display: flex; }
.chatbot-head { background: var(--navy); padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; }
.chatbot-head-title { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: var(--white); }
.chatbot-close-btn { background: none; border: none; color: rgba(255,255,255,0.60); font-size: 16px; cursor: pointer; line-height: 1; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 14px; background: var(--cream); display: flex; flex-direction: column; gap: 9px; }
.chat-msg { padding: 9px 13px; border-radius: 10px; font-size: 13px; line-height: 1.5; max-width: 85%; }
.chat-msg.bot { background: var(--white); color: var(--charcoal); align-self: flex-start; border: 1px solid rgba(28,26,92,0.10); }
.chat-msg.user { background: var(--navy); color: var(--white); align-self: flex-end; }
.chatbot-input-row { display: flex; gap: 7px; padding: 10px; border-top: 1px solid rgba(28,26,92,0.10); }
.chatbot-input { flex: 1; border: 1.5px solid rgba(28,26,92,0.18); border-radius: var(--radius); padding: 7px 11px; font-family: 'Source Serif 4', Georgia, serif; font-size: 13px; outline: none; }
.chatbot-send { background: var(--green); color: var(--white); border: none; border-radius: var(--radius); padding: 7px 13px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; cursor: pointer; }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 550ms ease, transform 550ms ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 100ms; }
.d2 { transition-delay: 200ms; }
.d3 { transition-delay: 300ms; }

/* ── Utilities ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.max-680 { max-width: 680px; }

/* ── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(28,26,92,0.52); backdrop-filter: blur(2px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--cream); border-radius: 8px;
  padding: 40px 44px; max-width: 520px; width: 100%;
  max-height: 82vh; overflow-y: auto; position: relative;
  box-shadow: 0 16px 48px rgba(28,26,92,0.24);
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 22px;
  color: var(--muted); cursor: pointer; line-height: 1; padding: 4px;
}
.modal-close:hover { color: var(--navy); }
.modal-title { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.modal-body { font-size: 16px; line-height: 1.75; color: var(--charcoal); }

/* ── Audience card interactive ───────────────────────────────── */
.audience-card { cursor: pointer; }
.audience-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.audience-blurb { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 4px; }
.audience-hint { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--blue); margin-top: 10px; }

/* ── Kicker below Core Idea grid ─────────────────────────────── */
.metric-kicker { max-width: 640px; margin: 28px auto 0; text-align: center; font-family: 'Source Serif 4', Georgia, serif; font-size: 16px; font-style: italic; color: var(--muted); line-height: 1.6; }

/* ── Breadcrumb bar (sub-pages) ──────────────────────────────── */
.breadcrumb-bar {
  background: var(--cream-dark);
  border-bottom: 1px solid rgba(28,26,92,0.10);
  height: 38px; display: flex; align-items: center;
}
.breadcrumb-inner {
  max-width: var(--content-max); margin: 0 auto;
  padding: 0 var(--content-pad); width: 100%;
}
.breadcrumb-link {
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600;
  color: var(--navy); text-decoration: none;
}
.breadcrumb-link:hover { color: var(--blue); text-decoration: none; }

/* ── Enablers & Biases Grid ──────────────────────────────────── */
.eb-grid-wrap {
  display: grid;
  grid-template-columns: 140px repeat(4, 1fr);
  gap: 5px;
  margin-top: 32px;
}
.eb-corner { /* top-left empty cell — intentionally blank */ }
.eb-col-header, .eb-row-header {
  background: var(--navy); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.5px;
  text-align: center; padding: 12px 10px;
  border-radius: var(--radius); cursor: pointer;
  transition: background 150ms ease;
  display: flex; align-items: center; justify-content: center;
}
.eb-col-header:hover, .eb-row-header:hover { background: var(--navy-mid); }
.eb-row-header { min-height: 130px; }
.eb-cell {
  background: var(--white); border: 1px solid rgba(28,26,92,0.12);
  border-radius: var(--radius); padding: 14px 12px;
  font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 500;
  color: var(--navy); text-align: center; line-height: 1.4;
  cursor: pointer; min-height: 130px;
  display: flex; align-items: center; justify-content: center;
  transition: background 150ms ease, box-shadow 150ms ease;
}
.eb-cell:hover { background: rgba(28,26,92,0.04); box-shadow: 0 4px 12px rgba(28,26,92,0.10); }
.eb-cell:focus-visible, .eb-col-header:focus-visible, .eb-row-header:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --content-pad: 32px; --section-pad: 64px; }
  .hero-grid { grid-template-columns: 1fr 260px; }
  .chapters-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  :root { --content-pad: 20px; --section-pad: 44px; }
  .site-header { height: 60px; }
  .sub-nav { top: 60px; }
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cover-wrap { order: -1; padding-top: 0; }
  .hero-cover { max-width: 200px; margin: 0 auto; }
  h1, .h1 { font-size: 36px; }
  .hero-hook { font-size: 20px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .metric-grid { grid-template-columns: 1fr; }
  .chapters-grid { grid-template-columns: 1fr; }
  .endorse-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .aleria-grid { grid-template-columns: 1fr; }
  .author-row { grid-template-columns: 1fr; }
  .author-photo { width: 100%; height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .chatbot-panel { width: calc(100vw - 32px); }
  .eb-grid-wrap { grid-template-columns: 90px repeat(4, 1fr); overflow-x: auto; }
  .eb-row-header { min-height: 100px; font-size: 10px; }
  .eb-cell { min-height: 100px; font-size: 11px; }
}
