:root {
  --ink: #172033;
  --muted: #62708a;
  --line: #dfe5ee;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --accent: #4b45c6;
  --accent-dark: #312b93;
  --teal: #168a86;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  padding: 72px 0 48px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(75,69,198,.15), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(22,138,134,.14), transparent 30%),
    linear-gradient(180deg, #fafaff 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.venue { margin: 16px 0 0; color: var(--accent); font-weight: 750; letter-spacing: .08em; }
h1 { max-width: 1000px; margin: 0 auto; font-size: clamp(1.1rem, 2.2vw, 1.9rem); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.authors { margin: 22px 0 5px; font-size: 1rem; white-space: nowrap; }
.authors a { color: var(--ink); }
.authors a:hover { color: var(--accent); }
.affiliations, .notes { margin: 4px 0; color: var(--muted); font-size: .94rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 34px; }
.actions a { padding: 9px 20px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent-dark); font-weight: 700; }
.actions a:first-child { color: #fff; background: var(--accent); }
.dimensions article, .findings article { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.82); box-shadow: 0 8px 26px rgba(30,44,82,.06); }
main { padding: 18px 0 70px; }
section { padding: 58px 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }
h2 { margin: 0 0 24px; text-align: center; font-size: clamp(2rem, 5vw, 3rem); font-weight: 750; line-height: 1.1; letter-spacing: -.025em; }
h3 { margin: 0 0 8px; color: var(--accent-dark); }
section > p { max-width: 900px; margin: 18px auto; text-align: justify; }
figure { width: min(100%, 900px); margin: 30px auto 20px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
.dimensions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; width: min(100%, 900px); margin: 28px auto 0; }
.dimensions article { padding: 16px; }
.dimensions p, .findings span { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.5; }
.results-table-wrap { overflow-x: auto; width: min(100%, 900px); margin: 28px auto 14px; border: 1px solid #b9c2d1; border-radius: 10px; }
.results-table { width: 100%; min-width: 1050px; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.results-table th, .results-table td { padding: 8px 9px; text-align: center; white-space: nowrap; border: 1px solid #cbd2de; }
.results-table thead th { background: #eef1f7; border-color: #aeb8c8; }
.results-table thead tr:first-child th { border-bottom: 1px solid #aeb8c8; }
.results-table thead tr:last-child th { border-bottom: 2px solid var(--ink); }
.results-table tbody th { text-align: left; font-weight: 500; background: #fafbfc; }
.results-table tbody tr:nth-child(even):not(.group) td { background: #fbfcfe; }
.results-table .group th { padding: 6px; text-align: center; font-style: italic; font-weight: 650; background: #e7ebf3; border-top: 2px solid var(--ink); border-bottom: 1px solid #aeb8c8; }
.results-table .human th, .results-table .human td { border-bottom: 2px solid var(--ink); }
.results-table strong { font-weight: 800; }
.results-table u { text-underline-offset: 2px; }
.table-note { color: var(--muted); font-size: .88rem; text-align: left !important; }
.findings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; width: min(100%, 900px); margin: 26px auto 0; }
.findings strong { display: block; margin-bottom: 8px; color: var(--teal); font-size: 1.08rem; line-height: 1.35; }
.analysis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; width: min(100%, 900px); margin: 0 auto; }
.analysis-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.analysis-grid h3 { margin: 6px 0 10px; color: var(--ink); }
.analysis-grid p { margin: 0; color: var(--muted); }
.analysis-label { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
pre { overflow-x: auto; margin: 18px auto; padding: 20px; max-width: 900px; border: 1px solid #2d3650; border-radius: 14px; color: #e8edff; background: #171d2d; line-height: 1.55; }
code { font-family: "SFMono-Regular", Consolas, monospace; font-size: .9rem; }
.citation-box { position: relative; max-width: 900px; margin: 0 auto; }
.citation-box pre { margin: 0; padding-top: 50px; }
.citation-box button { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 7px 11px; border: 1px solid #66718b; border-radius: 7px; color: #fff; background: #293149; cursor: pointer; }
footer { padding: 28px 0; color: var(--muted); text-align: center; background: var(--soft); border-top: 1px solid var(--line); }

@media (max-width: 850px) {
  .authors { white-space: normal; }
  .findings { grid-template-columns: repeat(2, 1fr); }
  .dimensions { grid-template-columns: repeat(2, 1fr); }
  .dimensions article:last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 24px, 1120px); }
  .hero { padding-top: 48px; }
  .findings, .dimensions, .analysis-grid { grid-template-columns: 1fr; }
  .dimensions article:last-child { grid-column: auto; }
  section { padding: 42px 0; }
  figure { padding: 6px; }
}
