:root {
  color-scheme: dark;
  --bg: #090b12;
  --bg-soft: #111827;
  --panel: rgba(15, 23, 42, 0.8);
  --line: rgba(148, 163, 184, 0.18);
  --text: #e5ecff;
  --muted: #a8b3cf;
  --primary: #7c3aed;
  --secondary: #22d3ee;
  --accent: #f97316;
  --success: #34d399;
  --shadow: 0 30px 70px rgba(2, 6, 23, 0.5);
  font-family: Inter, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(124, 58, 237, 0.24), transparent 28rem),
    radial-gradient(circle at 95% 18%, rgba(34, 211, 238, 0.12), transparent 25rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(124, 58, 237, 0.55); color: #fff; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 4px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-160%); border-radius: 10px; background: white; color: #111; }
.skip-link:focus { transform: translateY(0); }
.topbar { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(9, 11, 18, 0.96); }
.nav { position: relative; display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.quiz-topbar .nav > .cta { display: inline-flex; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .08em; }
.brand-badge { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--secondary), var(--primary)); box-shadow: 0 0 25px rgba(124, 58, 237, .7); }
.nav-links { position: absolute; left: 50%; display: flex; align-items: center; gap: 26px; transform: translateX(-50%); color: var(--muted); font-size: .94rem; }
.nav-links a { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.nav-links a:not(.quiz-nav-link) { position: relative; padding-block: 8px; }
.nav-links a:not(.quiz-nav-link)::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; transform: scaleX(0); transform-origin: left; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); content: ""; transition: transform .2s ease; }
.nav-links a:not(.quiz-nav-link):hover, .nav-links a:not(.quiz-nav-link)[aria-current="location"] { color: var(--text); }
.nav-links a:not(.quiz-nav-link):hover::after, .nav-links a:not(.quiz-nav-link)[aria-current="location"]::after { transform: scaleX(1); }
.nav-links .quiz-nav-link { flex: 0 0 auto; gap: 7px; padding: .65rem 1rem; font-size: .87rem; }
.nav-links .quiz-nav-link:hover { color: white; box-shadow: 0 12px 30px rgba(124, 58, 237, .42); }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: transparent; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { width: 19px; height: 2px; border-radius: 2px; background: var(--text); content: ""; transition: transform .2s ease; }
.menu-toggle { gap: 4px; align-content: center; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: 999px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cta:hover { transform: translateY(-2px); }
.cta.primary { background: linear-gradient(135deg, var(--primary), #a855f7); color: white; box-shadow: 0 12px 30px rgba(124, 58, 237, .3); }
.cta.secondary { border-color: var(--line); background: rgba(255, 255, 255, .025); }
.hero { padding: 82px 0 54px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(36px, 6vw, 72px); }
.hero-grid > div:first-child { min-width: 0; }
.eyebrow { display: inline-block; padding: .4rem .75rem; border: 1px solid rgba(34, 211, 238, .32); border-radius: 999px; background: rgba(34, 211, 238, .05); color: var(--secondary); font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 20px 0; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .96; letter-spacing: -.065em; }
.gradient-text { background: linear-gradient(135deg, #f8fafc, #a5b4fc 42%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 640px; color: var(--muted); font-size: 1.09rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-stats { overflow: hidden; margin-top: 34px; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.hero-stats-track { display: flex; width: max-content; animation: stats-scroll 32s linear infinite; }
.hero-stats:hover .hero-stats-track { animation-play-state: paused; }
.hero-stats-group { display: flex; flex: 0 0 auto; gap: 12px; padding-right: 12px; }
.stat { display: flex; width: 214px; min-height: 110px; flex: 0 0 auto; flex-direction: column; justify-content: center; padding: 17px 14px; border: 1px solid var(--line); border-radius: 17px; background: rgba(148, 163, 184, .035); }
.stat strong { display: block; font-size: 1.4rem; }
.stat span { color: var(--muted); font-size: .76rem; }
@keyframes stats-scroll { to { transform: translateX(-50%); } }
.visual-wrap { position: relative; min-height: 540px; }
.visual-card { position: absolute; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(180deg, rgba(17, 24, 39, .94), rgba(15, 23, 42, .97)); box-shadow: var(--shadow); }
.visual-main { top: 38px; right: 0; bottom: 12px; display: flex; width: min(430px, 94%); flex-direction: column; padding: 22px; }
.screen-top, .post-head { display: flex; align-items: center; justify-content: space-between; }
.screen-top { flex: 0 0 auto; gap: 12px; margin-bottom: 16px; }
.dots { display: flex; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.dot:first-child { background: #ff5f57; }.dot:nth-child(2) { background: #ffbd2e; }.dot:nth-child(3) { background: #28c840; }
.screen-label { color: var(--muted); font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; }
.feed { display: grid; min-height: 0; flex: 1 1 auto; gap: 10px; overflow-y: auto; overscroll-behavior: contain; padding-right: 5px; scrollbar-color: rgba(148, 163, 184, .45) transparent; scrollbar-width: thin; }
.post { padding: 13px; border: 1px solid rgba(148, 163, 184, .12); border-radius: 16px; background: rgba(15, 23, 42, .76); }
.post-head { gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: .74rem; }
.post-user { display: flex; align-items: center; gap: 9px; }
.avatar { display: block; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.post-body { margin: 0; color: var(--muted); font-size: .85rem; }
section { position: relative; padding: 70px 0; }
main > section:not(.hero)::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); content: ""; }
main > section:nth-of-type(even):not(.hero) { background: linear-gradient(115deg, rgba(124, 58, 237, .045), rgba(34, 211, 238, .025)); }
.section-heading { max-width: 690px; margin-bottom: 28px; }
.section-heading h2, .final-cta h2 { margin: 12px 0 10px; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.05em; }
.section-heading p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.science-cards .card { height: 100%; }
.science-note { display: grid; gap: 7px; max-width: 850px; margin: 22px 0 0; padding: 18px 20px; border-left: 3px solid var(--secondary); border-radius: 0 14px 14px 0; background: rgba(34, 211, 238, .05); color: var(--muted); font-size: .9rem; }
.science-note strong, .signal-note strong { color: var(--text); }
.science-note p { margin: 0; }
.science-note a { color: var(--secondary); text-decoration: underline; text-decoration-color: rgba(34, 211, 238, .45); text-underline-offset: 3px; }
.data-kicker { color: var(--secondary); font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.data-method-note { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 20px; padding: 13px 16px; border: 1px solid rgba(34, 211, 238, .16); border-radius: 14px; background: rgba(34, 211, 238, .035); color: var(--muted); font-size: .86rem; }
.data-method-note strong { flex: 0 0 auto; color: var(--secondary); }
.data-reading-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.data-reading { display: flex; min-height: 280px; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid var(--line); border-radius: 21px; background: var(--panel); box-shadow: 0 14px 35px rgba(2, 6, 23, .12); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.data-reading:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .35); box-shadow: 0 20px 42px rgba(2, 6, 23, .24); }
.data-reading h3 { margin: 12px 0 8px; font-size: 1.15rem; line-height: 1.25; }
.data-reading p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.data-reading .data-caveat { margin-top: 0; font-size: .8rem; }
.data-reading a { margin-top: auto; padding-top: 12px; color: var(--secondary); font-size: .9rem; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(34, 211, 238, .4); text-underline-offset: 4px; }
.signal-prompt { display: block; margin-top: 15px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--secondary); font-size: .82rem; }
.signal-note { margin-top: 20px; padding: 16px 19px; border: 1px solid rgba(249, 115, 22, .2); border-radius: 16px; background: rgba(249, 115, 22, .045); color: var(--muted); font-size: .9rem; }
.panel-kicker { display: inline-block; margin-bottom: 6px; color: var(--secondary); font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.week-plan { margin-top: 20px; padding: 20px 23px; border: 1px solid var(--line); border-radius: 20px; background: rgba(15, 23, 42, .68); }
.week-plan summary { color: var(--text); font-weight: 750; cursor: pointer; }
.week-plan > p { margin: 15px 0 8px; color: var(--muted); }
.week-plan ol { display: grid; gap: 9px; margin: 12px 0 0; padding-left: 1.3rem; color: var(--muted); }
.week-plan li { padding-left: 4px; }
.week-plan li strong { color: var(--text); }
.quiz-container { max-width: 920px; }
.quiz-notice { margin: 0 0 20px; padding: 15px 18px; border: 1px solid rgba(34, 211, 238, .22); border-radius: 16px; background: rgba(34, 211, 238, .055); color: var(--muted); font-size: .92rem; }
.quiz-notice strong { color: var(--text); }
.quiz-form { display: grid; gap: 16px; }
.quiz-progress { display: grid; gap: 9px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(15, 23, 42, .68); color: var(--secondary); font-size: .85rem; font-weight: 750; }
.quiz-progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(148, 163, 184, .14); }
.quiz-progress-fill { display: block; width: 10%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: width .35s ease; }
.quiz-question { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: rgba(15, 23, 42, .68); }
.quiz-question[hidden] { display: none; }
.quiz-question legend { display: grid; width: 100%; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 10px; padding: 0; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.question-number { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: rgba(124, 58, 237, .2); color: #c4b5fd; font-size: .78rem; }
.question-prompt { align-self: center; }
.quiz-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.quiz-option { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 8px 9px; border: 1px solid rgba(148, 163, 184, .14); border-radius: 12px; background: rgba(2, 6, 23, .24); color: var(--muted); cursor: pointer; font-size: .8rem; text-align: center; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.quiz-option:has(input:checked) { border-color: rgba(34, 211, 238, .7); background: rgba(34, 211, 238, .1); color: var(--text); }
.quiz-option input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; accent-color: var(--secondary); }
.quiz-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.quiz-previous, .quiz-next, .quiz-submit { min-width: 180px; cursor: pointer; }
.quiz-previous:disabled { opacity: .45; cursor: not-allowed; }
.quiz-privacy { margin: 0; color: var(--muted); font-size: .78rem; }
.quiz-result { margin-top: 26px; padding: clamp(22px, 4vw, 34px); border: 1px solid rgba(34, 211, 238, .3); border-radius: 24px; background: linear-gradient(145deg, rgba(34, 211, 238, .09), rgba(124, 58, 237, .12)); scroll-margin-top: 100px; }
.result-score { margin: 0 0 9px; color: var(--secondary); font-size: .86rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.quiz-result h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.16; letter-spacing: -.04em; }
.quiz-result > p:not(.result-score) { color: var(--muted); }
.quiz-result h3 { margin: 22px 0 8px; font-size: 1.1rem; }
.result-chart { margin: 25px 0 22px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(9, 11, 18, .4); }
.result-chart figcaption { font-weight: 750; }
.result-chart-scale { margin-top: 5px; }
.result-chart-track { position: relative; display: grid; height: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin: 30px 20px 0; border-radius: 999px; }
.result-chart-zone { border-radius: 999px; }
.result-chart-zone-low { background: #34d399; }
.result-chart-zone-attention { background: #22d3ee; }
.result-chart-zone-elevated { background: #fb923c; }
.result-chart-zone-high { background: #fb7185; }
.result-chart-marker { position: absolute; top: -22px; z-index: 1; display: flex; align-items: center; flex-direction: column; gap: 4px; transform: translateX(-50%); }
.result-chart-marker::after { position: absolute; top: 22px; width: 2px; height: 14px; background: white; content: ""; }
.result-chart-marker-value { min-width: 36px; padding: 0 6px; border-radius: 999px; background: white; color: #090b12; font-size: .75rem; font-weight: 850; line-height: 18px; text-align: center; }
.result-chart-marker-dot { width: 14px; height: 14px; border: 3px solid white; border-radius: 50%; background: var(--primary); }
.result-chart-axis { display: flex; justify-content: space-between; margin: 5px 17px 0; color: var(--muted); font-size: .72rem; }
.result-chart-ranges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; color: var(--muted); font-size: .72rem; line-height: 1.35; text-align: center; }
.result-chart-description { margin: 14px 0 0; color: var(--text) !important; font-size: .9rem; font-weight: 650; }
.result-chart-note { margin: 5px 0 0; color: var(--muted); font-size: .76rem; }
.quiz-result .result-recommendation { margin: 0; padding: 14px 16px; border-left: 3px solid var(--secondary); border-radius: 0 12px 12px 0; background: rgba(34, 211, 238, .07); color: var(--text); }
.result-tips { display: grid; gap: 10px; padding-left: 1.2rem; color: var(--text); }
.result-tips li { padding-left: 3px; }
.quiz-result .result-disclaimer { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); font-size: .86rem; }
.quiz-result .cta { margin-top: 7px; cursor: pointer; }
.result-loading { display: grid; gap: 11px; margin-top: 26px; padding: 20px; border: 1px solid rgba(34, 211, 238, .25); border-radius: 18px; background: rgba(15, 23, 42, .68); color: var(--secondary); font-weight: 750; }
.result-loading-track { height: 9px; overflow: hidden; border-radius: 999px; background: rgba(148, 163, 184, .14); }
.result-loading-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--secondary)); animation: result-loading-progress 1.5s ease-out forwards; }
@keyframes result-loading-progress { to { width: 100%; } }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-error { border-color: rgba(249, 115, 22, .3); }
.result-error h2 { margin: 0 0 10px; }
.result-error p { color: var(--muted); }
.quiz-transfer-error { margin: 0; padding: 13px 15px; border: 1px solid rgba(249, 115, 22, .35); border-radius: 14px; background: rgba(249, 115, 22, .08); color: var(--text); }
.card, .step, .panel { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.card { padding: 25px 23px; transition: transform .2s ease, border-color .2s ease; }
.card:hover, .step:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .35); }
.icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 14px; border: 1px solid rgba(124, 58, 237, .2); border-radius: 16px; background: linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(34, 211, 238, .12)); font-size: 1.4rem; }
.card h3 { margin: 8px 0; font-size: 1.25rem; }
.card p, .step p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; }
.signal-box { padding: 23px 21px; border: 1px solid rgba(124, 58, 237, .22); border-radius: 22px; background: linear-gradient(180deg, rgba(124, 58, 237, .18), rgba(15, 23, 42, .25)); }
.signal-box h3 { margin: 0 0 9px; }.signal-box p { margin: 0; color: var(--muted); }
.quote { margin-top: 19px; padding: 17px 19px; border-left: 3px solid var(--secondary); border-radius: 0 14px 14px 0; background: rgba(34, 211, 238, .05); }
.panel { padding: 27px; background: rgba(15, 23, 42, .72); }
.panel h3 { margin: 0; font-size: 1.75rem; letter-spacing: -.04em; }
.check-list { display: grid; gap: 16px; margin: 21px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); }
.check { display: inline-grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; margin-top: 2px; border-radius: 50%; background: rgba(52, 211, 153, .12); color: var(--success); font-weight: 900; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 21px 19px; transition: transform .2s ease, border-color .2s ease; }
.step-number { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(99, 102, 241, .25), rgba(34, 211, 238, .15)); color: var(--secondary); font-weight: 800; }
.step h3 { margin: 0 0 8px; font-size: 1.08rem; }
.reflection { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin-top: 22px; padding: 23px; border: 1px solid rgba(34, 211, 238, .2); border-radius: 22px; background: rgba(34, 211, 238, .045); }
.reflection h3 { margin: 0 0 5px; }.reflection p { margin: 0; color: var(--muted); }
.reflection-result { grid-column: 1 / -1; margin: 0; color: var(--secondary); }
.reflection button { white-space: nowrap; }
.final-cta { padding: 50px 26px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(34, 211, 238, .06)); text-align: center; }
.final-cta h2 { max-width: 800px; margin: 14px auto; }
.final-cta p { max-width: 700px; margin: 0 auto 23px; color: var(--muted); }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.quiz-page { padding: 58px 0 80px; }
.quiz-page-header { max-width: 850px; margin: 0 auto 30px; text-align: center; }
.quiz-page-header h1 { margin-inline: auto; font-size: clamp(2.5rem, 6vw, 4.4rem); }
.quiz-page-header p { color: var(--muted); }
.quiz-back-link { display: inline-flex; margin-bottom: 20px; color: var(--secondary); font-weight: 700; }
footer { color: var(--muted); font-size: .9rem; }
.site-footer { margin-top: 30px; padding: 26px 0 22px; background: rgba(2, 6, 23, .38); }
.footer-content { display: grid; grid-template-columns: minmax(180px, 1.1fr) minmax(140px, .8fr) minmax(220px, 1fr) minmax(220px, 1.2fr); align-items: start; gap: 16px 24px; }
.footer-about { max-width: 360px; }
.footer-about p { margin: 12px 0 0; color: var(--muted); }
.footer-links { display: grid; justify-content: start; gap: 5px; }
.footer-links a { color: var(--muted); text-underline-offset: 4px; transition: color .2s ease; }
.footer-links a:hover { color: var(--secondary); text-decoration: underline; }
.footer-links a:focus-visible { color: var(--text); }
.footer-meta { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 6px 20px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .78rem; }
.footer-meta p { margin: 0; }
.footer-credits { display: flex; flex-wrap: wrap; }
.footer-credits p, .footer-credits > div { display: grid; align-content: start; gap: 3px; margin: 0; }
.footer-credits strong { color: var(--text); font-size: .8rem; }
.footer-credits span, .footer-credits ul { color: var(--muted); }
.footer-credits ul { display: grid; gap: 3px; margin: 0; padding-left: 20px; }
.footer-school { display: grid; align-content: start; gap: 3px; max-width: 360px; }
.footer-school a { color: var(--muted); text-underline-offset: 3px; }
.footer-school a:hover { color: var(--secondary); }
.footer-references { display: grid; grid-column: 1 / -1; justify-items: start; gap: 5px; padding-top: 4px; font-size: .8rem; }
.footer-references strong { color: var(--text); }
.footer-references a { color: var(--muted); text-underline-offset: 3px; }
.footer-references a:hover { color: var(--secondary); text-decoration: underline; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { gap: 22px; }
  .visual-wrap { width: min(600px, 100%); min-height: 510px; margin-inline: auto; }
  .visual-main { right: 0; left: 0; width: 100%; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { position: fixed; inset: 76px 0 auto; left: auto; display: none; align-items: stretch; padding: 16px 22px 22px; transform: none; border-bottom: 1px solid var(--line); background: rgba(9, 11, 18, .97); }
  .nav-links.is-open { display: grid; gap: 0; }
  .nav-links a:not(.quiz-nav-link) { padding: 13px 3px; border-bottom: 1px solid rgba(148, 163, 184, .1); font-size: .94rem; }
  .nav-links a:not(.quiz-nav-link)::after { right: auto; bottom: 6px; width: 46px; }
  .nav-links .quiz-nav-link { justify-self: start; margin-top: 14px; padding: .8rem 1.2rem; border: 0; font-size: .94rem; }
  .menu-toggle { display: grid; }
  .nav > .cta { display: none; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1160px); }
  .nav { min-height: 68px; }
  .menu-toggle { display: grid; }
  .nav-links { inset: 68px 0 auto; }
  .quiz-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-option { justify-content: flex-start; }
  .quiz-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .quiz-previous, .quiz-next, .quiz-submit { min-width: 0; width: 100%; }
  .quiz-submit { grid-column: 1 / -1; }
  .result-chart { padding: 14px; }
  .result-chart-ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 6px; }
  .result-actions { display: grid; }
  .result-actions .cta { width: 100%; }
  .hero { padding: 56px 0 35px; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.3rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-stats-group { gap: 8px; padding-right: 8px; }
  .stat { padding: 13px 10px; }.stat strong { font-size: 1.15rem; }.stat span { font-size: .68rem; }
  .visual-wrap { min-height: 470px; }
  .visual-main { top: 12px; bottom: 12px; }
  section { padding: 50px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .data-reading-list { grid-template-columns: 1fr; }
  .reflection { grid-template-columns: 1fr; }
  .reflection button { width: 100%; }
  .final-cta { padding: 38px 20px; }
  .quiz-page { padding-top: 36px; }
  .site-footer { padding-top: 30px; }
  .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .footer-meta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  .footer-content { grid-template-columns: 1fr; }
  .visual-wrap { min-height: 490px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-stats-track { animation: stats-scroll 32s linear infinite !important; }
  .result-loading-fill { animation: none; width: 100%; }
}
