:root {
  --bg: #f4efe7;
  --surface: #fbf7ef;
  --ink: #191919;
  --muted: #625a50;
  --soft: #9a8f82;
  --border: #ded2c3;
  --border-strong: #cbbba8;
  --accent: #cc785c;
  --accent-dark: #9b513d;
  --accent-soft: #ead8c7;
  --green: #16a34a;
  --red: #dc2626;
  --shadow: 0 16px 42px rgba(77, 55, 38, 0.12);
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 32px;
  background: rgba(244, 239, 231, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--accent-dark);
  border-radius: 8px;
  font-family: var(--serif);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 12px;
  color: #3d352e;
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a:hover {
  background: var(--surface);
  color: var(--ink);
}

.site-nav .nav-cta {
  color: #ffffff;
  background: var(--ink);
}

.site-nav .nav-cta:hover {
  color: #ffffff;
  background: #000000;
}

main {
  overflow: hidden;
}

.hero {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px 24px 66px;
  text-align: center;
}

.home-hero {
  text-align: left;
}

.home-hero .eyebrow {
  width: 100%;
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-title-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 48px);
  align-items: start;
  width: 100%;
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 94px;
  font-weight: 650;
  line-height: 0.96;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(62px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 850px;
  margin: 0 auto 10px;
  color: #3d352e;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
}

.home-hero .hero-subtitle {
  max-width: 100%;
  margin: 0 0 16px;
  font-size: clamp(27px, 2.25vw, 34px);
  line-height: 1.12;
}

.authors-line {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.resource-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.home-hero .resource-actions {
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 0;
}

.home-hero .resource-button {
  min-width: 88px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.resource-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.resource-button:hover {
  transform: translateY(-1px);
}

.resource-button-primary {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.resource-button.is-disabled {
  color: #92877a;
  background: #eee5d8;
  cursor: default;
}

.resource-button.is-disabled:hover {
  transform: none;
}

.teaser-figure {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.teaser-board {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fffaf2;
  border: 1px solid #eadbca;
  border-radius: 6px;
  --speech-color: #d9792f;
  --identity-color: #b79017;
  --fabrication-color: #7048b8;
  --emotion-color: #c93266;
  --relationship-color: #765345;
  --engagement-color: #2f7d46;
}

.conversation-turn {
  display: block;
}

.speaker-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.user-avatar {
  background: #d99a3d;
  border-radius: 999px;
}

.model-avatar {
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
}

.model-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-bubble {
  position: relative;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.user-bubble {
  border-color: #efc98f;
}

.violating-bubble {
  background: #fff6f0;
  border-color: #d65f4b;
}

.safer-bubble {
  background: #f5fbf2;
  border-color: #2f7d46;
}

.conversation-turn.is-highlighted .violating-bubble {
  box-shadow: 0 0 0 3px rgba(204, 120, 92, 0.2);
}

.chat-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.bubble-speaker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.chat-heading strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
}

.bubble-speaker > strong {
  font-size: 14px;
}

.chat-heading span,
.bubble-speaker span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.chat-bubble p {
  margin: 0;
  color: #3d352e;
  font-size: 15px;
  line-height: 1.45;
}

.teaser-tag {
  --tag-color: var(--border-strong);
  min-height: 36px;
  padding: 7px 9px;
  color: var(--ink);
  background: #fbf7ef;
  border: 1px solid var(--tag-color);
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
}

.teaser-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tag-speech {
  --tag-color: var(--speech-color);
}

.tag-identity {
  --tag-color: var(--identity-color);
}

.tag-fabrication {
  --tag-color: var(--fabrication-color);
}

.tag-emotion {
  --tag-color: var(--emotion-color);
}

.tag-relationship {
  --tag-color: var(--relationship-color);
}

.tag-engagement {
  --tag-color: var(--engagement-color);
}

.teaser-tag:hover,
.teaser-tag:focus-visible,
.teaser-tag.is-active {
  color: #ffffff;
  background: var(--tag-color);
  border-color: var(--tag-color);
  outline: none;
}

.teaser-board mark {
  --mark-color: var(--accent);
  display: inline;
  padding: 1px 4px;
  color: #ffffff;
  background: var(--mark-color);
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  line-height: inherit;
  cursor: pointer;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.teaser-board .mark-speech {
  --mark-color: var(--speech-color);
}

.teaser-board .mark-identity {
  --mark-color: var(--identity-color);
}

.teaser-board .mark-fabrication {
  --mark-color: var(--fabrication-color);
}

.teaser-board .mark-emotion {
  --mark-color: var(--emotion-color);
}

.teaser-board .mark-relationship {
  --mark-color: var(--relationship-color);
}

.teaser-board .mark-engagement {
  --mark-color: var(--engagement-color);
}

.teaser-board mark.is-highlighted {
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 4px var(--mark-color),
    0 6px 16px rgba(43, 33, 26, 0.15);
}

.teaser-board mark:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.teaser-figure figcaption {
  max-width: 920px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.teaser-figure figcaption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 15px;
}

.figure-panel {
  max-width: 100%;
  margin: 28px 0 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(77, 55, 38, 0.06);
}

.figure-panel img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.figure-panel figcaption {
  margin: 14px auto 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
  text-align: center;
}

.wide-figure {
  margin-top: 0;
}

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

.figure-grid .figure-panel {
  margin-top: 0;
}

.leaderboard-figure {
  max-width: 900px;
  margin: 0 auto;
}

.leaderboard-callout {
  margin-top: 22px;
  color: #3d352e;
  font-weight: 700;
}

.leaderboard-callout a {
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 127, 125, 0.35);
}

.overview,
.paper-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 86px;
}

.overview-lead {
  max-width: 900px;
  margin: 0 auto 34px;
  color: #3d352e;
  font-family: var(--serif);
  font-size: 20px;
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card,
.principles article,
.pipeline article,
.result-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(77, 55, 38, 0.06);
}

.stat-card {
  min-height: 168px;
  padding: 22px;
  font-family: var(--serif);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.stat-card span {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.stat-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.paper-section h2,
.section-heading h2,
.release-card h2 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.16;
}

.paper-section > p {
  max-width: 900px;
  color: #3d352e;
  font-family: var(--serif);
  font-size: 17px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-family: var(--serif);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.principles article {
  padding: 24px;
}

.principles h3,
.pipeline h3,
.result-grid h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.22;
}

.principles p,
.pipeline p,
.result-grid p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
}

.principles ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #3d352e;
  font-family: var(--serif);
  font-size: 14px;
}

.principles li + li {
  margin-top: 6px;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.pipeline article {
  min-height: 210px;
  padding: 22px;
}

.pipeline span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
}

.dataset-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.dataset-breakdown div {
  padding: 18px 20px;
  font-family: var(--serif);
  background: var(--accent-soft);
  border: 1px solid rgba(155, 81, 61, 0.22);
  border-radius: 8px;
}

.dataset-breakdown strong {
  display: block;
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.dataset-breakdown span {
  color: #3d352e;
  font-size: 14px;
  font-weight: 800;
}

.distribution-explorer {
  margin-top: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(77, 55, 38, 0.06);
}

.explorer-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.explorer-topline h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.split-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #eee5d8;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.split-toggle button {
  min-height: 34px;
  padding: 0 12px;
  color: #3d352e;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.split-toggle button.is-active {
  color: #ffffff;
  background: var(--ink);
}

.explorer-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
}

.donut-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
}

.measure-donut {
  width: min(330px, 100%);
  height: auto;
  overflow: visible;
}

.measure-donut path {
  stroke: var(--surface);
  stroke-width: 3px;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform-origin: 160px 160px;
}

.measure-donut path:hover,
.measure-donut path:focus,
.measure-donut path.is-active {
  opacity: 0.86;
  outline: none;
  transform: scale(1.015);
}

.donut-center {
  position: absolute;
  inset: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 132px;
  height: 132px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.donut-center strong {
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.donut-center span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.measure-inspector {
  padding: 24px;
  background: #f6eee3;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.measure-inspector-kicker {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.measure-inspector h4 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.measure-inspector p {
  color: #3d352e;
}

.inspector-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.inspector-metrics div {
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.inspector-metrics strong {
  display: block;
  font-family: var(--sans);
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
}

.inspector-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.measure-legend-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.measure-legend-list button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 10px;
  color: #3d352e;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.measure-legend-list button.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.measure-legend-list span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
}

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

.result-grid article {
  padding: 24px;
  font-family: var(--serif);
}

.leaderboard-table {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(77, 55, 38, 0.06);
}

.table-row {
  display: grid;
  grid-template-columns: 70px minmax(180px, 1fr) minmax(110px, 0.55fr) 150px;
  gap: 16px;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-top: 1px solid var(--border);
  color: #3d352e;
  font-size: 14px;
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: var(--ink);
  background: #eee5d8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.table-row strong {
  color: var(--accent-dark);
  font-weight: 900;
}

.release-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  padding: 36px;
  color: #f9fafb;
  background: #2b211a;
  border-radius: 8px;
}

.release-card p {
  color: #d1d5db;
}

code {
  padding: 2px 5px;
  color: #ffd5c3;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.schema-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.schema-card h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

.schema-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.schema-card div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.schema-card dt {
  color: #ffd5c3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.schema-card dd {
  margin: 0;
  color: #d1d5db;
  font-size: 14px;
}

.bibtex-section pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  color: #e5e7eb;
  background: #2b211a;
  border-radius: 8px;
}

.bibtex-section code {
  padding: 0;
  color: inherit;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 32px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    width: 100vw;
    max-width: 100vw;
    padding: 14px 20px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    gap: 4px;
  }

  .site-nav a {
    min-width: 0;
    padding: 8px 2px;
    font-size: 12px;
    text-align: center;
  }

  h1 {
    font-size: 58px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-title-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-hero .hero-subtitle {
    max-width: 620px;
    font-size: 32px;
  }

  .stats,
  .principles,
  .pipeline,
  .dataset-breakdown,
  .result-grid,
  .figure-grid,
  .release-card {
    grid-template-columns: 1fr;
  }

  .explorer-topline,
  .explorer-body {
    grid-template-columns: 1fr;
  }

  .explorer-topline {
    display: grid;
  }

  .measure-legend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-row {
    grid-template-columns: 56px minmax(150px, 1fr) 96px 116px;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .hero {
    max-width: 100vw;
    padding: 52px 20px 54px;
  }

  .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 350px;
    max-width: calc(100vw - 40px);
  }

  .hero > *,
  .overview-lead,
  .paper-section > p,
  .section-heading {
    width: 100%;
    max-width: 350px;
    margin-right: 0;
    margin-left: 0;
  }

  h1 {
    max-width: 100%;
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    max-width: 320px;
    font-size: 21px;
    overflow-wrap: anywhere;
  }

  .home-hero .eyebrow {
    max-width: 350px;
  }

  .home-hero h1 {
    font-size: 54px;
  }

  .home-hero .hero-subtitle {
    max-width: 350px;
    font-size: 28px;
  }

  .eyebrow {
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
    overflow-wrap: anywhere;
  }

  .home-hero .eyebrow {
    max-width: 350px;
  }

  .resource-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 350px;
    margin-right: 0;
    margin-left: 0;
  }

  .resource-button {
    min-width: 0;
    width: 100%;
  }

  .teaser-figure {
    width: 100%;
    max-width: 350px;
    padding: 10px;
  }

  .teaser-board {
    gap: 10px;
    padding: 10px;
  }

  .teaser-tags {
    grid-template-columns: 1fr;
  }

  .chat-bubble {
    padding: 10px;
  }

  .chat-bubble p {
    font-size: 13px;
  }

  .chat-heading {
    display: block;
  }

  .chat-heading > span {
    display: block;
    margin-top: 6px;
  }

  .speaker-avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .teaser-tag {
    min-height: 32px;
  }

  .figure-panel {
    width: 100%;
    max-width: 350px;
    margin-right: 0;
    margin-left: 0;
    padding: 10px;
  }

  .distribution-explorer {
    width: 100%;
    max-width: 350px;
    padding: 14px;
  }

  .explorer-topline h3,
  .measure-inspector h4 {
    font-size: 24px;
  }

  .split-toggle {
    width: 100%;
  }

  .split-toggle button {
    flex: 1;
  }

  .donut-stage {
    min-height: 290px;
  }

  .measure-donut {
    width: 286px;
  }

  .donut-center {
    width: 116px;
    height: 116px;
  }

  .measure-inspector {
    padding: 18px;
  }

  .measure-legend-list {
    grid-template-columns: 1fr;
  }

  .teaser-figure figcaption,
  .overview-lead,
  .paper-section p {
    overflow-wrap: anywhere;
  }

  .overview,
  .paper-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .overview-lead {
    font-size: 17px;
    text-align: left;
  }

  .stats,
  .principles,
  .pipeline,
  .dataset-breakdown,
  .result-grid,
  .figure-grid,
  .distribution-explorer,
  .leaderboard-table,
  .release-card,
  .bibtex-section pre {
    width: 100%;
    max-width: 350px;
    margin-right: 0;
    margin-left: 0;
  }

  .paper-section h2,
  .section-heading h2,
  .release-card h2 {
    font-size: 31px;
  }

  .table-row {
    grid-template-columns: 42px minmax(120px, 1fr) 90px;
    min-height: 54px;
    padding: 8px 12px;
  }

  .table-row span:nth-child(3),
  .table-head span:nth-child(3) {
    display: none;
  }

  .schema-card div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px;
  }
}
