:root {
  --primary: #b4232c;
  --primary-dark: #7f1d1d;
  --accent: #e85d04;
  --cool: #256f73;
  --ink: #111827;
  --text: #263241;
  --muted: #5f6b7a;
  --line: #e4e7ec;
  --soft: #fff4f1;
  --soft-cool: #eef8f7;
  --surface: #ffffff;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.hero {
  min-height: 72vh;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #3c1117 0%, #6d1f26 48%, #1f5458 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
  z-index: 0;
}

.top-nav {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.hero h1 span {
  color: #ffb09c;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
}

.nav-links a:hover {
  color: #ffffff;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(24px, 4.5vh, 42px) 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffd5c7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h2 {
  max-width: 820px;
  margin: 18px 0 0;
  color: #fff6f3;
  font-size: clamp(1.35rem, 2.7vw, 2.12rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-figure {
  position: relative;
  margin: 24px 0 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 52px rgba(17, 24, 39, 0.28);
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  filter: saturate(0.72) contrast(0.9) brightness(1.08);
  opacity: 0.9;
}

.livepi-focus-box {
  position: absolute;
  left: 0.75%;
  top: 49%;
  width: 47.4%;
  height: 48.5%;
  border: 3px solid rgba(12, 18, 28, 0.96);
  pointer-events: none;
}

.livepi-focus-label {
  position: absolute;
  left: 14.4%;
  top: 52.4%;
  padding: 0.04em 0.16em 0.12em;
  color: #ffffff;
  background: rgba(60, 17, 23, 0.97);
  font-size: clamp(1.25rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
  pointer-events: none;
}

.livepi-focus-label span {
  color: #ffb09c;
}

.hero-callout {
  max-width: 860px;
  margin: 22px 0 0;
  padding: 13px 18px;
  border-left: 4px solid #ffb09c;
  background: rgba(255, 255, 255, 0.12);
  color: #fff9f7;
  backdrop-filter: blur(6px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.11);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.22);
  background: rgba(255, 255, 255, 0.18);
}

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

.button.disabled {
  opacity: 0.58;
  pointer-events: none;
}

.button-icon-img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.arxiv-logo {
  width: 50px;
  height: 20px;
}

.github-logo,
.hf-logo {
  width: 25px;
  height: 25px;
}

.authors {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
}

.affiliation,
.notes {
  margin: 8px 0 0;
  color: var(--muted);
}

.notes a {
  color: var(--primary);
  text-decoration: none;
}

.abstract-section,
.trace-section,
.benchmark-section,
.results-section,
.citation-section,
.bottom-info {
  padding: 82px 0;
  scroll-margin-top: 24px;
}

.section-title {
  margin-bottom: 28px;
}

.section-title.centered {
  text-align: center;
}

.section-title p {
  margin: 0 0 8px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

.abstract-points,
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.point,
.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.point-number {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--primary);
  font-weight: 800;
}

.point h3,
.table-heading h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.point p,
.stat p,
.table-heading p {
  margin: 0;
  color: var(--muted);
}

.paper-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.trace-section {
  background: #ffffff;
}

.trace-figure {
  width: min(780px, 100%);
  margin: 28px auto 0;
}

.trace-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.benchmark-section {
  background: #fbfcfd;
}

.benchmark-list {
  display: grid;
  gap: 18px;
}

.design-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 22px;
}

.design-overview article {
  position: relative;
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(180, 35, 44, 0.08), rgba(37, 111, 115, 0.07)),
    #ffffff;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.design-overview article::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 22px solid rgba(180, 35, 44, 0.08);
}

.design-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--primary);
  font-weight: 900;
  font-size: 0.76rem;
}

.design-overview h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  line-height: 1.2;
}

.design-overview p {
  margin: 0;
  color: var(--muted);
}

.benchmark-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.benchmark-card summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 140px minmax(260px, 0.85fr) minmax(260px, 1fr) 34px;
  gap: 12px 22px;
  align-items: center;
  padding: 22px;
}

.benchmark-card summary::-webkit-details-marker {
  display: none;
}

.benchmark-card summary::after {
  content: "+";
  justify-self: end;
  grid-column: 4;
  grid-row: 1;
  color: var(--primary);
  font-size: 1.8rem;
  line-height: 1;
}

.benchmark-card[open] summary::after {
  content: "–";
}

.benchmark-label {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.benchmark-heading {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
}

.benchmark-summary {
  color: var(--muted);
}

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

.surface-grid div {
  min-height: 150px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(37, 111, 115, 0.16);
  background: var(--soft-cool);
}

.surface-grid div {
  min-height: 178px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 248, 247, 0.95)),
    var(--soft-cool);
}

.surface-grid strong,
.surface-grid span {
  display: block;
}

.surface-grid strong {
  color: var(--ink);
  margin-bottom: 8px;
}

.surface-grid span {
  color: var(--muted);
  font-size: 0.95rem;
}

.surface-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(37, 111, 115, 0.16), 0 8px 18px rgba(17, 24, 39, 0.08);
}

.surface-icon::before {
  content: "";
  width: 25px;
  height: 25px;
  display: block;
  background: var(--primary);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.chat-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 2h9A3.5 3.5 0 0 1 20 5.5v5A3.5 3.5 0 0 1 16.5 14H12l-5 4v-4A3.5 3.5 0 0 1 4 10.5v-5Zm4 1.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm4 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm4 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5.5A3.5 3.5 0 0 1 7.5 2h9A3.5 3.5 0 0 1 20 5.5v5A3.5 3.5 0 0 1 16.5 14H12l-5 4v-4A3.5 3.5 0 0 1 4 10.5v-5Zm4 1.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm4 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm4 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Z'/%3E%3C/svg%3E");
}

.mail-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.5A2.5 2.5 0 0 1 5.5 4h13A2.5 2.5 0 0 1 21 6.5v11a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 17.5v-11Zm2.4-.35 6.1 5.1a.8.8 0 0 0 1 0l6.1-5.1A1.48 1.48 0 0 0 18.5 6h-13c-.03 0-.07 0-.1.15Zm13.6 2.1-5.23 4.38a2.8 2.8 0 0 1-3.54 0L5 8.25v9.25c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5V8.25Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.5A2.5 2.5 0 0 1 5.5 4h13A2.5 2.5 0 0 1 21 6.5v11a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 17.5v-11Zm2.4-.35 6.1 5.1a.8.8 0 0 0 1 0l6.1-5.1A1.48 1.48 0 0 0 18.5 6h-13c-.03 0-.07 0-.1.15Zm13.6 2.1-5.23 4.38a2.8 2.8 0 0 1-3.54 0L5 8.25v9.25c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5V8.25Z'/%3E%3C/svg%3E");
}

.doc-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 2h8l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm7 1.8V8h4.2L13 3.8ZM7 11h10v2H7v-2Zm0 4h10v2H7v-2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 2h8l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm7 1.8V8h4.2L13 3.8ZM7 11h10v2H7v-2Zm0 4h10v2H7v-2Z'/%3E%3C/svg%3E");
}

.repo-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 3a4 4 0 0 0-4 4v10a4 4 0 0 0 4 4h10a4 4 0 0 0 4-4V7a4 4 0 0 0-4-4H7Zm1 4h8v2H8V7Zm0 4h4v2H8v-2Zm7.2 2.3 2.8 2.7-2.8 2.7-1.4-1.4 1.35-1.3-1.35-1.3 1.4-1.4ZM10.8 14.7 9.45 16l1.35 1.3-1.4 1.4L6.6 16l2.8-2.7 1.4 1.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 3a4 4 0 0 0-4 4v10a4 4 0 0 0 4 4h10a4 4 0 0 0 4-4V7a4 4 0 0 0-4-4H7Zm1 4h8v2H8V7Zm0 4h4v2H8v-2Zm7.2 2.3 2.8 2.7-2.8 2.7-1.4-1.4 1.35-1.3-1.35-1.3 1.4-1.4ZM10.8 14.7 9.45 16l1.35 1.3-1.4 1.4L6.6 16l2.8-2.7 1.4 1.4Z'/%3E%3C/svg%3E");
}

.web-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.93 9h-3.06a15.7 15.7 0 0 0-1.2-5.02A8.03 8.03 0 0 1 18.93 11ZM12 4.04c.79 1.15 1.55 3.15 1.82 6.96H10.18c.27-3.81 1.03-5.81 1.82-6.96ZM4 12c0-.34.02-.67.06-1h3.07a16.9 16.9 0 0 0 0 2H4.06A8.2 8.2 0 0 1 4 12Zm1.07 3h3.06c.24 2 .67 3.73 1.2 5.02A8.03 8.03 0 0 1 5.07 15Zm3.06-4H5.07a8.03 8.03 0 0 1 4.26-5.02A15.7 15.7 0 0 0 8.13 11ZM12 19.96c-.79-1.15-1.55-3.15-1.82-6.96h3.64c-.27 3.81-1.03 5.81-1.82 6.96ZM14.01 13h-4.02a14.7 14.7 0 0 1 0-2h4.02a14.7 14.7 0 0 1 0 2Zm.66 7.02c.53-1.29.96-3.02 1.2-5.02h3.06a8.03 8.03 0 0 1-4.26 5.02ZM16.87 13a16.9 16.9 0 0 0 0-2h3.07a8.2 8.2 0 0 1 0 2h-3.07Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.93 9h-3.06a15.7 15.7 0 0 0-1.2-5.02A8.03 8.03 0 0 1 18.93 11ZM12 4.04c.79 1.15 1.55 3.15 1.82 6.96H10.18c.27-3.81 1.03-5.81 1.82-6.96ZM4 12c0-.34.02-.67.06-1h3.07a16.9 16.9 0 0 0 0 2H4.06A8.2 8.2 0 0 1 4 12Zm1.07 3h3.06c.24 2 .67 3.73 1.2 5.02A8.03 8.03 0 0 1 5.07 15Zm3.06-4H5.07a8.03 8.03 0 0 1 4.26-5.02A15.7 15.7 0 0 0 8.13 11ZM12 19.96c-.79-1.15-1.55-3.15-1.82-6.96h3.64c-.27 3.81-1.03 5.81-1.82 6.96ZM14.01 13h-4.02a14.7 14.7 0 0 1 0-2h4.02a14.7 14.7 0 0 1 0 2Zm.66 7.02c.53-1.29.96-3.02 1.2-5.02h3.06a8.03 8.03 0 0 1-4.26 5.02ZM16.87 13a16.9 16.9 0 0 0 0-2h3.07a8.2 8.2 0 0 1 0 2h-3.07Z'/%3E%3C/svg%3E");
}

.construction-layout {
  padding: 0 22px 22px;
}

.construction-copy {
  padding: 20px;
  border-radius: 8px;
  color: var(--text);
  background: linear-gradient(180deg, #fff8f6, #ffffff);
  border: 1px solid #f4c4bd;
}

.construction-copy p {
  margin: 0;
}

.construction-copy p + p {
  margin-top: 14px;
}

.goal-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin: 0;
  padding: 0 22px 22px 42px;
  color: var(--text);
}

.results-section {
  background: linear-gradient(180deg, #ffffff, #fff8f8);
}

.stat-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin: 10px 0 8px;
  color: var(--ink);
  font-weight: 800;
}

.results-table-wrap {
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.06);
}

.table-heading {
  padding: 22px 22px 10px;
}

.table-heading h3 {
  margin-top: 0;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.results-table th,
.results-table td {
  padding: 14px 12px;
  text-align: right;
  border-top: 1px solid var(--line);
}

.results-table th:first-child,
.results-table td:first-child {
  text-align: left;
  font-weight: 700;
}

.results-table th {
  color: #ffffff;
  background: var(--primary-dark);
  font-size: 0.86rem;
}

.results-table tbody tr:nth-child(even) {
  background: #fff7f6;
}

.results-table .best {
  color: #14532d;
  background: #dcfce7;
  font-weight: 800;
}

.results-table .total td {
  font-weight: 800;
  border-top: 2px solid var(--primary-dark);
}

.citation-section {
  background: var(--soft);
}

.bibtex-box {
  position: relative;
  border: 1px solid #f4c4bd;
  border-radius: 8px;
  background: #2a1617;
  color: #fff5f2;
  overflow: hidden;
}

.bibtex-box pre {
  margin: 0;
  padding: 58px 22px 22px;
  overflow-x: auto;
  font-size: 0.95rem;
  line-height: 1.55;
}

.copy-button {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 36px;
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
  cursor: pointer;
}

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

.byline-bottom {
  text-align: center;
}

.safety-note {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff8ed;
  color: #7a3d00;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.84);
  background: #1f2933;
}

.site-footer .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 96px;
  }

  .abstract-points,
  .stat-grid,
  .surface-grid,
  .design-overview,
  .construction-layout {
    grid-template-columns: 1fr;
  }

  .benchmark-card summary {
    grid-template-columns: 1fr 34px;
  }

  .benchmark-label {
    grid-row: auto;
  }

  .benchmark-card summary::after {
    grid-column: 2;
    grid-row: 1;
  }

  .benchmark-heading,
  .benchmark-summary {
    grid-column: 1 / -1;
  }

  .results-table-wrap {
    overflow-x: auto;
  }

  .results-table {
    min-width: 760px;
  }

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

@media (max-width: 560px) {
  .section-inner,
  .section-inner.narrow,
  .top-nav {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .top-nav {
    padding: 16px 0;
  }

  .hero-content {
    width: calc(100vw - 28px);
    max-width: 340px;
    margin-left: 14px;
    margin-right: auto;
  }

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

  .hero h2,
  .hero-copy,
  .hero-callout {
    max-width: 340px;
    overflow-wrap: normal;
  }

  .hero h2 {
    font-size: 1.12rem;
  }

  .hero-copy,
  .hero-callout {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-callout {
    margin-top: 16px;
    padding: 10px 14px;
  }

  .button-row {
    gap: 10px;
    margin-top: 16px;
  }

  .button {
    min-height: 40px;
  }

  .authors,
  .notes {
    overflow-wrap: break-word;
  }

  .authors {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .abstract-section,
  .trace-section,
  .benchmark-section,
  .results-section,
  .citation-section,
  .bottom-info {
    padding: 56px 0;
  }

  .button {
    width: 100%;
  }

  .site-footer .section-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
