:root {
  color-scheme: dark;
  --bg: #0a0c0b;
  --panel: #101310;
  --text: #f2f4ed;
  --muted: #a7aea3;
  --line: #2a3029;
  --lime: #c9e889;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  font: 16px/1.6 "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, textarea, select, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
::selection { background: var(--lime); color: #12170a; }
section[id] { scroll-margin-top: 2rem; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; top: 10px; left: 10px; padding: 10px; transform: translateY(-200%); background: var(--lime); color: #141908; }
.skip-link:focus { transform: none; }

.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; white-space: nowrap; font-size: 1.2rem; font-weight: 700; letter-spacing: -.04em; }
.brand img { margin-right: 11px; }
nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 50px); color: var(--muted); font-size: .88rem; }
nav a:hover, .footer a:hover { color: var(--lime); }
.outline, .button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 19px; padding: 0 17px; border: 1px solid var(--line); border-radius: 5px; font-size: .88rem; font-weight: 650; transition: background .2s, border-color .2s; }
.outline:hover { border-color: #81906a; background: #1b2117; }
.button { border-color: var(--lime); background: var(--lime); color: #171e09; }
.button:hover { border-color: #efffb8; background: #efffb8; }
.nav-action { min-height: 39px; font-size: .82rem; }

.hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(12px, 4vw, 58px); padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 21px; color: var(--lime); font: 600 .71rem/1.5 var(--mono); letter-spacing: .12em; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-weight: 680; letter-spacing: -.06em; line-height: 1.05; text-wrap: balance; }
h1 { max-width: 20ch; font-size: clamp(2.65rem, 5vw, 5rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3.7rem); }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.035em; }
.lede { max-width: 460px; margin-top: 23px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { width: min(100%, 475px); justify-self: end; }
.hero-art img { display: block; width: 100%; height: auto; filter: saturate(.6); mix-blend-mode: screen; mask-image: radial-gradient(ellipse, #000 46%, transparent 75%); }

.section { padding-block: clamp(62px, 8vw, 110px); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 35px; }
.card, .report-card, .scope-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.card { padding: clamp(19px, 2.7vw, 36px); }
.report-card header, .severity { color: var(--lime); font: .7rem/1.4 var(--mono); letter-spacing: .08em; }
.card p { margin-top: 12px; color: var(--muted); }
.reference { margin-top: 20px; color: var(--muted); font-size: .88rem; }
.reference a { margin-inline-start: .35em; color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
.reference a:hover { color: var(--lime); }
.report, .scope-panel { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 5vw, 74px); }
.report-card header { display: flex; justify-content: space-between; gap: 12px; padding: 16px 25px; border-bottom: 1px solid var(--line); }
.report-card > div { padding: 25px; }
.severity { color: #f5d18f; margin-bottom: 12px; }
dl { display: grid; gap: 9px 15px; grid-template-columns: max-content 1fr; margin-top: 22px; font-size: .9rem; }
dt { color: #dbe2d5; font-weight: 650; }
dd { color: var(--muted); }
.scope-panel { padding: clamp(22px, 5vw, 60px); background: linear-gradient(145deg, #161d10, var(--panel) 53%); }
fieldset { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
label { font-size: .88rem; font-weight: 600; }
label:not(:first-child) { margin-top: 8px; }
input:not([type="checkbox"]), textarea, select { width: 100%; padding: 10px 12px; color: var(--text); border: 1px solid #45513e; border-radius: 5px; background: #0a0d09; }
textarea { resize: vertical; }
::placeholder { color: #929a8d; }
.check { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); }
.check input { accent-color: var(--lime); margin: 5px 0 0; }
fieldset .button { margin-top: 8px; justify-self: start; }
.form-status { min-height: 1.5em; margin-top: 8px; color: var(--lime); font-size: .88rem; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 17px; min-height: 100px; color: var(--muted); font-size: .82rem; }
.footer .brand { color: var(--text); }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .topbar { min-height: auto; flex-wrap: wrap; padding-block: 15px; gap: 14px; }
  .topbar nav { order: 3; flex: 0 0 100%; }
  .brand { font-size: 1rem; }
  .nav-action { padding-inline: 8px; gap: 8px; font-size: .74rem; }
  .hero, .report, .scope-panel, .cards { grid-template-columns: 1fr; }
  .hero { padding-block: 52px 26px; }
  h1 { font-size: clamp(2rem, 9.15vw, 4.5rem); }
  .hero-art { width: min(72%, 320px); justify-self: center; }
  .footer { flex-wrap: wrap; padding-block: 23px; }
}
@media (max-width: 370px) {
  .topbar .brand img { width: 25px; height: 25px; margin-right: 6px; }
  .topbar .brand { font-size: .87rem; }
  dl { grid-template-columns: 1fr; gap: 3px; }
  dt:not(:first-child) { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
