:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #06121d;
  color: #f5f2e9;
  --ink: #f5f2e9;
  --muted: #8fa5a8;
  --muted-bright: #b7c8ca;
  --cyan: #62dce3;
  --cyan-soft: rgba(98, 220, 227, 0.12);
  --gold: #e8b95e;
  --gold-soft: rgba(232, 185, 94, 0.12);
  --failure: #ff8e78;
  --line: rgba(197, 220, 222, 0.14);
  --line-strong: rgba(197, 220, 222, 0.24);
  --panel: #0b1a27;
  --surface: #081722;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #06121d;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(98, 220, 227, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 220, 227, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(30, 92, 99, 0.16), transparent 32rem),
    #06121d;
  background-size: 48px 48px, 48px 48px, auto, auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 730;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark {
  width: 13px;
  height: 13px;
  border: 1px solid var(--cyan);
  transform: rotate(30deg);
  box-shadow: inset 0 0 0 3px #06121d;
  background: var(--gold);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 12px;
}

.site-header nav a {
  text-decoration: none;
  transition: color 160ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--cyan);
}

#release-badge {
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted-bright);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
  min-height: 670px;
  padding: 74px 0 88px;
}

.eyebrow,
.detail-kicker,
.ledger-header p {
  margin: 0;
  color: var(--gold);
  font: 750 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.16em;
}

h1 {
  max-width: 620px;
  margin: 24px 0 26px;
  font-size: clamp(68px, 8.2vw, 118px);
  font-weight: 630;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.lede {
  max-width: 510px;
  margin: 0;
  color: var(--muted-bright);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.72;
}

.command-shell {
  display: flex;
  max-width: 455px;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  background: rgba(3, 11, 17, 0.62);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.command-shell span {
  color: var(--gold);
  font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.command-shell code {
  overflow: hidden;
  color: #dce9e7;
  font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.hero-actions button,
.source-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--muted-bright);
  font: 650 11px/1 inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.hero-actions button:hover,
.hero-actions button:focus-visible,
.source-action:hover,
.source-action:focus-visible {
  border-color: rgba(98, 220, 227, 0.62);
  background: var(--cyan-soft);
  color: var(--ink);
  outline: none;
}

.hero-actions svg,
.limit-icon svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.proof-ledger {
  position: relative;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(13, 32, 45, 0.92), rgba(5, 16, 25, 0.94));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.proof-ledger::before {
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(232, 185, 94, 0.08) 72%);
  content: "";
}

.ledger-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 28px 24px;
  border-bottom: 1px solid var(--line);
}

.ledger-header p {
  color: var(--muted);
}

.ledger-header h2 {
  margin: 8px 0 0;
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 590;
  letter-spacing: -0.04em;
}

.state-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font: 750 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
}

.state-badge > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.state-badge[data-state="pass"] {
  border-color: rgba(98, 220, 227, 0.42);
  background: var(--cyan-soft);
  color: var(--cyan);
}

.state-badge[data-state="fail"] {
  border-color: rgba(255, 142, 120, 0.42);
  background: rgba(255, 142, 120, 0.09);
  color: var(--failure);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  min-height: 59px;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-bright);
  font-size: 13px;
}

.check-index {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.check-row strong {
  color: var(--muted);
  font: 750 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
}

.check-row.pass .check-index,
.check-row.pass strong {
  color: var(--cyan);
}

.check-row.pass .check-index {
  border-color: rgba(98, 220, 227, 0.38);
  background: var(--cyan-soft);
}

.check-row.fail .check-index,
.check-row.fail strong {
  color: var(--failure);
}

.run-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 21px 28px 23px;
}

.run-meta div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.run-meta dt {
  color: var(--muted);
  font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.run-meta dd {
  overflow: hidden;
  margin: 8px 0 0;
  color: var(--muted-bright);
  font: 500 11px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.claims-section {
  padding: 86px 0 96px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 440px);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.limits h2 {
  margin: 12px 0 0;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 590;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.claims-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.claim-list {
  margin: 0;
  padding: 0;
  border-right: 1px solid var(--line-strong);
  list-style: none;
}

.claim-button {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted-bright);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.claim-list li:last-child .claim-button {
  border-bottom: 0;
}

.claim-button:hover,
.claim-button:focus-visible,
.claim-button[aria-selected="true"] {
  background: rgba(98, 220, 227, 0.065);
  color: var(--ink);
  outline: none;
}

.claim-button[aria-selected="true"] {
  box-shadow: inset 2px 0 var(--cyan);
}

.claim-number {
  color: var(--muted);
  font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.claim-arrow {
  color: var(--gold);
  font-size: 14px;
}

.claim-detail {
  min-height: 100%;
  padding: clamp(32px, 5vw, 64px);
  background: rgba(6, 18, 29, 0.48);
}

.detail-kicker {
  color: var(--cyan);
}

.claim-detail h3 {
  margin: 15px 0 18px;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 580;
  letter-spacing: -0.045em;
}

.claim-detail > p:not(.detail-kicker) {
  max-width: 660px;
  margin: 0;
  color: var(--muted-bright);
  font-size: 15px;
  line-height: 1.75;
}

.evidence-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.evidence-list a {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 500 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}

.evidence-list a span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-list a:hover,
.evidence-list a:focus-visible {
  border-color: rgba(232, 185, 94, 0.48);
  color: var(--ink);
  outline: none;
}

.limits {
  display: grid;
  grid-template-columns: auto minmax(250px, 0.65fr) minmax(380px, 1.35fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  margin-bottom: 84px;
  padding: 48px 0;
  border-top: 1px solid rgba(232, 185, 94, 0.34);
  border-bottom: 1px solid rgba(232, 185, 94, 0.18);
}

.limit-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(232, 185, 94, 0.34);
  color: var(--gold);
}

.limit-icon svg {
  width: 20px;
}

.limits h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.limits ul {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  list-style: none;
}

.limits li {
  position: relative;
  padding-left: 18px;
}

.limits li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--gold);
  content: "";
}

footer {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

footer a {
  color: var(--muted-bright);
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: var(--cyan);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 72px 0;
  }

  .hero-copy {
    max-width: 680px;
  }

  .section-heading,
  .claims-layout {
    grid-template-columns: 1fr;
  }

  .claim-list {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .limits {
    grid-template-columns: auto 1fr;
  }

  .limits ul {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 64px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .wordmark {
    font-size: 11px;
  }

  .hero {
    gap: 46px;
    padding: 58px 0 68px;
  }

  h1 {
    margin-top: 20px;
    font-size: clamp(58px, 21vw, 86px);
  }

  .lede {
    font-size: 14px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions button,
  .source-action {
    flex: 1;
    padding-inline: 10px;
  }

  .ledger-header,
  .check-row,
  .run-meta {
    padding-inline: 18px;
  }

  .ledger-header {
    align-items: center;
  }

  .ledger-header h2 {
    font-size: 25px;
  }

  .check-row {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 9px;
    font-size: 12px;
  }

  .run-meta {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }

  .run-meta div:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

  .claims-section {
    padding: 68px 0;
  }

  .section-heading {
    gap: 20px;
  }

  .claims-layout {
    margin-inline: -14px;
  }

  .claim-button {
    padding-inline: 18px;
  }

  .claim-detail {
    padding: 34px 20px 40px;
  }

  .evidence-list {
    grid-template-columns: 1fr;
  }

  .limits {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }

  .limits ul {
    grid-column: auto;
  }

  footer {
    min-height: 104px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
