:root {
  --navy: #11182c;
  --navy-2: #18233d;
  --ink: #11182c;
  --muted: #5a6374;
  --blue: #2f80ed;
  --blue-dark: #1d66c6;
  --blue-pale: #edf5ff;
  --gold: #c2a14d;
  --cream: #f8f7f4;
  --paper: #ffffff;
  --line: #dde2ea;
  --red: #d94a57;
  --red-pale: #fff0f1;
  --amber: #d99114;
  --amber-pale: #fff7e5;
  --green: #218568;
  --green-pale: #eaf8f3;
  --shadow: 0 24px 60px rgba(17, 24, 44, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: Manrope, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue-dark); }

.page-shell { min-height: 100vh; display: flex; flex-direction: column; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(17, 24, 44, 0.12);
}

.brand { display: inline-flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  object-fit: contain;
  box-shadow: 0 5px 16px rgba(17, 24, 44, 0.14);
}

.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-size: 19px; letter-spacing: -0.2px; }
.brand-copy small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.header-pill {
  border: 1px solid rgba(23, 32, 51, 0.16);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

main { flex: 1; }
.view { display: none; }
.view.is-active { display: block; }

.intro-view {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  margin-top: 26px;
  margin-bottom: 36px;
  padding: 64px;
  display: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.8fr);
  gap: 76px;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 78% 14%, rgba(47, 128, 237, 0.18), transparent 27%),
    linear-gradient(rgba(194, 161, 77, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 161, 77, 0.055) 1px, transparent 1px),
    var(--navy);
  background-size: auto, 38px 38px, 38px 38px, auto;
  border: 1px solid rgba(194, 161, 77, 0.28);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(17, 24, 44, 0.18);
  overflow: hidden;
}

.intro-view.is-active { display: grid; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9fc8ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.eyebrow span { width: 26px; height: 2px; background: var(--gold); }
.eyebrow.light { color: #b8cbef; }

.intro-copy h1,
.results-hero h1 {
  margin: 19px 0 22px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 0.99;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.intro-copy h1 em { color: var(--gold); font-weight: 500; }
.lead { margin: 0; max-width: 590px; color: #c4cede; font-size: 18px; line-height: 1.65; }
.intro-actions { margin-top: 34px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.intro-actions p { margin: 0; color: #aab7c9; font-size: 13px; }

.button {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:focus-visible, .text-button:focus-visible, .review-toggle:focus-visible, .question-rail button:focus-visible { outline: 3px solid rgba(39, 100, 231, 0.28); outline-offset: 3px; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 11px 24px rgba(47, 128, 237, 0.25); }
.button-primary:hover:not(:disabled) { background: var(--blue-dark); box-shadow: 0 14px 30px rgba(39, 100, 231, 0.3); }
.button-large { min-height: 57px; padding: 0 25px; }
.button-secondary { color: var(--ink); background: #eef1f5; }
.button:disabled { opacity: 0.42; cursor: not-allowed; box-shadow: none; }

.diagnostic-card {
  background: rgba(24, 35, 61, 0.88);
  color: white;
  border-radius: 16px;
  padding: 29px;
  border: 1px solid rgba(194, 161, 77, 0.28);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
}
.diagnostic-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(194, 161, 77, 0.22); right: -150px; top: -115px; }
.card-topline { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: #a9b8ce; }
.card-topline span:last-child { color: var(--gold); }
.topic-list { margin: 25px 0 22px; border-top: 1px solid rgba(255,255,255,0.12); }
.topic-list > div { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; min-height: 52px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px; }
.topic-number { color: #8797ae; font-size: 10px; }
.topic-dot { width: 7px; height: 7px; border-radius: 50%; }
.topic-dot.blue { background: #4f86ff; box-shadow: 0 0 0 5px rgba(79,134,255,0.12); }
.topic-dot.gold { background: var(--gold); box-shadow: 0 0 0 5px rgba(194,161,77,0.1); }
.result-preview { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 11px; padding: 18px; }
.result-preview > span { color: #8797ae; font-size: 9px; font-weight: 800; letter-spacing: 0.15em; }
.result-preview strong { display: block; margin-top: 13px; font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.mini-bars { display: flex; gap: 5px; margin-top: 10px; }
.mini-bars i { height: 5px; flex: 1; border-radius: 99px; }
.mini-bars .red { background: var(--red); }
.mini-bars .amber { background: var(--amber); }
.mini-bars .green { background: var(--green); }

.trust-row { grid-column: 1 / -1; display: flex; gap: 34px; margin-top: 4px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.14); color: #c0cbda; font-size: 13px; }
.trust-row b { color: var(--blue); margin-right: 6px; }

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: auto auto 0;
  min-height: 72px;
  border-top: 1px solid rgba(23,32,51,0.11);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 11px;
}
.site-footer a { color: inherit; font-weight: 700; text-underline-offset: 3px; }

/* Privacy */
.privacy-back { color: var(--ink); text-decoration: none; }
.privacy-main { width: min(860px, calc(100% - 48px)); margin: 42px auto 72px; }
.privacy-card { padding: clamp(32px, 6vw, 68px); border-radius: 18px; background: var(--paper); box-shadow: 0 18px 48px rgba(11,23,40,0.08); }
.privacy-card .eyebrow { color: var(--blue-dark); }
.privacy-card h1 { margin: 16px 0 6px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(40px, 7vw, 62px); line-height: 1.05; letter-spacing: -0.035em; }
.privacy-updated { margin: 0 0 32px !important; color: var(--muted); font-size: 14px !important; }
.privacy-card h2 { margin: 36px 0 10px; font-family: "Playfair Display", Georgia, serif; font-size: 25px; line-height: 1.2; }
.privacy-card p, .privacy-card li { font-size: 16px; line-height: 1.75; }
.privacy-card p { margin: 0 0 15px; color: #3f4858; }
.privacy-card ul { margin: 8px 0 18px; padding-left: 24px; color: #3f4858; }
.privacy-card li + li { margin-top: 7px; }
.privacy-card a { font-weight: 700; text-underline-offset: 3px; }

/* Quiz */
.quiz-view { width: min(1050px, calc(100% - 48px)); margin: 0 auto; padding: 44px 0 80px; }
.quiz-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.text-button { border: 0; padding: 8px 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 700; }
.text-button.dark { color: var(--ink); }
.progress-copy { display: flex; gap: 18px; color: var(--muted); font-size: 12px; }
.progress-copy strong { color: var(--blue); }
.progress-track { height: 4px; border-radius: 99px; background: #dfe4eb; margin-top: 14px; overflow: hidden; }
.progress-track span { display: block; width: 10%; height: 100%; border-radius: inherit; background: var(--blue); transition: width 260ms ease; }
.question-layout { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 32px; margin-top: 50px; }
.question-rail { padding-top: 4px; }
.question-rail p { margin: 0 0 14px; color: #8c96a7; font-size: 8px; font-weight: 800; letter-spacing: 0.12em; }
.question-rail ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 31px); gap: 8px; }
.question-rail button { width: 31px; height: 31px; border: 1px solid #d7dce4; border-radius: 50%; background: transparent; color: #8a94a5; cursor: pointer; font-size: 10px; font-weight: 700; }
.question-rail button.answered { border-color: rgba(39,100,231,0.3); color: var(--blue); background: var(--blue-pale); }
.question-rail button.adaptive { border-style: dashed; border-color: rgba(194,161,77,0.65); color: #907125; background: #fffaf0; }
.question-rail button.adaptive.answered { border-style: solid; border-color: rgba(194,161,77,0.55); color: #765b19; background: #fff5dc; }
.question-rail button.current { color: white; border-color: var(--blue); background: var(--blue); box-shadow: 0 5px 14px rgba(39,100,231,0.24); }
.question-card { min-height: 510px; background: white; border-radius: 16px; padding: clamp(30px, 5vw, 60px); box-shadow: 0 18px 48px rgba(11,23,40,0.08); }
.question-topic { display: inline-block; padding: 6px 9px; border-radius: 5px; color: var(--blue-dark); background: var(--blue-pale); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; }
.question-level { display: inline-block; margin: 0 0 0 8px; color: #8b95a5; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.question-card h2 { margin: 23px 0 30px; max-width: 730px; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.28; letter-spacing: -0.025em; }
.question-card h2:focus, .results-hero h1:focus { outline: none; }
.math { white-space: nowrap; }
.math sup, .math sub { line-height: 0; }
.answer-area { margin-top: 25px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.choice-option { position: relative; min-height: 64px; padding: 12px 17px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; transition: border 140ms ease, background 140ms ease, transform 140ms ease; }
.choice-option:hover { border-color: #aebee2; transform: translateY(-1px); }
.choice-option:has(input:checked) { border-color: var(--blue); background: var(--blue-pale); box-shadow: 0 0 0 1px var(--blue); }
.choice-option input { position: absolute; opacity: 0; pointer-events: none; }
.choice-key { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 6px; background: #f0f2f5; color: #6e7888; font-size: 11px; font-weight: 800; }
.choice-option:has(input:checked) .choice-key { color: white; background: var(--blue); }
.choice-copy { font-size: 15px; font-weight: 650; }
.text-answer { width: min(100%, 430px); min-height: 64px; display: flex; align-items: center; border: 1.5px solid #cfd6e0; border-radius: 9px; background: white; overflow: hidden; transition: border 140ms ease, box-shadow 140ms ease; }
.text-answer:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(39,100,231,0.11); }
.text-answer span { padding: 0 0 0 18px; color: #657085; font-size: 19px; font-weight: 700; }
.text-answer span:last-child { padding: 0 18px 0 0; }
.text-answer input { width: 100%; min-width: 0; min-height: 62px; padding: 0 18px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 20px; font-weight: 650; }
.text-answer input::placeholder { color: #a1a9b5; font-weight: 450; }
.answer-tools { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.fraction-key { min-height: 44px; padding: 0 15px; border: 1px solid #cfd8eb; border-radius: 9px; display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); background: var(--blue-pale); cursor: pointer; font-size: 14px; font-weight: 750; }
.fraction-key:hover { border-color: var(--blue); }
.fraction-key:focus-visible { outline: 3px solid rgba(39, 100, 231, 0.28); outline-offset: 3px; }
.fraction-key span { font-size: 22px; line-height: 1; }
.answer-hint { min-height: 20px; margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.question-actions { margin-top: 46px; padding-top: 22px; border-top: 1px solid #ebedf1; display: flex; justify-content: space-between; }
.question-diagram { width: min(100%, 390px); margin: -8px 0 22px; }
.question-diagram figcaption { margin-top: 1px; color: #8b95a5; font-size: 11px; font-style: italic; text-align: center; }
.math-diagram { display: block; width: 100%; height: auto; max-height: 225px; overflow: visible; }
.diagram-fill { fill: rgba(39, 100, 231, 0.055); }
.diagram-fill-gold { fill: rgba(212, 170, 84, 0.13); }
.diagram-line { fill: none; stroke: var(--navy); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.diagram-detail { fill: none; stroke: var(--navy); stroke-width: 2; }
.diagram-angle { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.diagram-label, .diagram-emphasis { fill: var(--ink); font-family: Manrope, ui-sans-serif, sans-serif; font-size: 16px; font-weight: 700; }
.diagram-emphasis { fill: var(--blue-dark); font-size: 22px; }
.frequency-table { border-collapse: collapse; margin: -6px 0 24px; font-size: 14px; }
.frequency-table th, .frequency-table td { min-width: 64px; padding: 10px 14px; text-align: center; border: 1px solid #d8dde5; }
.frequency-table th { background: var(--navy); color: white; font-weight: 650; }
.frequency-table td { background: #f8f9fb; font-weight: 650; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Results */
.results-view { background: #f7f7f8; }
.results-hero { background: var(--navy); color: white; padding: 68px max(24px, calc((100vw - 1040px) / 2)); display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 60px; align-items: center; }
.results-kicker { margin: 28px 0 0; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 0.16em; }
.results-hero h1 { max-width: 710px; margin: 12px 0 16px; font-size: clamp(36px, 5vw, 59px); }
.results-hero > div > p:not(.results-kicker) { max-width: 690px; margin: 0; color: #bac5d5; line-height: 1.65; font-size: 15px; }
.results-actions { display: flex; gap: 10px; margin-top: 27px; }
.results-actions[hidden] { display: none; }
.button-light { background: white; color: var(--navy); }
.button-ghost-light { color: white; border: 1px solid rgba(255,255,255,0.24); background: transparent; }
.score-ring { width: 210px; height: 210px; border-radius: 50%; border: 1px solid rgba(212,170,84,0.48); outline: 12px solid rgba(255,255,255,0.035); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04); }
.score-ring span { display: flex; align-items: baseline; }
.score-ring strong { font-family: Georgia, serif; font-size: 76px; line-height: 0.9; }
.score-ring small { color: var(--gold); font-size: 21px; font-weight: 700; }
.score-ring p { margin: 12px 0 0; color: #91a0b5; font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em; }
.score-ring .completion-detail { width: 150px; margin-top: 9px; color: #c7d0dc; font-size: 10px; font-style: normal; line-height: 1.35; text-align: center; }
.results-content { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 62px 0 80px; }
.results-content.is-locked { display: none; }
.core-score-card { margin: -18px 0 28px; padding: 18px 24px; border-radius: 12px; background: var(--navy); color: white; }
.core-score-card p { margin: 0; color: #dce3ed; font-size: 14px; line-height: 1.55; }
.result-email-confirmation { margin: -18px 0 44px; padding: 17px 20px; border: 1px solid rgba(33,133,104,0.25); border-radius: 11px; display: flex; align-items: center; gap: 14px; color: #195e4b; background: var(--green-pale); }
.result-email-confirmation[hidden] { display: none; }
.email-confirmation-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 800; }
.result-email-confirmation strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 17px; }
.result-email-confirmation p { margin: 3px 0 0; color: #397463; font-size: 12px; line-height: 1.45; }
.result-email-confirmation p span { font-weight: 700; overflow-wrap: anywhere; }
.lead-gate { width: min(1040px, calc(100% - 48px)); margin: 54px auto 70px; padding: 42px; border-radius: 14px; background: white; box-shadow: 0 16px 44px rgba(11,23,40,0.08); display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr); gap: 58px; align-items: center; }
.lead-gate[hidden] { display: none; }
.lead-gate-copy h2 { margin: 11px 0 13px; font-family: "Playfair Display", Georgia, serif; font-size: 32px; line-height: 1.12; letter-spacing: -0.025em; }
.lead-gate-copy > p { margin: 0; max-width: 540px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.gate-benefits { margin-top: 24px; display: grid; gap: 10px; color: #4d586c; font-size: 12px; }
.gate-benefits b { display: inline-grid; width: 19px; height: 19px; margin-right: 8px; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-pale); font-size: 10px; }
.lead-form { padding: 25px; border-radius: 11px; background: #f7f8fa; display: grid; gap: 14px; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead-form > label:not(.consent-row) { display: grid; gap: 7px; }
.lead-form > label > span:first-child { color: #4f596a; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.lead-form input[type="text"], .lead-form input[type="email"] { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #cfd6e0; border-radius: 7px; outline: 0; color: var(--ink); background: white; }
.lead-form input[type="text"]:focus, .lead-form input[type="email"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39,100,231,0.1); }
.consent-row { display: grid; grid-template-columns: 17px 1fr; gap: 9px; align-items: start; cursor: pointer; }
.consent-row input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue); }
.lead-form .consent-row span { color: var(--muted); font-size: 10px; font-weight: 450; text-transform: none; letter-spacing: 0; line-height: 1.45; }
.required-row { padding-bottom: 12px; border-bottom: 1px solid #dde2e9; }
.lead-form .button { width: 100%; margin-top: 2px; }
.lead-error { min-height: 0; margin: -3px 0 0; color: var(--red); font-size: 10px; line-height: 1.4; text-align: center; }
.lead-form > small { color: #8b95a5; font-size: 9px; text-align: center; line-height: 1.4; }
.results-section { margin-bottom: 58px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading > div:first-child { display: flex; gap: 13px; align-items: baseline; }
.section-number { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; }
.section-heading h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 28px; letter-spacing: -0.02em; }
.rag-key { display: flex; gap: 16px; color: var(--muted); font-size: 10px; }
.rag-key span { display: flex; align-items: center; gap: 6px; }
.rag-dot { width: 7px; height: 7px; border-radius: 50%; }
.rag-dot.red { background: var(--red); }.rag-dot.amber { background: var(--amber); }.rag-dot.green { background: var(--green); }
.topic-results { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.topic-result { min-height: 153px; padding: 18px; background: white; border-radius: 10px; border-top: 3px solid; box-shadow: 0 8px 20px rgba(11,23,40,0.045); display: flex; flex-direction: column; }
.topic-result.red { border-color: var(--red); }.topic-result.amber { border-color: var(--amber); }.topic-result.green { border-color: var(--green); }
.topic-status { display: flex; gap: 7px; align-items: center; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.topic-status i { width: 7px; height: 7px; border-radius: 50%; }
.red .topic-status { color: var(--red); }.red .topic-status i { background: var(--red); }
.amber .topic-status { color: var(--amber); }.amber .topic-status i { background: var(--amber); }
.green .topic-status { color: var(--green); }.green .topic-status i { background: var(--green); }
.topic-result-copy { margin-top: 15px; }
.topic-result h3 { margin: 0; min-height: 36px; font-family: "Playfair Display", Georgia, serif; font-size: 15px; line-height: 1.15; }
.topic-result-copy p { margin: 6px 0 0; color: var(--muted); font-size: 9px; }
.topic-insight { display: block; margin-top: 9px; color: #687386; font-size: 9px; line-height: 1.35; }
.topic-score { margin-top: auto; display: flex; align-items: baseline; justify-content: flex-end; }
.topic-score strong { font-family: "Playfair Display", Georgia, serif; font-size: 27px; }.topic-score span { color: #8e98a7; font-size: 11px; }
.priority-list { background: white; border-radius: 11px; overflow: hidden; box-shadow: 0 8px 22px rgba(11,23,40,0.045); }
.priority-item { min-height: 120px; padding: 24px 28px; display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; border-bottom: 1px solid #e8ebef; }
.priority-item:last-child { border-bottom: 0; }
.priority-rank { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 800; }
.priority-item.red .priority-rank { color: var(--red); background: var(--red-pale); }
.priority-item.amber .priority-rank { color: var(--amber); background: var(--amber-pale); }
.priority-item.green .priority-rank { color: var(--green); background: var(--green-pale); }
.priority-item p { margin: 1px 0 7px; color: var(--muted); font-size: 9px; text-transform: uppercase; font-weight: 800; letter-spacing: 0.09em; }
.priority-item h3 { margin: 0; font-size: 15px; line-height: 1.4; }
.priority-item div > span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.review-section { background: white; border-radius: 11px; box-shadow: 0 8px 22px rgba(11,23,40,0.045); overflow: hidden; }
.review-toggle { width: 100%; min-height: 76px; border: 0; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; background: white; cursor: pointer; color: var(--ink); }
.review-toggle > span:first-child { display: flex; align-items: center; gap: 14px; }
.review-toggle strong { font-family: "Playfair Display", Georgia, serif; font-size: 21px; }
#review-chevron { color: var(--blue); font-size: 22px; }
.review-list { border-top: 1px solid #e8ebef; }
.review-item { padding: 27px; border-bottom: 1px solid #e8ebef; }
.review-item:last-child { border-bottom: 0; }
.review-item-top { display: flex; gap: 15px; align-items: flex-start; }
.review-badge { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-weight: 900; }
.correct .review-badge { color: var(--green); background: var(--green-pale); }.incorrect .review-badge { color: var(--red); background: var(--red-pale); }
.review-item-top p { margin: 0 0 5px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.review-item h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 16px; font-weight: 600; }
.review-question-support { margin-top: 16px; }
.review-question-support .question-diagram { margin: 0; }
.review-question-support .frequency-table { margin: 0; }
.review-detail { margin: 17px 0 0 42px; padding: 16px; background: #f7f8fa; border-radius: 7px; display: grid; gap: 5px; }
.review-detail p { margin: 0; color: var(--muted); font-size: 12px; }.review-detail strong { color: var(--ink); }
.review-detail .explanation { margin-top: 8px; color: var(--ink); line-height: 1.5; }
.cohort-card { margin-top: 70px; padding: 46px; border-radius: 14px; background: var(--navy); color: white; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 54px; align-items: center; position: relative; overflow: hidden; }
.cohort-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -150px; bottom: -190px; border: 1px solid rgba(212,170,84,0.18); border-radius: 50%; }
.cohort-tag { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: 0.14em; }
.cohort-copy h2 { margin: 12px 0 14px; max-width: 560px; font-family: "Playfair Display", Georgia, serif; font-size: 31px; line-height: 1.1; }
.cohort-copy > p { margin: 0; max-width: 610px; color: #aebbcf; font-size: 13px; line-height: 1.6; }
.cohort-features { margin-top: 21px; display: flex; flex-wrap: wrap; gap: 11px; }
.cohort-features span { color: #d7deea; font-size: 10px; }
.cohort-features span::before { content: "✓"; color: var(--gold); margin-right: 6px; }
.cohort-action { position: relative; z-index: 1; }
.cohort-action p { margin: 0 0 9px; color: #8998ae; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.button-gold { width: 100%; color: var(--navy); background: var(--gold); }
.button-gold:hover { background: #e3bb69; }
.cohort-action small { display: block; margin-top: 10px; color: #8796ab; font-size: 9px; text-align: center; }
.teaching-cycle { margin-top: 20px; color: #f3e3b9; font-size: 12px; font-weight: 700; line-height: 1.7; }
.teaching-cycle span { color: var(--gold); padding: 0 4px; }
.founding-price { margin: 2px 0 4px; white-space: nowrap; }
.founding-price del { color: #9daab9; font-size: 20px; margin-right: 8px; }
.founding-price strong { color: white; font-family: "Playfair Display", Georgia, serif; font-size: 34px; }
.founding-price-note { color: #aebbcf; font-size: 10px; margin-bottom: 20px; }
.cohort-action .founding-limit { color: var(--gold); font-size: 11px; letter-spacing: 0; text-transform: none; margin-bottom: 9px; }
.cohort-action .founding-explanation { color: #c3ccda; font-size: 11px; line-height: 1.55; letter-spacing: 0; text-transform: none; font-weight: 400; margin-bottom: 20px; }
.free-content { margin-top: 36px; padding: 26px 30px; border: 1px solid #e2e6eb; border-radius: 12px; background: white; }
.free-content h2 { margin: 8px 0; font-family: "Playfair Display", Georgia, serif; font-size: 23px; }
.free-content p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.free-content .button { display: inline-flex; width: auto; }
.free-content-links { display: inline-flex; flex-wrap: wrap; gap: 16px; margin-left: 20px; font-size: 12px; }
.free-content-links a { color: var(--muted); }
.results-footer-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; color: var(--muted); font-size: 10px; }
.results-footer-actions p { margin: 0; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); padding: 11px 17px; border-radius: 99px; background: var(--ink); color: white; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; z-index: 10; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .intro-view { grid-template-columns: 1fr; gap: 45px; padding: 54px 42px; }
  .intro-copy { text-align: center; }
  .intro-copy .lead { margin-inline: auto; }
  .intro-actions { justify-content: center; }
  .diagnostic-card { width: min(100%, 560px); margin: auto; }
  .trust-row { justify-content: center; flex-wrap: wrap; }
  .question-layout { grid-template-columns: 1fr; }
  .question-rail { display: none; }
  .topic-results { grid-template-columns: repeat(2, 1fr); }
  .topic-result:last-child { grid-column: span 2; }
  .cohort-card { grid-template-columns: 1fr; gap: 30px; }
  .lead-gate { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 600px) {
  .site-header, .site-footer, .intro-view, .quiz-view, .results-content, .lead-gate { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 76px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand-copy strong { font-size: 16px; }.brand-copy small { display: none; }
  .header-pill { font-size: 9px; padding: 7px 10px; }
  .intro-view { margin-top: 16px; margin-bottom: 24px; padding: 42px 22px 30px; border-radius: 15px; }
  .intro-copy h1 { font-size: 44px; }
  .lead { font-size: 16px; }
  .intro-actions { flex-direction: column; }
  .intro-actions .button { width: 100%; }
  .trust-row { display: grid; gap: 12px; justify-content: start; }
  .site-footer { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; }
  .privacy-main { width: min(100% - 30px, 860px); margin-top: 22px; }
  .privacy-card { padding: 30px 21px; border-radius: 14px; }
  .privacy-card h2 { font-size: 23px; }
  .quiz-view { padding-top: 27px; }
  .question-layout { margin-top: 27px; }
  .question-card { min-height: 0; padding: 27px 20px; }
  .question-card h2 { font-size: 25px; }
  .choice-grid { grid-template-columns: 1fr; }
  .question-actions { gap: 10px; }.question-actions .button { padding: 0 15px; gap: 8px; }
  .frequency-table { width: 100%; font-size: 12px; }.frequency-table th, .frequency-table td { min-width: 0; padding: 9px 6px; }
  .results-hero { padding: 48px 24px; grid-template-columns: 1fr; gap: 38px; text-align: center; }
  .results-hero .eyebrow { justify-content: center; }
  .results-hero h1 { font-size: 39px; }
  .results-actions { justify-content: center; }
  .score-ring { width: 175px; height: 175px; margin: auto; }.score-ring strong { font-size: 62px; }
  .results-content { padding-top: 45px; }
  .result-email-confirmation { margin-top: -8px; align-items: flex-start; }
  .lead-gate { margin-top: 30px; padding: 26px 19px; }.lead-gate-copy h2 { font-size: 27px; }.lead-form { padding: 18px 15px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .topic-results { grid-template-columns: 1fr; }.topic-result:last-child { grid-column: auto; }
  .topic-result { min-height: 118px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }.topic-status { grid-column: 1 / -1; }.topic-result-copy { margin-top: 4px; }.topic-result h3 { min-height: 0; }.topic-score { align-self: end; }
  .priority-item { padding: 20px 17px; grid-template-columns: 40px 1fr; gap: 10px; }
  .review-toggle { padding: 0 18px; }.review-toggle strong { font-size: 18px; }
  .review-item { padding: 21px 17px; }.review-detail { margin-left: 0; }
  .cohort-card { padding: 31px 22px; }.cohort-copy h2 { font-size: 27px; }
  .free-content { padding: 24px 20px; }.free-content-links { display: flex; margin: 17px 0 0; }
  .results-footer-actions { flex-direction: column; gap: 14px; text-align: center; }
}

@media print {
  body { background: white; }
  .site-header, .site-footer, .results-actions, .cohort-card, .results-footer-actions, .review-section { display: none !important; }
  .results-hero { padding: 28px; color: var(--ink); background: white; border-bottom: 2px solid var(--navy); }
  .results-hero p { color: var(--muted) !important; }
  .score-ring { color: var(--ink); border-color: var(--gold); }
  .results-content { width: 100%; padding: 28px; }
  .results-section { break-inside: avoid; }
}

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