:root {
  --ink: #1a1a1a;
  --muted: #5c6066;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --accent: #8080ff;
  --accent-soft: #ececff;
  --maxw: 940px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

header.hero {
  padding: 72px 0 36px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
h1.title {
  font-family: "Spectral SC", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin: 0 0 6px;
}
h1.title .acronym { color: var(--accent); }
.subtitle {
  font-family: Spectral, "Times New Roman", serif;
  font-size: clamp(17px, 2.6vw, 22px);
  color: var(--muted);
  margin: 0 auto 26px;
  max-width: 760px;
}
.authors { font-size: 18px; margin: 4px 0; }
.authors a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.affil { color: var(--muted); font-size: 15px; margin: 2px 0 26px; }

.links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); background: #000; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn .ico { font-size: 16px; line-height: 1; }

section { padding: 46px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
h2 {
  font-family: Spectral, "Times New Roman", serif;
  font-size: 27px; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 18px; text-align: center;
}
p { margin: 0 0 16px; }
.lead { color: #2a2d31; }

figure { margin: 28px 0; text-align: center; }
figure img {
  max-width: 100%; height: auto; border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
figure.plain img { border: none; }
figcaption { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 760px; margin-left: auto; margin-right: auto; }
figcaption b { color: var(--ink); }

.hero-fig { margin: 32px auto 0; max-width: 880px; }

section p, figcaption { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

.table-wrap { overflow-x: auto; margin: 8px 0 18px; }
table.results {
  width: 100%; border-collapse: collapse;
  font-size: 15.5px; font-variant-numeric: tabular-nums lining-nums;
}
table.results th, table.results td { padding: 7px 10px; text-align: center; white-space: nowrap; }
table.results th[rowspan], table.results td:first-child { text-align: left; }
table.results th[rowspan] { vertical-align: bottom; border-bottom: 1px solid var(--ink); }
table.results thead tr:first-child th { border-top: 2px solid var(--ink); }
table.results thead tr:last-child th { border-bottom: 1px solid var(--ink); font-weight: 600; color: var(--muted); }
table.results tbody tr:first-child td { border-bottom: 1px solid var(--line); }
table.results tbody tr:last-child td { border-bottom: 2px solid var(--ink); }
table.results td a, table.results th a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
table.results td a:hover, table.results th a:hover { border-bottom-color: var(--ink); }
table.results b { color: var(--accent); }
p.note, ol.notes { font-size: 14.5px; color: var(--muted); }
ol.notes { list-style: none; padding: 0; margin: 0; }
ol.notes li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

pre.bibtex {
  background: #0f1115; color: #e7e9ec;
  border-radius: 10px; padding: 20px 22px;
  overflow-x: auto; font-size: 14px; line-height: 1.55;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

code.inline {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 6px; font-size: 0.92em;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}

footer { text-align: center; color: var(--muted); font-size: 14px; padding: 34px 0 56px; }
footer a { color: var(--muted); }

@media (max-width: 680px) {
  body { font-size: 17px; }
  header.hero { padding: 48px 0 28px; }
}
