:root {
  --graphite: #111417;
  --ink: #1b2324;
  --lab-paper: #f7faf8;
  --mist: #e6f1ee;
  --line: rgba(17, 20, 23, 0.14);
  --glass-blue: #3aaed8;
  --protein-magenta: #d84c8d;
  --molecule-mint: #3bb99f;
  --crystal-amber: #e0a62f;
  --ion-violet: #6f5bd8;
  --signal-blue: #1b7fd6;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(17, 20, 23, 0.14);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace;
  --page-gutter: clamp(18px, 2.6vw, 52px);
  --page-max: 2300px;
  --section-max: 2140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 20, 23, 0.03) 1px, transparent 1px),
    var(--lab-paper);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

body.intro-active {
  overflow: hidden;
}

.entry-intro {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(17, 20, 23, 0) 0 16%, rgba(17, 20, 23, 0.32) 35%, rgba(17, 20, 23, 0.94) 70%),
    radial-gradient(circle at 22% 22%, rgba(58, 174, 216, 0.24), transparent 28%),
    radial-gradient(circle at 78% 74%, rgba(216, 76, 141, 0.18), transparent 32%),
    linear-gradient(135deg, #071013, #111417 46%, #050708);
  color: var(--white);
  opacity: 1;
  visibility: visible;
  transition: opacity 720ms ease, visibility 720ms ease;
}

body.intro-complete .entry-intro {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry-intro-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.entry-intro-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  animation: entryCopyReveal 5.4s cubic-bezier(0.2, 0.8, 0.18, 1) forwards;
  pointer-events: none;
}

.entry-intro-copy p,
.entry-intro-copy h2 {
  margin: 0;
}

.entry-intro-copy p {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.entry-intro-copy h2 {
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 760;
  line-height: 0.92;
  text-shadow:
    0 0 28px rgba(58, 174, 216, 0.24),
    0 0 72px rgba(111, 91, 216, 0.2);
}

.entry-intro-skip {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 2.4vw, 34px);
  bottom: clamp(18px, 2.4vw, 34px);
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.entry-intro-skip:hover {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
}

@keyframes entryCopyReveal {
  0%,
  30% {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }

  43%,
  82% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-12px) scale(1.04);
  }
}

.restructured-layout main {
  background:
    radial-gradient(circle at 16% 16%, rgba(58, 174, 216, 0.14), transparent 30%),
    radial-gradient(circle at 76% 26%, rgba(216, 76, 141, 0.07), transparent 34%),
    radial-gradient(circle at 52% 54%, rgba(111, 91, 216, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(247, 250, 248, 0.18) 46%, rgba(247, 250, 248, 0));
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ion-violet);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--graphite);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  padding: 14px 32px;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
}

body.is-scrolled .site-header {
  border-bottom-color: var(--line);
  background: rgba(247, 250, 248, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(17, 20, 23, 0.06);
}

.brand,
.site-mark,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--graphite);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--protein-magenta) 0 3px, transparent 4px),
    conic-gradient(from 20deg, var(--glass-blue), var(--molecule-mint), var(--crystal-amber), var(--protein-magenta), var(--glass-blue));
  box-shadow: inset 0 0 0 4px var(--lab-paper);
}

.site-mark {
  position: relative;
  gap: 10px;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-mark::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 23px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #050608 0 28%, rgba(6, 9, 13, 0.98) 29% 38%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.98) 0 30%, rgba(255, 255, 255, 0.32) 32%, transparent 50%),
    conic-gradient(from -28deg, transparent 0 9%, rgba(255, 255, 255, 0.98) 13%, rgba(58, 174, 216, 0.72) 20%, rgba(224, 166, 47, 0.68) 31%, rgba(216, 76, 141, 0.46) 40%, transparent 55%, rgba(255, 255, 255, 0.84) 72%, rgba(59, 185, 159, 0.58) 81%, transparent 100%);
  box-shadow:
    0 0 0 1px rgba(17, 20, 23, 0.1),
    0 0 18px rgba(58, 174, 216, 0.28),
    0 0 28px rgba(224, 166, 47, 0.14);
  transform: rotate(-11deg);
}

.nav-links {
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(27, 35, 36, 0.74);
  font-size: 14px;
}

.nav-links a:hover {
  background: rgba(17, 20, 23, 0.06);
  color: var(--ink);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  background: rgba(17, 20, 23, 0.92);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(17, 20, 23, 0.12);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: clamp(600px, 68svh, 740px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-canvas,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  width: 100%;
  height: 100%;
}

.hero-wash {
  background:
    radial-gradient(circle at 68% 40%, rgba(247, 250, 248, 0), rgba(247, 250, 248, 0.08) 18%, transparent 30%),
    radial-gradient(circle at 18% 20%, rgba(58, 174, 216, 0.19), transparent 32%),
    radial-gradient(circle at 86% 64%, rgba(216, 76, 141, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(247, 250, 248, 0.9) 0%, rgba(247, 250, 248, 0.56) 40%, rgba(247, 250, 248, 0.08) 76%),
    linear-gradient(180deg, rgba(247, 250, 248, 0), rgba(247, 250, 248, 0.08) 54%, rgba(247, 250, 248, 0.88) 88%);
  pointer-events: none;
}

body.blackhole-v3 .hero-wash {
  background:
    radial-gradient(circle at 18% 20%, rgba(58, 174, 216, 0.13), transparent 30%),
    radial-gradient(circle at 84% 68%, rgba(216, 76, 141, 0.05), transparent 28%),
    linear-gradient(90deg, rgba(247, 250, 248, 0.86) 0%, rgba(247, 250, 248, 0.34) 34%, rgba(247, 250, 248, 0.01) 62%),
    linear-gradient(180deg, rgba(247, 250, 248, 0), rgba(247, 250, 248, 0.02) 64%, rgba(247, 250, 248, 0.12) 92%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(50vw - 108px));
  max-width: calc(100% - 64px);
  margin-left: clamp(56px, 7vw, 128px);
  padding: 82px 0 26px;
}

.eyebrow,
.section-label,
.modality-card span,
.trace-step span {
  margin: 0 0 14px;
  color: rgba(17, 20, 23, 0.7);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--graphite);
  font-family: var(--display);
  font-size: clamp(52px, 5.2vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  max-width: 1100px;
  overflow-wrap: anywhere;
}

.hero-title-main,
.hero-title-with {
  display: block;
}

.hero-title-main {
  font-size: clamp(34px, 2.35vw, 54px);
  line-height: 1.04;
  white-space: nowrap;
}

.hero-title-with {
  margin-top: 0.03em;
  font-size: clamp(68px, 6vw, 128px);
  line-height: 0.9;
}

.hero-title-highlight {
  color: var(--signal-blue);
  text-shadow: 0 8px 34px rgba(58, 174, 216, 0.22);
}

.hero-copy {
  max-width: 100%;
  margin: 22px 0 0;
  color: rgba(27, 35, 36, 0.86);
  font-size: 21px;
  line-height: 1.45;
  text-shadow: 0 1px 0 rgba(247, 250, 248, 0.92), 0 0 24px rgba(247, 250, 248, 0.78);
}

.restructured-layout .title-hero {
  align-items: center;
  min-height: clamp(360px, 46svh, 540px);
  border-bottom: 0;
  background: transparent;
}

.restructured-layout .title-hero::after {
  display: none;
}

.restructured-layout .title-hero .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.7fr);
  column-gap: clamp(42px, 6vw, 132px);
  row-gap: clamp(18px, 2.6vw, 34px);
  align-items: end;
  width: min(calc(100vw - var(--page-gutter) * 2), var(--page-max));
  max-width: var(--page-max);
  margin-right: auto;
  margin-left: auto;
  padding: clamp(44px, 6vh, 70px) 0 clamp(8px, 1.8vh, 20px);
}

.hero-title-column,
.hero-copy-panel {
  min-width: 0;
}

.restructured-layout .title-hero .eyebrow {
  color: rgba(17, 20, 23, 0.7);
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy-panel {
  justify-self: end;
  max-width: 620px;
  padding-bottom: clamp(4px, 1.2vh, 16px);
  transform: translateY(clamp(12px, 1.7vw, 30px));
}

.hero-copy-kicker {
  margin: 0 0 14px;
  color: rgba(17, 20, 23, 0.76);
  font-family: var(--mono);
  font-size: clamp(15px, 1.05vw, 20px);
  font-weight: 900;
}

.hero-quote {
  position: relative;
  margin: 0;
  padding-left: clamp(18px, 1.8vw, 34px);
  border-left: 3px solid rgba(58, 174, 216, 0.34);
}

.hero-quote p {
  max-width: 100%;
  margin: 0;
  color: rgba(17, 20, 23, 0.6);
  font-family: var(--display);
  font-size: clamp(24px, 1.72vw, 36px);
  font-style: italic;
  font-weight: 620;
  line-height: 1.16;
}

.hero-quote cite {
  display: block;
  margin-top: 14px;
  color: rgba(27, 35, 36, 0.48);
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-logo-marquee {
  position: relative;
  grid-column: 1 / -1;
  justify-self: start;
  width: min(100%, 1280px);
  margin-top: clamp(8px, 1.4vw, 20px);
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.hero-logo-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: logoMarquee 42s linear infinite;
}

.hero-logo-marquee:hover .hero-logo-track {
  animation-play-state: paused;
}

.hero-logo-set {
  display: flex;
  gap: 12px;
}

.hero-logo-card {
  display: grid;
  place-items: center;
  align-items: center;
  flex: 0 0 auto;
  min-width: 176px;
  height: 64px;
  padding: 8px 16px;
  border: 1px solid rgba(17, 20, 23, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 34px rgba(17, 20, 23, 0.075);
  backdrop-filter: blur(10px);
}

.hero-logo-card img {
  display: block;
  width: auto;
  max-width: 146px;
  max-height: 46px;
  object-fit: contain;
}

.hero-logo-card[data-logo="sail"] img {
  max-width: 116px;
  max-height: 50px;
}

.hero-logo-card[data-logo="cuhk"] img {
  max-width: 118px;
  border-radius: 4px;
}

.hero-logo-card[data-logo="stanford"] img {
  max-width: 172px;
  max-height: 48px;
}

.hero-logo-card[data-logo="oxford"] img {
  max-width: 128px;
}

.hero-logo-card[data-logo="sjtu"] img,
.hero-logo-card[data-logo="ucas"] img,
.hero-logo-card[data-logo="ustc"] img {
  max-width: 194px;
  max-height: 46px;
}

.hero-logo-card[data-logo="sjtu"],
.hero-logo-card[data-logo="ucas"],
.hero-logo-card[data-logo="ustc"] {
  min-width: 214px;
}

.hero-logo-card[data-logo="stanford"] {
  min-width: 198px;
}

.hero-logo-card[data-logo="fudan"] img,
.hero-logo-card[data-logo="usyd"] img {
  max-width: 132px;
  max-height: 42px;
}

.hero-logo-card[data-logo="nju"] img {
  max-width: 142px;
}

.hero-logo-card[data-logo="simm"] img {
  max-width: 146px;
}

@keyframes logoMarquee {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.hero-actions,
.hero-ledger,
.results-dashboard,
.metric-strip,
.performance-board,
.performance-domain-grid,
.modality-grid,
.science-canvas-grid {
  display: grid;
  gap: 14px;
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
  align-items: center;
  margin-top: clamp(22px, 3vw, 36px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid var(--graphite);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.1;
}

.button.primary {
  background: var(--graphite);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(17, 20, 23, 0.18);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.56);
  color: var(--graphite);
}

.button.model {
  border-color: rgba(58, 174, 216, 0.78);
  background: rgba(58, 174, 216, 0.14);
  color: var(--graphite);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

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

.hero-cot-action {
  --cot-action-left: 50%;
  --cot-action-top: 50%;
  position: absolute;
  z-index: 2;
  left: var(--cot-action-left);
  top: var(--cot-action-top);
}

.hero-cot-action[hidden] {
  display: none;
}

.hero-ledger {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 32px 22px;
  max-width: 1040px;
}

.hero-ledger div,
.modality-card,
.science-panel,
.chart-card,
.metric-chip {
  border: 1px solid rgba(17, 20, 23, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 40px rgba(17, 20, 23, 0.08);
  backdrop-filter: blur(16px);
}

.hero-ledger div {
  padding: 16px;
}

.hero-ledger strong {
  display: block;
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1;
}

.hero-ledger span {
  display: block;
  margin-top: 8px;
  color: rgba(27, 35, 36, 0.68);
  font-size: 13px;
}

.paper-band,
.section,
.site-footer {
  padding-right: 32px;
  padding-left: 32px;
}

.paper-band {
  display: grid;
  grid-template-columns: 150px minmax(0, 1060px);
  justify-content: center;
  gap: 28px;
  padding-top: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(230, 241, 238, 0.54);
}

.paper-title-block {
  max-width: 1060px;
}

.paper-title-block h2,
.section-heading h2,
.closing-copy h2 {
  margin: 0;
  color: var(--graphite);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
}

.paper-title-block h2 {
  font-size: 36px;
}

.paper-title-block p,
.section-heading p,
.closing-copy p {
  color: rgba(27, 35, 36, 0.72);
}

.paper-title-block p {
  max-width: 980px;
  margin: 18px 0 0;
  font-size: 15px;
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 90px;
  padding-bottom: 96px;
}

.restructured-layout .section {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.restructured-layout .section-heading,
.restructured-layout .cot-workbench,
.restructured-layout .performance-board,
.restructured-layout .cot-section > *,
.restructured-layout .performance-section > * {
  width: min(calc(100vw - var(--page-gutter) * 2), var(--section-max));
  max-width: var(--section-max);
  margin-right: auto;
  margin-left: auto;
}

.restructured-layout .site-footer {
  width: min(560px, calc(100vw - var(--page-gutter) * 2));
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

.section-heading {
  min-width: 0;
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.closing-copy h2 {
  font-size: 46px;
}

.section-heading p,
.closing-copy p {
  margin: 18px 0 0;
  font-size: 18px;
  max-width: 100%;
}

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

.modality-card {
  position: relative;
  min-height: 282px;
  padding: 22px;
  overflow: hidden;
}

.modality-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--accent);
}

.modality-card.protein {
  --accent: var(--protein-magenta);
}

.modality-card.gene {
  --accent: var(--glass-blue);
}

.modality-card.molecule {
  --accent: var(--molecule-mint);
}

.modality-card.crystal {
  --accent: var(--crystal-amber);
}

.modality-card h3,
.science-panel h3,
.result-tile h3 {
  margin: 0;
  color: var(--graphite);
  font-size: 20px;
  line-height: 1.2;
}

.modality-card p,
.science-panel p,
.result-tile p {
  color: rgba(27, 35, 36, 0.7);
}

.modality-card code {
  display: block;
  margin-top: 22px;
  padding: 14px;
  border-radius: 6px;
  background: rgba(17, 20, 23, 0.06);
  color: rgba(17, 20, 23, 0.82);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.evidence-section,
.performance-section {
  max-width: none;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(230, 241, 238, 0.76)),
    var(--lab-paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.restructured-layout .cot-section,
.restructured-layout .performance-section {
  padding-top: clamp(86px, 7vw, 126px);
  padding-bottom: clamp(86px, 7vw, 126px);
}

.evidence-section > *,
.performance-section > * {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

.reasoning-animation-section {
  max-width: none;
  margin: 0;
  padding-top: clamp(4px, 1vh, 14px);
  padding-bottom: clamp(78px, 8vw, 116px);
  background: transparent;
  border-bottom: 0;
}

.reasoning-animation-section > * {
  width: min(calc(100vw - var(--page-gutter) * 2), var(--page-max));
  max-width: var(--page-max);
  margin-right: auto;
  margin-left: auto;
}

.reasoning-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.98fr) minmax(220px, 0.58fr) minmax(300px, 1.02fr);
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  min-height: 560px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
}

.reasoning-stage::before {
  content: "";
  position: absolute;
  inset: 10% 4%;
  border-top: 1px solid rgba(17, 20, 23, 0.1);
  border-bottom: 1px solid rgba(17, 20, 23, 0.08);
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(58, 174, 216, 0.12) 34%, rgba(111, 91, 216, 0.13) 50%, rgba(59, 185, 159, 0.12) 66%, transparent 82%),
    repeating-linear-gradient(90deg, rgba(17, 20, 23, 0.07) 0 1px, transparent 1px 78px);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}

.canvas-reasoning-stage {
  display: block;
  width: min(calc(100vw - var(--page-gutter) * 2), var(--page-max));
  height: clamp(700px, 78svh, 860px);
  min-height: 660px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.canvas-reasoning-stage::before {
  display: none;
}

.reasoning-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.io-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.io-panel-kicker {
  color: rgba(17, 20, 23, 0.72);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.io-card,
.output-stream p {
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(17, 20, 23, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(17, 20, 23, 0.08);
  backdrop-filter: blur(14px);
}

.io-card {
  animation: inputPulse 4.2s ease-in-out infinite;
  animation-delay: var(--delay);
}

.io-card-type {
  display: block;
  margin-bottom: 5px;
  color: rgba(17, 20, 23, 0.58);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.io-card strong,
.output-stream strong {
  display: block;
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.2;
}

.io-card small {
  display: block;
  margin-top: 5px;
  color: rgba(27, 35, 36, 0.68);
  font-size: 14px;
  line-height: 1.35;
}

.reasoning-core {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: min(25vw, 270px);
  min-width: 210px;
  aspect-ratio: 1;
  justify-self: center;
}

.core-orbit,
.reasoning-rings,
.reasoning-rings i,
.core-node {
  position: absolute;
  inset: 0;
}

.core-orbit {
  border-radius: 50%;
  border: 1px solid rgba(17, 20, 23, 0.14);
  animation: coreSpin 13s linear infinite;
}

.orbit-a {
  background:
    conic-gradient(from 40deg, rgba(58, 174, 216, 0.0), rgba(58, 174, 216, 0.62), rgba(111, 91, 216, 0.0), rgba(59, 185, 159, 0.46), rgba(58, 174, 216, 0.0));
  box-shadow: 0 0 42px rgba(58, 174, 216, 0.18);
}

.orbit-b {
  inset: 18px;
  border-style: dashed;
  animation-duration: 8.5s;
  animation-direction: reverse;
}

.core-node {
  inset: 22%;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(17, 20, 23, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.98), rgba(230, 241, 238, 0.88) 58%, rgba(247, 250, 248, 0.76)),
    var(--white);
  box-shadow: 0 20px 60px rgba(17, 20, 23, 0.16), inset 0 0 0 10px rgba(255, 255, 255, 0.42);
  text-align: center;
}

.core-node span {
  color: var(--graphite);
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1;
}

.core-node small {
  max-width: 132px;
  margin-top: 7px;
  color: rgba(27, 35, 36, 0.62);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.reasoning-rings i {
  inset: calc(14px + var(--i) * 11px);
  border-radius: 50%;
  border: 1px solid rgba(17, 20, 23, calc(0.05 + var(--i) * 0.012));
  transform: rotate(calc(var(--i) * 17deg));
}

.flow-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.flow-particles span {
  position: absolute;
  left: 20%;
  top: var(--y);
  width: 92px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(58, 174, 216, 0), rgba(58, 174, 216, 0.88), rgba(59, 185, 159, 0));
  box-shadow: 0 0 18px rgba(58, 174, 216, 0.42);
  opacity: 0;
  animation: tokenFlow 3.2s ease-in-out infinite;
  animation-delay: var(--delay);
}

.output-stream {
  display: grid;
  gap: 12px;
}

.output-stream p {
  color: rgba(27, 35, 36, 0.76);
  font-size: 15px;
  line-height: 1.45;
  animation: outputReveal 7s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes inputPulse {
  0%,
  100% {
    transform: translateX(0);
    border-color: rgba(17, 20, 23, 0.13);
  }
  45% {
    transform: translateX(5px);
    border-color: rgba(58, 174, 216, 0.42);
  }
}

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

@keyframes tokenFlow {
  0% {
    transform: translateX(0) scaleX(0.2);
    opacity: 0;
  }
  16%,
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(58vw) scaleX(1);
    opacity: 0;
  }
}

@keyframes outputReveal {
  0%,
  18% {
    transform: translateY(8px);
    opacity: 0.38;
  }
  34%,
  82% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.58;
  }
}

.evidence-lab {
  --stage-color: var(--glass-blue);
  --stage-y: 31px;
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.evidence-lab[data-step="0"] {
  --stage-color: var(--glass-blue);
  --stage-y: 31px;
}

.evidence-lab[data-step="1"] {
  --stage-color: var(--protein-magenta);
  --stage-y: 101px;
}

.evidence-lab[data-step="2"] {
  --stage-color: var(--ion-violet);
  --stage-y: 171px;
}

.evidence-lab[data-step="3"] {
  --stage-color: var(--crystal-amber);
  --stage-y: 241px;
}

.evidence-lab::before,
.evidence-lab::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.evidence-lab::before {
  z-index: 0;
  left: 270px;
  top: var(--stage-y);
  width: calc(100% - 270px);
  height: 2px;
  background: linear-gradient(90deg, var(--stage-color), rgba(17, 20, 23, 0));
  opacity: 0.66;
}

.evidence-lab::after {
  z-index: 0;
  left: 270px;
  top: calc(var(--stage-y) - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stage-color);
  box-shadow: 0 0 18px var(--stage-color);
  animation: evidence-signal 1200ms ease-out infinite;
}

.trace-rail {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  gap: 12px;
  align-self: start;
}

.trace-step {
  position: relative;
  min-height: 58px;
  padding: 17px 18px 15px 22px;
  border-left: 3px solid rgba(17, 20, 23, 0.16);
  background: rgba(255, 255, 255, 0.54);
  cursor: pointer;
  transition: background 320ms ease, border-color 320ms ease, box-shadow 320ms ease, transform 320ms ease;
}

.trace-step.active {
  border-color: var(--stage-color);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 42px rgba(17, 20, 23, 0.1);
  transform: translateX(4px);
}

.trace-step.active::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 18px;
  height: 2px;
  background: var(--stage-color);
  opacity: 0.86;
  box-shadow: 0 0 14px var(--stage-color);
}

.trace-step p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(27, 35, 36, 0.68);
  font-size: 14px;
  opacity: 0;
  transition: max-height 320ms ease, opacity 260ms ease, margin-top 320ms ease;
}

.trace-step.active p {
  max-height: 180px;
  margin-top: 4px;
  opacity: 1;
}

.science-canvas-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.science-panel {
  min-height: 340px;
  padding: 16px;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.science-panel.stage-pulse {
  border-color: var(--stage-color);
  box-shadow: 0 18px 50px rgba(111, 91, 216, 0.12);
}

.evidence-lab[data-step="0"] .science-panel canvas {
  background: linear-gradient(135deg, rgba(58, 174, 216, 0.08), rgba(255, 255, 255, 0.52));
}

.evidence-lab[data-step="1"] .science-panel canvas {
  background: linear-gradient(135deg, rgba(216, 76, 141, 0.08), rgba(255, 255, 255, 0.52));
}

.evidence-lab[data-step="2"] .science-panel canvas {
  background: linear-gradient(135deg, rgba(111, 91, 216, 0.08), rgba(255, 255, 255, 0.52));
}

.evidence-lab[data-step="3"] .science-panel canvas {
  background: linear-gradient(135deg, rgba(224, 166, 47, 0.1), rgba(255, 255, 255, 0.52));
}

.science-panel canvas {
  display: block;
  width: 100%;
  height: 210px;
  border-radius: 6px;
  background: rgba(17, 20, 23, 0.045);
}

.science-panel div {
  padding: 16px 4px 2px;
}

.science-panel p {
  margin: 10px 0 0;
}

.performance-board {
  grid-template-columns: minmax(300px, 0.26fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 23, 0.13);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    rgba(230, 241, 238, 0.54);
  box-shadow: 0 24px 80px rgba(17, 20, 23, 0.1);
  backdrop-filter: blur(18px);
}

.performance-overview {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid rgba(17, 20, 23, 0.12);
  background:
    radial-gradient(circle at 84% 10%, rgba(111, 91, 216, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(247, 250, 248, 0.2), rgba(255, 255, 255, 0.58));
}

.performance-kicker,
.performance-ribbons span,
.performance-legend span {
  color: rgba(27, 35, 36, 0.62);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.performance-scoreline {
  margin-top: 16px;
}

.performance-scoreline strong {
  display: block;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.86;
}

.performance-scoreline small {
  color: rgba(17, 20, 23, 0.48);
  font-size: 0.42em;
}

.performance-scoreline p {
  max-width: 310px;
  margin: 18px 0 0;
  color: rgba(27, 35, 36, 0.72);
  font-size: 17px;
  line-height: 1.48;
}

.performance-ribbons {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.performance-ribbons div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 14px;
  align-items: center;
}

.performance-ribbons b {
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 20px;
}

.performance-ribbons i {
  grid-column: 1 / -1;
  display: block;
  width: var(--value);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ion-violet), var(--glass-blue), var(--molecule-mint));
  transform: scaleX(0.12);
  transform-origin: left;
  transition: transform 850ms ease;
}

.performance-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.performance-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

.performance-legend i,
.performance-legend b {
  width: 28px;
  height: 6px;
  border-radius: 999px;
}

.performance-legend i {
  background: linear-gradient(90deg, var(--ion-violet), var(--glass-blue));
}

.performance-legend b {
  background: rgba(17, 20, 23, 0.24);
}

.performance-domain-tabs {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.performance-domain-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid rgba(17, 20, 23, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(247, 250, 248, 0.58)),
    rgba(255, 255, 255, 0.66);
  color: rgba(27, 35, 36, 0.72);
  text-align: left;
  cursor: pointer;
}

.performance-domain-tab span {
  color: var(--graphite);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 760;
  line-height: 1;
}

.performance-domain-tab strong {
  color: rgba(27, 35, 36, 0.62);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.performance-domain-tab.active {
  border-color: rgba(17, 20, 23, 0.4);
  background:
    radial-gradient(circle at 12% 20%, rgba(111, 91, 216, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(17, 20, 23, 0.98), rgba(43, 52, 54, 0.95));
  box-shadow: 0 16px 44px rgba(17, 20, 23, 0.16);
}

.performance-domain-tab.active span,
.performance-domain-tab.active strong {
  color: var(--white);
}

.performance-type-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 20, 23, 0.1);
}

.performance-type-tab {
  display: grid;
  align-content: space-between;
  gap: 10px;
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(17, 20, 23, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.84), transparent 34%),
    rgba(255, 255, 255, 0.54);
  color: rgba(27, 35, 36, 0.7);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.performance-type-tab span {
  color: var(--graphite);
  font-family: var(--display);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 760;
  line-height: 1.02;
}

.performance-type-tab strong {
  color: rgba(27, 35, 36, 0.62);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.performance-type-tab.active {
  border-color: rgba(17, 20, 23, 0.44);
  background:
    radial-gradient(circle at 18% 12%, rgba(58, 174, 216, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(17, 20, 23, 0.98), rgba(49, 57, 60, 0.96));
  box-shadow: 0 18px 42px rgba(17, 20, 23, 0.18);
  transform: translateY(-1px);
}

.performance-type-tab.active span,
.performance-type-tab.active strong {
  color: var(--white);
}

.performance-type-tab:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.performance-matrix-note {
  margin: 24px 0 0;
  color: rgba(27, 35, 36, 0.66);
  font-size: 14px;
  line-height: 1.48;
}

.performance-domain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-width: 0;
  overflow: hidden;
}

.reveal.is-visible .performance-ribbons i {
  transform: scaleX(1);
}

.task-matrix-panel {
  --accent: var(--ion-violet);
  min-width: 0;
  border-left: 1px solid rgba(17, 20, 23, 0.12);
  border-bottom: 1px solid rgba(17, 20, 23, 0.1);
}

.task-matrix-panel:last-child {
  border-bottom: 0;
}

.task-matrix-panel[hidden] {
  display: none;
}

.task-matrix-panel.chemistry {
  --accent: var(--molecule-mint);
}

.task-matrix-panel.materials {
  --accent: var(--crystal-amber);
}

.task-matrix-panel.biology {
  --accent: var(--protein-magenta);
}

.task-matrix-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 18px 22px;
  cursor: default;
  list-style: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.38)),
    rgba(17, 20, 23, 0.02);
}

.task-matrix-panel summary::-webkit-details-marker {
  display: none;
}

.task-matrix-panel summary span {
  color: rgba(27, 35, 36, 0.62);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.task-matrix-panel summary strong {
  color: var(--graphite);
  font-size: 20px;
  line-height: 1.1;
  text-align: right;
}

.task-matrix-panel summary::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-height: min(780px, 76svh);
  overflow: auto;
  padding: 0 28px 30px;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 20, 23, 0.32) rgba(17, 20, 23, 0.06);
}

.task-grid > [hidden] {
  display: none;
}

.task-category {
  grid-column: 1 / -1;
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 6px 0 0;
  padding: 22px 0 12px;
  background:
    linear-gradient(180deg, rgba(247, 250, 248, 0.98), rgba(247, 250, 248, 0.86));
  color: rgba(27, 35, 36, 0.66);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.task-row {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 23, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.62);
}

.task-row:nth-of-type(2n) {
  background: rgba(255, 255, 255, 0.7);
}

.task-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 6px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.82;
}

.task-row.trail::before {
  background: rgba(17, 20, 23, 0.26);
}

.task-row.tie::before {
  background: linear-gradient(180deg, var(--accent), rgba(17, 20, 23, 0.26));
}

.task-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-areas:
    "name expand"
    "sci rival";
  align-items: start;
  gap: 14px 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 152px;
  padding: 22px 20px 20px 28px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.task-row-main:hover {
  background: rgba(17, 20, 23, 0.035);
}

.task-name strong {
  display: block;
  color: var(--graphite);
  font-size: clamp(19px, 1.25vw, 24px);
  font-weight: 820;
  line-height: 1.12;
}

.task-name {
  grid-area: name;
}

.task-score.sci {
  grid-area: sci;
  text-align: left;
}

.task-score.rival {
  grid-area: rival;
}

.task-name span,
.task-score span {
  display: block;
  margin-top: 5px;
  color: rgba(27, 35, 36, 0.62);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.task-score {
  text-align: right;
  min-width: 0;
}

.task-score b {
  display: block;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 27px;
  line-height: 1.1;
  white-space: nowrap;
}

.task-score.rival b {
  color: rgba(27, 35, 36, 0.74);
  font-size: 24px;
  white-space: normal;
}

.task-expand-label {
  grid-area: expand;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(17, 20, 23, 0.14);
  border-radius: 999px;
  color: rgba(27, 35, 36, 0.64);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.task-row.expanded .task-expand-label {
  border-color: rgba(17, 20, 23, 0.36);
  color: var(--graphite);
}

.task-details {
  display: grid;
  gap: 14px;
  padding: 0 22px 22px 28px;
}

.task-details[hidden] {
  display: none;
}

.task-chart {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid rgba(17, 20, 23, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(247, 250, 248, 0.72)),
    rgba(255, 255, 255, 0.7);
}

.task-chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.task-chart-title span,
.task-chart-title b {
  color: rgba(27, 35, 36, 0.66);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.task-chart-title b {
  color: rgba(27, 35, 36, 0.8);
  text-align: right;
}

.task-chart-row {
  display: grid;
  grid-template-columns: minmax(104px, 0.32fr) minmax(0, 1fr) minmax(46px, max-content);
  align-items: center;
  gap: 10px;
}

.task-chart-row span {
  min-width: 0;
  overflow: hidden;
  color: rgba(27, 35, 36, 0.72);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.task-chart-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 20, 23, 0.09);
}

.task-chart-track i {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: rgba(17, 20, 23, 0.36);
}

.task-chart-row.sci .task-chart-track i {
  background: linear-gradient(90deg, var(--ion-violet), var(--glass-blue), var(--molecule-mint));
}

.task-chart-row.best .task-chart-track i {
  background: linear-gradient(90deg, rgba(224, 166, 47, 0.9), rgba(58, 174, 216, 0.74));
}

.task-chart-row.specialist .task-chart-track i {
  background: linear-gradient(90deg, rgba(216, 76, 141, 0.74), rgba(111, 91, 216, 0.76));
}

.task-chart-row b {
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.task-baselines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
  gap: 10px;
  padding: 0;
}

.task-baselines[hidden] {
  display: none;
}

.task-baseline-item {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(17, 20, 23, 0.1);
  border-radius: 7px;
  background: rgba(247, 250, 248, 0.86);
}

.task-baseline-item span {
  display: block;
  color: rgba(27, 35, 36, 0.6);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.task-baseline-item b {
  display: block;
  margin-top: 5px;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 18px;
}

.task-baseline-item.sci {
  border-color: rgba(111, 91, 216, 0.38);
  background: rgba(111, 91, 216, 0.08);
}

.task-baseline-item.best {
  box-shadow: inset 0 0 0 1px rgba(58, 174, 216, 0.2);
}

.task-baseline-item.specialist {
  grid-column: span 2;
  border-color: rgba(224, 166, 47, 0.32);
  background: rgba(224, 166, 47, 0.08);
}

@keyframes evidence-signal {
  0% {
    opacity: 0;
    transform: translateX(0) scale(0.7);
  }

  18% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
    transform: translateX(min(54vw, 720px)) scale(1.1);
  }
}

.cot-section {
  max-width: none;
  margin: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(111, 91, 216, 0.09), transparent 32%),
    radial-gradient(circle at 84% 76%, rgba(59, 185, 159, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(247, 250, 248, 0.98), rgba(230, 241, 238, 0.62));
  border-bottom: 1px solid var(--line);
}

.cot-section > * {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

.cot-workbench {
  display: grid;
  grid-template-columns: minmax(220px, 0.22fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(17, 20, 23, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 80px rgba(17, 20, 23, 0.12);
  backdrop-filter: blur(18px);
}

.cot-toolbar {
  display: contents;
}

.cot-browser {
  display: contents;
}

.cot-discipline-tabs {
  grid-column: 1 / 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  padding: 14px 0 14px 14px;
  border-bottom: 1px solid rgba(17, 20, 23, 0.12);
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.045), transparent),
    rgba(255, 255, 255, 0.62);
}

.cot-discipline {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(17, 20, 23, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(27, 35, 36, 0.74);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.cot-discipline.active {
  border-color: var(--graphite);
  background:
    linear-gradient(135deg, rgba(111, 91, 216, 0.24), transparent 58%),
    var(--graphite);
  color: var(--white);
}

.cot-case-lists {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  align-self: stretch;
  padding: 16px;
  border-right: 1px solid rgba(17, 20, 23, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 250, 248, 0.78));
}

.cot-case-group {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

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

.cot-tabs,
.cot-zoom {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.cot-tabs {
  flex: 1 1 auto;
}

.cot-tab,
.cot-zoom button {
  min-height: 36px;
  border: 1px solid rgba(17, 20, 23, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(27, 35, 36, 0.78);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cot-tab {
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  text-transform: uppercase;
}

.cot-tab.active {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--white);
}

.cot-zoom button {
  min-width: 36px;
  padding: 7px 10px;
}

.cot-zoom {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: stretch;
  padding: 14px;
  border-bottom: 1px solid rgba(17, 20, 23, 0.12);
  background: rgba(255, 255, 255, 0.62);
}

.cot-zoom span {
  min-width: 48px;
  color: rgba(27, 35, 36, 0.66);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.cot-viewer {
  grid-column: 2;
  grid-row: 2;
  max-height: 660px;
  overflow: auto;
  padding: 26px;
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 20, 23, 0.04) 1px, transparent 1px),
    rgba(247, 250, 248, 0.92);
  background-size: 32px 32px;
}

.cot-scale-target {
  --cot-zoom: 1;
  color: var(--ink);
  font-size: calc(14px * var(--cot-zoom));
  transition: font-size 180ms ease;
}

.cot-trace {
  min-width: 0;
}

.cot-trace.active {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  border: 1px solid rgba(17, 20, 23, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.cot-trace[hidden] {
  display: none;
}

.cot-trace-meta,
.cot-trace-body {
  min-width: 0;
  padding: calc(23px * var(--cot-zoom));
}

.cot-trace-meta {
  border-right: 1px solid rgba(17, 20, 23, 0.1);
  background:
    linear-gradient(180deg, rgba(17, 20, 23, 0.04), rgba(255, 255, 255, 0.62));
}

.cot-trace-meta span,
.cot-stage-label {
  color: rgba(17, 20, 23, 0.64);
  font-family: var(--mono);
  font-size: 0.82em;
  font-weight: 800;
  text-transform: uppercase;
}

.cot-trace-meta h3 {
  margin: 12px 0 0;
  color: var(--graphite);
  font-family: var(--display);
  font-size: clamp(24px, 2.15em, 36px);
  line-height: 1.04;
}

.cot-trace-meta p {
  margin: 16px 0 0;
  color: rgba(27, 35, 36, 0.7);
  font-size: 1em;
}

.cot-trace-meta code {
  display: block;
  margin-top: 20px;
  padding: 13px;
  border-radius: 6px;
  background: rgba(17, 20, 23, 0.07);
  color: rgba(17, 20, 23, 0.82);
  font-family: var(--mono);
  font-size: 0.9em;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.cot-stage-label {
  margin-bottom: 16px;
}

.cot-fragment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.cot-fragment {
  min-width: 0;
  margin: 0;
  padding: 13px;
  border: 1px solid rgba(17, 20, 23, 0.11);
  border-radius: 7px;
  background: rgba(247, 250, 248, 0.9);
}

.cot-fragment.wide {
  grid-column: 1 / -1;
}

.cot-fragment figcaption {
  margin-bottom: 8px;
  color: rgba(17, 20, 23, 0.58);
  font-family: var(--mono);
  font-size: 0.78em;
  font-weight: 900;
  text-transform: uppercase;
}

.cot-fragment pre {
  margin: 0;
  color: rgba(17, 20, 23, 0.82);
  font-family: var(--mono);
  font-size: 0.84em;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.cot-transcript {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(17, 20, 23, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 250, 248, 0.7)),
    rgba(255, 255, 255, 0.72);
}

.cot-transcript p {
  margin: 0;
  color: rgba(27, 35, 36, 0.76);
  font-size: 0.98em;
  line-height: 1.68;
}

.cot-transcript code,
.cot-final code {
  padding: 0.08em 0.3em;
  border-radius: 4px;
  background: rgba(17, 20, 23, 0.07);
  color: rgba(17, 20, 23, 0.88);
  font-family: var(--mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.cot-final {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  border-left: 3px solid var(--ion-violet);
  border-radius: 7px;
  background: rgba(111, 91, 216, 0.07);
}

.cot-source-button {
  justify-self: start;
  min-height: 34px;
  margin-top: 4px;
  padding: 8px 11px;
  border: 1px solid rgba(17, 20, 23, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  color: rgba(17, 20, 23, 0.86);
  font-family: var(--mono);
  font-size: 0.78em;
  font-weight: 900;
  cursor: pointer;
}

.cot-source-button:hover {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--white);
}

.hero-cot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 38px;
  padding: 10px 14px;
  border-color: rgba(17, 20, 23, 0.78);
  background:
    linear-gradient(135deg, rgba(58, 174, 216, 0.24), rgba(111, 91, 216, 0.2)),
    var(--graphite);
  color: var(--white);
  font-size: 13px;
  box-shadow: 0 14px 34px rgba(17, 20, 23, 0.22);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-cot-button:hover {
  border-color: rgba(17, 20, 23, 0.9);
  background:
    linear-gradient(135deg, rgba(59, 185, 159, 0.26), rgba(58, 174, 216, 0.24)),
    var(--graphite);
}

.cot-final-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(17, 20, 23, 0.58);
  font-family: var(--mono);
  font-size: 0.78em;
  font-weight: 900;
  text-transform: uppercase;
}

.cot-final-heading span {
  color: rgba(17, 20, 23, 0.64);
}

.cot-final-heading .cot-source-button {
  min-height: 28px;
  margin: 0;
  padding: 5px 8px;
  border-color: rgba(17, 20, 23, 0.78);
  background: var(--graphite);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(17, 20, 23, 0.16);
  font-size: 1em;
}

.cot-final code {
  display: block;
  padding: 0;
  background: transparent;
  line-height: 1.55;
}

.cot-lines {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  counter-reset: cot-step;
  list-style: none;
}

.cot-lines li {
  position: relative;
  counter-increment: cot-step;
  padding: 3px 0 15px 48px;
  border-bottom: 1px solid rgba(17, 20, 23, 0.11);
}

.cot-lines li:last-child {
  border-bottom: 0;
}

.cot-lines li::before {
  content: counter(cot-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(17, 20, 23, 0.15);
  border-radius: 50%;
  color: rgba(17, 20, 23, 0.72);
  font-family: var(--mono);
  font-size: 0.78em;
  font-weight: 900;
  line-height: 28px;
  text-align: center;
}

.cot-lines strong {
  color: var(--graphite);
  font-size: 1.08em;
}

.cot-lines p {
  margin: 6px 0 0;
  color: rgba(27, 35, 36, 0.72);
  font-size: 1em;
  line-height: 1.62;
}

.results-dashboard {
  min-width: 0;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: stretch;
}

.chart-card {
  min-width: 0;
  min-height: 520px;
  padding: 24px;
}

.chart-header,
.bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chart-header {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.chart-header span,
.chart-note,
.bar-meta span,
.metric-chip span {
  color: rgba(27, 35, 36, 0.64);
}

.chart-header span,
.bar-meta span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.chart-header strong {
  color: var(--graphite);
  font-size: 18px;
}

.radar-shell {
  display: grid;
  place-items: center;
  min-height: 390px;
}

.radar-chart {
  width: min(100%, 440px);
  height: auto;
  overflow: hidden;
}

.radar-mobile-key {
  display: none;
}

.radar-grid polygon,
.radar-axis line {
  fill: none;
  stroke: rgba(17, 20, 23, 0.14);
  stroke-width: 1;
}

.radar-grid polygon:nth-child(2n) {
  fill: rgba(58, 174, 216, 0.025);
}

.radar-axis line {
  stroke-dasharray: 3 6;
}

.radar-area {
  fill: rgba(111, 91, 216, 0.18);
  stroke: none;
}

.radar-stroke {
  fill: none;
  stroke: var(--ion-violet);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.radar-dots circle {
  fill: var(--lab-paper);
  stroke: var(--ion-violet);
  stroke-width: 3;
}

.radar-labels {
  fill: rgba(27, 35, 36, 0.78);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.bar-list {
  display: grid;
  gap: 24px;
  padding: 26px 0 10px;
}

.bar-row {
  display: grid;
  gap: 10px;
}

.bar-meta strong {
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
}

.bar-track {
  position: relative;
  height: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 23, 0.12);
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(17, 20, 23, 0.08) 0 1px, transparent 1px 12.5%),
    rgba(17, 20, 23, 0.05);
}

.bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  border-radius: inherit;
  transform: scaleX(0.12);
  transform-origin: left;
  transition: transform 850ms ease;
}

.reveal.is-visible .bar-fill {
  transform: scaleX(1);
}

.bar-fill.overall {
  background: linear-gradient(90deg, var(--ion-violet), var(--glass-blue));
}

.bar-fill.chemistry {
  background: linear-gradient(90deg, var(--molecule-mint), var(--glass-blue));
}

.bar-fill.materials {
  background: linear-gradient(90deg, var(--crystal-amber), var(--ion-violet));
}

.bar-fill.biology {
  background: linear-gradient(90deg, var(--protein-magenta), var(--molecule-mint));
}

.chart-note {
  margin: 18px 0 0;
  font-size: 13px;
}

.metric-strip {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 14px;
}

.metric-chip {
  min-width: 0;
  min-height: 116px;
  padding: 18px;
}

.metric-chip strong {
  display: block;
  margin-bottom: 16px;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1;
}

.metric-chip span {
  display: block;
  font-size: 13px;
}

.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.closing-copy {
  max-width: 780px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 16px;
  border-top: 1px solid var(--line);
  color: var(--graphite);
  font-family: var(--mono);
  text-align: center;
}

.site-footer p,
.site-footer strong {
  margin: 0;
}

.site-footer strong {
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 900;
  letter-spacing: 0;
}

.cot-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

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

.cot-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 23, 0.36);
  backdrop-filter: blur(10px);
}

.cot-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1040px, 100%);
  max-height: min(82vh, 900px);
  overflow: hidden;
  border: 1px solid rgba(17, 20, 23, 0.16);
  border-radius: 8px;
  background: rgba(247, 250, 248, 0.98);
  box-shadow: 0 30px 90px rgba(17, 20, 23, 0.26);
}

.cot-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(17, 20, 23, 0.12);
  background: rgba(255, 255, 255, 0.78);
}

.cot-modal-header p,
.cot-modal-header h2 {
  margin: 0;
}

.cot-modal-header p {
  color: rgba(17, 20, 23, 0.58);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cot-modal-header h2 {
  margin-top: 6px;
  color: var(--graphite);
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
}

.cot-modal-close {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(17, 20, 23, 0.2);
  border-radius: 7px;
  background: var(--graphite);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.cot-modal-body {
  display: grid;
  gap: 14px;
  overflow: auto;
  padding: 18px 20px 22px;
}

.cot-modal-block {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(17, 20, 23, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.cot-modal-block.emphasis {
  border-left: 3px solid var(--ion-violet);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 250, 248, 0.74)),
    rgba(111, 91, 216, 0.06);
}

.cot-modal-block h3 {
  margin: 0 0 10px;
  color: rgba(17, 20, 23, 0.62);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cot-modal-block pre {
  margin: 0;
  color: rgba(17, 20, 23, 0.84);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.58;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.cot-structure-line {
  padding: 0.08em 0.22em;
  border-radius: 4px;
  background: rgba(58, 174, 216, 0.12);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.cot-structure-token {
  padding: 0.04em 0.24em;
  border-radius: 4px;
  background: rgba(111, 91, 216, 0.16);
  color: rgba(17, 20, 23, 0.92);
  font-weight: 900;
}

body.cot-modal-open {
  overflow: hidden;
}

body.snapshot-results .site-header,
body.snapshot-results .hero,
body.snapshot-results .paper-band,
body.snapshot-results .model-section,
body.snapshot-results .evidence-section,
body.snapshot-results .cot-section,
body.snapshot-results .closing-section,
body.snapshot-results .site-footer,
body.snapshot-evidence .site-header,
body.snapshot-evidence .hero,
body.snapshot-evidence .paper-band,
body.snapshot-evidence .model-section,
body.snapshot-evidence .cot-section,
body.snapshot-evidence .results-section,
body.snapshot-evidence .closing-section,
body.snapshot-evidence .site-footer,
body.snapshot-cot .site-header,
body.snapshot-cot .hero,
body.snapshot-cot .paper-band,
body.snapshot-cot .model-section,
body.snapshot-cot .evidence-section,
body.snapshot-cot .results-section,
body.snapshot-cot .closing-section,
body.snapshot-cot .site-footer {
  display: none;
}

body.snapshot-results #results,
body.snapshot-evidence #evidence,
body.snapshot-cot #cot {
  padding-top: 34px;
}

.reveal {
  transform: translateY(18px);
  opacity: 1;
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1000px) {
  .hero-content {
    width: min(520px, calc(50vw - 64px));
    margin-left: clamp(42px, 6vw, 72px);
  }

  .restructured-layout .title-hero .hero-content {
    grid-template-columns: 1fr;
    align-items: start;
    width: min(calc(100vw - var(--page-gutter) * 2), var(--page-max));
    margin-right: auto;
    margin-left: auto;
  }

  .hero h1 {
    font-size: clamp(50px, 8.5vw, 72px);
  }

  .hero-title-main {
    font-size: clamp(32px, 5vw, 46px);
    white-space: normal;
  }

  .hero-title-with {
    font-size: clamp(58px, 10vw, 88px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-logo-marquee {
    width: min(100%, calc(100vw - 72px));
  }

  .hero-logo-card {
    min-width: 144px;
    height: 60px;
    padding: 10px 13px;
  }

  .hero-logo-card img {
    max-width: 116px;
    max-height: 40px;
  }

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

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

  .performance-board {
    grid-template-columns: 1fr;
  }

  .performance-overview {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 20, 23, 0.12);
  }

  .task-row-main {
    grid-template-columns: minmax(0, 1fr) minmax(110px, max-content) minmax(104px, max-content);
    grid-template-areas:
      "name name expand"
      "sci rival expand";
    align-items: start;
  }

  .evidence-lab {
    grid-template-columns: 1fr;
  }

  .evidence-lab::before,
  .evidence-lab::after,
  .trace-step.active::after {
    display: none;
  }

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

  .cot-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .cot-browser {
    grid-template-columns: 1fr;
  }

  .cot-workbench {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto minmax(0, 1fr);
  }

  .cot-discipline-tabs {
    grid-column: 1;
    grid-row: 1;
    padding-right: 14px;
  }

  .cot-discipline {
    min-height: 38px;
    text-align: center;
  }

  .cot-zoom {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    width: 100%;
    border-top: 1px solid rgba(17, 20, 23, 0.08);
  }

  .cot-case-lists {
    grid-column: 1;
    grid-row: 3;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 20, 23, 0.12);
  }

  .cot-case-group {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .cot-tab {
    flex: 1 1 132px;
    width: auto;
  }

  .cot-viewer {
    grid-column: 1;
    grid-row: 4;
  }

  .cot-trace.active {
    grid-template-columns: 1fr;
  }

  .cot-fragment-grid {
    grid-template-columns: 1fr;
  }

  .cot-trace-meta {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 20, 23, 0.1);
  }

  .reasoning-stage {
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.62fr) minmax(230px, 1fr);
    gap: 16px;
    min-height: 520px;
    padding: 22px;
  }

  .canvas-reasoning-stage {
    height: clamp(640px, 78svh, 760px);
    min-height: 620px;
    padding: 0;
  }

  .reasoning-core {
    width: min(24vw, 230px);
    min-width: 178px;
  }

  .io-card,
  .output-stream p {
    padding: 12px 13px;
  }

  .io-card strong,
  .output-stream strong {
    font-size: 15px;
  }

  .io-card small,
  .output-stream p {
    font-size: 13px;
  }
}

@media (min-width: 761px) and (max-height: 820px) {
  .hero {
    min-height: 78svh;
  }

  .hero-content {
    width: min(560px, calc(50vw - 86px));
    max-width: calc(100% - 56px);
    margin-left: clamp(48px, 6.5vw, 104px);
    padding: 70px 0 24px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-copy {
    max-width: 640px;
    margin-top: 16px;
    font-size: 19px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-ledger {
    margin-bottom: 16px;
  }

  .hero-ledger div {
    padding: 14px 16px;
  }

  .hero-ledger strong {
    font-size: 22px;
  }
}

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

  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-wash {
    background:
      radial-gradient(circle at 94% 33%, rgba(247, 250, 248, 0), rgba(247, 250, 248, 0.18) 22%, transparent 42%),
      linear-gradient(90deg, rgba(247, 250, 248, 0.98) 0%, rgba(247, 250, 248, 0.94) 72%, rgba(247, 250, 248, 0.38) 100%),
      linear-gradient(180deg, rgba(247, 250, 248, 0.08), rgba(247, 250, 248, 0.9) 88%);
  }

  .hero-content {
    width: auto;
    max-width: none;
    margin-left: 0;
    padding: 34px 18px 18px;
  }

  .restructured-layout .title-hero {
    min-height: 68svh;
  }

  .restructured-layout .title-hero .hero-content {
    width: auto;
    margin-left: 0;
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-title-main {
    font-size: 32px;
    white-space: normal;
  }

  .hero-title-with {
    font-size: 56px;
    white-space: normal;
  }

  .hero-copy {
    max-width: 298px;
    font-size: 18px;
  }

  .hero-logo-marquee {
    width: min(100%, calc(100vw - 36px));
    margin-top: 22px;
  }

  .hero-logo-card {
    min-width: 126px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    max-width: 260px;
    margin-top: 22px;
  }

  .hero-ledger {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 18px 14px;
  }

  .hero-ledger div {
    padding: 13px 16px;
  }

  .hero-ledger strong {
    font-size: 22px;
  }

  .paper-band,
  .section,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .paper-band {
    grid-template-columns: 1fr;
  }

  .reasoning-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
    padding: 10px 0 0;
  }

  .canvas-reasoning-stage {
    height: 680px;
    min-height: 640px;
    padding: 0;
  }

  .reasoning-stage::before {
    inset: 0 50%;
    width: 1px;
    height: 100%;
    border: 0;
    background: linear-gradient(180deg, rgba(58, 174, 216, 0), rgba(58, 174, 216, 0.28), rgba(59, 185, 159, 0));
    mask-image: none;
  }

  .input-flow-panel {
    order: 1;
  }

  .reasoning-core {
    order: 2;
    width: min(64vw, 240px);
    min-width: 0;
  }

  .output-flow-panel {
    order: 3;
  }

  .flow-particles {
    display: none;
  }

  .paper-title-block h2,
  .section-heading h2,
  .closing-copy h2 {
    font-size: 28px;
    max-width: 100%;
    hyphens: none;
    overflow-wrap: break-word;
  }

  .section-heading p,
  .closing-copy p {
    overflow-wrap: anywhere;
  }

  .section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 76px;
  }

  .section-heading,
  .cot-workbench,
  .results-dashboard,
  .metric-strip {
    width: 100%;
    max-width: 100%;
  }

  .modality-grid,
  .science-canvas-grid,
  .performance-domain-grid,
  .task-grid,
  .metric-strip,
  .results-dashboard,
  .trace-rail {
    grid-template-columns: 1fr;
  }

  .task-matrix-panel summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .task-matrix-panel summary::before {
    width: 42px;
    height: 6px;
  }

  .task-matrix-panel summary strong {
    text-align: left;
  }

  .task-row {
    grid-template-columns: 1fr;
  }

  .task-row-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "sci"
      "rival"
      "expand";
    align-items: start;
    gap: 10px;
  }

  .task-score {
    text-align: left;
  }

  .task-baselines {
    grid-template-columns: 1fr;
  }

  .task-baseline-item.specialist {
    grid-column: auto;
  }

  .chart-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: auto;
    padding: 18px;
  }

  .cot-viewer {
    max-height: 620px;
    padding: 16px;
  }

  .cot-tabs,
  .cot-zoom {
    width: 100%;
  }

  .cot-tab {
    flex: 1 1 96px;
  }

  .cot-zoom {
    justify-content: flex-start;
  }

  .cot-scale-target {
    font-size: calc(13px * var(--cot-zoom));
  }

  .chart-header,
  .bar-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .radar-shell {
    min-height: auto;
    padding-top: 10px;
  }

  .radar-chart {
    width: min(100%, 300px);
  }

  .radar-labels {
    display: none;
  }

  .radar-mobile-key {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    width: 100%;
    margin: 8px 0 0;
    padding: 0;
    color: rgba(27, 35, 36, 0.68);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 800;
    list-style: none;
  }

  .closing-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: center;
    flex-direction: row;
  }

  .cot-modal {
    padding: 12px;
  }

  .cot-modal-panel {
    max-height: 88vh;
  }

  .cot-modal-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .cot-modal-close {
    align-self: flex-start;
  }

  .cot-modal-body {
    padding: 14px;
  }

  .cot-modal-block pre {
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .section-heading,
  .evidence-lab,
  .performance-board,
  .cot-workbench,
  .results-dashboard,
  .metric-strip {
    width: 100%;
    max-width: 354px;
    margin-left: 0;
    margin-right: 0;
  }

  .evidence-section > *,
  .performance-section > *,
  .reasoning-animation-section > *,
  .cot-section > * {
    width: 100%;
    max-width: 354px;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1000px) {
  .restructured-layout .title-hero .hero-content,
  .restructured-layout .reasoning-animation-section > *,
  .restructured-layout .cot-section > *,
  .restructured-layout .performance-section > * {
    width: min(calc(100vw - var(--page-gutter) * 2), var(--page-max));
    max-width: var(--page-max);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .restructured-layout .title-hero {
    min-height: clamp(380px, 56svh, 520px);
  }

  .restructured-layout .title-hero .hero-content {
    grid-template-columns: 1fr;
    row-gap: 20px;
    width: min(calc(100vw - var(--page-gutter) * 2), var(--page-max));
    margin-right: auto;
    margin-left: auto;
    padding: 34px 0 20px;
  }

  .restructured-layout .hero-copy-panel {
    justify-self: start;
    max-width: 720px;
    padding-bottom: 0;
    transform: none;
  }

  .restructured-layout .hero-quote p {
    max-width: 720px;
    font-size: 26px;
  }

  .hero-copy-kicker {
    font-size: 15px;
  }

  .restructured-layout .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 132px));
    max-width: 280px;
  }

  .restructured-layout .hero-logo-card {
    min-width: 138px;
    height: 58px;
  }

  .restructured-layout .hero-logo-card img {
    max-width: 108px;
    max-height: 38px;
  }

  .restructured-layout .hero-logo-card[data-logo="sjtu"],
  .restructured-layout .hero-logo-card[data-logo="ucas"],
  .restructured-layout .hero-logo-card[data-logo="ustc"],
  .restructured-layout .hero-logo-card[data-logo="stanford"] {
    min-width: 166px;
  }

  .restructured-layout .hero-logo-card[data-logo="sjtu"] img,
  .restructured-layout .hero-logo-card[data-logo="ucas"] img,
  .restructured-layout .hero-logo-card[data-logo="ustc"] img,
  .restructured-layout .hero-logo-card[data-logo="stanford"] img {
    max-width: 132px;
    max-height: 40px;
  }

  .task-row-main {
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas:
      "name expand"
      "sci rival";
    gap: 14px;
    padding: 18px 18px 18px 24px;
  }

  .task-name strong {
    font-size: 20px;
  }

  .task-score b {
    font-size: 24px;
  }

  .task-score.rival b {
    font-size: 20px;
  }

  .restructured-layout .section,
  .restructured-layout .site-footer {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 520px) {
  .restructured-layout .section-heading,
  .restructured-layout .cot-workbench,
  .restructured-layout .performance-board,
  .restructured-layout .reasoning-animation-section > *,
  .restructured-layout .cot-section > *,
  .restructured-layout .performance-section > * {
    width: min(calc(100vw - var(--page-gutter) * 2), var(--page-max));
    max-width: var(--page-max);
    margin-right: auto;
    margin-left: auto;
  }
}

.restructured-layout #cot,
.restructured-layout #performance {
  padding-top: clamp(86px, 7vw, 126px);
  padding-bottom: clamp(86px, 7vw, 126px);
}

.restructured-layout #cot > .section-heading,
.restructured-layout #cot > .cot-workbench,
.restructured-layout #performance > .section-heading,
.restructured-layout #performance > .performance-board {
  width: min(calc(100vw - var(--page-gutter) * 2), var(--section-max));
  max-width: var(--section-max);
  margin-right: auto;
  margin-left: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-logo-track {
    transform: none !important;
  }

  .button:hover {
    transform: none;
  }
}
