:root {
  --text: #363636;
  --muted: #666;
  --link: #3273dc;
  --light: #f5f5f5;
  --border: #dbdbdb;
  --dark: #363636;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

.content-container {
  max-width: 900px;
}

.hero {
  padding: 62px 0 52px;
  background: #fff;
  text-align: center;
}

.hero-content {
  max-width: 1040px;
}

h1,
h2 {
  color: #222;
  font-weight: 600;
}

h1 {
  max-width: 980px;
  margin: 0 auto 14px;
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.venue {
  margin: 0 0 19px;
  color: #4a4a4a;
  font-size: 1.2rem;
  font-weight: 600;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  margin: 0 auto 10px;
  color: var(--link);
  font-size: 1.08rem;
}

.authors span {
  white-space: nowrap;
}

sup {
  margin-left: 2px;
  font-size: 0.65em;
  vertical-align: super;
}

.affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 18px;
  color: #555;
  font-size: 0.9rem;
}

.corresponding {
  margin: 5px 0 19px;
  color: #777;
  font-size: 0.82rem;
}

.publication-links {
  display: flex;
  justify-content: center;
}

.paper-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease;
}

.paper-button:hover {
  background: #1f1f1f;
}

.paper-button:focus-visible {
  outline: 3px solid rgba(50, 115, 220, 0.34);
  outline-offset: 3px;
}

.section {
  padding: 56px 0 64px;
}

.section-light {
  background: var(--light);
}

h2 {
  margin: 0 0 25px;
  font-size: 2rem;
  line-height: 1.2;
  text-align: center;
}

.abstract-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  text-align: justify;
}

figure {
  margin: 0 auto;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  max-width: 920px;
  margin: 11px auto 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: left;
  white-space: pre;
}

footer {
  padding: 28px 0 34px;
  background: #fff;
  color: #777;
  font-size: 0.8rem;
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 600px) {
  .container,
  .wide-container {
    width: min(100% - 26px, 1120px);
  }

  .hero {
    padding: 44px 0 38px;
  }

  h1 {
    font-size: 2.05rem;
  }

  .venue {
    font-size: 1.05rem;
  }

  .section {
    padding: 44px 0 50px;
  }

  h2 {
    font-size: 1.75rem;
  }

  .abstract-text {
    text-align: left;
  }

  pre {
    padding: 17px;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .paper-button {
    transition: none;
  }
}
