:root {
  color-scheme: dark light;
  --bg: #07090e;
  --bg-elevated: #0d1119;
  --surface: rgba(17, 22, 32, .86);
  --surface-solid: #121822;
  --surface-soft: rgba(148, 163, 184, .055);
  --line: rgba(148, 163, 184, .16);
  --line-strong: rgba(148, 163, 184, .26);
  --text: #f4f7fb;
  --muted: #97a4b6;
  --muted-2: #6f7b8d;
  --cyan: #39d2ef;
  --purple: #9d69f5;
  --green: #65e6a2;
  --amber: #f4c15d;
  --red: #ff7f89;
  --shadow: 0 24px 80px rgba(0,0,0,.28);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% -8%, rgba(57,210,239,.12), transparent 34rem),
    radial-gradient(circle at 88% 1%, rgba(157,105,245,.11), transparent 32rem),
    linear-gradient(180deg, rgba(255,255,255,.01), transparent 28rem),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
code { font-family: "SFMono-Regular", Consolas, monospace; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
  padding: 10px max(22px, calc((100vw - 1260px) / 2));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(28px) saturate(140%);
}
.brand { display:flex; align-items:center; gap:12px; min-width:0; }
.brand-mark {
  position:relative; display:grid; place-items:center; width:42px; height:42px; border-radius:13px;
  background: linear-gradient(145deg, rgba(57,210,239,.98), rgba(157,105,245,.96));
  box-shadow: 0 10px 28px rgba(57,210,239,.18), inset 0 0 0 1px rgba(255,255,255,.22);
}
.brand-mark::after { content:""; position:absolute; inset:7px; border:1px solid rgba(255,255,255,.28); border-radius:9px; }
.brand-mark span { position:relative; z-index:1; color:#fff; font-size:12px; font-weight:900; letter-spacing:-.5px; }
.brand-copy strong { display:block; font-size:15px; letter-spacing:-.25px; }
.brand-copy small { display:block; margin-top:2px; color:var(--muted); font-size:8px; font-weight:800; letter-spacing:1.65px; }
nav { display:flex; gap:5px; }
nav a { padding:9px 11px; border-radius:10px; color:var(--muted); font-size:12px; font-weight:700; }
nav a:hover { color:var(--text); background:var(--surface-soft); }

.shell { width:min(1260px, calc(100% - 44px)); margin:0 auto; padding:74px 0 54px; }
.hero { min-height:500px; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr); align-items:center; gap:72px; }
.hero-copy { min-width:0; }
.live-pill { display:inline-flex; align-items:center; gap:8px; margin-bottom:22px; padding:7px 10px; border:1px solid rgba(101,230,162,.19); border-radius:999px; background:rgba(101,230,162,.06); color:var(--green); font-size:10px; font-weight:750; }
.live-dot { width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 5px rgba(101,230,162,.08); }
.eyebrow { display:block; margin-bottom:10px; color:var(--cyan); font-size:9px; font-weight:850; letter-spacing:1.75px; }
.hero h1 { margin:0; max-width:760px; font-size:clamp(36px,4.7vw,60px); line-height:1.02; letter-spacing:-2.4px; }
.hero h1 span { color:var(--muted); }
.hero p { max-width:720px; margin:20px 0 0; color:var(--muted); font-size:15px; line-height:1.65; }
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:30px; }
.primary-action, .secondary-action, .link-button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 15px; border-radius:11px; font-size:12px; font-weight:750; transition:.16s ease; }
.primary-action { color:#041116; background:linear-gradient(135deg,var(--cyan),#6fe6f5); box-shadow:0 12px 32px rgba(57,210,239,.15); }
.primary-action:hover { transform:translateY(-1px); filter:brightness(1.03); }
.secondary-action, .link-button { border:1px solid var(--line); background:var(--surface-soft); color:var(--text); }
.secondary-action:hover, .link-button:hover { background:rgba(148,163,184,.105); border-color:var(--line-strong); }
.trust-row { display:flex; flex-wrap:wrap; gap:14px 22px; margin-top:26px; color:var(--muted-2); font-size:10px; font-weight:700; }
.trust-row span::before { content:"✓"; margin-right:7px; color:var(--green); }

.hero-console { position:relative; padding:20px; border:1px solid var(--line); border-radius:24px; background:linear-gradient(155deg, rgba(23,30,43,.94), rgba(10,14,21,.94)); box-shadow:var(--shadow); overflow:hidden; }
.hero-console::before { content:""; position:absolute; width:220px; height:220px; right:-80px; top:-100px; border-radius:50%; background:radial-gradient(circle,rgba(157,105,245,.20),transparent 65%); }
.console-top { position:relative; display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:9px; font-weight:850; letter-spacing:1.3px; }
.console-live { color:var(--green); }
.console-score { position:relative; margin:42px 0 26px; }
.console-score small { display:block; color:var(--muted); font-size:11px; }
.console-score strong { display:block; margin-top:7px; font-size:46px; line-height:1; letter-spacing:-2.6px; background:linear-gradient(90deg,var(--cyan),#b593ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.console-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.console-grid div { padding:12px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.025); }
.console-grid small { display:block; color:var(--muted-2); font-size:9px; text-transform:uppercase; letter-spacing:.65px; }
.console-grid strong { display:block; margin-top:5px; font-size:12px; }
.console-line { height:2px; margin:21px 0 16px; overflow:hidden; border-radius:99px; background:rgba(148,163,184,.10); }
.console-line span { display:block; width:78%; height:100%; background:linear-gradient(90deg,var(--cyan),var(--purple)); }
.hero-console p { margin:0; color:var(--muted); font-size:11px; line-height:1.55; }
.hero-console code { color:var(--text); font-size:10px; }

.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:12px 0 26px; }
.stat-card, .panel, .trust-panel { border:1px solid var(--line); background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 97%,white 3%),var(--surface)); box-shadow:var(--shadow); }
.stat-card { min-height:126px; padding:18px 19px; border-radius:16px; }
.stat-card small { display:block; color:var(--muted); font-size:10px; font-weight:700; }
.stat-card strong { display:block; margin-top:10px; font-size:31px; letter-spacing:-1.5px; }
.stat-card span { display:block; margin-top:8px; color:var(--muted-2); font-size:9px; }
.panel { border-radius:var(--radius); overflow:hidden; }
.panel-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; padding:23px 24px; border-bottom:1px solid var(--line); }
.panel-heading h2 { margin:0; font-size:20px; letter-spacing:-.45px; }
.panel-heading p { max-width:620px; margin:6px 0 0; color:var(--muted); font-size:12px; line-height:1.55; }
.panel-heading .eyebrow { margin-bottom:6px; }
.search { display:flex; gap:8px; width:min(500px,48vw); }
.search input { min-width:0; flex:1; height:40px; padding:0 13px; color:var(--text); background:var(--bg-elevated); border:1px solid var(--line); border-radius:11px; outline:none; }
.search input:focus { border-color:color-mix(in srgb,var(--cyan) 70%,var(--line)); box-shadow:0 0 0 3px rgba(57,210,239,.09); }
.search button, .filter { border:1px solid var(--line); border-radius:10px; color:var(--text); background:var(--surface-soft); font-weight:700; }
.search button { padding:0 15px; }
.search button:hover, .filter:hover { background:rgba(148,163,184,.10); }

.ranking-controls { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; flex-wrap:wrap; padding:16px 18px; border-bottom:1px solid var(--line); }
.ranking-sort { display:flex; align-items:flex-start; gap:12px; flex-wrap:wrap; }
.ranking-sort > span { color:var(--muted); font-size:12px; font-weight:700; }
.filters { display:flex; flex-wrap:wrap; gap:7px; padding:0; border:0; }
.ranking-groups { display:flex; flex-wrap:wrap; gap:14px; }
.ranking-group { display:flex; flex-direction:column; gap:8px; }
.group-label { color:var(--muted-2); font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
.ranking-order-note { align-self:center; padding-top:30px; }
.mode-stack { display:flex; flex-direction:column; align-items:flex-start; gap:7px; }
.empty small { display:block; margin-top:6px; color:var(--muted); font-size:12px; line-height:1.5; }
.result-note-secondary { border-color:var(--line); background:var(--surface-soft); }

.filter { padding:8px 12px; color:var(--muted); font-size:12px; }
.filter.active { color:#051116; border-color:transparent; background:var(--cyan); }

.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; }
th,td { padding:14px 16px; border-bottom:1px solid var(--line); text-align:left; white-space:nowrap; }
th { color:var(--muted-2); font-size:9px; font-weight:800; letter-spacing:.7px; text-transform:uppercase; }
td { font-size:12px; }
tbody tr { transition:background .14s ease; }
tbody tr:hover { background:rgba(148,163,184,.035); }
.rank { width:42px; color:var(--muted-2); }
.system strong { display:block; max-width:320px; overflow:hidden; text-overflow:ellipsis; }
.system small { display:block; margin-top:4px; color:var(--muted); }
.score { font-variant-numeric:tabular-nums; font-size:15px; font-weight:800; letter-spacing:-.25px; }
.badge { display:inline-flex; align-items:center; gap:5px; padding:5px 8px; border-radius:999px; font-size:10px; font-weight:800; }
.badge.validated { color:var(--green); background:color-mix(in srgb,var(--green) 10%,transparent); border:1px solid color-mix(in srgb,var(--green) 17%,transparent); }
.badge.diagnostic { color:var(--amber); background:color-mix(in srgb,var(--amber) 10%,transparent); border:1px solid color-mix(in srgb,var(--amber) 17%,transparent); }
.result-link { color:var(--cyan); font-size:11px; font-weight:800; }
.loading,.empty,.error { padding:32px !important; text-align:center; color:var(--muted); }
.error { color:var(--red); }

.two-column { display:grid; grid-template-columns:1.02fr .98fr; gap:18px; margin-top:18px; }
.recent-list { padding:8px 18px 16px; }
.recent-item { display:grid; grid-template-columns:1fr auto; gap:14px; padding:14px 4px; border-bottom:1px solid var(--line); }
.recent-item:last-child { border-bottom:0; }
.recent-item strong { display:block; font-size:14px; }
.recent-item small { display:flex; flex-wrap:wrap; align-items:center; gap:5px; margin-top:5px; color:var(--muted); }
.recent-item .score { align-self:center; }
.validation-copy { padding:9px 21px 17px; }
.validation-step { display:grid; grid-template-columns:34px 1fr; gap:13px; padding:15px 2px; border-bottom:1px solid var(--line); }
.validation-step:last-child { border-bottom:0; }
.validation-step > span { display:grid; place-items:center; width:30px; height:30px; border-radius:9px; color:var(--cyan); background:rgba(57,210,239,.08); font-size:9px; font-weight:850; }
.validation-step strong { font-size:14px; }
.validation-step p { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.trust-panel { display:grid; grid-template-columns:.75fr 1.25fr; gap:50px; align-items:center; margin-top:18px; padding:28px; border-radius:var(--radius); }
.trust-panel h2 { margin:0; max-width:440px; font-size:22px; letter-spacing:-.55px; }
.trust-panel p { margin:0; color:var(--muted); font-size:13px; line-height:1.7; }

.result-hero { display:grid; grid-template-columns:1fr auto; gap:32px; align-items:end; margin:18px 0 20px; padding:28px; border:1px solid var(--line); border-radius:24px; background:linear-gradient(145deg,rgba(57,210,239,.055),rgba(157,105,245,.04),var(--surface)); box-shadow:var(--shadow); }
.result-hero h1 { margin:0; font-size:clamp(28px,3.8vw,48px); letter-spacing:-1.4px; line-height:1.02; overflow-wrap:anywhere; }
.result-hero p { margin:10px 0 0; color:var(--muted); font-size:14px; line-height:1.5; }
.result-score { text-align:right; }
.result-score small { color:var(--muted); font-size:11px; }
.result-score strong { display:block; margin-top:5px; font-size:clamp(34px,4.4vw,54px); letter-spacing:-1.8px; }
.result-actions { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; }
.result-workloads-panel { margin-top:18px; }
.detail-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; padding:18px; }
.detail-grid + .detail-grid { padding-top:0; }
.detail-cell { padding:13px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); }
.detail-cell small { display:block; color:var(--muted-2); font-size:9px; font-weight:750; text-transform:uppercase; letter-spacing:.65px; }
.digest { font-family:"SFMono-Regular", Consolas, monospace; font-size:12px !important; }
.detail-cell strong { display:block; margin-top:6px; font-size:14px; overflow-wrap:anywhere; line-height:1.35; }
.result-note { margin:0 18px 12px; padding:13px 14px; border-radius:12px; border:1px solid color-mix(in srgb,var(--amber) 20%,var(--line)); background:rgba(244,193,93,.055); color:var(--muted); font-size:12px; line-height:1.6; }

footer { display:flex; justify-content:space-between; gap:24px; width:min(1260px,calc(100% - 44px)); margin:0 auto; padding:28px 0 42px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
footer div { display:flex; flex-direction:column; gap:4px; }
footer strong { color:var(--text); font-size:12px; }
.footer-right { text-align:right; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (prefers-color-scheme: light) {
  :root {
    --bg:#f5f7fb; --bg-elevated:#fff; --surface:rgba(255,255,255,.91); --surface-solid:#fff;
    --surface-soft:rgba(45,58,78,.035); --line:rgba(50,62,80,.13); --line-strong:rgba(50,62,80,.22);
    --text:#10151d; --muted:#657083; --muted-2:#8993a2; --shadow:0 18px 55px rgba(39,52,74,.08);
  }
  .site-header { background:rgba(245,247,251,.84); }
  .hero-console { background:linear-gradient(155deg,rgba(255,255,255,.96),rgba(244,247,252,.96)); }
  .filter.active { color:#061016; }
}

@media (max-width:900px) {
  .shell { width:min(100% - 28px,1260px); padding-top:44px; }
  .site-header { padding-inline:14px; }
  .hero { grid-template-columns:1fr; min-height:auto; gap:34px; padding:26px 0 54px; }
  .hero-console { max-width:620px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .panel-heading { align-items:stretch; flex-direction:column; }
  .search { width:100%; }
  .two-column, .trust-panel { grid-template-columns:1fr; gap:18px; }
  .detail-grid { grid-template-columns:repeat(2,1fr); }
  .result-hero { grid-template-columns:1fr; align-items:start; }
  .result-score { text-align:left; }
}

@media (max-width:560px) {
  .brand-copy small { display:none; }
  nav a:nth-child(2) { display:none; }
  nav { gap:0; }
  nav a { padding-inline:8px; }
  .hero h1 { letter-spacing:-1.8px; font-size:clamp(32px,10vw,42px); }
  .hero-console { display:none; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stat-card { min-height:110px; }
  .stat-card strong { font-size:25px; }
  .filters { flex-wrap:nowrap; overflow-x:auto; }
  .filter { flex:0 0 auto; }
  .detail-grid { grid-template-columns:1fr; }
  .ranking-order-note { padding-top:0; }
  footer { width:calc(100% - 28px); flex-direction:column; }
  .footer-right { text-align:left; }
}

.hash-box {
  margin: 0 18px 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}
.hash-box small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.hash-box code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 12px;
  line-height: 1.55;
}
