:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #171916;
  background: #f1eee5;
  --paper: #f1eee5;
  --paper-light: #fbf9f2;
  --ink: #171916;
  --ink-soft: #30352f;
  --muted: #686b64;
  --line: #b9b8ae;
  --gold: #f4b942;
  --gold-soft: #fae3a4;
  --green: #245b44;
  --green-soft: #d6e4d7;
  --red: #c73e29;
  --red-soft: #f1d4cb;
  --amber: #79530b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; }
button:disabled { cursor: default; opacity: .48; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, .file-trigger:focus-visible {
  outline: 3px solid #1469aa;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  padding: 11px 14px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: none; }

.site-header, main, footer { max-width: 1440px; margin-inline: auto; }
.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 46px;
  border-bottom: 1px solid var(--ink);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: -.2px;
}
.wordmark b { font-weight: 800; }
.brand-signal { width: 31px; height: 31px; display: grid; align-content: center; gap: 3px; }
.brand-signal i { height: 3px; display: block; background: var(--ink); transform-origin: left center; }
.brand-signal i:nth-child(1) { width: 20px; transform: translateX(10px); }
.brand-signal i:nth-child(2) { width: 30px; background: var(--gold); }
.brand-signal i:nth-child(3) { width: 20px; }
.header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 10px/1.2 Consolas, "Courier New", monospace;
  letter-spacing: 1px;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3b8b62; box-shadow: 0 0 0 4px rgba(59, 139, 98, .15); }
.edition { border-left: 1px solid var(--line); padding-left: 12px; margin-left: 2px; color: var(--muted); }

main { padding-inline: 46px; }
.eyebrow {
  margin: 0;
  color: var(--muted);
  font: 700 10px/1.4 Consolas, "Courier New", monospace;
  letter-spacing: 1.7px;
}
.eyebrow > span { color: var(--ink); margin-right: 12px; }
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  gap: clamp(48px, 8vw, 118px);
  align-items: center;
  padding: 78px 0 70px;
}
.hero-copy { padding-bottom: 3px; }
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  max-width: 760px;
  margin: 26px 0 22px;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(60px, 6.7vw, 102px);
  font-weight: 900;
  line-height: .91;
  letter-spacing: -6px;
  text-transform: uppercase;
}
h1 em {
  display: inline-block;
  padding: .02em .1em .09em;
  color: var(--ink);
  background: var(--gold);
  font-style: normal;
  transform: rotate(-1.1deg);
}
.lead {
  max-width: 640px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 32px; }
.primary, .outline, .text-action, .file-trigger {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--ink);
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.primary { background: var(--ink); color: #fff; }
.primary:hover { background: var(--gold); color: var(--ink); }
.outline { background: transparent; }
.outline:hover { background: var(--ink); color: #fff; }
.text-action { min-height: 38px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; }
.text-action:hover { color: var(--red); border-color: var(--red); }
.trust-row {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 46px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.trust-row li {
  padding: 14px 18px 0 0;
  margin-right: 18px;
  color: var(--muted);
  font: 10px/1.5 Consolas, "Courier New", monospace;
}
.trust-row li + li { border-left: 1px solid var(--line); padding-left: 18px; }
.trust-row strong { display: block; color: var(--ink); letter-spacing: 1px; }

.proof-map {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  max-height: 575px;
  padding: 22px 24px 20px;
  color: #f7f3e8;
  background: var(--ink);
  border-top: 8px solid var(--gold);
  box-shadow: 18px 18px 0 #d9d5c8;
}
.proof-map::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: 79px;
  width: 52px;
  height: 8px;
  background: var(--gold);
}
.proof-map-head, .terminal-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid #50534d;
  font: 700 9px/1.4 Consolas, "Courier New", monospace;
  letter-spacing: 1.2px;
}
.proof-stamp { color: var(--gold); }
.trace { position: relative; display: grid; gap: 31px; padding: 30px 0 28px; }
.trace-line { position: absolute; top: 48px; bottom: 49px; left: 17px; width: 1px; background: #5a5f56; overflow: hidden; }
.trace-line span { display: block; width: 100%; height: 42%; background: var(--gold); animation: scan-line 2.8s ease-in-out infinite; }
.trace-step { position: relative; z-index: 1; display: grid; grid-template-columns: 36px 1fr; gap: 17px; align-items: center; }
.trace-step > b {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #7b7f75;
  border-radius: 50%;
  color: var(--gold);
  background: var(--ink);
  font: 700 9px Consolas, monospace;
}
.trace-step div { min-width: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 4px; }
.trace-step small { grid-column: 1 / -1; color: #969b90; font: 9px Consolas, monospace; letter-spacing: 1.2px; }
.trace-step strong { font-size: 14px; }
.trace-step code { color: #a9ada5; font: 10px Consolas, monospace; }
.scope-note { margin: 0; padding: 17px 60px 0 0; border-top: 1px solid #50534d; color: #a9ada5; font: 10px/1.55 Consolas, monospace; }
.scope-note span { display: block; margin-bottom: 4px; color: var(--gold); letter-spacing: 1.2px; }
.scope-note a { color: var(--gold); text-underline-offset: 3px; }
@keyframes scan-line { 0% { transform: translateY(-110%); } 48%, 100% { transform: translateY(270%); } }

.desk { border-top: 1px solid var(--ink); scroll-margin-top: 20px; }
.desk-heading {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: end;
  padding: 55px 0 37px;
}
.desk-heading h2, .cli h2 {
  margin: 12px 0 0;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: .98;
  letter-spacing: -3px;
  text-transform: uppercase;
}
.desk-heading > p { max-width: 350px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.tabs { display: flex; align-items: end; border-bottom: 1px solid var(--ink); }
.tabs button {
  position: relative;
  min-width: 240px;
  min-height: 53px;
  border: 1px solid transparent;
  border-bottom: 0;
  background: transparent;
  padding: 14px 18px;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.tabs button span { margin-right: 17px; font: 10px Consolas, monospace; }
.tabs button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); background: var(--paper-light); }
.tabs button[aria-pressed="true"]::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 5px; background: var(--gold); }
.tabs button[aria-pressed="true"]::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--paper-light); }

.workbench { display: grid; grid-template-columns: 320px minmax(0, 1fr); background: var(--paper-light); border: 1px solid var(--ink); border-top: 0; }
.case-list { padding: 24px 18px 18px; border-right: 1px solid var(--ink); background: #e9e5da; }
.case-list-head { display: flex; align-items: start; justify-content: space-between; margin-bottom: 16px; padding: 0 7px; }
.case-list-head > span { font: 9px Consolas, monospace; color: var(--muted); letter-spacing: 1px; }
.case-list button {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  padding: 15px 13px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
}
.case-list button:hover { border-color: var(--line); background: var(--paper); }
.case-list button[aria-pressed="true"] { border-color: var(--ink); background: var(--paper-light); box-shadow: 4px 4px 0 var(--gold); }
.case-list button[aria-pressed="true"]::before { content: ""; position: absolute; left: -19px; top: 13px; bottom: 13px; width: 5px; background: var(--ink); }
.case-index { align-self: start; color: var(--muted); font: 9px/1.5 Consolas, monospace; }
.case-copy { display: grid; gap: 4px; }
.case-copy strong { font-size: 13px; }
.case-copy small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.case-verdict { padding: 4px 5px; font: 700 8px Consolas, monospace; letter-spacing: .7px; }
.case-verdict.is-pass { color: var(--green); background: var(--green-soft); }
.case-verdict.is-fail { color: var(--red); background: var(--red-soft); }
.case-verdict.is-open { color: var(--amber); background: var(--gold-soft); }
.upload { margin-top: 28px; padding: 22px 7px 4px; border-top: 1px solid var(--line); }
.file-trigger { width: 100%; margin: 12px 0 11px; background: var(--gold); }
.file-trigger:hover { background: var(--ink); color: white; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload p:last-child { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.report { min-width: 0; padding: 34px clamp(24px, 4vw, 56px) 44px; }
.report-head { min-height: 62px; display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.report-head h3, .scan-heading h3 { margin: 8px 0 0; font-size: 28px; line-height: 1.05; letter-spacing: -1.2px; }
.verdict-strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  margin-top: 24px;
  border: 1px solid var(--ink);
}
.verdict-strip > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: var(--green); color: white; }
.report.has-fail .verdict-strip > div { background: var(--red); }
.report.has-unverified .verdict-strip > div { background: var(--gold); color: var(--ink); }
.verdict-label { font: 9px Consolas, monospace; letter-spacing: 1.3px; }
#report-verdict { font-size: 18px; letter-spacing: -.4px; }
#report-message { min-height: 100%; display: flex; align-items: center; margin: 0; padding: 13px 18px; color: var(--muted); font: 11px/1.5 Consolas, monospace; background: #e9e6dd; }
#report-message.error { color: var(--red); }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0 8px; border: 1px solid var(--line); }
.summary-item { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; padding: 12px 14px; }
.summary-item + .summary-item { border-left: 1px solid var(--line); }
.summary-item strong { font-size: 24px; line-height: 1; }
.summary-item span { color: var(--muted); font: 9px Consolas, monospace; letter-spacing: 1px; }
.checks { counter-reset: evidence; }
.check {
  counter-increment: evidence;
  position: relative;
  padding: 25px 0 23px 52px;
  border-bottom: 1px solid var(--line);
  animation: evidence-in .28s ease-out both;
}
.check::before { content: counter(evidence, decimal-leading-zero); position: absolute; left: 0; top: 27px; color: var(--muted); font: 10px Consolas, monospace; }
.check::after { content: ""; position: absolute; left: 28px; top: 30px; width: 7px; height: 7px; background: var(--green); }
.check:has(.badge.fail)::after { background: var(--red); }
.check:has(.badge.unverified)::after { background: var(--gold); }
.check-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.check h3 { margin: 0; font-size: 15px; letter-spacing: -.2px; }
.badge { padding: 5px 8px; font: 800 9px Consolas, monospace; letter-spacing: 1px; white-space: nowrap; }
.badge.pass { color: var(--green); background: var(--green-soft); }
.badge.fail { color: var(--red); background: var(--red-soft); }
.badge.unverified { color: var(--amber); background: var(--gold-soft); }
.check > p { max-width: 780px; margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.check > .action { color: var(--ink); font-weight: 700; }
.check details { margin-top: 13px; }
.check summary { width: fit-content; padding: 5px 0; color: var(--muted); border-bottom: 1px solid var(--line); font: 700 10px Consolas, monospace; cursor: pointer; }
.check details[open] summary { color: var(--ink); border-color: var(--ink); }
.check details pre { margin: 14px 0; padding: 17px; overflow-wrap: anywhere; white-space: pre-wrap; color: #e6e2d8; background: var(--ink-soft); font: 10px/1.6 Consolas, monospace; }
.check details p { margin: 8px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.boundaries { margin-top: 29px; padding: 20px 21px; border-left: 6px solid var(--gold); background: #ece5d5; }
.boundaries h3 { margin: 0 0 10px; font: 800 10px Consolas, monospace; letter-spacing: 1.2px; }
.boundaries p { margin: 5px 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
@keyframes evidence-in { from { opacity: .2; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.scan-panel { padding: 38px clamp(24px, 4vw, 56px) 46px; border: 1px solid var(--ink); border-top: 0; background: var(--paper-light); }
.scan-heading { display: grid; grid-template-columns: 1fr 420px; gap: 50px; align-items: end; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.scan-heading > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.scan-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 26px; background: var(--ink); border: 1px solid var(--ink); }
.scan-inputs label { display: block; padding: 22px; background: var(--paper-light); font-size: 13px; font-weight: 800; }
.field-number { float: right; color: var(--muted); font: 10px Consolas, monospace; }
.scan-inputs small { display: block; margin: 7px 0 14px; color: var(--muted); font-size: 10px; font-weight: 400; }
.scan-inputs textarea { width: 100%; min-height: 220px; resize: vertical; padding: 16px; border: 1px solid var(--line); border-radius: 0; color: #e5e7df; background: #242823; font: 11px/1.65 Consolas, monospace; }
.scan-inputs textarea::placeholder { color: #858a81; }
.scan-inputs input { max-width: 100%; margin-top: 12px; font-size: 10px; }
.scan-actions { display: flex; justify-content: space-between; gap: 16px; margin: 18px 0; }
.scan-actions > div { display: flex; flex-wrap: wrap; gap: 8px; }
#scan-message { min-height: 22px; margin: 17px 0 0; color: var(--muted); font: 11px/1.5 Consolas, monospace; }
#scan-message.error { color: var(--red); }
#scan-download { margin-top: 18px; }
.scan-limit { margin: 26px 0 0; padding: 17px 19px; border-left: 6px solid var(--gold); color: var(--muted); background: #ece5d5; font-size: 11px; line-height: 1.65; }
.scan-limit strong { color: var(--ink); }

.cli { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 9vw, 140px); align-items: center; padding: 95px 0; }
.cli-copy { max-width: 500px; }
.cli-copy p:not(.eyebrow) { margin: 24px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.cli-copy a { display: inline-block; padding-bottom: 6px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }
.cli-copy a:hover { color: var(--red); border-color: var(--red); }
.terminal { position: relative; color: #e5e6df; background: var(--ink); box-shadow: 15px 15px 0 var(--gold); }
.terminal-head { padding: 16px 20px; }
.terminal pre { margin: 0; padding: 25px 24px 28px; overflow: auto; font: 10px/1.8 Consolas, monospace; white-space: pre-wrap; }
.terminal code > span { color: var(--gold); }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 25px 46px; border-top: 1px solid var(--ink); color: var(--muted); font: 9px Consolas, monospace; letter-spacing: 1px; }
footer strong { color: var(--ink); }
[hidden] { display: none !important; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr 360px; gap: 45px; }
  h1 { font-size: clamp(58px, 7.6vw, 78px); }
  .workbench { grid-template-columns: 280px minmax(0, 1fr); }
  .verdict-strip { grid-template-columns: 180px 1fr; }
  .scan-heading { grid-template-columns: 1fr 340px; }
  .cli { gap: 60px; }
}

@media (max-width: 900px) {
  .site-header { padding-inline: 24px; }
  .edition { display: none; }
  main { padding-inline: 24px; }
  .hero { grid-template-columns: 1fr; padding: 54px 0 64px; }
  .hero-copy { max-width: 690px; }
  h1 { font-size: clamp(58px, 11vw, 84px); }
  .proof-map { min-height: 460px; width: min(100%, 570px); justify-self: end; }
  .desk-heading, .scan-heading { grid-template-columns: 1fr; gap: 18px; }
  .workbench { grid-template-columns: 1fr; }
  .case-list { border-right: 0; border-bottom: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .case-list-head, .upload { grid-column: 1 / -1; }
  .case-list button { margin: 0; }
  .case-list button[aria-pressed="true"]::before { left: 0; top: 0; bottom: auto; width: 100%; height: 5px; }
  .report { padding-inline: 26px; }
  .scan-inputs { grid-template-columns: 1fr; }
  .cli { grid-template-columns: 1fr; }
  .terminal { margin-right: 15px; }
  footer { padding-inline: 24px; }
}

@media (max-width: 540px) {
  .site-header { min-height: 68px; padding-inline: 17px; }
  .header-meta > span:not(.live-dot):not(:nth-child(2)) { display: none; }
  .header-meta { font-size: 8px; }
  .wordmark { font-size: 13px; gap: 9px; }
  .brand-signal { width: 26px; }
  main { padding-inline: 17px; }
  .hero { padding-top: 42px; gap: 48px; }
  h1 { margin-top: 20px; font-size: clamp(48px, 15.2vw, 68px); letter-spacing: -4px; }
  .lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .hero-actions .primary, .hero-actions .text-action { width: 100%; }
  .text-action { padding-inline: 2px; }
  .trust-row { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; }
  .trust-row li { margin: 0; padding: 12px 10px 9px 0; }
  .trust-row li + li { padding-left: 10px; }
  .trust-row li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); grid-column: 1 / -1; padding-left: 0; }
  .proof-map { width: calc(100% - 10px); min-height: 455px; padding-inline: 19px; box-shadow: 10px 10px 0 #d9d5c8; }
  .trace-step { gap: 12px; }
  .trace-step div { grid-template-columns: 1fr; }
  .trace-step code { grid-column: 1; }
  .desk-heading { padding: 46px 0 28px; }
  .desk-heading h2, .cli h2 { font-size: 37px; letter-spacing: -2.3px; }
  .tabs button { min-width: 0; flex: 1; padding-inline: 11px; font-size: 10px; }
  .tabs button span { margin-right: 7px; }
  .case-list { grid-template-columns: 1fr; padding: 17px 12px; }
  .case-list-head, .upload { grid-column: 1; }
  .case-list button { padding-block: 13px; }
  .report { padding: 26px 18px 34px; }
  .report-head { flex-direction: column; }
  .report-head h3, .scan-heading h3 { font-size: 24px; }
  .verdict-strip { grid-template-columns: 1fr; }
  .verdict-strip > div { min-height: 57px; }
  #report-message { min-height: 57px; }
  .summary-item { display: flex; flex-direction: column; gap: 4px; padding-inline: 10px; }
  .summary-item strong { font-size: 20px; }
  .check { padding-left: 43px; }
  .check::after { left: 23px; }
  .check-top { align-items: start; }
  .scan-panel { padding: 27px 18px 34px; }
  .scan-inputs label { padding: 17px; }
  .scan-actions { align-items: stretch; flex-direction: column; }
  .scan-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
  .scan-actions .outline, .scan-actions .primary { width: 100%; }
  .cli { padding: 70px 0 78px; }
  .terminal { margin-right: 8px; box-shadow: 8px 8px 0 var(--gold); }
  .terminal pre { padding: 21px 18px; font-size: 9px; }
  footer { flex-wrap: wrap; padding-inline: 17px; }
  footer strong { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
