:root {
  --ink: #251c38;
  --ink-soft: #625874;
  --purple: #7d59bd;
  --purple-deep: #5f3f9b;
  --purple-light: #b99ae9;
  --lavender: #eee4ff;
  --lavender-pale: #f8f4ff;
  --lilac: #ddcaff;
  --white: #fff;
  --line: rgba(92, 61, 146, 0.14);
  --shadow: 0 22px 70px rgba(76, 44, 128, 0.12);
  --sans: "DM Sans", system-ui, sans-serif;
  --display: "Manrope", "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fdfcff;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(106, 72, 166, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 72, 166, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

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

.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.ambient {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.ambient-one {
  width: 720px;
  height: 720px;
  top: -310px;
  left: -280px;
  background: radial-gradient(circle, rgba(214, 190, 255, 0.55), rgba(245, 238, 255, 0));
}

.ambient-two {
  width: 780px;
  height: 780px;
  top: 340px;
  right: -480px;
  background: radial-gradient(circle, rgba(194, 166, 241, 0.35), rgba(245, 238, 255, 0));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(253, 252, 255, 0.83);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(67, 42, 108, 0.06);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 15px/1 var(--display);
  letter-spacing: 0.14em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 10px;
  background: linear-gradient(145deg, #b99be9, #7046af);
  box-shadow: 0 8px 22px rgba(108, 68, 170, 0.22);
  font-size: 17px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 26px 0 23px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple-deep);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.lang-switch {
  padding: 6px 13px !important;
  color: var(--purple-deep);
  border: 1px solid rgba(99, 60, 159, 0.2);
  border-radius: 999px;
  background: #f6f1fd;
  letter-spacing: 0.04em;
}

.lang-switch::after {
  display: none !important;
}

.lang-switch:hover,
.lang-switch.active {
  color: var(--purple-deep);
  background: #efe4fb;
}

html[lang="zh-CN"] body {
  font-family: "Noto Sans SC", "DM Sans", system-ui, sans-serif;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4,
html[lang="zh-CN"] .brand,
html[lang="zh-CN"] .kicker,
html[lang="zh-CN"] .mini-label {
  font-family: "Noto Sans SC", "Manrope", "DM Sans", system-ui, sans-serif;
}

html[lang="zh-CN"] .hero-thesis {
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.hero {
  padding-top: 88px;
  text-align: center;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 24px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-deep);
  border: 1px solid rgba(119, 79, 182, 0.16);
  border-radius: 100px;
  background: rgba(241, 233, 255, 0.76);
  font: 700 11px/1.3 var(--display);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9d78dc;
  box-shadow: 0 0 0 4px rgba(157, 120, 220, 0.14);
}

.hero h1 {
  max-width: 1000px;
  margin: 0 auto;
  font-family: var(--display);
  letter-spacing: -0.045em;
}

.parser-word {
  display: block;
  margin-bottom: 15px;
  color: transparent;
  background: linear-gradient(110deg, #c2a8ed 5%, #936bd0 43%, #5f399f 100%);
  background-clip: text;
  font-size: clamp(58px, 9vw, 108px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.04em;
  filter: drop-shadow(0 9px 25px rgba(108, 67, 169, 0.16));
}

.title-rest {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.16;
}

.hero-thesis {
  margin: 28px auto 23px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 22px);
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 24px;
  color: var(--purple-deep);
  font-size: 15px;
  font-weight: 600;
}

.authors sup,
.affiliation sup {
  color: var(--purple);
}

.affiliation {
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.affiliation strong {
  font: 700 20px/1.3 var(--display);
}

.affiliation span {
  margin: 0;
  color: #8e839f;
  font-size: 13px;
  font-weight: 500;
}

.resource-links {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
}

.resource-button {
  min-width: 128px;
  padding: 10px 18px 10px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid rgba(108, 68, 170, 0.17);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(82, 50, 131, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.resource-button:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 68, 170, 0.35);
  box-shadow: 0 13px 30px rgba(82, 50, 131, 0.11);
}

.resource-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--purple-deep);
  border-radius: 9px;
  background: var(--lavender);
  font-weight: 800;
}

.code-icon {
  font-size: 10px;
}

.resource-button strong {
  display: block;
  font-size: 13px;
  line-height: 1.25;
}

.hero-visual {
  min-height: 305px;
  margin-top: 68px;
  padding: 42px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(106, 69, 164, 0.13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 62% 50%, rgba(198, 169, 239, 0.24), transparent 27%),
    linear-gradient(135deg, rgba(253, 251, 255, 0.93), rgba(241, 233, 255, 0.85));
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(106, 69, 164, 0.15) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, transparent, black 35%, black 65%, transparent);
  opacity: 0.35;
  pointer-events: none;
}

.document-stack {
  width: 135px;
  height: 118px;
  position: relative;
  z-index: 2;
}

.document-stack span {
  width: 76px;
  height: 92px;
  position: absolute;
  top: 0;
  left: 28px;
  border: 1px solid #c8afea;
  border-radius: 10px;
  background:
    linear-gradient(#d6c4ef 0 0) 15px 21px / 40px 3px no-repeat,
    linear-gradient(#e3d7f4 0 0) 15px 31px / 45px 3px no-repeat,
    linear-gradient(#e3d7f4 0 0) 15px 41px / 35px 3px no-repeat,
    white;
  box-shadow: 0 9px 20px rgba(88, 55, 139, 0.1);
}

.document-stack span:nth-child(1) { transform: translateX(-22px) rotate(-8deg); }
.document-stack span:nth-child(2) { transform: translateX(-8px) rotate(-3deg); }
.document-stack span:nth-child(3) { transform: translateX(8px) rotate(3deg); }
.document-stack span:nth-child(4) { transform: translateX(22px) rotate(8deg); }

.document-stack p {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}

.flow-arrow {
  z-index: 2;
  color: #9b7bc8;
  font-size: 25px;
}

.flow-arrow span {
  display: block;
  margin-bottom: -2px;
  color: #9b90a9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.agent-bank {
  z-index: 2;
  display: grid;
  gap: 8px;
}

.agent-card {
  width: 130px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 26px 1fr;
  text-align: left;
  border: 1px solid rgba(115, 76, 175, 0.15);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 7px 18px rgba(83, 49, 135, 0.07);
}

.agent-card i {
  width: 21px;
  height: 21px;
  grid-row: 1 / 3;
  border: 5px solid #bea2e5;
  border-radius: 50%;
  background: #7d58ba;
}

.agent-card b,
.agent-card small {
  line-height: 1.2;
}

.agent-card b { font-size: 10px; }
.agent-card small { color: #978da4; font-size: 8px; }

.scatter-lines {
  width: 60px;
  height: 116px;
  z-index: 2;
  position: relative;
}

.scatter-lines::before {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 0;
  background: #a886d6;
}

.scatter-lines span {
  width: 68px;
  height: 1px;
  position: absolute;
  left: -6px;
  background: #b99cde;
  transform-origin: right center;
}

.scatter-lines span:first-child { top: 18px; transform: rotate(-26deg); }
.scatter-lines span:nth-child(2) { top: 57px; }
.scatter-lines span:last-child { bottom: 18px; transform: rotate(26deg); }

.lead-orbit {
  width: 174px;
  height: 174px;
  z-index: 2;
  display: grid;
  position: relative;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  inset: 3px;
  border: 1px dashed #b79ada;
  border-radius: 50%;
  animation: rotate 24s linear infinite;
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  border: 3px solid var(--lavender);
  border-radius: 50%;
  background: #8d65c6;
}

.orbit-ring::before { top: 13px; right: 27px; }
.orbit-ring::after { bottom: 13px; left: 27px; }

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.lead-agent {
  width: 112px;
  height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(103, 65, 161, 0.2);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #e7d8fa);
  box-shadow: 0 15px 35px rgba(83, 49, 135, 0.16);
}

.lead-agent > span {
  color: #8155bf;
  font-size: 25px;
  line-height: 1;
}

.lead-agent b { margin-top: 6px; font-size: 11px; }
.lead-agent small { color: #8a7e98; font-size: 8px; }

.orbit-label {
  position: absolute;
  padding: 3px 7px;
  color: var(--purple-deep);
  border: 1px solid #dfd0f2;
  border-radius: 10px;
  background: white;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.orbit-label.scatter { top: 10px; left: 0; }
.orbit-label.gather { right: -3px; bottom: 12px; }

.answer-pill {
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid #c9b0e9;
  border-radius: 100px;
  background: white;
  box-shadow: 0 10px 24px rgba(83, 49, 135, 0.1);
  font-size: 11px;
  font-weight: 700;
}

.answer-pill span {
  width: 18px;
  height: 18px;
  margin-left: 5px;
  display: inline-grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: #8a62c4;
  font-size: 9px;
}

.hero-stats {
  margin: 30px 16px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-stats > div {
  padding: 13px 20px;
  border-right: 1px solid var(--line);
}

.hero-stats > div:last-child { border-right: 0; }

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--purple-deep);
  font: 700 25px/1.2 var(--display);
}

.hero-stats span {
  color: #8a8096;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.section {
  padding-block: 125px;
  scroll-margin-top: 70px;
}

.section-heading {
  margin-bottom: 46px;
  display: flex;
  align-items: flex-start;
  gap: 23px;
}

.section-number {
  min-width: 45px;
  padding-top: 3px;
  color: #9b76d1;
  border-top: 2px solid #9b76d1;
  font: 700 11px/1 var(--display);
  letter-spacing: 0.1em;
}

.kicker {
  margin: 0 0 10px;
  color: var(--purple-deep);
  font: 700 12px/1 var(--display);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.kicker span {
  margin-left: 6px;
  color: #9b8ba9;
  font-weight: 500;
}

.section h2 {
  max-width: 840px;
  margin: 0;
  font: 700 clamp(32px, 4.6vw, 55px)/1.14 var(--display);
  letter-spacing: -0.04em;
}

.prose {
  max-width: 900px;
  margin-left: 68px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  color: var(--ink-soft);
  font-size: 19px;
}

.prose p { margin: 0; }
.prose strong { color: var(--purple-deep); }

.breakthrough-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 270px;
  padding: 29px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.76);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-number {
  position: absolute;
  top: 17px;
  right: 21px;
  color: rgba(105, 67, 166, 0.1);
  font: 800 64px/1 var(--display);
}

.feature-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--purple-deep);
  border-radius: 14px;
  background: linear-gradient(145deg, #f4edff, #dbc7f7);
  font-size: 23px;
}

.feature-card h3 {
  margin: 43px 0 10px;
  font: 700 20px/1.25 var(--display);
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

blockquote {
  max-width: 850px;
  margin: 70px auto 0;
  color: transparent;
  background: linear-gradient(100deg, #9c78d0, #68439e);
  background-clip: text;
  font: 600 clamp(24px, 3.7vw, 39px)/1.45 var(--display);
  letter-spacing: -0.025em;
  text-align: center;
}

.section-tint {
  background: linear-gradient(180deg, rgba(241, 234, 252, 0.66), rgba(250, 247, 255, 0.55));
  border-block: 1px solid rgba(103, 67, 158, 0.08);
}

.paper-figure {
  margin: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: white;
  box-shadow: 0 18px 55px rgba(76, 44, 128, 0.09);
}

.paper-figure img {
  width: 100%;
  border-radius: 9px;
}

.paper-figure figcaption {
  margin-top: 18px;
  padding-top: 15px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 15px;
  text-align: center;
}

.workflow-figure {
  max-width: 970px;
  margin-inline: auto;
}

.method-overview {
  max-width: 970px;
  margin: -6px auto 38px;
  padding: 27px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  color: var(--ink-soft);
  border-left: 3px solid #9c78d0;
  border-radius: 0 15px 15px 0;
  background: rgba(255, 255, 255, 0.55);
  font-size: 17px;
}

.method-overview p {
  margin: 0;
}

.method-overview em {
  color: var(--purple-deep);
  font-family: var(--display);
  font-weight: 700;
}

.method-overview strong,
.workflow-figure figcaption strong {
  color: var(--purple-deep);
  font-weight: 700;
}

.method-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--line);
}

.method-grid article {
  min-height: 220px;
  padding: 32px 36px;
  background: rgba(255, 255, 255, 0.88);
}

.mini-label {
  color: #9b75d0;
  font: 700 10px/1 var(--display);
  letter-spacing: 0.1em;
}

.method-grid h3 {
  margin: 22px 0 10px;
  font: 700 21px/1.2 var(--display);
}

.method-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.equation-card {
  margin-top: 24px;
  padding: 24px 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(111, 72, 171, 0.14);
  border-radius: 17px;
  background: linear-gradient(100deg, white, #efe5fd);
}

.equation-label {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.equation {
  font: 600 clamp(16px, 2.5vw, 23px)/1.4 var(--display);
}

.equation .muted { color: #9e94a9; }
.equation-divider { padding-inline: 13px; color: #aa8ad5; }

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #9d78d0, #623b9e);
  background-clip: text;
}

.result-lead {
  margin: 0 0 43px 68px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.result-lead > p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.baseline-note {
  margin: -18px 0 34px 68px;
  padding: 17px 19px 19px;
  color: var(--ink-soft);
  border-left: 3px solid #b599d9;
  border-radius: 0 10px 10px 0;
  background: #f8f4fc;
  font-size: 16px;
}

.baseline-note > .mini-label {
  margin-bottom: 12px;
  display: block;
}

.baseline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.baseline-grid p {
  margin: 0;
}

.baseline-note strong {
  color: var(--ink);
}

.results-table-card {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 18px 55px rgba(76, 44, 128, 0.07);
}

.results-table-heading {
  padding: 24px 27px 19px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.results-table-heading h3 {
  margin: 10px 0 0;
  font: 700 22px/1.25 var(--display);
}

.results-table-heading p,
.results-table-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.results-table-card table {
  width: 100%;
  min-width: 1180px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.results-table-card th,
.results-table-card td {
  padding: 10px 11px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid rgba(102, 65, 159, 0.08);
}

.results-table-card thead th {
  color: var(--ink);
  background: #f8f4fd;
  font: 700 12px/1.25 var(--display);
}

.results-table-card thead th span,
.results-table-card thead th small {
  display: block;
}

.results-table-card thead th small {
  margin-top: 3px;
  color: #92859f;
  font-size: 10px;
  font-weight: 600;
}

.results-table-card .delta-col {
  color: var(--ink);
  font-weight: 700;
}

.results-table-card tbody th {
  width: 135px;
  color: var(--ink);
  background: white;
  font-weight: 700;
  text-align: left;
  vertical-align: middle;
  border-bottom: none;
}

.results-table-card tbody td:first-of-type {
  text-align: left;
}

.results-table-card tbody tr:has(+ .group-start) td {
  border-bottom: none;
}

.results-table-card tbody tr.group-start > * {
  border-top: 2px solid rgba(104, 65, 162, 0.16);
}

.results-table-card tbody tr.parser-row td {
  color: var(--purple-deep);
  background: #eee4fb;
}

.results-table-card tbody tr.parser-row td:first-child {
  box-shadow: inset 3px 0 0 #8158bc;
}

.results-table-card tbody tr:last-child td {
  border-bottom: none;
}

.results-table-note {
  padding: 12px 27px 14px;
  border-top: 1px solid var(--line);
}

.experiment-index {
  margin-bottom: 12px;
  display: block;
}

.dataset-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.dataset-tags span {
  padding: 5px 9px;
  color: var(--purple-deep);
  border: 1px solid #e3d5f5;
  border-radius: 100px;
  background: #faf7ff;
  font-size: 9px;
  font-weight: 700;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.result-card {
  min-height: 258px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(101, 62, 160, 0.11);
  border-radius: 21px;
}

.result-card.lavender { background: linear-gradient(145deg, #fbf8ff, #eadcff); }
.result-card.lilac { background: linear-gradient(145deg, #f7f0ff, #d9c0fa); }
.result-card.violet { color: white; background: linear-gradient(145deg, #9e7ad0, #633c9f); }

.result-card p {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-card strong {
  margin-top: auto;
  font: 700 clamp(47px, 6vw, 70px)/1 var(--display);
  letter-spacing: -0.06em;
}

.result-card span {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

.result-card small {
  margin-top: 17px;
  color: var(--ink-soft);
  font-size: 11px;
}

.result-card.violet small { color: rgba(255, 255, 255, 0.72); }

.parser-key,
.memagent-step-key {
  width: 17px;
  height: 3px;
  display: inline-block;
  border-radius: 2px;
}

.parser-key { background: #8057bc; }

.delta-showcase {
  margin-top: 20px;
  margin-bottom: 22px;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: center;
  border: 1px solid rgba(99, 60, 159, 0.14);
  border-radius: 22px;
  background: linear-gradient(145deg, #fcfaff, #efe6fb);
  box-shadow: 0 18px 55px rgba(76, 44, 128, 0.07);
}

.delta-showcase-copy h3 {
  margin: 12px 0 16px;
  font: 700 32px/1.2 var(--display);
  letter-spacing: -0.03em;
}

.delta-showcase-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.delta-bars {
  display: grid;
  gap: 14px;
}

.delta-bar-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 14px;
}

.delta-bar-meta strong {
  font: 800 20px/1 var(--display);
  color: var(--ink);
}

.delta-bar > span {
  display: block;
  height: 10px;
  border-radius: 100px;
  background: #d8cce8;
}

.delta-bar.parser-delta .delta-bar-meta b,
.delta-bar.parser-delta .delta-bar-meta strong {
  color: var(--purple-deep);
}

.delta-bar.parser-delta > span {
  background: linear-gradient(90deg, #b694ec, #6b43aa);
  box-shadow: 0 4px 12px rgba(107, 67, 170, 0.25);
}

.delta-bars > p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.subsection-heading {
  margin: 90px 0 35px;
  text-align: center;
}

.subsection-heading span {
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.subsection-heading h3 {
  margin: 9px 0 0;
  font: 700 clamp(26px, 4vw, 40px)/1.2 var(--display);
  letter-spacing: -0.03em;
}

.subsection-heading:not(:has(h3)) {
  margin-bottom: 18px;
}

.analysis-setup-grid {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.analysis-setup-grid article {
  min-height: auto;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid rgba(99, 60, 159, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, #fcfaff, #f0e7fc);
}

.analysis-index {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  border-radius: 9px;
  background: linear-gradient(145deg, #a580d7, #7148ad);
  box-shadow: 0 7px 16px rgba(93, 53, 149, 0.2);
  font: 800 11px/1 var(--display);
}

.analysis-setup-grid h4 {
  margin: 4px 0 11px;
  font: 700 17px/1.25 var(--display);
}

.analysis-setup-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.analysis-setup-grid .analysis-takeaway {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 500;
}

.other-analyses-grid {
  margin-bottom: 0;
}

.case-panel {
  overflow: hidden;
  border: 1px solid rgba(99, 60, 159, 0.16);
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 55px rgba(76, 44, 128, 0.07);
}

.case-panel > summary {
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
}

.case-panel > summary::-webkit-details-marker {
  display: none;
}

.case-tags {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.case-tags span {
  padding: 4px 9px;
  color: var(--purple-deep);
  border: 1px solid #e3d5f5;
  border-radius: 100px;
  background: #f7f2fd;
  font-size: 11px;
  font-weight: 700;
}

.case-summary-copy h4 {
  margin: 0 0 8px;
  font: 700 22px/1.35 var(--display);
}

.case-summary-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.case-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  position: relative;
  border: 1px solid rgba(99, 60, 159, 0.16);
  border-radius: 50%;
  background: #f6f1fd;
}

.case-toggle::before,
.case-toggle::after {
  content: "";
  width: 14px;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--purple-deep);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.case-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease, opacity 180ms ease;
}

.case-panel[open] .case-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.case-panel[open] > summary {
  border-bottom: 1px solid rgba(99, 60, 159, 0.1);
}

.case-trace {
  padding: 22px 26px 28px;
  display: grid;
  gap: 14px;
}

.case-step {
  padding: 18px 20px;
  border: 1px solid rgba(99, 60, 159, 0.1);
  border-radius: 16px;
  background: #fcfaff;
}

.case-step header {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.case-step header span {
  color: var(--purple-deep);
  font: 800 12px/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-step header small {
  color: var(--ink-soft);
  font-size: 13px;
}

.case-question {
  margin: 0;
  color: var(--ink);
  font: 600 18px/1.5 var(--display);
}

.case-think {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4eefb;
}

.case-think code {
  color: #8a4cb8;
  font-size: 12px;
}

.case-think p {
  margin: 8px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.case-io {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.case-chip,
.case-obs {
  padding: 12px 14px;
  border-radius: 12px;
}

.case-chip.green,
.case-obs.green {
  background: #e8f5e9;
}

.case-chip.purple,
.case-obs.purple {
  background: #f3e5f5;
}

.case-chip b,
.case-obs small {
  display: block;
  margin-bottom: 6px;
  color: #5f4d73;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.case-chip span,
.case-obs p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.case-obs strong {
  display: block;
  margin-top: 8px;
  color: var(--purple-deep);
  font-size: 15px;
}

.case-obs-label {
  margin: 14px 0 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-answer {
  margin: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eee4fb, #e0d0f6);
}

.case-answer code {
  color: #8a4cb8;
  font-size: 12px;
}

.case-answer strong {
  color: var(--purple-deep);
  font: 800 20px/1.2 var(--display);
}

.case-caption {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}

.latency-protocol {
  margin-bottom: 22px;
  padding: 30px;
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 36px;
  border: 1px solid rgba(99, 60, 159, 0.12);
  border-radius: 20px;
  background: linear-gradient(145deg, #faf7ff, #eee4fb);
}

.latency-protocol-lead h4 {
  margin: 17px 0 0;
  font: 700 24px/1.28 var(--display);
  letter-spacing: -0.025em;
}

.latency-protocol-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 25px;
}

.latency-protocol-details p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.latency-protocol-details strong {
  color: var(--ink);
  font-weight: 700;
}

.latency-protocol-details em {
  color: var(--purple-deep);
  font-style: normal;
  font-weight: 700;
}

.engineering-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(202, 178, 239, 0.2), transparent 28%),
    linear-gradient(160deg, #302342, #21182f 65%, #291b3d);
  color: white;
}

.engineering-section .section-number {
  color: #c3a3eb;
  border-color: #c3a3eb;
}

.engineering-section .kicker { color: #d5bdf5; }
.engineering-section .kicker span { color: #9889aa; }

.engineering-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 70px;
  align-items: center;
}

.pipeline {
  min-height: 430px;
  padding: 42px;
  position: relative;
  border: 1px solid rgba(225, 209, 247, 0.13);
  border-radius: 23px;
  background:
    radial-gradient(circle at 50% 42%, rgba(176, 133, 233, 0.15), transparent 30%),
    rgba(255, 255, 255, 0.035);
}

.pipeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(221, 198, 248, 0.15) 1px, transparent 1px);
  background-size: 19px 19px;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
  pointer-events: none;
}

.pipeline-node {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(220, 199, 246, 0.17);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.node-icon {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #d8c2f5;
  border-radius: 12px;
  background: rgba(194, 158, 239, 0.14);
  font-size: 20px;
}

.pipeline-node strong,
.pipeline-node small {
  display: block;
  line-height: 1.4;
}

.pipeline-node strong { font: 700 14px/1.4 var(--display); }
.pipeline-node small { color: #aa9eb7; font-size: 10px; }

.pipeline-flow {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  color: #9a88ae;
  font-size: 8px;
  text-transform: uppercase;
}

.pipeline-flow i {
  width: 1px;
  height: 45px;
  position: relative;
  background: linear-gradient(#b998e0, #7952ac);
}

.pipeline-flow i::before,
.pipeline-flow i::after {
  content: "";
  position: absolute;
  left: -2px;
  border: 3px solid transparent;
}

.pipeline-flow i::before { top: -1px; border-bottom-color: #b998e0; }
.pipeline-flow i::after { bottom: -1px; border-top-color: #7952ac; }

.subagent-cluster {
  margin-top: 34px;
  padding: 16px;
  position: relative;
  z-index: 2;
  border: 1px dashed rgba(218, 194, 245, 0.25);
  border-radius: 14px;
  text-align: center;
}

.cluster-label {
  color: #cdb3ec;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cluster-gpus {
  margin: 12px auto 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.cluster-gpus i {
  width: 23px;
  height: 30px;
  border: 1px solid rgba(216, 188, 245, 0.2);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 42%, #bc98e7 0 4px, transparent 5px),
    rgba(255, 255, 255, 0.07);
}

.subagent-cluster p {
  margin: 0;
  color: #a99bb6;
  font-size: 9px;
}

.idle-highlight {
  margin-bottom: 24px;
  padding: 21px 23px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(211, 178, 247, 0.3);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(173, 124, 229, 0.24), rgba(105, 65, 160, 0.11));
  box-shadow: 0 15px 40px rgba(13, 8, 22, 0.2);
}

.idle-highlight::after {
  content: "";
  width: 130px;
  height: 130px;
  position: absolute;
  top: -76px;
  right: -42px;
  border-radius: 50%;
  background: rgba(211, 177, 248, 0.14);
}

.idle-highlight span,
.idle-highlight strong {
  display: block;
  position: relative;
  z-index: 1;
}

.idle-highlight span {
  color: #cba9f2;
  font: 800 9px/1 var(--display);
  letter-spacing: 0.13em;
}

.idle-highlight strong {
  margin-top: 10px;
  color: white;
  font: 700 24px/1.25 var(--display);
  letter-spacing: -0.025em;
}

.engineering-copy > p {
  margin: 0 0 35px;
  color: #c0b5ca;
  font-size: 18px;
}

.check-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 17px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: #aa9cb7;
  font-size: 15px;
}

.check-list li > span {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #d2b6f2;
  border: 1px solid rgba(211, 184, 243, 0.25);
  border-radius: 50%;
  background: rgba(180, 137, 231, 0.1);
  font-size: 10px;
}

.check-list strong {
  display: block;
  margin-bottom: 2px;
  color: white;
  font-size: 13px;
}

.latency-pair-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, #f8f3ff, #eadcfb);
  box-shadow: 0 18px 55px rgba(76, 44, 128, 0.08);
}

.step-reason {
  padding: 26px 32px 28px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.step-reason-copy h4 {
  margin: 10px 0 16px;
  font: 700 24px/1.25 var(--display);
}

.step-reason-copy p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.step-legend {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.step-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.step-legend b {
  color: var(--ink);
  font-weight: 700;
}

.memagent-step-key {
  background: repeating-linear-gradient(
    90deg,
    #e0a06a 0 8px,
    transparent 8px 13px
  );
}

.step-chart-card {
  margin: 0;
  min-width: 0;
}

.step-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.step-line {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-line.parser {
  stroke: url(#step-parser-line);
}

.step-line.memagent {
  stroke: #e0a06a;
  stroke-dasharray: 7 6;
  stroke-width: 3;
}

.step-points.parser-points circle {
  fill: white;
  stroke: #8158bc;
  stroke-width: 2.5;
}

.step-points.memagent-points circle {
  fill: white;
  stroke: #d9894f;
  stroke-width: 2.5;
}

.step-values text {
  font: 700 12px var(--display);
  text-anchor: end;
}

.step-values .mem-value { fill: #c56d2f; }
.step-values .parser-value { fill: #5d3697; }

.step-chart-card figcaption {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}

.speedup-chart-card {
  margin: 0;
  padding: 30px 34px 22px;
  overflow-x: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.speedup-chart-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
}

.speedup-chart-header h4 {
  margin: 10px 0 0;
  font: 700 24px/1.2 var(--display);
}

.speedup-chart-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.speedup-chart {
  width: 100%;
  min-width: 680px;
  height: auto;
  margin-top: 12px;
  overflow: visible;
}

.speedup-grid line {
  stroke: rgba(89, 56, 139, 0.12);
  stroke-width: 1;
}

.speedup-y-labels text,
.speedup-x-labels text {
  fill: #8e829b;
  font: 10px var(--sans);
  text-anchor: middle;
}

.speedup-y-labels text {
  text-anchor: end;
}

.speedup-x-labels .axis-title {
  fill: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}

.speedup-area {
  fill: url(#speedup-area);
}

.speedup-line {
  fill: none;
  stroke: url(#speedup-line);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 5px 7px rgba(101, 60, 159, 0.2));
}

.speedup-points circle {
  fill: white;
  stroke: #8158bc;
  stroke-width: 3;
}

.speedup-values text {
  fill: #7652a9;
  font: 600 9px var(--sans);
  text-anchor: middle;
}

.speedup-values .last-value {
  fill: #5d3697;
  font-size: 12px;
  font-weight: 800;
  text-anchor: end;
}

.speedup-chart-card figcaption {
  padding-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
}

.conclusion-grid {
  margin-left: 68px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  color: var(--ink-soft);
  font-size: 19px;
}

.conclusion-grid p { margin: 0; }

.citation-section {
  background: linear-gradient(145deg, #f5effd, #e9dbfa);
  border-top: 1px solid var(--line);
}

.citation-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(86, 52, 137, 0.19);
  border-radius: 20px;
  background: #2a2037;
  box-shadow: 0 25px 60px rgba(70, 40, 112, 0.17);
}

.citation-box pre {
  margin: 0;
  padding: 34px 145px 34px 34px;
  overflow-x: auto;
  color: #e7ddf2;
  font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.citation-box button {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 9px 13px;
  color: #eee4f9;
  border: 1px solid rgba(225, 207, 245, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.citation-box button:hover { background: rgba(255, 255, 255, 0.13); }

footer {
  padding: 34px 0;
  color: #a097a9;
  background: #21182e;
  font-size: 11px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer .brand { color: white; font-size: 11px; }
footer .brand-mark { width: 27px; height: 27px; border-radius: 8px; font-size: 13px; }
footer p { margin: 0; }

.fade-in {
  opacity: 0;
  animation: enter 700ms ease forwards;
}

.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 210ms; }
.delay-3 { animation-delay: 330ms; }

@keyframes enter {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 72px;
    right: 24px;
    left: 24px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 13px; }
  .nav-links a::after { display: none; }
  .lang-switch {
    margin-top: 8px;
    align-self: flex-start;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    display: grid;
    place-content: center;
    gap: 6px;
  }

  .menu-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    background: var(--ink);
  }

  .hero-visual { gap: 11px; padding-inline: 25px; transform-origin: center; }
  .document-stack { transform: scale(0.86); }
  .agent-bank { transform: scale(0.87); }
  .scatter-lines { width: 37px; transform: scaleX(0.7); }
  .lead-orbit { transform: scale(0.86); }

  .prose,
  .conclusion-grid {
    margin-left: 0;
  }

  .analysis-setup-grid { grid-template-columns: 1fr; }
  .analysis-setup-grid article { min-height: auto; }
  .latency-protocol { grid-template-columns: 1fr; }
  .engineering-layout { grid-template-columns: 1fr; }
  .pipeline { max-width: 620px; width: 100%; margin-inline: auto; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 30px, 1120px); }
  .hero { padding-top: 60px; }
  .hero h1 { letter-spacing: -0.03em; }
  .authors { column-gap: 16px; }
  .affiliation { font-size: 16px; }
  .affiliation strong { font-size: 18px; }
  .resource-button { min-width: calc(50% - 6px); }

  .hero-visual {
    min-height: 530px;
    flex-direction: column;
  }

  .document-stack { margin-bottom: 0; }
  .flow-arrow { transform: rotate(90deg); }
  .flow-arrow span { transform: rotate(-90deg); }
  .agent-bank { grid-template-columns: repeat(3, 1fr); }
  .scatter-lines { width: 100px; height: 20px; transform: rotate(90deg) scaleX(0.55); }
  .answer-pill { position: absolute; right: 22px; bottom: 24px; }

  .hero-stats { margin-inline: 0; grid-template-columns: repeat(3, 1fr); }
  .hero-stats > div { padding-inline: 8px; }

  .section { padding-block: 90px; }
  .section-heading { gap: 13px; }
  .section-number { min-width: 31px; }
  .prose,
  .conclusion-grid { grid-template-columns: 1fr; gap: 20px; }
  .breakthrough-grid,
  .results-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 235px; }
  .method-overview { padding: 22px; grid-template-columns: 1fr; gap: 16px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: auto; }
  .analysis-setup-grid article { padding: 21px; }
  .case-panel > summary { padding: 20px; flex-direction: column; align-items: flex-start; }
  .case-toggle { align-self: flex-end; }
  .case-io { grid-template-columns: 1fr; }
  .case-trace { padding: 16px 16px 22px; }
  .latency-protocol { padding: 22px; gap: 22px; }
  .latency-protocol-details { grid-template-columns: 1fr; }

  .paper-figure { padding: 12px; border-radius: 15px; overflow-x: auto; }
  .paper-figure img { min-width: 640px; }
  .workflow-figure img { min-width: 570px; }

  .equation-card { align-items: flex-start; flex-direction: column; }
  .equation-divider { display: block; width: fit-content; padding: 3px 0; transform: rotate(90deg); }
  .result-lead { margin-left: 0; align-items: flex-start; flex-direction: column; }
  .baseline-note { margin-left: 0; }
  .baseline-grid { grid-template-columns: 1fr; gap: 12px; }
  .results-table-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .dataset-tags { justify-content: flex-start; }
  .delta-showcase { padding: 24px 20px; grid-template-columns: 1fr; gap: 22px; }

  .pipeline { padding: 22px; }
  .cluster-gpus { gap: 3px; }
  .cluster-gpus i { width: 17px; height: 25px; }
  .step-reason { padding: 18px 18px 22px; grid-template-columns: 1fr; gap: 18px; }
  .speedup-chart-card { padding: 22px 18px 17px; }
  .speedup-chart-header { align-items: flex-start; flex-direction: column; gap: 8px; }

  .citation-box pre { padding: 72px 20px 24px; font-size: 10px; }
  .citation-box button { top: 16px; right: 16px; }
  .footer-content { flex-direction: column; text-align: center; }
}
