/*
 * BAM Academy public landing page.
 * The token block mirrors public/bam-academy-2/css/bam-design.css (BAM Atelier, docs/design-system.en.md):
 * the landing is served to signed-out visitors where the app stylesheet is auth-gated, so it carries
 * its own copy of the tokens. Keep both in sync; everything below the token block uses tokens only.
 */

/* ---------- Tokens (copy of bam-design.css) ---------- */
:root {
  --bam-serif: "Bodoni 72", Didot, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --bam-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  --bam-gold: #d9b968;
  --bam-gold-hi: #f1dca0;
  --bam-gold-lo: #a9843a;
  --bam-gold-gradient: linear-gradient(180deg, #f3dfa4 0%, #d9b968 46%, #b58f43 100%);
  --bam-gold-gradient-hover: linear-gradient(180deg, #f8e7b6 0%, #e2c47a 46%, #bf9a4c 100%);
  --bam-on-gold: #1b120a;
  --bam-cocoa: #22170f;
  --bam-ivory: #f5ecdd;
  --bam-radius-sm: 10px;
  --bam-radius-md: 14px;
  --bam-radius-lg: 20px;
  --bam-radius-pill: 999px;
  --bam-ease: cubic-bezier(.2, .8, .2, 1);
  --bam-duration: .22s;
  --landing-max: 1180px;
}
:root,
[data-theme="light"] {
  --bg: #f6f1e8;
  --sidebar: #fbf7f0;
  --surface: #fffdf9;
  --surface-subtle: #f3ece0;
  --surface-hover: #efe6d7;
  --text: #22170f;
  --text-muted: #74685a;
  --text-subtle: #a0937f;
  --border: #e9dfcf;
  --border-strong: #dccfba;
  --accent: #93702c;
  --accent-soft: #f4ead6;
  --success: #2f8a5e;
  --warning: #b8740f;
  --danger: #c2483d;
  --shadow-card: 0 1px 2px rgba(60, 40, 15, .04), 0 12px 32px rgba(60, 40, 15, .06);
  --shadow-sm: 0 2px 8px rgba(60, 40, 15, .08);
  --bam-gold-line: color-mix(in srgb, var(--bam-gold-lo) 26%, transparent);
  --bam-medallion: radial-gradient(circle at 35% 28%, #fffaf0, #efe2c6 72%);
  --bam-panel-sheen: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 45%);
}
[data-theme="dark"] {
  --bg: #130e0a;
  --sidebar: #17110c;
  --surface: #1c1510;
  --surface-subtle: #231a14;
  --surface-hover: #2b2119;
  --text: #f5ecdd;
  --text-muted: #bcab93;
  --text-subtle: #8c7d68;
  --border: #33281e;
  --border-strong: #4a3a2a;
  --accent: var(--bam-gold);
  --accent-soft: #2a2216;
  --success: #7fcf9f;
  --warning: #e8ad5c;
  --danger: #ea7d6f;
  --shadow-card: 0 1px 0 rgba(255, 240, 210, .05) inset, 0 22px 50px rgba(0, 0, 0, .32);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, .3);
  --bam-gold-line: color-mix(in srgb, var(--bam-gold) 24%, transparent);
  --bam-medallion: radial-gradient(circle at 35% 28%, #3a2c1d, #17110c 72%);
  --bam-panel-sheen: linear-gradient(180deg, rgba(255, 236, 200, .035), rgba(255, 236, 200, 0) 42%);
  color-scheme: dark;
}
/* Without theme.js (e.g. blocked script) still follow the OS preference. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #130e0a; --surface: #1c1510; --surface-subtle: #231a14; --surface-hover: #2b2119;
    --text: #f5ecdd; --text-muted: #bcab93; --text-subtle: #8c7d68; --border: #33281e; --border-strong: #4a3a2a;
    --accent: var(--bam-gold); --accent-soft: #2a2216; --success: #7fcf9f;
    --shadow-card: 0 1px 0 rgba(255, 240, 210, .05) inset, 0 22px 50px rgba(0, 0, 0, .32);
    --bam-gold-line: color-mix(in srgb, var(--bam-gold) 24%, transparent);
    --bam-medallion: radial-gradient(circle at 35% 28%, #3a2c1d, #17110c 72%);
    --bam-panel-sheen: linear-gradient(180deg, rgba(255, 236, 200, .035), rgba(255, 236, 200, 0) 42%);
  }
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--bam-sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
::selection { background: color-mix(in srgb, var(--bam-gold) 38%, transparent); }
:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 80%, transparent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; border-radius: var(--bam-radius-sm); background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 16px; }
.stars { color: var(--bam-gold); letter-spacing: .06em; }
.muted { color: var(--text-subtle); }
h1, h2, h3 { font-family: var(--bam-serif); font-weight: 400; letter-spacing: -.01em; }

/* ---------- Buttons ---------- */
.button { min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--bam-radius-pill); cursor: pointer; font-size: 14px; font-weight: 700; white-space: nowrap; transition: transform var(--bam-duration) var(--bam-ease), background var(--bam-duration) ease, border-color var(--bam-duration) ease; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 13px; }
.button-large { min-height: 56px; padding: 0 28px; font-size: 15px; }
.button-primary { border-color: color-mix(in srgb, var(--bam-gold-lo) 60%, transparent); background: var(--bam-gold-gradient); color: var(--bam-on-gold); box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 10px 30px color-mix(in srgb, var(--bam-gold) 28%, transparent); }
.button-primary:hover { background: var(--bam-gold-gradient-hover); }
.button-ghost { border-color: var(--border-strong); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text); }
.button-ghost:hover { border-color: var(--bam-gold); }
.round-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); cursor: pointer; font-size: 18px; }
.round-button:hover { border-color: var(--bam-gold); color: var(--accent); }

/* ---------- Header (pill nav) ---------- */
.landing-header { position: fixed; z-index: 100; top: 14px; left: 50%; width: min(calc(100% - 32px), 1240px); min-height: 60px; padding: 8px 10px 8px 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 20px; border: 1px solid transparent; border-radius: var(--bam-radius-pill); transition: background var(--bam-duration) ease, border-color var(--bam-duration) ease; }
.landing-header.is-scrolled { border-color: var(--border); background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--shadow-sm); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-name { font-family: var(--bam-serif); font-size: 20px; }
.brand-name strong { font-weight: 700; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--bam-gold-gradient); color: var(--bam-on-gold); font-size: 19px; }
.desktop-nav { margin: 0 auto; padding: 6px; display: flex; align-items: center; gap: 2px; border: 1px solid var(--border); border-radius: var(--bam-radius-pill); background: color-mix(in srgb, var(--surface) 60%, transparent); font-size: 14px; font-weight: 600; }
.desktop-nav a { padding: 8px 16px; border-radius: var(--bam-radius-pill); color: var(--text-muted); transition: color var(--bam-duration) ease, background var(--bam-duration) ease; }
.desktop-nav a:hover { background: var(--surface-hover); color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--accent); }
.lang-toggle { min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--bam-radius-pill); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.lang-toggle:hover { border-color: var(--bam-gold); color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); cursor: pointer; font-size: 20px; }
.mobile-menu { position: fixed; z-index: 99; top: 84px; left: 16px; right: 16px; padding: 14px; display: grid; gap: 2px; border: 1px solid var(--border); border-radius: var(--bam-radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a:not(.button), .mobile-menu-row > a { min-height: 44px; padding: 10px 12px; display: flex; align-items: center; border-radius: var(--bam-radius-sm); font-weight: 600; }
.mobile-menu-row { margin: 6px 0 10px; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); }

/* ---------- Sections ---------- */
.section { width: min(calc(100% - 40px), var(--landing-max)); margin: 0 auto; padding: 112px 0; }
.eyebrow, .hero-kicker, .badge, .stage-photo figcaption, .phone-kicker, .bake-step { font-family: ui-monospace, "SF Mono", Menlo, monospace; text-transform: uppercase; }
.eyebrow { display: inline-flex; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2, .quiz-intro h2, .final-cta h2 { margin: 14px 0 16px; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
.section-heading p { margin: 0 auto; max-width: 640px; color: var(--text-muted); font-size: 18px; line-height: 1.6; }
.badge { width: max-content; padding: 5px 10px; display: inline-flex; border-radius: var(--bam-radius-pill); font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.badge-free { border: 1px solid color-mix(in srgb, var(--success) 45%, transparent); background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success); }
.badge-pro { background: var(--bam-gold-gradient); color: var(--bam-on-gold); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 20px 0; overflow: hidden; text-align: center; background: radial-gradient(ellipse 60% 40% at 50% 0%, color-mix(in srgb, var(--bam-gold) 14%, transparent), transparent 70%); }
.hero-kicker { margin: 0 0 26px; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; color: var(--text-muted); font-size: 12px; letter-spacing: .12em; }
.hero-kicker strong { color: var(--text); font-weight: 600; }
.hero-kicker .dot { color: var(--text-subtle); }
.hero h1 { max-width: 980px; margin: 0 auto 24px; font-size: clamp(48px, 7.4vw, 104px); line-height: .96; letter-spacing: -.02em; }
.hero h1 em { display: block; color: var(--accent); font-style: italic; }
.hero-lead { max-width: 620px; margin: 0 auto; color: var(--text-muted); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; }
.hero-actions { margin: 34px 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-proof { margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.hero-proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof i { color: var(--accent); font-size: 17px; }
.hero-stage { position: relative; width: min(100%, 1180px); height: 724px; margin: 64px auto 0; }
.stage-photo { position: absolute; width: 230px; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stage-photo img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; border: 1px solid var(--border-strong); border-radius: 28px; box-shadow: var(--shadow-card); }
.stage-photo figcaption { color: var(--text-muted); font-size: 11px; letter-spacing: .2em; }
.stage-photo-left { top: 40px; left: 2%; transform: rotate(-6deg); }
.stage-photo-left-low { top: 330px; left: 16%; width: 190px; transform: rotate(4deg); }
.stage-photo-right { top: 40px; right: 2%; transform: rotate(6deg); }
.stage-photo-right-low { top: 330px; right: 16%; width: 190px; transform: rotate(-4deg); }
.phone { position: absolute; left: 50%; top: 0; width: 330px; height: 680px; padding: 12px; transform: translateX(-50%); border-radius: 54px; background: linear-gradient(145deg, #4a3a2a, #17110c 40%, #2b2119); box-shadow: 0 0 0 1px rgba(255, 236, 200, .12) inset, 0 40px 120px rgba(0, 0, 0, .55), 0 0 120px color-mix(in srgb, var(--bam-gold) 22%, transparent); }
.phone-screen { height: 100%; overflow: hidden; display: flex; flex-direction: column; border-radius: 42px; background: #130e0a; color: #f5ecdd; text-align: left; }
.phone-status { position: relative; z-index: 2; height: 46px; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; }
.phone-island { width: 96px; height: 28px; border-radius: 20px; background: #000; }
.phone-hero-img { position: relative; height: 250px; margin-top: -46px; }
.phone-hero-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.phone-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 14, 10, .2), rgba(19, 14, 10, 0) 40%, #130e0a); }
.phone-chip { position: absolute; z-index: 2; left: 16px; bottom: 14px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(217, 185, 104, .4); border-radius: var(--bam-radius-pill); background: rgba(19, 14, 10, .75); color: #f1dca0; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.phone-body { flex: 1; padding: 6px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.phone-kicker { color: #d9b968; font-size: 10px; letter-spacing: .16em; }
.phone-title { margin: 0 0 4px; font-family: var(--bam-serif); font-size: 26px; line-height: 1.1; }
.phone-msg { max-width: 88%; padding: 10px 12px; font-size: 13px; line-height: 1.45; }
.phone-msg-user { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--bam-gold-gradient); color: #1b120a; }
.phone-msg-bam { display: flex; gap: 8px; border-radius: 16px 16px 16px 4px; background: #231a14; color: #f5ecdd; }
.phone-msg-bam i { color: #d9b968; font-size: 17px; }
.phone-input { margin-top: auto; padding: 11px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid #4a3a2a; border-radius: var(--bam-radius-pill); color: #8c7d68; font-size: 13px; }
.phone-input span { flex: 1; }
.phone-input i { color: #d9b968; font-size: 17px; }

/* ---------- Trust strip ---------- */
.trust-strip { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--landing-max)); margin: 0 auto; padding: 30px 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.trust-strip div { padding: 4px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; border-right: 1px solid var(--border); text-align: center; }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { font-family: var(--bam-serif); font-size: 38px; font-weight: 400; font-variant-numeric: lining-nums tabular-nums; }
.trust-strip span { color: var(--text-muted); font-size: 13px; font-weight: 600; }

/* ---------- Pains ---------- */
.pains { padding-bottom: 40px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain-card { padding: 30px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--border); border-radius: 28px; background: var(--bam-panel-sheen), var(--surface); }
.pain-emoji { font-size: 34px; }
.pain-quote { margin: 0; font-family: var(--bam-serif); font-size: 22px; line-height: 1.3; }
.pain-answer { margin: auto 0 0; padding-top: 16px; display: flex; gap: 8px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.pain-answer i { margin-top: 2px; color: var(--accent); font-size: 18px; }

/* ---------- Bento ---------- */
.feature-stage { padding-top: 96px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento-card { position: relative; min-width: 0; padding: 32px; overflow: hidden; display: flex; flex-direction: column; gap: 16px; grid-column: span 2; border: 1px solid var(--border); border-radius: 32px; background: var(--bam-panel-sheen), var(--surface); }
.bento-wide { grid-column: span 6; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 36px; }
.bento-assistant, .bento-bake, .bento-converter { grid-column: span 2; }
.bento-passport, .bento-clubs { grid-column: span 3; }
.bento-copy { display: flex; flex-direction: column; gap: 14px; }
.bento-card h3 { margin: 0; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.bento-card p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.bento-card > p:last-child { margin-top: auto; }
.lesson-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lesson-strip figure { margin: 0; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--bam-radius-lg); background: var(--bg); }
.lesson-strip img { width: 100%; aspect-ratio: 3 / 4; display: block; object-fit: cover; }
.lesson-strip figcaption { padding: 10px 12px; display: flex; gap: 8px; font-size: 13px; font-weight: 600; }
.lesson-strip figcaption span:first-child { color: var(--accent); font-family: ui-monospace, Menlo, monospace; }
.chat-demo { padding: 16px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--border); border-radius: var(--bam-radius-lg); background: var(--bg); }
.chat-user { align-self: flex-end; max-width: 85%; padding: 10px 13px; border-radius: 16px 16px 4px 16px; background: var(--bam-gold-gradient); color: var(--bam-on-gold); font-size: 13px; }
.chat-bam { max-width: 94%; padding: 11px; display: flex; align-items: flex-start; gap: 8px; border-radius: 16px 16px 16px 4px; background: var(--surface-subtle); font-size: 13px; line-height: 1.5; }
.chat-bam i { color: var(--accent); font-size: 17px; }
.bake-demo { position: relative; overflow: hidden; border-radius: var(--bam-radius-lg); }
.bake-demo img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.bake-panel { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; display: grid; gap: 4px; border: 1px solid rgba(217, 185, 104, .3); border-radius: var(--bam-radius-md); background: rgba(19, 14, 10, .82); color: #f5ecdd; backdrop-filter: blur(8px); }
.bake-step { color: #d9b968; font-size: 10px; letter-spacing: .14em; }
.bake-panel strong { font-size: 14px; }
.bake-timer { display: flex; align-items: center; gap: 10px; }
.bake-timer b { font-family: var(--bam-serif); font-size: 24px; font-weight: 400; font-variant-numeric: tabular-nums; color: #f1dca0; }
.bake-timer span { flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: #33281e; }
.bake-timer i { display: block; width: 62%; height: 100%; background: var(--bam-gold-gradient); }
.converter-demo { padding: 18px; border: 1px solid var(--border); border-radius: var(--bam-radius-lg); background: var(--bg); }
.tins { display: flex; align-items: center; gap: 12px; color: var(--text-subtle); }
.tin { display: grid; place-items: center; align-content: center; border: 2px solid var(--bam-gold-lo); border-radius: 50%; background: var(--accent-soft); color: var(--text); line-height: 1; }
.tin b { font-size: 15px; } .tin small { font-size: 10px; color: var(--text-muted); }
.tin-small { width: 58px; height: 58px; }
.tin-large { width: 76px; height: 76px; border-color: var(--bam-gold); }
.factor { margin-left: auto; padding: 6px 11px; border-radius: var(--bam-radius-pill); background: var(--bam-gold-gradient); color: var(--bam-on-gold); font-size: 14px; font-weight: 700; }
.converter-demo table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.converter-demo th { padding: 7px 0; text-align: left; font-weight: 600; }
.converter-demo td { padding: 7px 0; text-align: right; color: var(--text-subtle); }
.converter-demo td:last-child { color: var(--accent); font-weight: 700; }
.converter-demo tr + tr > * { border-top: 1px solid var(--border); }
.passport-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.passport-demo .ring { width: 86px; height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 4px solid var(--bam-gold); border-radius: 50%; }
.passport-demo .ring strong { font-size: 16px; } .passport-demo .ring small { color: var(--text-muted); font-size: 9px; }
.stamp { width: 44px; height: 44px; display: grid; place-items: center; border: 1px dashed var(--bam-gold-lo); border-radius: 50%; color: var(--accent); font-size: 20px; }
.streak { margin-left: auto; padding: 8px 12px; border-radius: var(--bam-radius-pill); background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.club-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.club-photos img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; border-radius: var(--bam-radius-md); }
.book-pair { display: flex; justify-content: center; gap: 22px; }
.book { width: 170px; height: 230px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; border-radius: 6px 18px 18px 6px; box-shadow: inset 8px 0 0 rgba(0, 0, 0, .18), var(--shadow-card); color: var(--bam-ivory); }
.book small { font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.book strong { font-family: var(--bam-serif); font-size: 22px; font-weight: 400; line-height: 1.1; }
.book-a { background: linear-gradient(160deg, #b58f43, #6b4a1c); transform: rotate(-5deg); }
.book-b { background: linear-gradient(160deg, #4a3a2a, #22170f); transform: rotate(4deg) translateY(16px); }

/* ---------- Courses ---------- */
.course-section { padding-top: 64px; }
.course-heading { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.course-heading > div:first-child { max-width: 660px; }
.course-heading p { margin: 0; }
.course-controls, .interval-switch { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: var(--bam-radius-pill); background: transparent; color: var(--text-muted); cursor: pointer; font-size: 13px; font-weight: 600; }
.chip:hover { border-color: var(--bam-gold); }
.chip.active { border-color: var(--bam-gold-lo); background: var(--bam-gold-gradient); color: var(--bam-on-gold); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card { position: relative; min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 26px; background: var(--surface); transition: transform var(--bam-duration) var(--bam-ease), border-color var(--bam-duration) ease; }
.course-card:hover { transform: translateY(-3px); border-color: var(--bam-gold-line); }
.course-card:focus-within { border-color: var(--bam-gold); }
.course-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-subtle); }
.course-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s var(--bam-ease); }
.course-card:hover .course-image img { transform: scale(1.04); }
.course-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(19, 14, 10, .55)); pointer-events: none; }
.course-play { position: absolute; z-index: 2; left: 14px; bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--bam-gold-gradient); color: var(--bam-on-gold); font-size: 17px; }
.course-duration, .course-level { position: absolute; z-index: 2; padding: 4px 10px; border-radius: var(--bam-radius-pill); font-size: 11px; font-weight: 700; }
.course-duration { right: 12px; bottom: 16px; background: rgba(19, 14, 10, .72); color: var(--bam-ivory); }
.course-level { top: 12px; left: 12px; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--text); }
.course-card-body { padding: 18px 20px 20px; display: flex; flex: 1; flex-direction: column; }
.course-meta { margin-bottom: 8px; color: var(--text-subtle); font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.course-card h3 { margin: 0 0 8px; font-size: 23px; line-height: 1.15; }
.course-card h3 button { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; letter-spacing: inherit; }
.course-card h3 button::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.course-card h3 button:focus-visible { outline: none; }
.course-card p { margin: 0 0 16px; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.course-teacher { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.course-teacher img { width: 32px; height: 32px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--surface-subtle); }
.course-teacher small { display: block; color: var(--text-muted); font-size: 12px; font-weight: 500; }
.center-action { margin-top: 32px; display: flex; justify-content: center; }

/* ---------- Quiz ---------- */
.quiz-section { padding-top: 40px; padding-bottom: 64px; }
.quiz-panel { min-height: 380px; display: grid; grid-template-columns: .7fr 1.3fr; overflow: hidden; border: 1px solid var(--bam-gold-line); border-radius: 32px; background: var(--surface); }
.quiz-intro { padding: 52px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--bam-gold) 18%, transparent), transparent 70%), var(--surface-subtle); }
.quiz-progress { height: 5px; margin-top: 26px; overflow: hidden; border-radius: var(--bam-radius-pill); background: var(--surface-hover); }
.quiz-progress span { display: block; width: 33.33%; height: 100%; border-radius: inherit; background: var(--bam-gold-gradient); transition: width var(--bam-duration) ease; }
.quiz-content { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.quiz-step { color: var(--accent); font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.quiz-content h3 { margin: 10px 0 22px; font-size: 32px; line-height: 1.1; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-options button { min-height: 60px; padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: var(--bam-radius-md); background: var(--bg); cursor: pointer; text-align: left; font-size: 14px; font-weight: 600; transition: border-color var(--bam-duration) ease; }
.quiz-options button:hover { border-color: var(--bam-gold); }
.quiz-result p { margin: 0 0 6px; color: var(--text-muted); line-height: 1.6; }
.quiz-course { margin: 18px 0 22px; padding: 12px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: var(--bam-radius-md); background: var(--bg); }
.quiz-course img { width: 96px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--bam-radius-sm); }
.quiz-course strong { display: block; font-family: var(--bam-serif); font-size: 18px; font-weight: 400; }
.quiz-course small { color: var(--text-muted); font-size: 12px; }
.quiz-restart { margin-left: 14px; padding: 0; border: 0; background: none; color: var(--text-muted); cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Masters carousel ---------- */
.masters-heading { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.masters-heading > div:first-child { max-width: 760px; }
.carousel-controls { display: flex; gap: 8px; }
.masters-row { margin: 0 -20px; padding: 4px 20px 16px; display: grid; grid-auto-columns: 250px; grid-auto-flow: column; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
.masters-row::-webkit-scrollbar { display: none; }
.master-card { scroll-snap-align: start; overflow: hidden; border: 1px solid var(--border); border-radius: 26px; background: var(--surface); }
.master-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-subtle); }
.master-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.master-info { padding: 16px 18px 18px; }
.master-card h3 { margin: 0 0 3px; font-size: 21px; }
.master-card p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.45; }
.master-card .master-courses { margin-top: 10px; color: var(--accent); font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Testimonials ---------- */
.testimonial-section { padding-top: 56px; }
.rating-block { margin: -20px auto 40px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.rating-block > strong { font-family: var(--bam-serif); font-size: 56px; font-weight: 400; line-height: 1; }
.rating-block div { display: flex; flex-direction: column; color: var(--text-muted); font-size: 13px; }
.rating-block .stars { font-size: 18px; }
.testimonial-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.testimonial-grid figure { margin: 0; padding: 26px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--border); border-radius: 26px; background: var(--surface); }
.testimonial-grid blockquote { margin: 0; font-family: var(--bam-serif); font-size: 19px; line-height: 1.4; }
.testimonial-grid figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 13px; }
.testimonial-grid figcaption span { color: var(--text-muted); font-size: 12px; }
.testimonial-grid .testimonial-featured { grid-row: span 3; justify-content: center; border-color: var(--bam-gold-line); background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--bam-gold) 14%, transparent), transparent 60%), var(--surface); }
.testimonial-featured figcaption { margin-top: 28px; }
.testimonial-featured blockquote { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; }
.testimonial-featured blockquote::before { content: "“"; display: block; height: 44px; color: var(--bam-gold); font-size: 80px; line-height: 1; }

/* ---------- Comparison ---------- */
.comparison-section { padding-top: 56px; }
.table-scroll { position: relative; max-width: 980px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--border); border-radius: 26px; background: var(--surface); }
.comparison-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { height: 56px; padding: 0 18px; border-bottom: 1px solid var(--border); text-align: center; }
.comparison-table tbody tr:last-child > * { border-bottom: 0; }
.comparison-table tbody th { text-align: left; font-size: 14px; font-weight: 600; }
.comparison-table thead th { height: 64px; color: var(--text-muted); font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.comparison-table thead th:first-child { text-align: left; }
.comparison-table .academy-column, .comparison-table td:last-child { background: color-mix(in srgb, var(--bam-gold) 8%, transparent); }
.comparison-table .academy-column { color: var(--accent); }
.comparison-table i, .compare-legend i { font-size: 21px; vertical-align: middle; }
.yes { color: var(--success); } .part { color: var(--warning); } .no { color: var(--text-subtle); }
.compare-legend { margin: 18px 0 0; display: flex; justify-content: center; gap: 22px; color: var(--text-muted); font-size: 13px; }

/* ---------- Pricing ---------- */
.interval-switch { margin-top: 26px; justify-content: center; }
.save { margin-left: 4px; font-size: 12px; }
.pricing-grid { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card { position: relative; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 30px; background: var(--surface); }
.price-card h3 { margin: 0; font-size: 30px; }
.price-sub { margin: 6px 0 18px; color: var(--text-muted); font-size: 14px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: var(--bam-serif); font-size: 50px; font-weight: 400; font-variant-numeric: lining-nums tabular-nums; line-height: 1; }
.price span { color: var(--text-muted); font-size: 14px; }
.price-note { min-height: 20px; margin: 8px 0 0; color: var(--accent); font-size: 13px; font-weight: 600; }
.price-card ul { margin: 22px 0 28px; padding: 20px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--border); list-style: none; font-size: 14px; }
.price-card li { position: relative; padding-left: 26px; }
.price-card li::before { content: "\ea5e"; position: absolute; left: 0; top: 1px; color: var(--success); font-family: "tabler-icons"; font-size: 16px; line-height: 1.2; }
.price-card li.is-limit::before { content: "\eb55"; color: var(--text-subtle); }
.price-card .button { margin-top: auto; width: 100%; }
.price-card-featured { border-color: var(--bam-gold); background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--bam-gold) 16%, transparent), transparent 60%), var(--surface); box-shadow: 0 0 60px color-mix(in srgb, var(--bam-gold) 14%, transparent); }
.price-flag { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: var(--bam-radius-pill); background: var(--bam-gold-gradient); color: var(--bam-on-gold); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.assurance { margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; list-style: none; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.assurance li { display: flex; align-items: center; gap: 8px; }
.assurance i { color: var(--accent); font-size: 18px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--border); border-radius: var(--bam-radius-lg); background: var(--surface); }
.faq-list summary { min-height: 68px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--bam-radius-sm); background: var(--surface-hover); color: var(--accent); font-size: 17px; transition: transform var(--bam-duration) ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list p { margin: 0; padding: 0 22px 22px; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.faq-list p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Final CTA ---------- */
.final-cta { width: min(calc(100% - 32px), 1280px); margin-bottom: 24px; padding: 104px 40px; overflow: hidden; border: 1px solid var(--bam-gold-line); border-radius: 36px; background: radial-gradient(ellipse 60% 70% at 50% 0%, color-mix(in srgb, var(--bam-gold) 20%, transparent), transparent 70%), var(--surface); text-align: center; }
.final-cta h2 { max-width: 860px; margin-right: auto; margin-left: auto; }
.final-cta p { margin: 0 0 30px; color: var(--text-muted); font-size: 17px; }
.final-cta small { display: block; margin-top: 18px; color: var(--text-muted); font-size: 13px; }

/* ---------- Footer ---------- */
.landing-footer { width: min(calc(100% - 40px), var(--landing-max)); margin: 0 auto; padding: 48px 0 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; color: var(--text-muted); }
.landing-footer > p { margin: 0; font-family: var(--bam-serif); font-size: 18px; text-align: right; }
.landing-footer nav { grid-column: 1 / -1; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.landing-footer nav a { min-height: 32px; display: inline-flex; align-items: center; }
.landing-footer nav a:hover { color: var(--accent); }
.landing-footer > small { grid-column: 1 / -1; font-size: 12px; }

/* ---------- Sticky CTA ---------- */
.sticky-cta { position: fixed; z-index: 90; left: 50%; bottom: 16px; width: min(calc(100% - 24px), 520px); padding: 10px 10px 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; transform: translateX(-50%); border: 1px solid var(--bam-gold-line); border-radius: var(--bam-radius-pill); background: color-mix(in srgb, var(--surface) 95%, transparent); box-shadow: var(--shadow-card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: sticky-in var(--bam-duration) var(--bam-ease); }
.sticky-cta[hidden] { display: none; }
.sticky-cta span { display: flex; flex-direction: column; font-size: 14px; }
.sticky-cta small { color: var(--text-muted); font-size: 12px; }
@keyframes sticky-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Video modal ---------- */
.video-modal { width: min(calc(100% - 32px), 920px); max-height: calc(100vh - 32px); padding: 0; overflow: auto; border: 1px solid var(--bam-gold-line); border-radius: var(--bam-radius-lg); background: var(--surface); color: var(--text); box-shadow: 0 30px 100px rgba(0, 0, 0, .45); }
.video-modal::backdrop { background: rgba(19, 14, 10, .82); backdrop-filter: blur(6px); }
.modal-close { position: absolute; z-index: 3; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(245, 236, 221, .25); border-radius: 50%; background: rgba(19, 14, 10, .6); color: var(--bam-ivory); cursor: pointer; font-size: 18px; }
.video-frame { aspect-ratio: 16 / 9; background: var(--bam-cocoa); }
.video-frame video { width: 100%; height: 100%; display: block; background: var(--bam-cocoa); }
.video-copy { padding: 26px 30px 30px; }
.video-copy h2 { margin: 8px 0; font-size: 30px; }
.video-copy p { margin: 0 0 20px; color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .desktop-nav, .header-actions { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .stage-photo { width: 170px; }
  .stage-photo-left-low, .stage-photo-right-low { width: 140px; left: 4%; }
  .stage-photo-right-low { right: 4%; left: auto; }
  .trust-strip { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .trust-strip div:nth-child(3) { border-right: 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .bento-assistant, .bento-bake, .bento-converter, .bento-passport, .bento-clubs { grid-column: span 3; }
  .bento-wide { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .course-heading { align-items: flex-start; flex-direction: column; }
  .course-controls { justify-content: flex-start; }
  .quiz-panel { grid-template-columns: 1fr; }
  .quiz-intro, .quiz-content { padding: 36px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-grid .testimonial-featured { grid-row: auto; }
}

@media (max-width: 650px) {
  body { font-size: 14px; }
  .section { width: calc(100% - 32px); padding: 76px 0; }
  .landing-header { top: 8px; width: calc(100% - 16px); }
  .landing-header:not(.is-scrolled) { background: color-mix(in srgb, var(--bg) 70%, transparent); }
  .mobile-menu { top: 76px; left: 8px; right: 8px; }
  .hero { padding: 108px 16px 0; }
  .hero-kicker { font-size: 10px; letter-spacing: .08em; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-stage { height: 620px; margin-top: 44px; }
  .stage-photo { display: none; }
  .phone { width: 290px; height: 590px; border-radius: 48px; }
  .phone-screen { border-radius: 38px; }
  .phone-hero-img { height: 210px; }
  .trust-strip { width: calc(100% - 32px); grid-template-columns: 1fr 1fr; }
  .trust-strip div { padding: 6px 8px; }
  .trust-strip div:first-child { grid-column: 1 / -1; border-right: 0; }
  .trust-strip div:nth-child(2n) { border-right: 1px solid var(--border); }
  .trust-strip div:nth-child(2n+3) { border-right: 0; }
  .trust-strip strong { font-size: 30px; }
  .pain-card, .bento-card, .price-card { padding: 24px; border-radius: 24px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-wide, .bento-assistant, .bento-bake, .bento-converter, .bento-passport, .bento-clubs { grid-column: auto; }
  .lesson-strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lesson-strip figcaption { padding: 8px; font-size: 11px; flex-direction: column; gap: 2px; }
  .book { width: 130px; height: 180px; padding: 14px; }
  .book strong { font-size: 18px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-controls { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .chip { flex: 0 0 auto; white-space: nowrap; }
  .quiz-panel { border-radius: 24px; }
  .quiz-intro, .quiz-content { padding: 26px 20px; }
  .quiz-content h3 { font-size: 26px; }
  .quiz-options { grid-template-columns: 1fr; }
  .masters-heading { align-items: flex-start; flex-direction: column; }
  .carousel-controls { display: none; }
  .masters-row { margin: 0 -16px; padding: 4px 16px 16px; grid-auto-columns: 72%; scroll-padding: 0 16px; }
  .rating-block > strong { font-size: 46px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-list summary { min-height: 60px; padding: 0 16px; font-size: 15px; }
  .faq-list p { padding: 0 16px 18px; }
  .final-cta { width: calc(100% - 16px); padding: 64px 20px; border-radius: 26px; }
  .final-cta .button { width: 100%; white-space: normal; }
  .landing-footer { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .landing-footer > p { text-align: left; }
  .sticky-cta { bottom: 10px; padding-left: 16px; }
  .sticky-cta small { display: none; }
  .video-copy { padding: 22px; }
  .video-copy .button { width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
