:root {
  --ink: #1c2430;
  --muted: #5b6573;
  --line: #e4e7ec;
  --paper: #fbfbfc;
  --card: #ffffff;
  --accent: #1f4d63;
  --accent-soft: #e8f1f4;
  --good: #1b7f4a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 22px 72px;
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1.title {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.22;
  margin: 0 0 8px;
}

.subtitle {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 22px;
}

.authors {
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.85;
}

.authors .author-line {
  display: block;
  text-align: center;
  white-space: nowrap;
}

.authors a { font-weight: 600; }
.equal, .corr { color: var(--muted); font-size: 14px; }

.affils {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  margin: 10px 0 22px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.btn:hover {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.btn.soon {
  opacity: 0.55;
  pointer-events: none;
}

.teaser {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  display: block;
}

.caption {
  color: var(--muted);
  font-size: 14.5px;
  margin: 10px 0 0;
}

section {
  margin-top: 42px;
}

h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.abstract {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
}

.kws { margin-top: 12px; color: var(--muted); font-size: 14.5px; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 16px 14px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
}

.card p { margin: 0; color: var(--muted); font-size: 15px; }

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

.stat {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 22px;
  color: var(--accent);
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

figure {
  margin: 18px 0 0;
}

figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  display: block;
}

figcaption {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 8px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

th, td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

th {
  background: #f4f6f8;
  font-weight: 650;
}

td:first-child, th:first-child { text-align: left; }

tr.ours td { font-weight: 700; background: #f3faf6; }
.best { color: var(--good); }

.note { color: var(--muted); font-size: 14px; margin-top: 8px; }

pre {
  background: #111827;
  color: #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.45;
}

footer {
  margin-top: 48px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 760px) {
  .grid, .stats { grid-template-columns: 1fr 1fr; }
  .authors, .affils { text-align: center; }
  .authors .author-line { white-space: normal; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
}
