:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --primary: #111827;
  --primary-soft: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

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

.narrow {
  width: min(860px, 100%);
}

.hero {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--line);
}

.hero__venue {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto 18px;
  text-align: center;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero__subtitle {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}

.authors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.authors span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.95rem;
}

.hero__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  background: #fff;
  transition: all 0.2s ease;
}

.button:hover {
  background: var(--soft);
}

.button--primary {
  background: var(--primary);
  color: var(--primary-soft);
  border-color: var(--primary);
}

.button--primary:hover {
  opacity: 0.92;
  background: var(--primary);
}

.section {
  padding: 44px 0;
}

.section--narrow {
  padding-top: 28px;
}

.section__tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.teaser-section {
  padding-top: 36px;
  padding-bottom: 18px;
}

.teaser-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.teaser-caption {
  margin: 14px auto 0;
  max-width: 920px;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}

p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.02rem;
}

.bibtex {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}

.bibtex code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.95rem;
  color: var(--text);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .authors span,
  .button {
    width: 100%;
  }
}
