:root {
  --bg: #f7f8fb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --accent: #0f6b5a;
  --accent-dark: #0a4d43;
  --line: #e5e7eb;
  --shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #eef2f6 0%, #f7f8fb 40%, #f7f8fb 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

.page {
  max-width: 1020px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.hero {
  text-align: center;
  margin-bottom: 36px;
}

.hero-logo {
  width: 190px;
  height: auto;
  display: inline-block;
  margin-bottom: 8px;
}

h1,
h2,
h3 {
  font-family: "Crimson Pro", "Times New Roman", serif;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem);
  margin-top: 0.4rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0.7rem auto 0;
}

.authors {
  margin: 1rem auto 0.4rem;
  font-size: 1.05rem;
}

.affiliations,
.venue {
  color: var(--muted);
  margin: 0.15rem 0;
}

.venue {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

.teaser {
  margin: 0 auto 10px;
}

.teaser img,
.figure img,
.results-grid img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: block;
  background: #fff;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  margin-top: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
}

.section p {
  margin: 0.6rem 0 1rem;
  color: var(--text);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
}

.bullets {
  padding-left: 18px;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.bullets li {
  margin-bottom: 0.35rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.callout {
  border-left: 4px solid var(--accent);
  padding: 0.6rem 1rem;
  background: #f1f7f5;
  border-radius: 12px;
  color: var(--muted);
}

pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 18px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 0;
  font-size: 0.9rem;
}

footer {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 24px;
  }

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

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