:root {
  --ink: #202124;
  --muted: #5f6368;
  --line: #d9dde3;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --accent: #1a73e8;
  --accent-dark: #1558b0;
  --warm: #b4441c;
  --figure-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 74px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 21px;
  line-height: 1.72;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(920px, calc(100% - 40px));
}

.hero {
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.hero-inner {
  padding: 58px 0 36px;
  text-align: center;
}

.venue {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7.6vw, 92px);
  font-weight: 700;
  line-height: 1.02;
}

.subtitle {
  width: min(920px, 100%);
  margin: 0 auto 18px;
  color: #303134;
  font-size: clamp(26px, 3.3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
}

.authors {
  margin-bottom: 4px;
  font-size: 23px;
}

.affiliation {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 18px;
}

.corresponding {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #2f3136;
  color: white;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.button:hover {
  background: #111315;
  color: white;
  text-decoration: none;
}

.button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 auto;
}

.button .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.page-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.page-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.page-nav-inner::-webkit-scrollbar {
  display: none;
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #3c4043;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.page-nav a:hover {
  background: #eef2f7;
  color: var(--accent-dark);
  text-decoration: none;
}

.section {
  padding: 66px 0;
}

.tinted {
  background: var(--soft);
  border-top: 1px solid #eceff3;
  border-bottom: 1px solid #eceff3;
}

.teaser-section {
  padding-top: 46px;
  padding-bottom: 52px;
}

.overview-section {
  padding-top: 46px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.3vw, 38px);
  line-height: 1.15;
  text-align: left;
}

h3 {
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.25;
}

.section-heading {
  width: min(920px, 100%);
  margin: 0 auto 28px;
  text-align: left;
}

.section-heading p,
.narrow p {
  color: #34373b;
}

.overview-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: overview;
}

.overview-list li {
  position: relative;
  margin: 0;
  padding: 14px 0 0 46px;
  border-top: 3px solid #d7dee8;
  color: #3f4348;
  font-size: 18px;
  line-height: 1.55;
  counter-increment: overview;
}

.overview-list li::before {
  content: counter(overview);
  position: absolute;
  top: 13px;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2f3136;
  color: white;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.figure-panel {
  width: min(var(--figure-width), 100%);
  margin: 0 auto;
}

.figure-panel + .figure-panel {
  margin-top: 34px;
}

.overview-figure {
  margin-top: 26px;
}

.figure-panel img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}

.figure-panel figcaption {
  width: min(var(--figure-width), 100%);
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

.figure-panel figcaption strong {
  color: var(--ink);
  font-weight: 800;
}

.image-scroll {
  width: min(var(--figure-width), 100%);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}

.table-panel img {
  width: 100%;
  min-width: 100%;
  border: 0;
  border-radius: 0;
}

.formula {
  display: flex;
  justify-content: center;
  margin: 18px 0 22px;
}

.formula span {
  display: inline-block;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(17px, 2.2vw, 21px);
  overflow-x: auto;
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(920px, 100%);
  margin: 0 auto 28px;
}

.taxonomy-grid article {
  min-height: 146px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}

.taxonomy-grid h3 {
  font-size: 22px;
}

.taxonomy-grid p {
  margin: 0;
  color: #45484d;
  font-size: 16px;
  line-height: 1.58;
}

pre {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8f9fb;
  overflow-x: auto;
  white-space: pre;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 16px;
}

.footer {
  padding: 34px 0 40px;
  border-top: 1px solid var(--line);
  background: #fbfcfd;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 760px) {
  body {
    font-size: 18px;
  }

  .container,
  .narrow {
    width: min(100% - 24px, 1120px);
  }

  .hero-inner {
    padding: 42px 0 28px;
  }

  .section {
    padding: 48px 0;
  }

  .page-nav-inner {
    justify-content: flex-start;
    min-height: 50px;
  }

  .page-nav a {
    font-size: 14px;
  }

  .button {
    height: 40px;
    padding: 0 13px;
    font-size: 16px;
  }

  .button svg {
    width: 16px;
    height: 16px;
  }

  .taxonomy-grid {
    grid-template-columns: 1fr;
  }

  .taxonomy-grid article {
    min-height: 0;
  }
}
