:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #5d6878;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --line: #d8e0ea;
  --accent: #2563eb;
  --accent-dark: #1748ad;
  --accent-soft: #e8f0ff;
  --teal: #0f766e;
  --gold: #a16207;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, #edf4ff 0%, var(--paper) 360px),
    var(--paper);
  color: var(--ink);
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-dark);
}

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(246, 248, 251, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  color: #0f3765;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.paper-page {
  margin: 0 auto;
  max-width: 920px;
  padding: 64px 24px 72px;
}

.paper-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  padding-bottom: 38px;
  text-align: center;
}

.venue {
  color: var(--teal);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
}

h1 {
  color: #101827;
  font-size: clamp(36px, 5.8vw, 58px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 auto;
  max-width: 880px;
}

.authors {
  color: #344054;
  font-size: 18px;
  line-height: 1.7;
  margin: 24px auto 0;
  max-width: 800px;
}

.authors a {
  white-space: nowrap;
}

.affiliations {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  margin: 12px auto 0;
}

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

.paper-links a {
  background: var(--panel);
  border: 1px solid #b9cffb;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(24, 33, 47, 0.07);
  color: var(--accent);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-width: 88px;
  padding: 10px 15px;
  text-decoration: none;
}

.paper-links a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.paper-links a[aria-disabled="true"] {
  border-color: #b9c7d0;
  color: #667987;
  cursor: default;
}

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

.section:last-of-type {
  border-bottom: 0;
}

h2 {
  color: #0f3765;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
}

p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

.details-list {
  border-top: 1px solid var(--line);
  margin: 20px 0 0;
}

.details-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 210px 1fr;
  padding: 14px 0;
}

dt {
  color: var(--gold);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

dd {
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

.footer p {
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    position: static;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .paper-page {
    padding-top: 38px;
  }

  .paper-header {
    margin-bottom: 28px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: 34px;
  }

  .authors {
    font-size: 17px;
  }

  .details-list div {
    gap: 6px;
    grid-template-columns: 1fr;
  }
}
