:root {
  --blue: #1f4f8b;
  --blue-dark: #17375f;
  --green: #2e7d32;
  --purple: #6a4fb3;
  --rose: #9b3d6d;
  --gold: #b58b2a;
  --bg: #ffffff;
  --muted: #5f6b7a;
  --border: #d8e0ea;
  --soft: #f7f9fc;
  --soft-2: #eef4fb;
  --shadow: 0 10px 30px rgba(18, 39, 70, 0.08);
  --radius: 18px;
  --maxw: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  color: #152033;
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.container {
  width: min(var(--maxw), calc(100vw - 32px));
  margin: 0 auto;
}

.hero {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-bottom: 1px solid #e5edf8;
  padding: 24px 0 44px;
}

.topnote {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #d9e6fb;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

h1, h2, h3 {
  font-family: "Google Sans", "Noto Sans", sans-serif;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  margin: 10px auto 16px;
  max-width: 980px;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto 18px;
  font-size: 1.06rem;
}

.venue {
  text-align: center;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.authors {
  text-align: center;
  max-width: 950px;
  margin: 0 auto 10px;
  font-size: 1rem;
}

.affiliations {
  text-align: center;
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  border: 1px solid #cfe0fb;
  background: white;
  color: var(--blue-dark);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(31, 79, 139, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(31, 79, 139, 0.12);
}

.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  text-align: center;
  margin-bottom: 12px;
}

.section-desc {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--muted);
}

.teaser {
  background: linear-gradient(135deg, #f6fbff 0%, #f9fbff 100%);
  border: 1px solid #dbe8fb;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.teaser-grid,
.grid-2,
.grid-3 {
  display: grid;
  gap: 20px;
}

.teaser-grid { grid-template-columns: 1.05fr 1fr; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  height: 100%;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pill.blue { background: #eaf2ff; color: var(--blue); }
.pill.green { background: #eaf7eb; color: var(--green); }
.pill.purple { background: #f0ebff; color: var(--purple); }
.pill.rose { background: #fdebf3; color: var(--rose); }
.pill.gold { background: #fbf4e3; color: var(--gold); }

ul.clean {
  margin: 0;
  padding-left: 20px;
}

ul.clean li { margin: 10px 0; }

.highlight {
  font-size: 1.1rem;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: #f5fbf6;
  border-radius: 12px;
  margin-top: 18px;
}

.pipeline-figure {
  margin-top: 14px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.pipeline-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #f7fafd;
}

.pipeline-caption {
  margin-top: 12px;
  font-size: 0.94rem;
  color: var(--muted);
  text-align: center;
}

.benchmark-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 26px;
}

.benchmark-table-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--blue-dark);
}

.table-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 680px;
}

th, td {
  padding: 14px 14px;
  border-bottom: 1px solid #e8edf4;
  text-align: left;
  font-size: 0.96rem;
  vertical-align: top;
}

th {
  background: #f7fafd;
  color: var(--blue-dark);
  font-weight: 700;
}

tr:last-child td { border-bottom: none; }

.metric-good { color: var(--green); font-weight: 700; }
.metric-bad { color: #c62828; font-weight: 700; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat .num {
  font-family: "Google Sans", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quote-box {
  background: #f8fbff;
  border: 1px solid #dce8fb;
  border-radius: 18px;
  padding: 20px;
  color: var(--blue-dark);
  font-weight: 600;
}

.bibtex {
  background: #101826;
  color: #eff5ff;
  border-radius: 20px;
  padding: 24px;
  overflow-x: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: var(--shadow);
}

.footer {
  border-top: 1px solid #e5edf8;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.94rem;
}

.muted-center {
  text-align: center;
  color: var(--muted);
}

.small { font-size: 0.92rem; color: var(--muted); }

@media (max-width: 900px) {
  .teaser-grid,
  .grid-2,
  .grid-3,
  .stats,
  .two-col-text,
  .pipeline {
    grid-template-columns: 1fr;
  }

  .arrow { display: none; }
  table { min-width: 620px; }
}
