:root {
  color-scheme: light;
  --bg: #f8f7f2;
  --panel: #ffffff;
  --ink: #141414;
  --muted: #61615b;
  --line: #dedbd0;
  --green: #315f4c;
  --green-2: #e5f0e6;
  --apple: #b7372d;
  --gold: #c6922f;
  --blue: #294a73;
  --shadow: 0 22px 70px rgba(43, 38, 27, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(229, 240, 230, 0.65), rgba(248, 247, 242, 0) 420px),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 12%, rgba(183, 55, 45, 0.05), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(49, 95, 76, 0.06), transparent 22%),
    radial-gradient(circle at 48% 78%, rgba(198, 146, 47, 0.05), transparent 24%);
}

.physics-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
}

.orbit {
  position: absolute;
  width: 520px;
  height: 280px;
  border-top: 2px dashed rgba(183, 55, 45, 0.075);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.orbit-a {
  --line-rotation: -24deg;
  top: 8%;
  right: -120px;
  animation: drift-line 26s linear infinite;
}

.orbit-b {
  --line-rotation: 18deg;
  top: 42%;
  left: -220px;
  width: 620px;
  border-top-color: rgba(49, 95, 76, 0.06);
  transform: rotate(18deg);
  animation: drift-line 34s linear infinite reverse;
}

.orbit-c {
  --line-rotation: -11deg;
  right: 8%;
  bottom: 8%;
  width: 440px;
  border-top-color: rgba(198, 146, 47, 0.07);
  transform: rotate(-11deg);
  animation: drift-line 30s linear infinite;
}

.float-apple,
.float-symbol {
  position: absolute;
  opacity: 0.11;
  filter: saturate(0.9);
  user-select: none;
  will-change: transform;
}

.float-apple {
  font-size: 28px;
}

.apple-a {
  top: -8%;
  left: 18%;
  animation: apple-fall-a 24s linear infinite;
}

.apple-b {
  top: 20%;
  right: -4%;
  font-size: 22px;
  opacity: 0.085;
  animation: apple-fall-b 30s linear infinite 5s;
}

.float-symbol {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 800;
}

.symbol-a {
  top: 36%;
  right: 9%;
  animation: symbol-drift 32s ease-in-out infinite;
}

.symbol-b {
  bottom: 16%;
  left: 8%;
  color: var(--apple);
  font-size: 42px;
  opacity: 0.08;
  animation: symbol-drift 38s ease-in-out infinite reverse;
}

@keyframes drift-line {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--line-rotation, -24deg));
  }
  50% {
    transform: translate3d(28px, 18px, 0) rotate(var(--line-rotation, -24deg));
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--line-rotation, -24deg));
  }
}

@keyframes apple-fall-a {
  0% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  45% {
    transform: translate3d(190px, 48vh, 0) rotate(10deg);
  }
  100% {
    transform: translate3d(360px, 112vh, 0) rotate(18deg);
  }
}

@keyframes apple-fall-b {
  0% {
    transform: translate3d(0, 0, 0) rotate(8deg);
  }
  100% {
    transform: translate3d(-430px, 95vh, 0) rotate(-14deg);
  }
}

@keyframes symbol-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -14px, 0);
  }
}

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

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

.hero {
  display: block;
  width: min(1160px, calc(100% - 48px));
  min-height: auto;
  margin: 0 auto;
  padding: 64px 0 34px;
  text-align: center;
}

.hero-copy {
  max-width: 1120px;
  min-width: 0;
  margin: 0 auto;
}

.hero-logo {
  width: clamp(82px, 7.2vw, 116px);
  height: auto;
  margin: 0;
  object-fit: contain;
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.8vw, 34px);
  margin-bottom: 18px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 20px;
  color: rgba(96, 67, 61, 0.58);
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.section-kicker .kicker-number {
  color: #b7372d;
  letter-spacing: 0.08em;
}

.section-kicker .quote-icon {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 0.6;
  letter-spacing: 0;
}

.section-kicker::after {
  display: block;
  width: 37px;
  height: 1px;
  content: "";
  background: rgba(42, 43, 40, 0.24);
}

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

h1 {
  margin-bottom: 0;
  color: var(--apple);
  background: linear-gradient(100deg, #b7372d 0%, #d84b3d 42%, #c6922f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family:
    "Helvetica Neue", Helvetica, Arial, Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0;
  text-fill-color: transparent;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.subtitle {
  max-width: 1120px;
  margin: 0 auto 28px;
  color: var(--green);
  font-size: clamp(26px, 3.35vw, 44px);
  font-weight: 800;
  line-height: 1.14;
}

.thesis {
  max-width: 780px;
  margin: 0 auto 20px;
  color: #30302d;
  font-size: 20px;
  line-height: 1.5;
}

.authors,
.affiliations,
.author-notes {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.authors {
  margin-bottom: 8px;
  color: #3a3a36;
}

.authors a {
  position: relative;
  color: inherit;
  font-weight: 700;
  transition:
    color 160ms ease,
    text-shadow 160ms ease;
}

.authors a::after {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--apple), var(--gold));
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.authors a:hover {
  color: var(--apple);
  text-shadow: 0 8px 24px rgba(183, 55, 45, 0.14);
}

.authors a:hover::after {
  opacity: 0.82;
  transform: scaleX(1);
}

.authors sup,
.affiliations sup,
.author-notes sup {
  color: var(--apple);
  font-size: 0.72em;
  font-weight: 900;
}

.mail-mark {
  display: inline-block;
  font-size: 1.32em;
  line-height: 0;
  transform: translateY(0.02em);
}

.affiliations {
  margin-bottom: 3px;
}

.author-notes {
  margin-bottom: 0;
  font-size: 13px;
}

.institution-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  margin: 18px auto 0;
}

.institution-logos img {
  width: auto;
  height: 70px;
  object-fit: contain;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  background: #fff;
  border: 1px solid rgba(49, 95, 76, 0.28);
  border-radius: 999px;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.button-icon svg {
  width: 100%;
  height: 100%;
}

.button-icon .lucide-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-icon .brand-icon {
  display: block;
  fill: currentColor;
  stroke: none;
}

.button-icon .huggingface-icon {
  transform: scale(1.03);
  transform-origin: center;
}

.button-icon .youtube-icon {
  transform: scale(1.08);
  transform-origin: center;
}

.button:hover {
  color: var(--apple);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(183, 55, 45, 0.42);
  transform: translateY(-2px);
}

.button.primary:hover {
  color: #fff;
  background: #b7372d;
  border-color: #b7372d;
}

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

.tldr {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 8px auto 64px;
  padding: 30px;
  background:
    radial-gradient(circle at 8% 0%, rgba(183, 55, 45, 0.095), transparent 34%),
    radial-gradient(circle at 100% 15%, rgba(49, 95, 76, 0.10), transparent 38%),
    linear-gradient(135deg, rgba(255, 250, 246, 0.94), rgba(238, 247, 239, 0.82));
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 18px 58px rgba(43, 38, 27, 0.08);
  backdrop-filter: blur(12px);
}

.tldr::before {
  position: absolute;
  inset: 0;
  padding: 1px;
  content: "";
  background: linear-gradient(120deg, rgba(183, 55, 45, 0.28), rgba(49, 95, 76, 0.24));
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.tldr > * {
  position: relative;
  z-index: 1;
}

.tldr-label {
  display: block;
  margin-bottom: 14px;
  color: var(--apple);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tldr-copy h2 {
  margin-bottom: 14px;
  color: var(--green);
  font-size: clamp(24px, 2.25vw, 32px);
  line-height: 1.24;
}

.tldr-copy mark {
  padding: 0.02em 0.22em 0.08em;
  color: inherit;
  background: linear-gradient(90deg, rgba(207, 66, 55, 0.16), rgba(246, 204, 128, 0.32));
  border-radius: 0.24em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.tldr-copy p {
  margin-bottom: 0;
  color: #3f423d;
  font-size: 17px;
  line-height: 1.62;
}

.demo-video-section {
  width: min(1180px, calc(100% - 48px));
  margin: -18px auto 78px;
}

.demo-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 16% 10%, rgba(183, 55, 45, 0.10), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(49, 95, 76, 0.10), transparent 36%),
    linear-gradient(135deg, rgba(255, 250, 246, 0.96), rgba(244, 249, 244, 0.88));
  border: 1px solid rgba(49, 95, 76, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 24px 78px rgba(43, 38, 27, 0.10);
}

.demo-video-frame::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  content: "";
  background: linear-gradient(120deg, rgba(183, 55, 45, 0.24), rgba(201, 154, 66, 0.16), rgba(49, 95, 76, 0.20));
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.demo-video-frame iframe,
.demo-video-frame video {
  position: absolute;
  inset: -1px;
  z-index: 1;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border: 0;
  background: transparent;
  object-fit: cover;
}

.source-strip div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.source-strip strong {
  display: block;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
}

.source-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
}

.thesis-layout {
  display: grid;
  gap: 42px;
}

.thesis-statement {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  gap: 64px;
  align-items: center;
}

.intro-section .thesis-statement h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.thesis-copy p {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.thesis-copy p:last-child {
  margin-bottom: 0;
}

.thesis-copy strong {
  color: var(--green);
  font-weight: 850;
}

.red-highlight {
  color: #b7372d;
}

.intro-section .thesis-statement h2 .red-highlight {
  color: #b7372d;
}

.thesis-teaser {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

.thesis-teaser img {
  display: block;
  width: 100%;
  height: auto;
}

.section h2 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.section-text p,
.section-heading p,
.cards p,
.findings p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  max-width: 460px;
  margin-bottom: 6px;
}

#benchmark .section-heading,
#dataset .section-heading,
#leaderboard .section-heading,
#results .section-heading,
#demo .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  gap: 64px;
  align-items: center;
}

#benchmark .section-heading {
  margin-bottom: 42px;
}

#dataset .section-heading {
  margin-bottom: 36px;
}

#leaderboard .section-heading {
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1fr);
  margin-bottom: 34px;
}

#results .section-heading,
#demo .section-heading {
  margin-bottom: 36px;
}

#leaderboard .section-heading h2 {
  max-width: 560px;
}

#benchmark .section-heading h2,
#dataset .section-heading h2,
#leaderboard .section-heading h2,
#results .section-heading h2,
#demo .section-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

#benchmark .section-heading p,
#dataset .section-heading p,
#leaderboard .section-heading p,
#results .section-heading p,
#demo .section-heading p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.72;
}

#benchmark .section-heading strong,
#dataset .section-heading strong,
#leaderboard .section-heading strong,
#results .section-heading strong,
#demo .section-heading strong {
  color: var(--green);
  font-weight: 850;
}

.wide-figure {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wide-figure img {
  width: 100%;
}

.protocol-figure {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.protocol-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.protocol-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.protocol-cards article {
  min-height: 236px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(45, 55, 48, 0.13);
  border-radius: 8px;
}

.protocol-cards article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 247, 234, 0.86), rgba(255, 255, 255, 0.68));
  border-color: rgba(183, 55, 45, 0.42);
  box-shadow: inset 4px 0 0 rgba(183, 55, 45, 0.72);
}

.protocol-cards span {
  display: block;
  margin-bottom: 24px;
  color: rgba(84, 74, 70, 0.66);
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.protocol-cards article:nth-child(3) span {
  color: #b7372d;
}

.protocol-cards h3 {
  margin-bottom: 16px;
  color: #151715;
  font-size: 24px;
  line-height: 1.16;
}

.protocol-cards p {
  margin-bottom: 0;
  color: rgba(45, 45, 42, 0.68);
  font-size: 15px;
  line-height: 1.68;
}

.dataset-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(380px, 0.9fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 24px;
}

.taxonomy-figure {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.taxonomy-figure img {
  display: block;
  width: min(100%, 620px);
  height: auto;
}

.dataset-summary-panel {
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 55, 45, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(249, 247, 241, 0.58));
  border: 1px solid rgba(45, 55, 48, 0.13);
  border-radius: 8px;
}

.dataset-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 18px;
  overflow: hidden;
  background: rgba(45, 55, 48, 0.10);
  border: 1px solid rgba(45, 55, 48, 0.10);
  border-radius: 7px;
}

.dataset-metrics div {
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.64);
}

.dataset-metrics strong {
  display: block;
  color: #b7372d;
  font-size: 34px;
  line-height: 1;
}

.dataset-metrics span {
  display: block;
  margin-top: 5px;
  color: rgba(45, 45, 42, 0.62);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dataset-feature-cards {
  display: grid;
  gap: 10px;
}

.dataset-feature-cards article {
  padding: 18px 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(45, 55, 48, 0.13);
  border-radius: 8px;
}

.dataset-feature-cards span {
  display: block;
  margin-bottom: 10px;
  color: #b7372d;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dataset-feature-cards h3 {
  margin-bottom: 8px;
  color: #151715;
  font-size: 20px;
  line-height: 1.15;
}

.dataset-feature-cards p {
  margin-bottom: 0;
  color: rgba(45, 45, 42, 0.68);
  font-size: 14px;
  line-height: 1.56;
}

.dataset-statistics {
  display: grid;
  gap: 18px;
}

.source-viz {
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 146, 47, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(249, 247, 241, 0.64));
  border: 1px solid rgba(45, 55, 48, 0.13);
  border-radius: 8px;
}

.source-viz-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.source-viz-head > div:first-child > span {
  display: block;
  margin-bottom: 10px;
  color: #b7372d;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.source-viz h3 {
  max-width: none;
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.16;
  white-space: nowrap;
}

.source-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 470px;
}

.source-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: rgba(45, 45, 42, 0.72);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(45, 55, 48, 0.10);
  border-radius: 999px;
}

.source-legend i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.source-legend .sim,
.stacked-bar .sim {
  background: #4f7fc4;
}

.source-legend .self,
.stacked-bar .self {
  background: #c45b55;
}

.source-legend .internet,
.stacked-bar .internet {
  background: #d7b95a;
}

.source-bars {
  display: grid;
  gap: 10px;
}

.source-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
}

.task-name {
  color: rgba(35, 36, 34, 0.78);
  font-size: 14px;
  font-weight: 750;
}

.task-total {
  color: rgba(35, 36, 34, 0.56);
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 13px;
  text-align: right;
}

.stacked-bar {
  display: flex;
  width: 100%;
  height: 30px;
  overflow: hidden;
  background: rgba(32, 47, 38, 0.06);
  border-radius: 7px;
}

.stacked-bar span {
  display: flex;
  flex: 0 0 calc(var(--value) * 1%);
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  opacity: 0.82;
  transform-origin: left center;
  animation: sourceGrow 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.stacked-bar span:first-child {
  border-radius: 7px 0 0 7px;
}

.stacked-bar span.last {
  border-radius: 0 7px 7px 0;
}

.stacked-bar span:first-child.last {
  border-radius: 7px;
}

.stacked-bar .sim {
  --value: var(--sim);
}

.stacked-bar .self {
  --value: var(--self);
  animation-delay: 110ms;
}

.stacked-bar .internet {
  --value: var(--internet);
  animation-delay: 220ms;
}

.stacked-bar span:empty {
  display: none;
}

.source-row:hover .stacked-bar span {
  opacity: 1;
  filter: saturate(1.08);
}

@keyframes sourceGrow {
  from {
    transform: scaleX(0);
  }
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards article,
.findings article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cards span,
.findings span {
  display: block;
  margin-bottom: 14px;
  color: var(--apple);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.source-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.results-grid .wide-figure {
  display: flex;
  align-items: center;
}

.findings {
  display: grid;
  gap: 12px;
}

.findings article {
  min-height: 0;
}

.analysis-accordion {
  border-top: 1px solid rgba(45, 55, 48, 0.14);
}

.analysis-item {
  border-bottom: 1px solid rgba(45, 55, 48, 0.14);
}

.analysis-item summary {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 34px;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}

.analysis-item summary::-webkit-details-marker {
  display: none;
}

.analysis-item summary span,
.analysis-takeaway span {
  display: inline-flex;
  margin-bottom: 0;
  color: #b7372d;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.analysis-item summary h3 {
  max-width: 1120px;
  margin: 0;
  color: var(--green);
  font-size: clamp(21px, 1.9vw, 29px);
  line-height: 1.22;
  letter-spacing: 0;
  transition: color 180ms ease, transform 180ms ease;
}

.analysis-item summary i {
  position: relative;
  width: 32px;
  height: 32px;
  background: #b7372d;
  border-radius: 50%;
  transition: background 180ms ease, transform 180ms ease;
}

.analysis-item summary:hover span,
.analysis-item summary:focus-visible span {
  color: #a42f27;
}

.analysis-item summary:hover h3,
.analysis-item summary:focus-visible h3 {
  color: #b7372d;
  transform: translateX(2px);
}

.analysis-item summary:hover i,
.analysis-item summary:focus-visible i {
  background: #9f2c25;
  transform: scale(1.04);
}

.analysis-item summary i::before,
.analysis-item summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  content: "";
  background: #fff8f2;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.analysis-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.analysis-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.analysis-body {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(380px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 0 0 28px;
  overflow: hidden;
  transform-origin: top center;
  will-change: height, opacity, transform;
}

.analysis-item:nth-of-type(even) .analysis-body {
  grid-template-columns: minmax(380px, 0.9fr) minmax(360px, 0.92fr);
}

.analysis-item:nth-of-type(even) .analysis-chart {
  order: -1;
  justify-self: start;
}

.analysis-copy p {
  margin: 0 0 18px;
  color: rgba(45, 45, 42, 0.68);
  font-size: 15px;
  line-height: 1.68;
}

.analysis-copy p:last-child {
  margin-bottom: 0;
}

.analysis-copy strong {
  color: var(--green);
  font-weight: 850;
}

.analysis-chart {
  display: grid;
  align-content: center;
  width: min(100%, 560px);
  min-width: 0;
  margin: 0;
  justify-self: end;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(45, 55, 48, 0.12);
  border-radius: 8px;
}

.analysis-chart svg {
  width: 100%;
  max-height: 218px;
  height: auto;
  overflow: visible;
}

.analysis-chart .axis,
.analysis-chart .grid {
  stroke: rgba(45, 55, 48, 0.14);
  stroke-width: 1;
}

.analysis-chart .grid {
  stroke: rgba(45, 55, 48, 0.08);
}

.analysis-chart .svg-label {
  fill: rgba(45, 45, 42, 0.68);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 750;
}

.analysis-chart .svg-small {
  fill: rgba(45, 45, 42, 0.58);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 650;
}

.analysis-chart .svg-value {
  fill: #315f4c;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 10px;
  font-weight: 800;
}

.analysis-takeaway {
  display: block;
  margin-top: 36px;
  padding: 26px 34px 30px;
  background:
    linear-gradient(115deg, rgba(183, 55, 45, 0.075), rgba(198, 146, 47, 0.10) 58%, rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(198, 146, 47, 0.38);
  border-radius: 8px;
}

.analysis-takeaway span {
  display: block;
  margin-bottom: 0;
  color: #b7372d;
}

.analysis-takeaway p {
  max-width: 1160px;
  margin: 18px 0 0;
  color: rgba(21, 23, 21, 0.86);
  font-size: clamp(18px, 1.55vw, 25px);
  font-weight: 600;
  line-height: 1.55;
}

.analysis-takeaway strong {
  color: #151715;
  font-weight: 850;
}

.analysis-takeaway mark {
  padding: 0 0.04em 0.02em;
  color: inherit;
  background:
    linear-gradient(180deg, transparent 50%, rgba(154, 42, 35, 0.24) 50%, rgba(183, 55, 45, 0.17) 93%, transparent 93%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.video-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.video-tabs button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.leaderboard-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.leaderboard-toolbar button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.leaderboard-toolbar button.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.table-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 13px 14px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--green-2);
}

td:first-child,
th:first-child,
td:nth-child(2),
th:nth-child(2),
td:nth-child(3),
th:nth-child(3) {
  text-align: left;
}

tbody tr:nth-child(even) {
  background: rgba(248, 247, 242, 0.72);
}

tbody tr.is-hidden {
  display: none;
}

tbody tr:hover {
  background: rgba(229, 240, 230, 0.76);
}

.leaderboard-section .section-heading strong {
  color: var(--green);
  font-weight: 850;
}

.leaderboard-dashboard {
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 55, 45, 0.10), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(49, 95, 76, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 247, 242, 0.68));
  border: 1px solid rgba(45, 55, 48, 0.13);
  border-radius: 8px;
}

.leaderboard-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
  padding-top: 0;
}

.leaderboard-summary article {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 70px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(45, 55, 48, 0.12);
  border-radius: 8px;
}

.leaderboard-summary span,
.panel-head span {
  display: block;
  color: #b7372d;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.leaderboard-summary strong {
  display: block;
  margin-top: 0;
  color: var(--green);
  font-size: 30px;
  line-height: 1;
}

.leaderboard-summary p {
  max-width: none;
  margin: 0;
  color: rgba(45, 45, 42, 0.66);
  font-size: 12px;
  line-height: 1.35;
}

.leaderboard-filter,
.metric-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.leaderboard-filter button,
.metric-tabs button {
  min-height: 36px;
  padding: 0 13px;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(45, 55, 48, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.leaderboard-filter button:hover,
.metric-tabs button:hover {
  transform: translateY(-1px);
}

.leaderboard-filter button.active,
.metric-tabs button.active {
  color: #fff8f2;
  background: #b7372d;
  border-color: #b7372d;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(420px, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.ranking-family-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.ranking-panel,
.metric-panel {
  padding: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(45, 55, 48, 0.12);
  border-radius: 8px;
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.panel-head strong {
  color: rgba(45, 45, 42, 0.62);
  font-size: 13px;
}

.ranking-bars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.ranking-row {
  display: grid;
  grid-template-columns: 34px minmax(180px, 1fr) 64px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(45, 55, 48, 0.08);
}

.ranking-row:last-child {
  border-bottom: 0;
}

.ranking-rank {
  color: rgba(45, 45, 42, 0.48);
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 13px;
  font-weight: 800;
}

.ranking-model strong {
  display: block;
  overflow: hidden;
  color: #151715;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.ranking-tags span {
  display: inline-flex;
  padding: 3px 7px;
  color: rgba(45, 45, 42, 0.60);
  font-size: 11px;
  font-weight: 800;
  background: rgba(45, 55, 48, 0.06);
  border-radius: 999px;
}

.ranking-tags .type-tag.video {
  color: #315f4c;
  background: rgba(49, 95, 76, 0.11);
}

.ranking-tags .type-tag.unified {
  color: #9b3229;
  background: rgba(183, 55, 45, 0.11);
}

.ranking-tags .access-tag.open-source {
  color: #2f5e78;
  background: rgba(47, 94, 120, 0.11);
}

.ranking-tags .access-tag.proprietary {
  color: #8a4f12;
  background: rgba(198, 146, 47, 0.13);
}

.ranking-score {
  color: var(--green);
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 14px;
  font-weight: 850;
  text-align: right;
}

.ranking-track {
  grid-column: 2 / 4;
  height: 10px;
  overflow: hidden;
  background: rgba(45, 55, 48, 0.08);
  border-radius: 999px;
}

.ranking-track i {
  display: block;
  width: var(--score);
  height: 100%;
  background: linear-gradient(90deg, rgba(183, 55, 45, 0.82), rgba(211, 159, 58, 0.72));
  border-radius: inherit;
  transform-origin: left center;
  animation: rankingGrow 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--delay);
}

.ranking-row[data-group="video"] .ranking-track i {
  background: linear-gradient(90deg, rgba(62, 96, 78, 0.76), rgba(148, 171, 131, 0.70));
}

.ranking-row.is-hidden,
.metric-row.is-hidden {
  display: none;
}

.metric-table-wrap {
  overflow-x: visible;
}

.metric-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.metric-panel-top .panel-head {
  margin-bottom: 0;
}

.diagnostic-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.diagnostic-table th,
.diagnostic-table td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(45, 55, 48, 0.10);
  white-space: nowrap;
}

.diagnostic-table th {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(229, 240, 230, 0.48);
}

.diagnostic-table th button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.diagnostic-table th button:hover {
  color: #b7372d;
}

.diagnostic-table th:first-child button {
  justify-content: flex-start;
}

.diagnostic-table th button span {
  min-width: 10px;
  color: rgba(183, 55, 45, 0.62);
  font-size: 12px;
  line-height: 1;
}

.diagnostic-table td:first-child,
.diagnostic-table th:first-child {
  width: 28%;
  text-align: left;
}

.diagnostic-table td:not(:first-child),
.diagnostic-table th:not(:first-child) {
  text-align: right;
}

.metric-model {
  width: 28%;
  min-width: 0;
  overflow: hidden;
  color: #151715;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-cell {
  display: inline-block;
  min-width: 54px;
  color: rgba(45, 45, 42, 0.72);
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.metric-cell.ded span {
  color: #b7372d;
}

@keyframes rankingGrow {
  from {
    transform: scaleX(0);
  }
}

.table-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.pipeline article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pipeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
  background: var(--apple);
  border-radius: 999px;
}

.pipeline p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.dataset-figure {
  max-width: 880px;
  margin: 0 auto;
}

.video-tabs button.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.video-stage {
  overflow: hidden;
  background: #111;
  border: 1px solid #202020;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-stage video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.demo-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-browser {
  display: grid;
  gap: 22px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 212px;
  padding: 14px;
  color: #191b18;
  font: inherit;
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(249, 247, 241, 0.58));
  border: 1px solid rgba(45, 55, 48, 0.13);
  border-radius: 8px;
  appearance: none;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.case-card:hover,
.case-card:focus-visible {
  border-color: rgba(183, 55, 45, 0.36);
  transform: translateY(-2px);
}

.case-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #b7372d;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-card-top em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(49, 95, 76, 0.74);
  font-style: normal;
  letter-spacing: 0.08em;
}

.case-card-top svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.case-card:hover .case-card-top svg,
.case-card:focus-visible .case-card-top svg {
  transform: none;
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 12px 0 12px;
  object-fit: cover;
  background: rgba(45, 55, 48, 0.05);
  border: 1px solid rgba(45, 55, 48, 0.12);
  border-radius: 7px;
}

.case-card strong {
  margin-top: auto;
  margin-bottom: 0;
  color: #151715;
  font-size: clamp(11px, 0.72vw, 14px);
  line-height: 1.16;
  text-align: center;
  white-space: nowrap;
}

.case-card p {
  display: -webkit-box;
  margin-bottom: 14px;
  overflow: hidden;
  color: rgba(45, 45, 42, 0.66);
  font-size: 13px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.case-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(45, 55, 48, 0.10);
}

.case-card-meta b,
.case-card-meta i {
  font-size: 12px;
}

.case-card-meta b {
  color: rgba(45, 45, 42, 0.56);
  font-weight: 750;
}

.case-card-meta i {
  color: var(--green);
  font-style: normal;
  font-weight: 850;
}

html.modal-open,
body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 34px;
}

.case-modal[hidden] {
  display: none;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 23, 21, 0.48);
  backdrop-filter: blur(10px);
}

.case-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1380px, 100%);
  max-height: min(86vh, 920px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(198, 146, 47, 0.25);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(32, 25, 18, 0.24);
}

.case-modal-close {
  position: sticky;
  top: 14px;
  float: right;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 14px 14px 0 0;
  color: var(--green);
  font: inherit;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(45, 55, 48, 0.14);
  border-radius: 8px;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.case-modal-close svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
}

.case-modal-close:hover {
  color: #b7372d;
  background: rgba(255, 248, 245, 0.92);
  border-color: rgba(183, 55, 45, 0.32);
}

.case-detail {
  padding: 24px;
  background:
    linear-gradient(115deg, rgba(183, 55, 45, 0.055), rgba(198, 146, 47, 0.08) 58%, rgba(255, 255, 255, 0.7)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(198, 146, 47, 0.25);
  border-radius: 8px;
}

.case-modal-panel .case-detail {
  padding-top: 58px;
}

.case-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 18px;
}

.case-detail-head span,
.case-panel > span {
  display: block;
  margin-bottom: 8px;
  color: #b7372d;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-detail-head h3 {
  margin-bottom: 0;
  color: #151715;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.06;
}

.case-detail-head .source-pill {
  justify-self: end;
  margin-bottom: 0;
  padding: 9px 14px;
  color: var(--green);
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  background: rgba(238, 244, 235, 0.82);
  border: 1px solid rgba(49, 95, 76, 0.14);
  border-radius: 999px;
}

.source-pill.source-simulated {
  color: #315f4c;
  background: rgba(232, 244, 235, 0.88);
  border-color: rgba(49, 95, 76, 0.22);
}

.source-pill.source-self {
  color: #b7372d;
  background: rgba(255, 239, 235, 0.88);
  border-color: rgba(183, 55, 45, 0.20);
}

.source-pill.source-internet {
  color: #9a6b18;
  background: rgba(255, 247, 222, 0.90);
  border-color: rgba(198, 146, 47, 0.24);
}

.case-track-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.case-track-tabs button {
  min-height: 42px;
  padding: 8px 10px;
  color: rgba(45, 45, 42, 0.66);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(45, 55, 48, 0.12);
  border-radius: 7px;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.case-track-tabs button span {
  display: block;
  margin-bottom: 3px;
  color: #b7372d;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.case-track-tabs button:hover,
.case-track-tabs button.active {
  color: var(--green);
  border-color: rgba(183, 55, 45, 0.32);
  transform: translateY(-1px);
}

.case-track-tabs button.active {
  background: rgba(255, 248, 239, 0.92);
  box-shadow: inset 0 2px 0 rgba(183, 55, 45, 0.5);
}

.case-audit-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
  gap: 16px;
  align-items: stretch;
}

.case-audit-main {
  display: grid;
  gap: 14px;
}

.prompt-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

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

.case-panel {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 55, 48, 0.12);
  border-radius: 8px;
}

.case-panel h4 {
  margin-bottom: 12px;
  color: #151715;
  font-size: 19px;
  line-height: 1.14;
}

.case-panel img,
.case-panel video {
  width: 100%;
  margin-bottom: 12px;
  background: rgba(21, 23, 21, 0.08);
  border: 1px solid rgba(45, 55, 48, 0.12);
  border-radius: 7px;
}

.case-panel img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.case-panel video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.input-panel {
  display: grid;
  grid-template-rows: auto minmax(214px, 1fr);
}

.input-panel img {
  aspect-ratio: 16 / 9;
  height: 100%;
  min-height: 214px;
  max-height: 292px;
  margin-bottom: 0;
  object-fit: contain;
}

.case-panel blockquote {
  margin: 0 0 12px;
  padding: 12px;
  color: rgba(21, 23, 21, 0.82);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.42;
  background: rgba(249, 247, 241, 0.82);
  border-left: 3px solid rgba(183, 55, 45, 0.58);
  border-radius: 7px;
}

.model-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
  min-height: 0;
}

.model-compare article {
  height: 210px;
  min-height: 210px;
  max-height: 210px;
  overflow-y: auto;
  padding: 12px;
  background: rgba(249, 247, 241, 0.78);
  border: 1px solid rgba(45, 55, 48, 0.10);
  border-radius: 7px;
  scrollbar-color: rgba(183, 55, 45, 0.34) rgba(45, 55, 48, 0.08);
  scrollbar-width: thin;
}

.model-compare article::-webkit-scrollbar {
  width: 7px;
}

.model-compare article::-webkit-scrollbar-track {
  background: rgba(45, 55, 48, 0.06);
  border-radius: 999px;
}

.model-compare article::-webkit-scrollbar-thumb {
  background: rgba(183, 55, 45, 0.34);
  border-radius: 999px;
}

.model-compare b {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.model-compare p {
  margin-bottom: 0;
  white-space: pre-wrap;
}

.case-panel p,
.case-panel li {
  color: rgba(45, 45, 42, 0.68);
  font-size: 14px;
  line-height: 1.58;
}

.case-panel p {
  margin-bottom: 0;
}

.artifact-card {
  display: grid;
  grid-template-rows: auto 230px;
  min-height: 0;
  overflow: hidden;
}

.artifact-card img,
.artifact-card video {
  align-self: stretch;
  height: 100%;
  min-height: 0;
  margin-bottom: 0;
}

.artifact-card img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.text-artifact {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 0;
  padding: 18px;
  color: rgba(45, 45, 42, 0.78);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.48;
  background: rgba(249, 247, 241, 0.78);
  border: 1px solid rgba(45, 55, 48, 0.10);
  border-radius: 7px;
}

.pending-artifact {
  display: grid;
  place-content: center;
  gap: 8px;
  height: 100%;
  min-height: 0;
  padding: 18px;
  color: rgba(45, 45, 42, 0.58);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(183, 55, 45, 0.045), rgba(198, 146, 47, 0.055)),
    rgba(249, 247, 241, 0.74);
  border: 1px dashed rgba(45, 55, 48, 0.18);
  border-radius: 7px;
}

.pending-artifact b {
  color: var(--green);
  font-size: 14px;
}

.pending-artifact span {
  font-size: 13px;
  line-height: 1.4;
}

.formula-artifact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  align-content: center;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(249, 247, 241, 0.78);
  border: 1px solid rgba(45, 55, 48, 0.10);
  border-radius: 7px;
}

.formula-artifact span {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 42px;
  color: rgba(45, 45, 42, 0.62);
  font-weight: 850;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 55, 48, 0.10);
  border-radius: 7px;
}

.formula-artifact .correct {
  color: #b7372d;
  background: rgba(255, 239, 235, 0.82);
  border-color: rgba(183, 55, 45, 0.20);
}

.formula-artifact strong {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 3px;
  color: var(--green);
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.formula-artifact-list {
  display: block;
  height: 100%;
  max-height: 100%;
  padding: 0;
  overflow: hidden;
}

.formula-scroll {
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-sizing: border-box;
  height: 100%;
  max-height: 100%;
  padding: 16px;
  overflow-x: hidden;
  overflow-y: auto;
}

.formula-artifact-list span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 42px;
  height: auto;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.42;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.formula-artifact-list span:first-child {
  margin-top: auto;
}

.formula-artifact-list span:last-child {
  margin-bottom: auto;
}

.formula-artifact-list span b {
  flex: 0 0 auto;
  color: inherit;
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.formula-artifact-list span em {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-style: normal;
}

.formula-artifact-list strong {
  flex: 0 0 auto;
  margin-top: 5px;
  font-size: 13px;
  white-space: normal;
}

.case-panel ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.case-panel li {
  position: relative;
  padding-left: 16px;
}

.case-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: rgba(183, 55, 45, 0.62);
  border-radius: 999px;
}

.law-chip {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 10px;
  color: var(--green);
  font-family: ui-monospace, "SFMono-Regular", "Roboto Mono", "Menlo", monospace;
  font-size: 13px;
  font-weight: 800;
  background: rgba(238, 244, 235, 0.82);
  border: 1px solid rgba(49, 95, 76, 0.14);
  border-radius: 7px;
}

.bibtex-card {
  position: relative;
}

.citation-section pre {
  overflow-x: auto;
  margin: 0;
  padding: 24px 78px 24px 24px;
  color: #f4f0e7;
  font-size: 14px;
  line-height: 1.6;
  background: #181a17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.copy-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: #f5eee6;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.copy-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.copy-button:hover {
  color: #f7fff8;
  background: rgba(78, 111, 86, 0.78);
  border-color: rgba(128, 156, 122, 0.62);
}

@media (max-width: 980px) {
  .hero {
    width: min(100% - 32px, 760px);
    min-height: auto;
    padding-top: 42px;
  }

  .tldr,
  .demo-video-section,
  .section {
    width: min(100% - 32px, 760px);
  }

  .tldr,
  .cards.three,
  .source-strip,
  .results-grid,
  .demo-grid,
  .case-audit-layout,
  .case-result-grid,
  .model-compare,
  .case-detail-head,
  .pipeline,
  .protocol-cards,
  .dataset-showcase,
  .dataset-metrics,
  .leaderboard-summary,
  .ranking-layout,
  .analysis-layout,
  .analysis-findings,
  .analysis-takeaway,
  .analysis-body,
  .thesis-layout,
  .thesis-statement,
  #benchmark .section-heading,
  #dataset .section-heading,
  #leaderboard .section-heading,
  #results .section-heading,
  #demo .section-heading,
  .section-grid {
    grid-template-columns: 1fr;
  }

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

  .case-detail-head {
    align-items: start;
  }

  .tldr {
    padding: 24px;
  }

  .demo-video-section {
    margin-top: -26px;
    margin-bottom: 60px;
  }

  .section-heading {
    display: block;
  }

  .source-viz-head {
    display: block;
  }

  .source-legend {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .metric-tabs {
    margin-top: 10px;
  }

  .metric-panel-top {
    display: block;
  }

  .analysis-item summary {
    grid-template-columns: 1fr 44px;
    gap: 14px;
  }

  .analysis-item summary span {
    grid-column: 1 / -1;
  }

  .analysis-item:nth-of-type(even) .analysis-chart {
    order: 0;
    justify-self: stretch;
  }

  .analysis-chart {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 620px) {
  .physics-background {
    display: none;
  }

  .orbit,
  .float-symbol {
    opacity: 0.06;
  }

  .float-apple {
    opacity: 0.06;
  }

  .subtitle {
    font-size: 32px;
  }

  .hero-title {
    gap: 16px;
  }

  .hero-logo {
    width: 70px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .button {
    padding: 0 12px;
    font-size: 13px;
  }

  .case-grid,
  .case-track-tabs {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: 0;
  }

  .case-card strong {
    font-size: 14px;
  }

  .case-detail {
    padding: 18px;
  }

  .section {
    padding: 54px 0;
  }

  .section h2 {
    font-size: 36px;
  }

  .source-viz {
    padding: 20px;
  }

  .leaderboard-dashboard,
  .ranking-panel,
  .metric-panel {
    padding: 16px;
  }

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

  .ranking-row {
    grid-template-columns: 28px minmax(0, 1fr) 54px;
    gap: 10px;
  }

  .source-row {
    grid-template-columns: 1fr 38px;
    gap: 8px 12px;
  }

  .task-name {
    grid-column: 1 / 2;
  }

  .task-total {
    grid-column: 2 / 3;
  }

  .stacked-bar {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit,
  .float-apple,
  .float-symbol {
    animation: none;
  }
}
