:root {
  color-scheme: dark;
  --bg: #0a0c0b;
  --panel: #101310;
  --text: #f2f4ed;
  --muted: #a7aea3;
  --line: #2a3029;
  --lime: #d9ff5a;
  --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; gap: 0; white-space: nowrap; font: 800 18px/1 var(--mono); letter-spacing: -.07em; }
.brand img { margin-right: 11px; }
.brand-dot, .brand > span:first-of-type { color: var(--lime); }
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.12fr 1fr; align-items: center; min-height: min(660px, 63vw); gap: clamp(12px, 4vw, 58px); padding-block: 65px; }
.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; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 13px #d9ff5a7a; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-weight: 680; letter-spacing: -.077em; line-height: .99; }
h1 { font-size: clamp(3.25rem, 5.65vw, 5.6rem); }
h1 em { color: var(--lime); font-style: normal; }
h2 { font-size: clamp(2.55rem, 5vw, 4.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 { position: relative; display: grid; place-items: center; aspect-ratio: 1; isolation: isolate; }
.art-grid { position: absolute; inset: 6%; z-index: -1; border: 1px solid #69724737; background-image: linear-gradient(#a9c36113 1px, transparent 1px), linear-gradient(90deg, #a9c36113 1px, transparent 1px); background-size: 12.5% 12.5%; }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; mix-blend-mode: screen; mask-image: radial-gradient(ellipse, #000 46%, transparent 75%); }
.crosshair { position: absolute; width: 13px; height: 13px; border-color: #c4db7a; border-style: solid; }
.crosshair-top { top: 6%; right: 6%; border-width: 1px 1px 0 0; }
.crosshair-bottom { bottom: 6%; left: 6%; border-width: 0 0 1px 1px; }
.ribbon { border-block: 1px solid var(--line); background: #10130e; }
.ribbon-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 13px 22px; padding-block: 19px; color: #c8cec0; font: .69rem/1.45 var(--mono); letter-spacing: .07em; }
.ribbon-inner span::before { content: "+"; color: var(--lime); margin-right: 10px; }

.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); }
.index, .report-card header, .severity { color: var(--lime); font: .7rem/1.4 var(--mono); letter-spacing: .1em; }
.card h3 { margin-top: 25px; }
.card p { margin-top: 12px; color: var(--muted); }
.report, .scope-panel { display: grid; grid-template-columns: 1fr 1.1fr; 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); }
  .hero { min-height: auto; padding-block: 55px; }
}
@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(100%, 450px); justify-self: center; }
  .ribbon-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: .58rem; }
  .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; }
  .ribbon-inner { grid-template-columns: 1fr; }
  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; }
}
