:root {
    --bg: #070A13;
    --panel: rgba(255,255,255,0.075);
    --panel-strong: rgba(255,255,255,0.12);
    --text: #F8FAFC;
    --muted: #AAB4C4;
    --line: rgba(255,255,255,0.14);
    --cyan: #22D3EE;
    --violet: #A78BFA;
    --amber: #FBBF24;
    --green: #34D399;
    --rose: #FB7185;
    --shadow: 0 30px 80px rgba(0,0,0,0.42);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
      radial-gradient(circle at 15% 5%, rgba(167,139,250,0.28), transparent 32rem),
      radial-gradient(circle at 85% 10%, rgba(34,211,238,0.20), transparent 34rem),
      radial-gradient(circle at 55% 58%, rgba(251,191,36,0.12), transparent 36rem),
      var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .26;
    background-image:
      linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
  }
  a { color: inherit; text-decoration: none; }
  .nav {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(7,10,19,0.70);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; }
  .brand img { width: 34px; height: 34px; }
  .nav-links { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
  .nav-links a:hover { color: white; }
  .container {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
  }
  .hero {
    padding: 78px 0 44px;
    position: relative;
  }
  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.07);
    color: #DDE7F7;
    font-size: 13px;
    font-weight: 650;
    margin-bottom: 22px;
  }
  .dot { width: 8px; height: 8px; border-radius: 999px; background: linear-gradient(135deg, var(--cyan), var(--violet)); box-shadow: 0 0 18px var(--cyan); }
  h1 {
    font-size: clamp(42px, 7vw, 82px);
    line-height: .96;
    letter-spacing: -0.075em;
    margin: 0 0 18px;
    max-width: 1030px;
  }
  .gradient-text {
    background: linear-gradient(90deg, #fff, #C4B5FD 38%, #67E8F9 68%, #FDE68A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .subtitle {
    max-width: 910px;
    color: #C8D2E1;
    font-size: clamp(17px, 2vw, 22px);
    margin: 0 0 28px;
  }
  .authors {
    color: #E5EAF2;
    margin: 22px 0 6px;
    font-size: 18px;
  }
  .affil { color: var(--muted); font-size: 15px; max-width: 780px; }
  .buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 17px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.08);
    color: white;
    font-weight: 750;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  }
  .btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.32); }
  .btn.primary { background: linear-gradient(135deg, rgba(34,211,238,0.92), rgba(167,139,250,0.92)); color: #07101A; border: none; }
  .hero-card {
    margin-top: 46px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.055));
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .hero-card img { display: block; width: 100%; background: white; }
  .caption {
    padding: 14px 18px 18px;
    color: var(--muted);
    font-size: 14px;
    border-top: 1px solid var(--line);
  }
  section { padding: 56px 0; }
  .section-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 0 0 15px;
  }
  .section-lead { color: var(--muted); font-size: 18px; max-width: 850px; margin: 0 0 28px; }
  .grid {
    display: grid;
    gap: 18px;
  }
  .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card {
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 50px rgba(0,0,0,0.20);
  }
  .card h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.02em; }
  .card p { margin: 0; color: var(--muted); }
  .metric {
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--line);
  }
  .metric .value {
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.055em;
    margin-bottom: 8px;
  }
  .metric .label { color: #E4ECF8; font-weight: 700; }
  .metric .sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
  .method-img {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow);
  }
  .method-img img { width: 100%; display: block; }
  .table-wrap {
    overflow-x: auto;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.06);
  }
  table { width: 100%; border-collapse: collapse; min-width: 760px; }
  th, td { padding: 13px 15px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.10); }
  th { color: #EAF2FF; background: rgba(255,255,255,0.08); font-size: 13px; text-transform: uppercase; letter-spacing: .055em; }
  td { color: #D9E3F2; }
  tr:last-child td { border-bottom: none; }
  .ours { background: rgba(34,211,238,0.12); }
  .tag {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
    color: #07101A;
    background: linear-gradient(135deg, #67E8F9, #C4B5FD);
  }
  .abstract-box {
    font-size: 17px;
    color: #CED8E6;
    border-left: 3px solid var(--cyan);
    padding-left: 20px;
    max-width: 980px;
  }
  pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    color: #DDE7F7;
    background: rgba(0,0,0,0.28);
    border: 1px solid var(--line);
    padding: 18px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.45;
  }
  .footer {
    padding: 36px 0 54px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    margin-top: 28px;
  }
  .small { font-size: 14px; color: var(--muted); }
  @media (max-width: 840px) {
    .nav-links { display: none; }
    .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
    .hero { padding-top: 48px; }
    .authors { font-size: 16px; }
  }
