:root {
  --bg: #080b13;
  --bg-2: #0d1220;
  --panel: rgba(255,255,255,.055);
  --panel-2: rgba(255,255,255,.08);
  --text: #f5f7fb;
  --muted: #a7b0c2;
  --line: rgba(255,255,255,.11);
  --accent: #9ff4d2;
  --accent-2: #a9b8ff;
  --max: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 74% 4%, rgba(119, 131, 255, .16), transparent 60%),
    radial-gradient(700px 500px at 24% 11%, rgba(75, 221, 168, .10), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.nav-wrap {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(8, 11, 19, .72);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav { min-height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { font-size: 15px; font-weight: 780; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a, .footer-links a { color: var(--muted); font-size: 14px; transition: color .2s ease; }
.nav-links a:hover, .footer-links a:hover { color: var(--text); }
.nav-cta { margin-left: 4px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.04); }

.hero { padding: 104px 0 64px; text-align: center; }
.eyebrow, .section-kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .17em; font-weight: 760; font-size: 11px; }
.hero h1 { margin: 14px 0 0; font-size: clamp(56px, 10vw, 126px); line-height: .9; letter-spacing: -.075em; font-weight: 850; }
.hero h1 span { color: var(--accent); }
.hero-subtitle { margin: 28px auto 0; font-size: clamp(22px, 3vw, 36px); max-width: 920px; letter-spacing: -.03em; line-height: 1.18; }
.hero-award { margin: 12px auto 0; max-width: 860px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.hero-award a { color: var(--accent); text-decoration: none; }
.hero-award a:hover { text-decoration: underline; }
.authors { margin: 28px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 10px; color: var(--muted); font-size: 14px; }
.authors strong { color: var(--text); }
.dot { opacity: .5; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 17px; border-radius: 12px; font-size: 14px; font-weight: 700; border: 1px solid var(--line); }
.button.primary { background: var(--accent); color: #07150f; border-color: transparent; }
.button.secondary { background: rgba(255,255,255,.08); }
.button.ghost { color: var(--muted); }

.hero-demo { margin-top: 66px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.hero-card { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.04); overflow: hidden; }
.hero-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-card figcaption { padding: 12px 14px 14px; color: var(--muted); font-size: 12px; }
.hero-card figcaption span { color: var(--text); font-weight: 700; margin-right: 5px; }

.section { padding: 92px 0; border-top: 1px solid rgba(255,255,255,.07); }
.section h2 { margin: 10px 0 0; font-size: clamp(34px, 5vw, 62px); line-height: 1.03; letter-spacing: -.05em; }
.section-heading { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); gap: 44px; align-items: end; margin-bottom: 34px; }
.section-heading > p { color: var(--muted); margin: 0; font-size: 15px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.prose { color: var(--muted); font-size: 17px; }
.prose p:first-child { margin-top: 4px; }
.panel { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); border-radius: var(--radius); }
.method-figure { padding: 22px; overflow: hidden; }
.method-figure img { width: 100%; max-height: 560px; object-fit: contain; border-radius: 14px; background: #05070c; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.method-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.method-card .step { font-size: 11px; color: var(--accent); font-weight: 800; letter-spacing: .12em; }
.method-card h3 { margin: 18px 0 8px; font-size: 18px; }
.method-card p { margin: 0; color: var(--muted); font-size: 13px; }

.demo-block { padding: 22px; margin-top: 18px; }
.demo-title { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 2px 2px 18px; }
.demo-title > div { display: flex; gap: 12px; align-items: baseline; }
.demo-index { font-size: 11px; color: var(--accent); font-weight: 800; letter-spacing: .12em; }
.demo-title h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.demo-title p { margin: 0; color: var(--muted); font-size: 13px; text-align: right; }
.pair-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.media-card { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--bg-2); border: 1px solid rgba(255,255,255,.07); }
.media-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.media-label { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 8px; border-radius: 999px; background: rgba(5,8,14,.72); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); font-size: 10px; font-weight: 700; color: #dfe5ef; }
.output-card { box-shadow: inset 0 0 0 1px rgba(159,244,210,.07); }

.analysis-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 14px; }
.table-panel, .ablation-panel { padding: 22px; }
.panel-title { font-size: 14px; font-weight: 800; margin-bottom: 16px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
th { color: var(--muted); font-weight: 650; }
tbody tr:last-child td { border-bottom: 0; }
.highlight td { background: rgba(159,244,210,.07); color: #eafff6; }
.highlight td:first-child { border-radius: 10px 0 0 10px; font-weight: 800; }
.highlight td:last-child { border-radius: 0 10px 10px 0; }
.small-note { color: var(--muted); margin-left: 3px; }
.footnote { color: var(--muted); font-size: 11px; margin: 12px 0 0; }
.ablation-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ablation-media figure { margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.ablation-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.ablation-media figcaption { padding: 9px 10px 11px; font-size: 11px; color: var(--muted); }

.future-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.future-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.future-grid h3 { margin: 0 0 8px; font-size: 18px; }
.future-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.reference-grid a { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03); }
.reference-grid span { display: block; font-weight: 800; }
.reference-grid small { display: block; color: var(--muted); margin-top: 5px; }

footer { border-top: 1px solid var(--line); background: rgba(0,0,0,.18); }
.footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner span { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { padding-top: 82px; }
  .two-col, .section-heading, .analysis-grid { grid-template-columns: 1fr; gap: 22px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .pair-grid { grid-template-columns: 1fr 1fr; }
  .demo-title { align-items: flex-start; flex-direction: column; }
  .demo-title p { text-align: left; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, var(--max)); }
  .section { padding: 70px 0; }
  .hero { padding: 68px 0 46px; }
  .hero h1 { font-size: clamp(48px, 17vw, 78px); }
  .authors { display: block; }
  .authors span, .authors strong { display: block; margin-top: 3px; }
  .authors .dot { display: none; }
  .hero-demo { grid-template-columns: 1fr; }
  .method-grid, .future-grid, .reference-grid { grid-template-columns: 1fr; }
  .pair-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .demo-block, .table-panel, .ablation-panel { padding: 13px; }
  .demo-title h3 { font-size: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 36px 0; }
}
