:root {
  --bg: #090a0d;
  --panel: #111319;
  --panel-2: #171a21;
  --text: #f6f7f9;
  --muted: #adb3be;
  --line: #2a2f38;
  --red: #FF0B10;
  --blue: #0737F4;
  --neutral: #48484B;
  --red-2: #b90f20;
  --soft-red: rgba(231, 25, 45, .12);
  --green: #73d19c;
  --yellow: #f3c969;
  --radius: 18px;
  --shadow: 0 20px 55px rgba(0,0,0,.32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(231,25,45,.13), transparent 28%),
    radial-gradient(circle at 86% 15%, rgba(231,25,45,.08), transparent 22%),
    var(--bg);
  color: var(--text);
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--red), #7d0713); font-weight: 900; box-shadow: var(--shadow);
}
.brand-name { font-size: .85rem; letter-spacing: .16em; font-weight: 800; }
.brand-sub { color: var(--muted); font-size: .78rem; margin-top: 3px; }
.header-note { color: var(--muted); font-size: .9rem; }

main { padding: 58px 0 40px; }
.screen { display: none; animation: fadeIn .28s ease; }
.screen.active { display: block; }
@keyframes fadeIn { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

#intro { max-width: 870px; margin: 36px auto 0; text-align: center; }
.eyebrow { color: #ff6574; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); line-height: .95; letter-spacing: -.055em; margin: 16px 0 18px; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -.045em; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
.hero-copy { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.45; color: #e8ebef; }
.support-copy { color: var(--muted); line-height: 1.7; max-width: 760px; margin-left: auto; margin-right: auto; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px auto; max-width: 720px; }
.mini-card { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.mini-card strong { display: block; font-size: 1.75rem; }
.mini-card span { color: var(--muted); font-size: .88rem; }

.btn {
  border: 0; border-radius: 12px; padding: 14px 18px; min-height: 48px; cursor: pointer;
  font-weight: 850; transition: transform .16s ease, opacity .16s ease, background .16s ease;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible { outline: 3px solid rgba(255,101,116,.45); outline-offset: 2px; }
.primary { color: white; background: linear-gradient(135deg, var(--red), var(--red-2)); }
.secondary { color: white; background: #242832; border: 1px solid #343a46; }
.full { width: 100%; }
.fine-print { color: #7f8794; font-size: .78rem; margin-top: 16px; line-height: 1.55; }

.progress-wrap { max-width: 900px; margin: 0 auto 18px; }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; margin-bottom: 8px; }
.progress-track { height: 7px; background: #1f232b; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--red-2), #ff4457); transition: width .25s ease; }

.audit-card, .panel, .result-hero, .cta-panel {
  max-width: 900px; margin: 0 auto; background: rgba(17,19,25,.94); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.audit-card { padding: clamp(22px, 5vw, 46px); }
.checkpoint-tag { display: inline-flex; color: #ff7b88; background: var(--soft-red); border: 1px solid rgba(231,25,45,.28); padding: 7px 10px; border-radius: 999px; font-size: .77rem; font-weight: 850; margin-bottom: 16px; }
.question { padding: 22px 0; border-top: 1px solid var(--line); }
.question:first-child { border-top: 0; }
.question-text { font-size: 1.08rem; line-height: 1.5; font-weight: 750; margin-bottom: 14px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale label {
  border: 1px solid #333946; background: #191c23; border-radius: 10px; padding: 12px 8px; text-align: center;
  cursor: pointer; min-height: 70px; display: flex; flex-direction: column; justify-content: center; gap: 3px;
}
.scale label:hover { border-color: #5a616f; }
.scale input:checked + label { background: var(--soft-red); border-color: var(--red); box-shadow: inset 0 0 0 1px rgba(231,25,45,.28); }
.scale-num { font-size: 1.15rem; font-weight: 900; }
.scale-word { font-size: .7rem; color: var(--muted); }
.nav-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.validation { min-height: 20px; color: #ff7f8a; font-size: .85rem; margin-top: 12px; }

.capture-card { max-width: 650px; }
form { display: grid; gap: 16px; margin-top: 24px; }
form label { display: grid; gap: 7px; color: #dfe3e9; font-weight: 700; font-size: .9rem; }
input {
  width: 100%; background: #0e1015; color: white; border: 1px solid #333946; border-radius: 10px; min-height: 50px; padding: 0 13px;
}
.consent { grid-template-columns: 20px 1fr; align-items: start; font-weight: 500; color: var(--muted); line-height: 1.5; }
.consent input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; }

.result-hero { text-align: center; padding: clamp(28px, 5vw, 54px); background: linear-gradient(160deg, rgba(231,25,45,.14), rgba(17,19,25,.96) 46%); }
.result-hero h2 { margin: 10px auto 14px; max-width: 700px; }
.result-copy { max-width: 720px; margin-left: auto; margin-right: auto; }
.score-pill { width: 92px; height: 92px; border-radius: 50%; margin: 22px auto 0; border: 7px solid rgba(231,25,45,.35); background: #0c0e12; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; }
.result-grid { max-width: 900px; margin: 16px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: 24px; }
.panel p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-heading p { font-size: .85rem; }
.score-row { display: grid; grid-template-columns: 170px 1fr 55px; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.score-row:first-child { margin-top: 14px; }
.score-name { font-weight: 750; }
.score-track { height: 9px; border-radius: 999px; background: #242832; overflow: hidden; }
.score-fill { height: 100%; background: linear-gradient(90deg, var(--red), #f3c969 60%, #73d19c); border-radius: 999px; }
.score-value { text-align: right; font-weight: 850; }
.score-status { display: block; color: var(--muted); font-size: .72rem; font-weight: 500; margin-top: 2px; }

.cta-panel { margin-top: 16px; padding: clamp(24px, 5vw, 38px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; border-color: rgba(231,25,45,.35); }
.cta-panel p { color: var(--muted); line-height: 1.6; margin-bottom: 0; }
.cta-link { line-height: 1.35; padding: 18px; }
.result-actions { max-width: 900px; margin: 16px auto 0; display: flex; gap: 10px; }
#results > .fine-print { max-width: 900px; margin-left: auto; margin-right: auto; }
footer { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0 35px; display: flex; justify-content: space-between; color: #707784; font-size: .78rem; }

@media (max-width: 720px) {
  .header-note { display: none; }
  main { padding-top: 36px; }
  .mini-grid, .result-grid, .cta-panel { grid-template-columns: 1fr; }
  .scale { grid-template-columns: 1fr; }
  .scale label { min-height: 50px; flex-direction: row; align-items: center; justify-content: flex-start; padding-left: 16px; }
  .scale-word::before { content: "— "; }
  .score-row { grid-template-columns: 120px 1fr 44px; gap: 8px; }
  .panel-heading { align-items: flex-start; }
  .result-actions { display: grid; grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 6px; }
}

/* V1 accessibility, brand contrast, and responsive media. */
[hidden] { display: none !important; }
.primary { background: #b90f20; border: 2px solid var(--red); }
.brand-mark { background: var(--blue); }
.fine-print, footer { color: #adb3be; }
.question { min-width: 0; border: 0; border-top: 1px solid var(--line); margin: 0; }
.question legend { padding-top: 22px; }
.scale input { width: 1px; height: 1px; min-height: 0; padding: 0; }
.scale input:focus-visible + label, :focus-visible { outline: 3px solid #f3c969; outline-offset: 4px; }
h1:focus, h2:focus { outline: none; }
.consent { min-height: 44px; padding: 8px 0; cursor: pointer; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; color: #dce4ff; }
.spaced { margin-top: 16px; }
.video-frame { aspect-ratio: 16 / 9; margin-top: 20px; background: #090a0d; }
.video-frame iframe, .video-frame video { display: block; width: 100%; height: 100%; border: 0; }
textarea { width: 100%; background: #0e1015; color: #f6f7f9; font: inherit; padding: 12px; border: 1px solid #adb3be; }
.price { padding-top: 16px; font-weight: 800; }
.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; }
p, h1, h2, h3, a, .score-name { overflow-wrap: anywhere; }
button:disabled { cursor: wait; opacity: .65; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 360px) { .score-row { grid-template-columns: minmax(0,1fr) 42px; } .score-track { display: none; } .panel { padding: 20px; } }

.brand-logo{width:76px;height:76px;object-fit:contain;flex-shrink:0}.result-logo{width:96px;height:96px;object-fit:contain;display:block;margin-bottom:16px}@media(max-width:480px){.brand-logo{width:56px;height:56px}}
