/* AxonQuiz static landing pages (T-079). Colours match the app's dark theme. */
:root {
  --bg: #0A0A0F;
  --surface: #111118;
  --surface-2: #1A1A24;
  --line: rgba(255, 255, 255, 0.08);
  --text: #F4F4F6;
  --muted: #B8C4D8;
  --faint: #8A8A9A;
  --amber: #FFC453;
  --cyan: #3DD6FF;
  --green: #3DE896;
  --red: #FF6B8A;
  --radius: 14px;
  --max: 1080px;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--cyan); }
a:hover { color: #8FE6FF; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--amber); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.wordmark span { color: var(--amber); }
.head-links { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.head-links a:not(.btn) { color: var(--muted); text-decoration: none; }
.head-links a:not(.btn):hover { color: var(--text); }
@media (max-width: 560px) { .head-links .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--amber); color: var(--bg); }
.btn-primary:hover { background: #FFD27A; color: var(--bg); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* Hero */
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } .hero { padding: 88px 0 72px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; font-weight: 800; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fineprint { font-size: 14px; color: var(--faint); margin-top: 14px; }

/* Sample question card */
.qcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.qcard-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--amber); font-weight: 600; margin-bottom: 10px; }
.qcard-q { font-weight: 600; margin: 0 0 14px; }
.qcard ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qcard li { background: var(--surface-2); border-radius: 8px; padding: 10px 12px; font-size: 15px; color: var(--muted); }
.qcard li.correct { background: rgba(61, 232, 150, 0.14); color: var(--green); font-weight: 600; }
.qcard-note { font-size: 13px; color: var(--faint); margin: 14px 0 0; }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.015em; }
h3 { font-size: 19px; margin: 0 0 6px; }
.section-intro { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.step-num { font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; display: block; }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.facts th, .facts td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { color: var(--faint); font-weight: 600; width: 34%; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.source { font-size: 14px; color: var(--faint); margin-top: 12px; }

.areas { columns: 1; padding-left: 20px; color: var(--muted); margin: 0; }
@media (min-width: 760px) { .areas { columns: 2; column-gap: 40px; } }
.areas li { margin-bottom: 8px; break-inside: avoid; }

/* Callout */
.callout { background: var(--surface-2); border-radius: var(--radius); padding: 32px 24px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .callout { grid-template-columns: 1fr auto; padding: 40px; } }
.callout p { margin: 0; color: var(--muted); }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; min-height: 44px; list-style-position: outside; }
details p { color: var(--muted); margin: 0 0 18px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--faint); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 14px; }
.site-foot a { color: var(--muted); }
.site-foot p { margin: 0 0 8px; }

/* Preview banner (removed before go-live) */
.preview-banner { background: var(--red); color: var(--bg); font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; }

/* ---------- Self-test ---------- */
.test-shell { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
.progress { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin: 8px 0 24px; }
.progress span { display: block; height: 100%; background: var(--cyan); width: 0; transition: width 0.2s ease; }
.test-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.test-area { color: var(--amber); font-weight: 600; }
.test-q { font-size: 21px; font-weight: 600; line-height: 1.4; margin: 0 0 20px; }
.opts { border: 0; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; min-height: 52px; }
.opt:hover { border-color: rgba(255, 255, 255, 0.3); }
.opt input { margin-top: 5px; accent-color: var(--amber); width: 18px; height: 18px; flex: none; }
.opt:has(input:checked) { border-color: var(--amber); background: rgba(255, 196, 83, 0.08); }
.test-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.score-big { font-size: 64px; font-weight: 800; line-height: 1; margin: 8px 0; }
.bars { display: grid; gap: 14px; margin: 24px 0; }
.bar-row { display: grid; gap: 6px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.bar-label span:last-child { white-space: nowrap; }
.bar-track { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; }
.fill-strong { background: var(--green); }
.fill-mid { background: var(--amber); }
.fill-weak { background: var(--red); }

.gate { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 28px 0; }
.gate label { display: block; font-weight: 600; margin-bottom: 6px; }
.gate input[type="email"] { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.22); background: var(--bg); color: var(--text); font: inherit; padding: 0 14px; margin-bottom: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--amber); }
.consent span { font-weight: 400; }
.form-note { font-size: 13px; color: var(--faint); margin: 12px 0 0; }
.form-error { color: var(--red); font-size: 14px; margin: 0 0 12px; }

.review { display: grid; gap: 12px; margin-top: 16px; }
.review-item { background: var(--surface); border: 1px solid var(--line); border-left-width: 1px; border-radius: 12px; padding: 16px 18px; }
.review-item p { margin: 0 0 6px; }
.review-item .tag { font-size: 13px; font-weight: 700; }
.tag-ok { color: var(--green); }
.tag-miss { color: var(--red); }
.review-item .why { color: var(--muted); font-size: 15px; margin: 0; }
[hidden] { display: none !important; }
