:root {
  --night: #141b2d;
  --night-2: #1b2540;
  --ink: #172033;
  --muted: #687288;
  --line: #dfe4ee;
  --paper: #f4f6fa;
  --white: #fff;
  --blue: #5f7cff;
  --teal: #18b9a6;
  --amber: #f3b846;
  --coral: #ef6e67;
  --violet: #9b78ff;
  --shadow: 0 20px 70px rgba(26, 36, 61, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(95, 124, 255, .09), transparent 26rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
a { color: inherit; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 76px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: white;
  background: rgba(20, 27, 45, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; justify-self: start; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: .02em; }
.brand small { color: #9ba7c2; font-size: 10px; margin-top: 2px; text-transform: uppercase; letter-spacing: .13em; }
.brand-mark { display: flex; align-items: end; gap: 3px; height: 28px; width: 28px; padding: 5px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
.brand-mark i { display: block; width: 4px; border-radius: 2px; background: var(--teal); }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 17px; background: var(--blue); }
.brand-mark i:nth-child(3) { height: 12px; background: var(--amber); }
nav { display: flex; gap: 28px; align-self: stretch; }
.nav-link { position: relative; display: grid; place-items: center; color: #9ba7c2; font-size: 13px; text-decoration: none; }
.nav-link::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--teal); transform: scaleX(0); transition: .2s; }
.nav-link:hover, .nav-link.active { color: white; }
.nav-link.active::after { transform: scaleX(1); }
.privacy-chip { justify-self: end; color: #aeb8ce; border: 1px solid rgba(255,255,255,.12); padding: 8px 11px; border-radius: 99px; font-size: 11px; }
.privacy-chip span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(24,185,166,.12); }

main { max-width: 1440px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 76px) 60px; }
.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  align-items: center;
  gap: 30px;
  overflow: hidden;
}
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 0; color: var(--night); font-size: clamp(48px, 6.4vw, 94px); line-height: .96; letter-spacing: -.055em; }
.lede { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.primary-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  color: white;
  background: var(--night);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(20, 27, 45, .16);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  transition: transform .18s, background .18s;
}
.primary-download:hover { background: var(--blue); transform: translateY(-2px); }
.primary-download span { color: var(--teal); font-size: 18px; line-height: 1; }
.primary-download:hover span { color: white; }
.download-meta { max-width: 280px; color: #7d879a; font-size: 10px; line-height: 1.45; }
.hero-orbit { position: relative; min-height: 420px; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(95,124,255,.24); border-radius: 50%; transform: translate(-50%,-50%) rotate(-14deg); }
.orbit-one { width: 340px; height: 340px; }
.orbit-two { width: 250px; height: 250px; border-color: rgba(24,185,166,.28); transform: translate(-50%,-50%) rotate(34deg); }
.orbit::before, .orbit::after { content:""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 7px rgba(95,124,255,.12); }
.orbit::before { top: 18%; left: 6%; }
.orbit::after { right: 7%; bottom: 18%; background: var(--teal); box-shadow: 0 0 0 7px rgba(24,185,166,.12); }
.orbit-core { position: absolute; top: 50%; left: 50%; width: 158px; height: 158px; display: grid; place-content: center; text-align: center; border-radius: 50%; transform: translate(-50%,-50%); color: white; background: var(--night); box-shadow: 0 25px 70px rgba(20,27,45,.22); }
.orbit-core strong { font-size: 47px; line-height: 1; }
.orbit-core span { margin-top: 7px; color: #aeb8ce; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.orbit-label { position: absolute; padding: 7px 10px; border-radius: 99px; color: var(--muted); background: white; border: 1px solid var(--line); box-shadow: 0 8px 25px rgba(26,36,61,.08); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.label-human { top: 17%; left: 14%; }
.label-pro { top: 17%; right: 7%; }
.label-flash { bottom: 17%; right: 10%; }
.label-qwen { bottom: 13%; left: 11%; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--line); box-shadow: var(--shadow); }
.kpi-card { min-height: 150px; padding: 26px; display: flex; flex-direction: column; justify-content: center; background: white; }
.kpi-card > span { color: var(--muted); font-size: 12px; font-weight: 650; }
.kpi-card strong { margin: 10px 0 7px; color: var(--night); font-size: clamp(28px, 3vw, 42px); letter-spacing: -.04em; }
.kpi-card small { color: #8b94a8; font-size: 11px; }
.kpi-card.accent { color: white; background: var(--night); }
.kpi-card.accent > span, .kpi-card.accent small { color: #aeb8ce; }
.kpi-card.accent strong { color: var(--teal); font-size: clamp(21px, 2vw, 29px); }

.panel { background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.benchmark-panel { margin-top: 28px; padding: clamp(24px, 3vw, 42px); }
.section-block { padding-top: 118px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; color: var(--night); font-size: clamp(30px, 4vw, 54px); line-height: 1.03; letter-spacing: -.045em; }
.section-heading p:not(.eyebrow) { max-width: 660px; margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.legend { display: flex; flex-wrap: wrap; justify-content: end; gap: 14px; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.legend-dot { width: 8px; height: 8px; border-radius: 2px; }
.chart-frame { min-height: 405px; overflow-x: auto; }
.benchmark-svg { min-width: 830px; width: 100%; height: 410px; }
.axis-label { fill: #778196; font-size: 10px; }
.dimension-label { fill: #3f4a60; font-size: 11px; font-weight: 700; }
.grid-line { stroke: #e8ebf2; stroke-width: 1; }
.bar { transition: opacity .15s, transform .15s; transform-box: fill-box; transform-origin: bottom; cursor: help; }
.bar:hover { opacity: .78; transform: scaleY(1.02); }

.findings-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.finding-card { min-height: 180px; padding: 25px; border-radius: 16px; background: #e9edf6; }
.finding-card:nth-child(2), .finding-card:nth-child(5) { background: #e4f4f1; }
.finding-card:nth-child(3), .finding-card:nth-child(6) { background: #f8edd9; }
.finding-card span { display: block; margin-bottom: 25px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.finding-card h3 { margin: 0 0 9px; font-size: 17px; }
.finding-card p { margin: 0; color: #2f3a50; font-size: 14px; font-weight: 500; line-height: 1.62; }

.control-row { display: flex; gap: 12px; }
label span { display: block; margin: 0 0 7px 2px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
select, input { color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 10px; outline: none; }
select { min-width: 180px; padding: 11px 34px 11px 12px; }
select:focus, input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(95,124,255,.12); }
.agreement-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; }
.scatter-panel { padding: 26px; }
.mini-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.mini-heading h3 { margin: 0; font-size: 18px; }
.mini-heading span { color: var(--muted); font-size: 11px; }
.scatter-chart svg { width: 100%; height: 465px; overflow: visible; }
.scatter-point { cursor: pointer; transition: r .15s, opacity .15s; }
.scatter-point:hover { r: 7; opacity: .82; }
.metric-stack { display: grid; gap: 12px; }
.metric-card { display: flex; flex-direction: column; justify-content: center; min-height: 108px; padding: 20px; color: white; background: var(--night); border-radius: 15px; }
.metric-card:nth-child(2) { background: #243050; }
.metric-card:nth-child(3) { color: var(--ink); background: #dce4ff; }
.metric-card:nth-child(4) { color: var(--ink); background: #dff4ef; }
.metric-card span { color: #aeb8ce; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.metric-card:nth-child(n+3) span { color: #69748a; }
.metric-card strong { margin-top: 7px; font-size: 30px; letter-spacing: -.04em; }
.metric-card small { margin-top: 3px; color: #aeb8ce; font-size: 10px; }
.metric-card:nth-child(n+3) small { color: #69748a; }
.divergence-panel { margin-top: 18px; padding: 26px; }
.text-button { padding: 8px 0; color: var(--blue); background: none; border: 0; cursor: pointer; font-weight: 700; font-size: 12px; }
.text-button:hover { color: var(--night); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 11px 12px; color: #7b8498; text-align: left; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; border-bottom: 1px solid var(--line); }
td { padding: 13px 12px; border-bottom: 1px solid #edf0f5; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: #f7f8fb; }
.difference { font-weight: 800; }
.difference.positive { color: var(--coral); }
.difference.negative { color: var(--blue); }

.search-wrap { position: relative; width: min(360px, 100%); }
.search-wrap span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8b94a8; font-size: 20px; }
.search-wrap input { width: 100%; padding: 14px 16px 14px 42px; }
.explorer-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 18px; align-items: start; }
.video-index { position: sticky; top: 94px; overflow: hidden; }
.index-meta { height: 62px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.index-meta span { color: var(--muted); font-size: 11px; }
.index-meta select { min-width: 0; padding: 8px 28px 8px 9px; font-size: 11px; }
.video-list { max-height: 680px; overflow-y: auto; scrollbar-width: thin; }
.video-button { width: 100%; padding: 14px 17px; display: flex; align-items: center; gap: 12px; text-align: left; background: white; border: 0; border-bottom: 1px solid #edf0f5; cursor: pointer; }
.video-button:hover { background: #f7f8fb; }
.video-button.active { background: #eef1ff; box-shadow: inset 3px 0 0 var(--blue); }
.video-button .number { width: 30px; color: #9aa3b5; font-size: 10px; }
.video-button strong, .video-button small { display: block; }
.video-button strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.video-button small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.video-detail { min-height: 760px; padding: clamp(24px, 3vw, 40px); }
.video-detail-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.video-detail-header h3 { margin: 0; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.035em; }
.video-detail-header p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); }
.n-chip { padding: 8px 11px; color: #63708a; background: #eef1f7; border-radius: 99px; font-size: 10px; white-space: nowrap; }
.explorer-video-wrap {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #d9dfeb;
  border-radius: 14px;
  background: #0e1422;
  aspect-ratio: 16 / 9;
}
.explorer-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0e1422;
}
.video-status {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  color: #c6cede;
  background: #141b2d;
  font-size: 12px;
}
.video-status[hidden] { display: none; }
.score-chart { margin-top: 38px; }
.score-row { display: grid; grid-template-columns: 170px minmax(280px, 1fr); gap: 18px; align-items: center; margin-bottom: 18px; }
.score-label strong, .score-label small { display: block; }
.score-label strong { font-size: 11px; }
.score-label small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.score-track { position: relative; height: 44px; border-radius: 8px; background: repeating-linear-gradient(90deg, #edf0f5 0, #edf0f5 1px, transparent 1px, transparent 20%); border: 1px solid #edf0f5; }
.score-dot { position: absolute; width: 12px; height: 12px; border: 2px solid white; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 2px 8px rgba(18,25,42,.2); }
.human-range { position: absolute; top: 50%; height: 7px; border-radius: 99px; transform: translateY(-50%); background: rgba(20,27,45,.25); }
.score-dot.human { top: 50%; width: 16px; height: 16px; background: var(--night); }
.score-dot.model-0 { top: 18%; background: var(--blue); }
.score-dot.model-1 { top: 50%; background: var(--teal); }
.score-dot.model-2 { top: 82%; background: var(--amber); }
.scale-numbers { display: flex; justify-content: space-between; margin: 4px 0 0 188px; color: #9ba3b4; font-size: 9px; }
.rationale-section { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 28px; }
.rationale-section > h4 { margin: 0 0 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.model-reading { padding: 18px 0; border-bottom: 1px solid #edf0f5; }
.model-reading:last-child { border: 0; }
.reading-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.reading-heading strong { font-size: 13px; }
.reading-heading span { color: var(--muted); font-size: 10px; }
.model-reading > p { margin: 10px 0 13px; color: #566176; font-size: 12px; line-height: 1.6; }
.model-reading details { color: #667188; font-size: 11px; }
.model-reading summary { color: var(--blue); cursor: pointer; font-weight: 700; }
.rationale-list { margin-top: 13px; display: grid; gap: 10px; }
.rationale-item { display: grid; grid-template-columns: 180px 25px 1fr; gap: 10px; line-height: 1.45; }
.rationale-item b { color: var(--ink); font-weight: 650; }
.rationale-item em { color: var(--night); font-style: normal; font-weight: 800; }

.methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.method-card { min-height: 230px; padding: 28px; }
.method-card > span { color: var(--blue); font-size: 12px; font-weight: 800; }
.method-card h3 { margin: 38px 0 12px; font-size: 21px; }
.method-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.language-panel { margin-top: 16px; padding: 28px; display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.language-panel h3 { margin: 0; font-size: 20px; }
.language-bars { display: grid; gap: 12px; }
.language-row { display: grid; grid-template-columns: 65px 1fr 95px; gap: 12px; align-items: center; font-size: 11px; }
.language-track { height: 8px; overflow: hidden; background: #e9edf4; border-radius: 99px; }
.language-fill { height: 100%; border-radius: inherit; background: var(--blue); }
.language-row:nth-child(2) .language-fill { background: var(--teal); }
.language-row:nth-child(3) .language-fill { background: var(--amber); }
.language-row:nth-child(4) .language-fill { background: var(--coral); }
.language-row strong { text-align: right; }
footer { margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: #8c95a8; border-top: 1px solid var(--line); font-size: 10px; }
footer a { color: inherit; text-underline-offset: 3px; }
.tooltip { position: fixed; z-index: 50; max-width: 260px; padding: 10px 12px; color: white; background: rgba(20,27,45,.96); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.18); pointer-events: none; opacity: 0; transform: translate(10px, 10px); font-size: 11px; line-height: 1.45; transition: opacity .1s; }
.tooltip.visible { opacity: 1; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr 360px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .findings-grid { grid-template-columns: repeat(2, 1fr); }
  .agreement-grid { grid-template-columns: 1fr; }
  .metric-stack { grid-template-columns: repeat(4, 1fr); }
  .metric-card { min-height: 100px; }
  .explorer-layout { grid-template-columns: 270px 1fr; }
}
@media (max-width: 760px) {
  .site-header { height: 64px; padding: 0 18px; }
  .privacy-chip { display: none; }
  main { padding-inline: 16px; }
  .hero { min-height: 680px; padding: 70px 0 20px; grid-template-columns: 1fr; }
  .hero-orbit { min-height: 310px; }
  .orbit-one { width: 280px; height: 280px; }
  .orbit-two { width: 210px; height: 210px; }
  .orbit-core { width: 135px; height: 135px; }
  .kpi-grid, .findings-grid, .methods-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .control-row { display: grid; grid-template-columns: 1fr 1fr; }
  select { width: 100%; min-width: 0; }
  .metric-stack { grid-template-columns: repeat(2, 1fr); }
  .explorer-layout { grid-template-columns: 1fr; }
  .video-index { position: static; }
  .video-list { max-height: 320px; }
  .score-row { grid-template-columns: 1fr; gap: 8px; }
  .scale-numbers { margin-left: 0; }
  .rationale-item { grid-template-columns: 1fr 25px; }
  .rationale-item span { grid-column: 1 / -1; }
  .language-panel { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
