:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5e6b74;
  --line: #d9e1e6;
  --soft: #f5f8fa;
  --soft-blue: #eaf4fb;
  --blue: #176ea6;
  --teal: #1f8f84;
  --gold: #b8791a;
  --card: #ffffff;
  --shadow: 0 16px 44px rgba(23, 32, 38, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fdfefe;
  color: var(--ink);
  font-family: "Google Sans", "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
}

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

a:hover {
  color: var(--teal);
}

.hero {
  padding: 48px 22px 32px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(234, 244, 251, 0.95), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 20% 10%, rgba(31, 143, 132, 0.12), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(184, 121, 26, 0.12), transparent 28%);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.content {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
}

.venue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border: 1px solid rgba(23, 110, 166, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1120px;
  margin: 0 auto 16px;
  font-size: clamp(1.55rem, 2.35vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 800;
}

.subtitle {
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

.authors {
  max-width: 900px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.authors span {
  display: inline-block;
  margin: 0 7px;
  white-space: nowrap;
}

.affiliations {
  max-width: 780px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn:hover {
  color: #fff;
  background: var(--blue);
}

.btn.secondary:hover {
  color: var(--blue);
  background: #fff;
  border-color: rgba(23, 110, 166, 0.38);
}

.content {
  padding: 36px 0 68px;
}

section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

section:last-child {
  border-bottom: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 1.75rem;
  line-height: 1.2;
  text-align: center;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

p {
  color: #2d3a42;
  line-height: 1.68;
}

.tldr {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.tldr strong {
  color: var(--blue);
  font-size: 1.28rem;
}

.figure-block {
  margin: 24px 0 6px;
}

.figure-block img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.figure-block.compact img {
  max-width: 860px;
  margin: 0 auto;
}

.caption {
  max-width: 900px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.point,
.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.point p,
.metric p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.toy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: start;
}

.toy-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.toy-card img {
  width: 100%;
  height: auto;
  display: block;
}

.toy-card h3 {
  text-align: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 24px;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 1.55rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.95rem;
}

.results-table th,
.results-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.results-table th {
  background: var(--soft-blue);
  color: var(--ink);
  font-weight: 800;
}

.results-table tr:last-child td {
  border-bottom: 0;
}

.results-table td:nth-child(2),
.results-table td:nth-child(3) {
  font-variant-numeric: tabular-nums;
}

.bibtex {
  overflow-x: auto;
  padding: 18px;
  border-radius: 8px;
  background: #111a20;
  color: #e9f2f7;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.55;
}

footer {
  padding: 24px;
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding-top: 38px;
  }

  .tldr,
  .grid,
  .toy-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .tldr {
    gap: 8px;
  }

  .results-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
