:root {
  --text: #1f2933;
  --muted: #5f6c7b;
  --border: #d8dee9;
  --soft: #f7f9fc;
  --panel: #ffffff;
  --accent: #3568d4;
  --accent-dark: #1f4ba5;
  --code: #f2f4f8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--panel);
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a:hover {
  text-decoration: underline;
}

main {
  width: 100%;
}

.hero {
  padding: 2.25rem 1rem 9.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 78%, var(--soft) 100%);
}

.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.project-logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.65rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.18;
}

h1 {
  font-family: "Noto Serif", serif;
  font-size: clamp(2.9rem, 7vw, 5.5rem);
  letter-spacing: -0.04em;
}

h1 span {
  display: block;
  max-width: 960px;
  margin: 0.2rem auto 0;
  font-family: "Noto Sans", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 1.55rem;
  font-size: 2rem;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 1.15rem;
}

.affiliation {
  max-width: 760px;
  margin: 0.6rem auto 0;
  color: var(--muted);
}

.abstract {
  max-width: 770px;
  margin: 1.4rem auto 0;
  color: #313b47;
  font-size: 1.04rem;
}

.resource-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.resource-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 42px;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: #2b2f36;
  color: #ffffff;
  font-weight: 700;
}

.resource-button:hover {
  background: #111827;
  text-decoration: none;
}

.wide-section,
.section {
  padding: 4.1rem 1rem;
}

.wide-section {
  max-width: 1000px;
  margin: 0 auto;
}

.section {
  max-width: 820px;
  margin: 0 auto;
}

.section:nth-of-type(even) {
  background: transparent;
}

.content-narrow {
  max-width: 765px;
  margin: 0 auto;
}

.content-narrow p,
.section-lede,
.leaderboard-notes p {
  color: #354253;
}

.filters {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.filters label {
  color: var(--muted);
  font-weight: 700;
}

select {
  min-height: 32px;
  padding: 0.25rem 0.6rem;
  border: 1px solid #b8c2d0;
  border-radius: 4px;
  background: #ffffff;
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f3f6fa;
  color: #3e4c5f;
  font-weight: 700;
}

tbody tr:nth-child(even) {
  background: #fbfcfe;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.leaderboard-notes {
  max-width: 820px;
  margin-top: 1.8rem;
}

.figure {
  display: block;
  width: 100%;
  margin: 1.6rem auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.08);
}

.finding-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  margin-top: 1.6rem;
}

.finding-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 22px rgba(31, 41, 51, 0.06);
}

.finding-grid p {
  margin: 0;
  color: #354253;
}

.citation pre {
  overflow-x: auto;
  margin: 1.4rem 0 0;
  padding: 1.35rem;
  border-radius: 8px;
  background: var(--code);
  color: #17212f;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

footer {
  padding: 2.3rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--soft);
  text-align: center;
}

footer p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .hero {
    padding-bottom: 5.5rem;
  }

  .wide-section,
  .section {
    padding: 3.2rem 1rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .resource-button {
    width: calc(50% - 0.5rem);
    min-width: 0;
  }
}
