:root {
  color-scheme: dark;
  --bg: #070b0e;
  --panel: #0d1317;
  --panel-2: #111a1f;
  --line: #233139;
  --muted: #91a0a8;
  --text: #edf5f3;
  --teal: #39e2c0;
  --teal-dim: #143f3b;
  --amber: #f3b44e;
  --red: #ff7c78;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 60% -10%, rgba(57,226,192,.11), transparent 34%), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, 42px 42px, 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 70%); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 20; top: 0; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(20px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(7,11,14,.82); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 32px; aspect-ratio: 1; border: 1px solid var(--teal); border-radius: 8px; color: var(--teal); font-family: var(--mono); box-shadow: inset 0 0 18px rgba(57,226,192,.11); }
nav { display: flex; align-items: center; gap: 25px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--text); }
.github-link { padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); }
.hero { position: relative; padding: 112px 0 74px; }
.eyebrow, .kicker { color: var(--teal); font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(57,226,192,.11), 0 0 18px var(--teal); }
h1 { max-width: 940px; margin: 22px 0; font-size: clamp(48px, 7.2vw, 90px); line-height: .98; letter-spacing: -.065em; font-weight: 710; }
h1 span { color: #8da09d; }
.hero-copy { max-width: 720px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { cursor: pointer; padding: 13px 18px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--panel); }
.button.primary { border-color: var(--teal); color: #03110e; background: var(--teal); font-weight: 700; }
.button:hover { transform: translateY(-1px); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(13,19,23,.82); }
.metric { min-height: 175px; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; border-right: 1px solid var(--line); }
.metric:last-child { border: 0; }
.metric.featured { background: linear-gradient(145deg, rgba(57,226,192,.14), rgba(13,19,23,.3)); }
.metric-label { margin-bottom: auto; color: var(--muted); font-size: 13px; }
.metric strong { font-size: 44px; letter-spacing: -.05em; }
.metric > span:last-child { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.section { padding: 120px 0 10px; }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; margin-bottom: 36px; }
.section-heading h2, .method h2 { max-width: 700px; margin: 12px 0 0; font-size: clamp(35px, 4.5vw, 57px); line-height: 1.02; letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.65; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.comparison-card { padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.supervisor-card { border-color: #27685d; background: linear-gradient(145deg, rgba(57,226,192,.09), var(--panel) 45%); }
.card-topline { display: flex; align-items: center; justify-content: space-between; color: #c9d3d1; }
.status-chip { padding: 5px 8px; border-radius: 999px; background: #1b252b; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.status-chip.teal { color: var(--teal); background: var(--teal-dim); }
.rate-row { display: flex; align-items: baseline; gap: 14px; margin: 45px 0 16px; }
.rate-row strong { font-size: 64px; letter-spacing: -.07em; }
.rate-row span { color: var(--muted); font-size: 13px; }
.bar-track { overflow: hidden; height: 7px; border-radius: 99px; background: #1b252a; }
.bar { width: 0; height: 100%; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.supervisor-bar { background: var(--teal); box-shadow: 0 0 16px rgba(57,226,192,.5); }
.baseline-bar { background: #718088; }
dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 34px 0 0; }
dl div { padding-top: 15px; border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
dd { margin: 6px 0 0; font: 16px var(--mono); }
.section-heading.compact { grid-template-columns: 1fr auto; }
.filters { display: flex; gap: 10px; }
.filters label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
select { min-width: 150px; padding: 9px 28px 9px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--panel); }
.case-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(310px, .8fr); gap: 18px; align-items: start; }
.table-wrap { overflow: auto; max-height: 620px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { position: sticky; top: 0; z-index: 1; padding: 13px 15px; color: var(--muted); background: #11191e; text-align: left; font: 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
td { padding: 14px 15px; border-top: 1px solid var(--line); }
tbody tr { cursor: pointer; }
tbody tr:hover, tbody tr.selected { background: rgba(57,226,192,.055); }
.mono { font-family: var(--mono); font-size: 11px; }
.outcome { display: inline-flex; align-items: center; gap: 6px; }
.outcome::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.outcome.escalated { color: var(--amber); }
.outcome.escalated::before { background: var(--amber); }
.evidence-panel { position: sticky; top: 90px; min-height: 460px; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.evidence-panel h3 { margin: 12px 0 8px; font-size: 23px; letter-spacing: -.03em; }
.evidence-panel > p { color: var(--muted); line-height: 1.55; }
.trace { display: grid; gap: 0; margin: 25px 0; padding: 0; list-style: none; }
.trace li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 9px; align-items: center; min-height: 42px; color: var(--muted); font-size: 12px; }
.trace li::before { content: ""; width: 8px; height: 8px; margin-left: 4px; border: 1px solid var(--teal); border-radius: 50%; background: var(--panel); z-index: 1; }
.trace li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 25px; bottom: -9px; width: 1px; background: #28594f; }
.trace strong { color: var(--text); font-size: 12px; font-weight: 600; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-grid div { padding: 12px; border-radius: 8px; background: var(--panel-2); }
.detail-grid span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.detail-grid strong { display: block; margin-top: 5px; font: 15px var(--mono); }
.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding-bottom: 110px; }
.method-steps { margin: 0; padding: 0; list-style: none; }
.method-steps li { display: grid; grid-template-columns: 50px 1fr; gap: 15px; padding: 22px 0; border-top: 1px solid var(--line); }
.method-steps li > span { color: var(--teal); font: 12px var(--mono); }
.method-steps strong { font-size: 17px; }
.method-steps p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.disclosure { grid-column: 1 / -1; display: grid; grid-template-columns: 230px 1fr; gap: 30px; padding: 25px; border-left: 3px solid var(--amber); background: rgba(243,180,78,.07); }
.disclosure p { margin: 0; color: #c9beb0; line-height: 1.65; }
footer { display: flex; justify-content: space-between; padding: 35px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.demo-overlay { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(1,5,7,.82); backdrop-filter: blur(12px); }
.demo-overlay[hidden] { display: none; }
.demo-modal { position: relative; width: min(760px, 100%); padding: 38px; border: 1px solid #2b6259; border-radius: 16px; background: #0b1216; box-shadow: 0 30px 100px #000; }
.close-demo { position: absolute; top: 15px; right: 17px; border: 0; color: var(--muted); background: none; font-size: 27px; cursor: pointer; }
.demo-modal h2 { margin: 18px 0 30px; font-size: 34px; letter-spacing: -.04em; }
.demo-stage { min-height: 235px; display: grid; place-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #080d10; }
.demo-event { width: 100%; display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; animation: appear .4s ease; }
.demo-event .icon { display: grid; place-items: center; width: 48px; aspect-ratio: 1; border-radius: 50%; color: #03110e; background: var(--teal); font-weight: 800; }
.demo-event h3 { margin: 0 0 7px; font-size: 21px; }
.demo-event p { margin: 0; color: var(--muted); line-height: 1.6; }
.demo-progress { overflow: hidden; height: 3px; margin-top: 24px; background: var(--line); }
.demo-progress span { display: block; width: 0; height: 100%; background: var(--teal); }
@keyframes appear { from { opacity: 0; transform: translateY(7px); } }
@media (max-width: 850px) {
  nav > a:not(.github-link) { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading, .section-heading.compact, .case-layout, .method { grid-template-columns: 1fr; }
  .evidence-panel { position: static; }
  .method { gap: 38px; }
}
@media (max-width: 590px) {
  .shell { width: min(100% - 24px, 1180px); }
  .site-header { padding-inline: 12px; }
  .hero { padding-top: 78px; }
  h1 { font-size: 46px; }
  .metrics, .comparison-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .filters { width: 100%; }
  select { min-width: 0; width: 100%; }
  .filters label { flex: 1; }
  .section { padding-top: 88px; }
  .disclosure { grid-template-columns: 1fr; }
  footer { gap: 20px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
