:root {
  --blue: #0052d9;
  --blue-light: #ebf2ff;
  --blue-border: #0052d920;
  --ink: #12213a;
  --muted: #65738a;
  --line: #e3e8f0;
  --surface: #fafbfc;
  --gray: #c0c4cc;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  font-synthesis: none;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
a,
button,
input {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
pre:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--blue);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
button svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
p {
  line-height: 1.75;
}
h2 {
  font-size: clamp(32px, 3.2vw, 49px);
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: -1.9px;
}
h3 {
  font-weight: 600;
  letter-spacing: -0.5px;
}
.blue {
  color: var(--blue);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 110;
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
}
.skip-link:focus {
  top: 12px;
}
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 100;
  background: transparent;
}
.reading-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
}
.site-header {
  height: 76px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(4%, calc((100vw - 1400px) / 2));
  z-index: 50;
  background: #ffffffd9;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #dfe6f080;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.brand > span:last-child {
  color: var(--blue);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font: 600 17px var(--mono);
  letter-spacing: -2px;
  padding-right: 3px;
}
.site-header nav {
  display: flex;
  gap: 29px;
}
.site-header nav a {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  color: var(--blue);
}
.header-paper {
  font-size: 12px;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.header-paper:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.menu-toggle {
  display: none;
}
.page-rail {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: grid;
  gap: 10px;
}
.page-rail a {
  width: 28px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8995a7;
  font: 9px var(--mono);
}
.page-rail a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c7d1df;
  transition: all 0.3s;
}
.page-rail span {
  display: none;
}
.page-rail a[aria-current]::before {
  height: 22px;
  width: 3px;
  background: var(--blue);
  border-radius: 2px;
}
.container {
  width: min(1240px, 88%);
  margin: 0 auto;
}
.container.wide {
  width: min(1450px, 90%);
}
.screen {
  position: relative;
  scroll-margin-top: 0;
  padding: 105px 0;
  overflow: clip;
}
.eyebrow {
  font: 10px var(--mono);
  font-weight: 500;
  letter-spacing: 1.8px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 1.7;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px #0052d910;
  flex-shrink: 0;
}
.eyebrow-divider {
  margin: 0 4px;
  color: #aeb9c9;
}
.section-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue-border);
  border-radius: 5px;
  letter-spacing: 0;
  background: #fff;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 55px;
  margin-bottom: 42px;
}
.section-heading h2 {
  margin-top: 19px;
}
.section-heading > p,
.section-heading > div + div {
  max-width: 400px;
  flex: 0 1 400px;
}
.section-heading p {
  font-size: 14px;
  color: var(--muted);
}
.mini-eyebrow {
  font: 9px var(--mono);
  letter-spacing: 1.35px;
  color: var(--muted);
  line-height: 1.7;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.button:hover {
  border-color: #0052d960;
  box-shadow: 0 4px 12px #0052d908;
  transform: translateY(-2px);
}
.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px #0052d920;
}
.button.primary:hover {
  background: #0045b8;
}
.button-meta {
  font-size: 9px;
  font-weight: 400;
  opacity: 0.65;
}
.button.text-button {
  border-color: transparent;
  background: transparent;
  padding-right: 0;
  padding-left: 5px;
}
.inline-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 11px;
  line-height: 1.6;
  white-space: nowrap;
}
.inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  font-size: 21px;
}
.mobile-break {
  display: none;
}
.hero {
  min-height: 100svh;
  padding: 142px 0 35px;
  background: linear-gradient(135deg, #fff 15%, #fafcff 65%, #f3f7ff);
  isolation: isolate;
}
.hero-grid {
  position: absolute;
  inset: 76px 0 0;
  z-index: -2;
  background-image:
    linear-gradient(#0052d904 1px, transparent 1px),
    linear-gradient(90deg, #0052d904 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent 10%, #000 85%);
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -40px;
  top: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #dce9ff70, transparent 67%);
  z-index: -1;
  animation: glow-drift 12s ease-in-out infinite alternate;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 45px;
  align-items: center;
  min-height: 370px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-wordmark {
  display: block;
  font-size: clamp(53px, 6.4vw, 94px);
  letter-spacing: -6px;
  line-height: 1.16;
  font-weight: 650;
  margin: 17px 0 18px;
  color: var(--blue);
  background: linear-gradient(
    105deg,
    #00348b 0%,
    #0052d9 40%,
    #397dee 52%,
    #0052d9 70%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-sheen 8s ease-in-out infinite;
}
.paper-subtitle {
  display: block;
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: -0.65px;
  max-width: 650px;
}
.hero-description {
  color: var(--muted);
  font-size: 15px;
  margin-top: 24px;
  line-height: 1.8;
}
.hero-description strong {
  font-weight: 500;
  color: var(--ink);
}
.resource-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 27px;
  flex-wrap: wrap;
}
.hero-art {
  position: relative;
  margin: 25px 0 0 4px;
  padding: 20px 10px 20px 0;
  perspective: 1000px;
}
.evolution-card {
  background: #ffffffeb;
  border: 1px solid #dce6f4;
  border-radius: 15px;
  box-shadow:
    0 25px 65px -25px #194a952e,
    0 2px 7px #0a306808;
  padding: 25px 27px 18px;
  transform: rotate(-2deg);
  position: relative;
  z-index: 1;
}
.art-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 9px var(--mono);
  letter-spacing: 1.1px;
  color: #617694;
}
.art-topline > .status-dot {
  margin-left: auto;
}
.mini-terminal {
  color: var(--blue);
  font-size: 17px;
  font-weight: 600;
}
.art-number {
  font-size: 68px;
  font-weight: 550;
  letter-spacing: -4px;
  line-height: 1;
  margin-top: 27px;
  display: flex;
  align-items: baseline;
}
.art-number > span:first-child {
  font-size: 31px;
  letter-spacing: -1px;
  color: var(--blue);
  margin-left: 4px;
}
.art-number > .art-gain {
  font: 10px var(--mono);
  letter-spacing: 0;
  color: var(--blue);
  margin-left: auto;
  background: var(--blue-light);
  padding: 7px 8px;
  border-radius: 5px;
}
.art-caption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.hero-chart {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 22px;
  overflow: visible;
}
.art-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #eef1f6;
  padding-top: 13px;
  font: 8px var(--mono);
  letter-spacing: 0.4px;
  color: var(--muted);
}
.legend-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--blue);
  margin-right: 6px;
  border-radius: 50%;
}
.floating-label {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #0052d925;
  border-radius: 10px;
  background: #ffffffed;
  backdrop-filter: blur(10px);
  box-shadow: 0 9px 30px #17489515;
  padding: 12px 16px;
  animation: float 7s ease-in-out infinite;
}
.floating-label > span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--blue);
}
.floating-label strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.floating-label small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.float-refine {
  left: -26px;
  top: -11px;
}
.float-rewrite {
  right: -22px;
  bottom: -4px;
  animation-delay: -3s;
}
.art-orbit {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20px;
  right: -20px;
  border: 1px solid #0052d909;
  border-radius: 50%;
  transform: rotate(30deg);
}
.orbit-two {
  inset: -30px -40px;
  transform: rotate(-35deg);
  border-style: dashed;
}
.byline {
  margin: 44px 0 28px;
  padding-top: 24px;
  border-top: 1px solid #dfe6f099;
}
.authors {
  font-size: 11px;
  line-height: 2.1;
  color: #54647b;
  text-align: center;
}
.authors > span {
  margin: 0 9px;
  color: #bcc5d1;
}
.authors sup {
  font-size: 8px;
  color: var(--blue);
  margin-left: 3px;
}
.affiliation-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21px;
  margin-top: 13px;
  flex-wrap: wrap;
}
.affiliation-row strong {
  font-size: 13px;
  letter-spacing: -0.2px;
  font-weight: 550;
  color: #66758a;
}
.affiliation-slash {
  font-size: 12px;
  color: #ced6e0;
}
.affiliation-row .inline-link {
  font-size: 10px;
  margin-left: 5px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.75fr;
  border-top: 1px solid #dbe4f1;
  padding-top: 23px;
  gap: 24px;
}
.hero-metrics > div {
  border-right: 1px solid #dee6f2;
  padding-right: 20px;
}
.metric-label {
  font: 8px var(--mono);
  letter-spacing: 1.15px;
  color: #76849b;
}
.hero-metrics strong {
  display: block;
  font-weight: 550;
  font-size: 35px;
  letter-spacing: -1.5px;
  margin-top: 7px;
  line-height: 1.2;
}
.hero-metrics strong span {
  font-size: 19px;
  font-weight: 450;
  letter-spacing: -0.3px;
  color: var(--blue);
}
.hero-metrics p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.explore-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  font-size: 11px;
  color: var(--blue);
}
.scroll-arrow {
  display: grid;
  place-items: center;
  border: 1px solid var(--blue-border);
  height: 38px;
  width: 38px;
  border-radius: 50%;
  font-size: 20px;
  transition: transform 0.2s;
}
.explore-link:hover .scroll-arrow {
  transform: translateY(5px);
}
.hero-enter {
  animation: enter 0.9s both;
}
.hero-copy > .hero-enter:nth-child(2) {
  animation-delay: 0.1s;
}
.hero-copy > .hero-enter:nth-child(3) {
  animation-delay: 0.2s;
}
.hero-copy > .hero-enter:nth-child(4) {
  animation-delay: 0.3s;
}
.hero-art.hero-enter {
  animation-delay: 0.25s;
}
.byline.hero-enter {
  animation-delay: 0.4s;
}
.hero-metrics.hero-enter {
  animation-delay: 0.5s;
}
.hero-chart-line {
  stroke-dasharray: 510;
  stroke-dashoffset: 510;
  animation: draw 1.8s 0.65s ease-out forwards;
}
.endpoint-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 3s ease-in-out infinite;
}
.method-section {
  background: #fff;
}
.method-workbench {
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 12px 42px -24px #204d9035;
  overflow: hidden;
  background: #fff;
}
.workbench-top {
  min-height: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 23px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}
.tabs {
  display: flex;
  gap: 6px;
}
.panorama-workbench .method-tabbar {
  padding: 10px 20px;
}
#method-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: 10px;
}
#method-tabs button {
  min-width: 0;
  min-height: 56px;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
}
#method-tabs button span {
  font: 700 0.975rem/1.4 var(--sans);
  color: #526580;
}
#method-tabs button[aria-selected="true"] {
  background: var(--blue-light);
  border-color: #adc8f3;
  box-shadow: 0 2px 8px #0052d90c;
}
#method-tabs button[aria-selected="true"] span {
  color: var(--blue);
}
#panel-loop,
#panel-credit,
.loop-layout > div,
.credit-layout > div {
  min-width: 0;
}
@media (max-width: 649px) {
  .panorama-workbench .method-tabbar {
    padding: 8px;
  }
  #method-tabs {
    gap: 4px;
  }
  #method-tabs button {
    min-height: 82px;
    padding: 9px 4px;
    gap: 5px;
    flex-direction: column;
    justify-content: center;
  }
  #method-tabs button span {
    font-size: 0.925rem;
    line-height: 1.4;
  }
  .loop-layout,
  .credit-layout {
    min-height: 0;
  }
}
.tabs button {
  border: 1px solid transparent;
  background: transparent;
  color: #8c98a9;
  font: 10px var(--mono);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 6px;
}
.tabs button span {
  font: 12px var(--sans);
  color: #67758a;
}
.tabs button[aria-selected="true"] {
  background: #fff;
  border-color: #dde6f4;
  box-shadow: 0 2px 4px #1d3c6c06;
  color: var(--blue);
}
.tabs button[aria-selected="true"] span {
  color: var(--blue);
  font-weight: 550;
}
.workbench-label {
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #92a0b3;
}
.panel-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px 0;
  gap: 16px;
}
.panel-caption p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.panel-caption a,
.player-note a {
  font-size: 10px;
  color: var(--blue);
  white-space: nowrap;
}
.trajectory-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
#trajectory-frame {
  width: 100%;
  height: 735px;
  border: 0;
  display: block;
  min-width: 710px;
}
.player-note {
  padding: 16px 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid #f0f3f8;
  background: #fbfcfe;
}
.takeaway-row {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 27px 0 0;
}
.takeaway-row > span {
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: var(--blue);
  white-space: nowrap;
}
.takeaway-row p {
  font-size: 12px;
  color: #5d6e86;
}
.takeaway-row > a {
  margin-left: auto;
  font-size: 24px;
  color: var(--blue);
}
.loop-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 614px;
}
.loop-diagram {
  padding: 29px 36px;
  background: linear-gradient(140deg, #fafcff, #f5f8fe);
  border-right: 1px solid var(--line);
}
.loop-diagram > .mini-eyebrow {
  margin-bottom: 20px;
  font-size: 8px;
}
.loop-path {
  position: relative;
}
.loop-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  text-align: left;
  background: #ffffffc9;
  transition: all 0.35s;
}
.loop-node.active {
  border-color: var(--blue);
  box-shadow: 0 3px 17px #0052d918;
  background: #fff;
}
.loop-node.active .node-index {
  color: #fff;
  background: var(--blue);
}
.node-index {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  background: var(--blue-light);
  color: var(--blue);
  font: 10px var(--mono);
  border-radius: 6px;
  transition: all 0.3s;
}
.loop-node strong {
  display: block;
  font-size: 12px;
}
.loop-node small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  color: var(--muted);
}
.node-badge {
  margin-left: auto;
  font: 7px var(--mono);
  letter-spacing: 0.5px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 6px;
  border-radius: 4px;
}
.node-badge.outline {
  background: #f3f5f8;
  color: var(--muted);
}
.node-icon {
  margin-left: auto;
  color: var(--blue);
  font-size: 23px;
}
.flow-arrow {
  height: 25px;
  display: block;
  text-align: center;
  position: relative;
  color: #a4bbdc;
  font-size: 19px;
  line-height: 25px;
}
.flow-arrow em {
  font-style: normal;
  font: 8px var(--mono);
  position: absolute;
  left: calc(50% + 14px);
  top: 8px;
  white-space: nowrap;
}
.loop-inspector {
  padding: 34px;
}
.loop-inspector > .mini-eyebrow {
  display: flex;
  justify-content: space-between;
}
.loop-visual {
  display: grid;
  align-items: center;
  min-height: 230px;
  margin: 20px 0 14px;
}
.loop-visual .parameter-cards {
  margin-top: 0;
}
.discovery-visual {
  margin: 0;
  padding: 10px;
  background: #f8faff;
  border: 1px solid #dce6f3;
  border-radius: 12px;
}
.discovery-visual svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font: 15px var(--sans);
  fill: #687a93;
}
.discovery-model rect {
  fill: #fff;
  stroke: #203654;
  stroke-width: 2.5;
}
.discovery-model text {
  fill: #203654;
  font-size: 20px;
  font-weight: 700;
}
.discovery-branches path,
.discovery-trace,
.discovery-verdict path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.discovery-branches path {
  stroke: #7c94b5;
  stroke-width: 2;
  stroke-dasharray: 100;
}
.discovery-harness {
  fill: #fff;
  stroke: #c3cfdf;
  stroke-width: 2;
}
.discovery-trace {
  stroke: #7388a4;
  stroke-width: 3.5;
  stroke-dasharray: 100;
}
.discovery-selected .discovery-harness,
.discovery-selected .discovery-trace {
  stroke: var(--blue);
}
.discovery-selected > text {
  fill: var(--blue);
  font-weight: 700;
}
.discovery-selection {
  fill: #eaf2ff;
  stroke: #9cbeef;
  stroke-width: 1;
}
.discovery-verdict path {
  stroke-width: 3.5;
}
.discovery-verdict text {
  font: 9px var(--mono);
  letter-spacing: 0.5px;
}
.discovery-fail path {
  stroke: #97a5b8;
}
.discovery-pass path {
  stroke: #228660;
}
.discovery-pass text {
  fill: #228660;
}
.discovery-rejected {
  opacity: 0.5;
}
.discovery-visual figcaption {
  display: grid;
  gap: 5px;
  padding: 10px 4px 3px;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.discovery-result {
  color: var(--blue);
  font-size: 11px;
}
.discovery-active .discovery-model rect {
  animation: discovery-model var(--discovery-duration, 3600ms) linear both;
}
.discovery-active .discovery-branches path {
  animation: discovery-branch var(--discovery-duration, 3600ms) linear both;
}
.discovery-active .discovery-trace {
  animation: discovery-trace var(--discovery-duration, 3600ms) linear both;
}
.discovery-active .discovery-verdict {
  animation: discovery-verify var(--discovery-duration, 3600ms) linear both;
}
.discovery-active .discovery-selection,
.discovery-active .discovery-result {
  animation: discovery-select var(--discovery-duration, 3600ms) linear both;
}
.discovery-active .discovery-rejected {
  animation: discovery-reject var(--discovery-duration, 3600ms) linear both;
}
@keyframes discovery-model {
  0%, 28% { fill: #fff; stroke: #203654; }
  10%, 20% { fill: #dceaff; stroke: #0052d9; }
}
@keyframes discovery-branch {
  0%, 12% { stroke-dashoffset: 100; }
  32%, 100% { stroke-dashoffset: 0; }
}
@keyframes discovery-trace {
  0%, 27% { stroke-dashoffset: 100; }
  54%, 100% { stroke-dashoffset: 0; }
}
@keyframes discovery-verify {
  0%, 54% { opacity: 0; }
  66%, 100% { opacity: 1; }
}
@keyframes discovery-select {
  0%, 68% { opacity: 0; }
  82%, 100% { opacity: 1; }
}
@keyframes discovery-reject {
  0%, 68% { opacity: 1; }
  82%, 100% { opacity: 0.5; }
}
.parameter-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 22px;
}
.parameter-cards > div {
  padding: 18px 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafcff;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.parameter-cards > div.updating {
  border-color: #0052d950;
  background: var(--blue-light);
}
.parameter-cards span {
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
}
.parameter-cards strong {
  display: block;
  font-size: 15px;
  margin-top: 10px;
  font-weight: 550;
}
.parameter-bars {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 26px;
  margin-top: 15px;
}
.parameter-bars i {
  width: 7px;
  height: 13px;
  background: #b3c9eb;
  border-radius: 2px;
}
.parameter-bars i:nth-child(2n) {
  height: 22px;
}
.parameter-bars i:nth-child(3n) {
  height: 17px;
}
.updating .parameter-bars i {
  background: var(--blue);
  animation: parameter 1s ease-in-out infinite alternate;
}
.updating .parameter-bars i:nth-child(2n) {
  animation-delay: 0.3s;
}
.calibration-count {
  display: flex;
  gap: 9px;
  height: 42px;
  align-items: center;
  opacity: 0.35;
}
.calibration-count span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 10px var(--mono);
}
.calibration-count.active {
  opacity: 1;
}
.calibration-count.active span {
  color: var(--blue);
  background: var(--blue-light);
  animation: calibrate 2s infinite;
}
.calibration-count.active span:nth-child(2) {
  animation-delay: 0.3s;
}
.calibration-count.active span:nth-child(3) {
  animation-delay: 0.6s;
}
.calibration-count.active span:nth-child(4) {
  animation-delay: 0.9s;
}
.loop-inspector h3 {
  font-size: 23px;
  line-height: 1.3;
  margin-top: 8px;
}
.loop-inspector > p:not(.evidence-note) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  min-height: 91px;
}
.loop-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}
.loop-controls .button {
  font-size: 11px;
  padding: 10px 13px;
  min-height: 38px;
}
.evidence-note {
  font-size: 10px;
  line-height: 1.75;
  color: #728198;
}
.loop-inspector > .inline-link {
  display: inline-block;
  margin-top: 14px;
}
.credit-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 614px;
}
.credit-card,
.reward-card {
  padding: 33px;
}
.credit-card {
  border-right: 1px solid var(--line);
}
.pill {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 4px;
  font: 8px var(--mono);
  letter-spacing: 0.8px;
  color: var(--blue);
  background: var(--blue-light);
}
.credit-layout h3 {
  font-size: 29px;
  line-height: 1.2;
  margin-top: 20px;
  letter-spacing: -1px;
}
.credit-layout h3 + p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
.token-timeline {
  display: grid;
  gap: 0;
  margin-top: 26px;
}
.credit-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font: 7px/1.6 var(--mono);
  letter-spacing: 0.3px;
}
.credit-legend > span:last-child {
  text-align: right;
}
.token-turn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 12px;
  border: 1px solid #d7e4f7;
  border-radius: 8px;
  background: #fafcff;
}
.turn-caption {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.turn-caption > span {
  font: 9px var(--mono);
  color: var(--blue);
}
.tokens {
  display: flex;
  align-items: center;
  gap: 5px;
}
.tokens b {
  width: 30px;
  height: 32px;
  border: 1px solid #a7c3f1;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  border-radius: 4px;
  font: 11px var(--mono);
  color: var(--blue);
}
.tokens i {
  color: #7f9fcf;
  font: 12px var(--mono);
}
.token-turn small {
  font-size: 9px;
  color: var(--muted);
}
.turn-weight {
  display: grid;
  align-content: center;
  gap: 3px;
  text-align: right;
  color: var(--blue);
  font-size: 12px;
}
.turn-boundary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 0;
  border-radius: 5px;
  color: var(--blue);
  font-size: 12px;
}
.turn-boundary > strong {
  font-size: 18px;
  line-height: 1;
}
.turn-boundary > small {
  font: 7px var(--mono);
  letter-spacing: 0.3px;
}
.credit-route {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 12px;
}
.credit-route > span:first-child {
  font: 9px var(--mono);
}
.credit-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 17px 0 20px;
  flex-wrap: wrap;
}
.credit-controls .button {
  font-size: 10px;
  padding: 9px 11px;
  min-height: 34px;
}
.reward-formulas {
  margin: 23px 0 15px;
}
.reward-formulas > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px 12px;
  background: #fafcff;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.reward-formulas .reward-label {
  color: var(--blue);
  font: 9px/1.6 var(--mono);
}
.math-display {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0;
  font-size: 13px;
}
.math-display .katex-display {
  margin: 0;
  text-align: left;
}
.math-display .katex-display > .katex {
  text-align: left;
}
.reward-formulas small {
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted);
}
.reward-definitions {
  margin-bottom: 22px;
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
}
.reward-comparison > span {
  font: 7px var(--mono);
  letter-spacing: 0.65px;
  color: #77869d;
}
.reward-comparison > div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}
.reward-comparison label {
  font: 10px var(--mono);
}
.reward-track {
  flex: 1;
  height: 10px;
  border-radius: 2px;
  background: #f0f3f8;
}
.reward-track i {
  display: block;
  width: var(--bar);
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
}
.reward-comparison strong {
  font: 11px var(--mono);
}
.reward-card > .evidence-note {
  margin-top: 25px;
}
.results-section {
  background: var(--surface);
  border-block: 1px solid #ecf0f5;
}
.results-section .section-heading {
  gap: 32px;
}
.results-section h2 {
  font-size: clamp(32px, 3vw, 46px);
}
.result-key {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  font-size: 9px;
  color: var(--muted);
  flex-wrap: wrap;
}
.result-key span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.result-key i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  display: block;
}
.dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  align-items: stretch;
}
.chart-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  padding: 21px 16px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.chart-card:hover {
  box-shadow: 0 12px 32px -17px #1b458533;
  transform: translateY(-3px);
}
.chart-card > header {
  min-height: 122px;
}
.chart-card .mini-eyebrow {
  font-size: 7px;
  letter-spacing: 0.9px;
}
.chart-card h3 {
  font-size: 15px;
  letter-spacing: -0.4px;
  line-height: 1.5;
  margin-top: 9px;
}
.chart-metric {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -1.8px;
  color: var(--blue);
  margin-top: 12px;
  display: flex;
  align-items: baseline;
}
.chart-metric > span {
  font-size: 18px;
  margin-left: 3px;
}
.chart-metric > small {
  margin-left: auto;
  font: 9px var(--mono);
  padding: 5px 6px;
  background: var(--blue-light);
  border-radius: 4px;
  letter-spacing: 0;
}
.chart {
  width: 100%;
  min-width: 0;
}
.stage-chart {
  height: 325px;
}
.chart-caption {
  padding: 16px 0 19px;
  margin-top: auto;
  border-top: 1px solid #edf1f7;
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 72px;
}
.combined-card > header {
  min-height: 70px;
}
.mini-chart-heading {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 10px;
  margin-top: 8px;
}
.mini-chart-heading strong {
  font: 9px var(--mono);
  color: var(--blue);
  font-weight: 500;
  letter-spacing: -0.3px;
}
.compact-chart {
  height: 165px;
}
.frontier-card > header {
  min-height: 69px;
}
.segmented {
  display: flex;
  border: 1px solid var(--line);
  padding: 3px;
  gap: 3px;
  border-radius: 5px;
  background: #f7f9fc;
  align-self: flex-start;
  margin: 0 0 10px;
}
.segmented button {
  font-size: 9px;
  padding: 5px 14px;
  border: 0;
  background: transparent;
  border-radius: 3px;
  color: #7a889d;
}
.segmented button[aria-pressed="true"] {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 5px #18396915;
}
.frontier-chart {
  height: 334px;
}
.results-footnote {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  padding: 23px 3px 0;
}
.results-footnote p {
  font-size: 10px;
  color: #7a8799;
  max-width: 850px;
}
.results-footnote p strong {
  color: #50617b;
  font-weight: 550;
}
.results-footnote > div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 150px;
}
.results-footnote .inline-link {
  font-size: 10px;
}
.data-table-panel {
  margin-top: 25px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}
.table-scroll {
  overflow-x: auto;
  margin-bottom: 20px;
}
.data-table-panel table {
  border-collapse: collapse;
  font: 11px var(--mono);
  width: 100%;
  text-align: right;
  white-space: nowrap;
}
.data-table-panel caption {
  text-align: left;
  font: 11px var(--sans);
  color: var(--muted);
  padding: 5px 0 12px;
}
.data-table-panel th,
.data-table-panel td {
  padding: 12px 10px;
  border-bottom: 1px solid #e8edf5;
}
.data-table-panel th:first-child,
.data-table-panel td:first-child {
  text-align: left;
}
.data-table-panel th {
  font-weight: 500;
  background: #f6f9fe;
  color: #60718a;
}
.data-table-panel tr.ours {
  color: var(--blue);
  background: #f5f8ff;
}
.result-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 48px;
  padding-top: 27px;
  border-top: 1px solid #dde5f0;
}
.result-bottom > div > p {
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.4px;
  margin-top: 10px;
  color: #7a8799;
}
.result-bottom > div > p > strong {
  font-weight: 500;
  color: var(--ink);
}
.cases-section {
  background: #fff;
}
.case-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.case-tabs button {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 19px 23px;
  transition: all 0.25s;
}
.case-tabs button > span {
  font: 8px var(--mono);
  color: #8d99aa;
  letter-spacing: 1px;
}
.case-tabs button > strong {
  font-size: 12px;
  font-weight: 550;
}
.case-tabs button > small {
  margin-left: auto;
  font: 10px var(--mono);
  color: #8693a6;
  white-space: nowrap;
}
.case-tabs button[aria-selected="true"] {
  background: #f6f9ff;
  border-color: #0052d965;
}
.case-tabs button[aria-selected="true"] > span,
.case-tabs button[aria-selected="true"] > small {
  color: var(--blue);
}
.case-workbench {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 40px;
  align-items: stretch;
}
.case-story {
  padding: 19px 0;
}
.case-story > .mini-eyebrow {
  font-size: 8px;
  letter-spacing: 0.9px;
}
.case-story h3 {
  font-size: 33px;
  line-height: 1.2;
  margin-top: 15px;
  letter-spacing: -1px;
}
.case-story > p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 330px;
}
.case-progress {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.case-progress > span {
  font: 8px var(--mono);
  color: #7a879b;
  letter-spacing: 0.6px;
}
.case-progress > strong {
  display: block;
  color: var(--blue);
  font-weight: 550;
  font-size: 37px;
  letter-spacing: -1.5px;
  margin-top: 7px;
}
.case-progress > strong > span {
  font-size: 20px;
  margin-left: 3px;
}
.case-score-track {
  height: 4px;
  border-radius: 3px;
  background: #eaf0f8;
  max-width: 315px;
  margin: 10px 0;
}
.case-score-track i {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 3px;
  transition: width 0.65s;
}
.case-progress > p {
  font-size: 10px;
  color: var(--muted);
  min-height: 36px;
  max-width: 330px;
}
.case-milestones {
  margin: 13px 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}
.case-milestones button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  border-radius: 5px;
  font-size: 10px;
  color: #7c899e;
}
.case-milestones button::before {
  content: "";
  height: 5px;
  width: 5px;
  border: 1px solid #b8c8dd;
  border-radius: 50%;
  flex-shrink: 0;
}
.case-milestones button[aria-current] {
  background: var(--blue-light);
  color: var(--blue);
}
.case-milestones button[aria-current]::before {
  background: var(--blue);
  border-color: var(--blue);
}
.case-milestones button strong {
  font: 10px var(--mono);
  margin-left: auto;
}
.terminal-player {
  background: #101b2e;
  border: 1px solid #233653;
  border-radius: 12px;
  box-shadow: 0 15px 35px -18px #0d234649;
  color: #dfe7f4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.terminal-top {
  height: 49px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  background: #152238;
  border-bottom: 1px solid #26354e;
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #50617d;
}
.window-dots i:first-child {
  background: #6f829f;
}
.window-dots i:nth-child(2) {
  background: #5d7190;
}
.terminal-top > #terminal-file {
  font: 9px var(--mono);
  color: #8598b6;
}
.terminal-recorded {
  font: 7px var(--mono);
  letter-spacing: 0.8px;
  color: #7389aa;
  margin-left: auto;
}
.terminal-stage {
  display: flex;
  justify-content: space-between;
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #739ddc;
  margin: 22px 24px 0;
}
.terminal-stage > span:first-child {
  color: #a9c9ff;
  border: 1px solid #314b70;
  border-radius: 4px;
  padding: 5px 8px;
}
.terminal-stage > span:last-child {
  padding-top: 5px;
}
.terminal-player pre {
  margin: 0;
  padding: 22px 25px 18px;
  font: 11px/1.95 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 240px;
  flex: 1;
  color: #cad7ea;
  overflow: auto;
}
.terminal-player pre > span {
  display: block;
  min-height: 1.95em;
}
.terminal-player .log-comment {
  color: #7186a6;
}
.terminal-player .log-fail {
  color: #dab1a8;
}
.terminal-player .log-pass {
  color: #9dc4ff;
}
.terminal-player .log-code {
  color: #c2d7fc;
}
.terminal-player .log-highlight {
  color: #d7e7ff;
}
.terminal-insight {
  padding: 18px 24px;
  background: #17253c;
  border-block: 1px solid #243954;
  min-height: 99px;
}
.terminal-insight > span {
  font: 8px var(--mono);
  letter-spacing: 1px;
  color: #7399ce;
}
.terminal-insight > p {
  font-size: 11px;
  line-height: 1.7;
  color: #b7c7de;
  margin-top: 8px;
}
.terminal-controls {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 20px;
}
.terminal-controls button {
  background: transparent;
  border: 1px solid #354965;
  color: #b9d3fc;
  border-radius: 4px;
  padding: 8px 11px;
  font: 10px var(--mono);
}
.terminal-controls button:hover {
  background: #203655;
}
.terminal-controls > div {
  display: flex;
  gap: 5px;
}
.terminal-controls > span {
  font: 8px var(--mono);
  color: #7388a8;
  margin-left: auto;
}
.case-evidence {
  font-size: 10px;
  color: #8490a1;
  margin-top: 27px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.evidence-symbol {
  width: 15px;
  height: 15px;
  border: 1px solid #c1ccd9;
  border-radius: 50%;
  font:
    10px Georgia,
    serif;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.citation-section {
  background: linear-gradient(130deg, #f6f9ff, #fafbfc);
  border-top: 1px solid #e5ebf5;
  padding: 97px 0 24px;
  min-height: 80svh;
  display: flex;
  align-items: center;
}
.citation-top {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}
.citation-top h2 {
  margin-top: 22px;
}
.citation-top > div > p {
  font-size: 13px;
  color: var(--muted);
  margin: 23px 0;
}
.citation-top .button {
  margin-top: 2px;
}
.citation-card {
  border: 1px solid #dde6f4;
  background: #ffffffcc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px -22px #12346530;
  align-self: center;
}
.citation-card > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 23px;
  border-bottom: 1px solid #e6ecf5;
}
.copy-button {
  display: flex;
  gap: 15px;
  border: 1px solid #e0e7f2;
  background: #fff;
  border-radius: 5px;
  padding: 8px 11px;
  color: var(--blue);
  font-size: 10px;
}
.copy-button:hover {
  background: var(--blue-light);
}
.citation-card pre {
  margin: 0;
  padding: 23px;
  font: 11px/1.9 var(--mono);
  color: #4e6382;
  overflow-x: auto;
  tab-size: 2;
}
.citation-card > p {
  font-size: 9px !important;
  margin: 0 !important;
  padding: 13px 23px;
  border-top: 1px solid #e6ecf5;
  color: #7a889c !important;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #dbe4f1;
  padding-top: 30px;
  margin-top: 80px;
}
.footer > p {
  color: var(--muted);
  font-size: 11px;
}
.footer nav {
  display: flex;
  gap: 26px;
  font-size: 10px;
  color: #556b8e;
}
.footer a:hover {
  color: var(--blue);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  font: 8px var(--mono);
  color: #8896aa;
  letter-spacing: 0.25px;
}
.noscript-note {
  padding: 20px;
  text-align: center;
  background: var(--blue-light);
  font-size: 13px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 35px;
  max-width: 610px;
  width: calc(100% - 36px);
  max-height: calc(100svh - 60px);
  color: var(--ink);
  box-shadow: 0 20px 100px #10234640;
}
dialog::backdrop {
  background: #152c5550;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: #f2f5fa;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  font-size: 21px;
  color: #5d718f;
}
dialog h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 20px 0 16px;
}
dialog p {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
dialog ul {
  padding-left: 17px;
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}
dialog a {
  color: var(--blue);
  overflow-wrap: anywhere;
}
dialog .dialog-note {
  font-size: 10px;
  padding: 13px;
  background: #f5f8ff;
  border-radius: 6px;
}
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(0.75);
    opacity: 0.09;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.17;
  }
}
@keyframes title-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes glow-drift {
  to {
    transform: translate(-50px, 35px);
  }
}
@keyframes parameter {
  to {
    transform: scaleY(0.45);
  }
}
@keyframes calibrate {
  0%,
  70%,
  100% {
    background: #ebf2ff;
    color: #0052d9;
  }
  30% {
    background: #0052d9;
    color: white;
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 160px;
  }
  .hero-layout {
    min-height: 425px;
  }
  .hero-metrics {
    padding-top: 30px;
  }
  .byline {
    margin-top: 50px;
  }
  .container {
    width: min(1320px, 86%);
  }
  .screen:not(.hero) {
    padding-top: 115px;
    padding-bottom: 115px;
  }
  .citation-section {
    padding-bottom: 30px !important;
  }
  .stage-chart {
    height: 345px;
  }
  .frontier-chart {
    height: 354px;
  }
  .compact-chart {
    height: 175px;
  }
}
@media (max-width: 1199px) {
  .hero-layout {
    gap: 20px;
    grid-template-columns: 1.2fr 1fr;
  }
  .hero-wordmark {
    letter-spacing: -4px;
  }
  .resource-actions {
    gap: 6px;
  }
  .resource-actions .button {
    padding: 10px 12px;
    font-size: 11px;
  }
  .resource-actions .text-button {
    padding-left: 0;
  }
  .hero-art {
    margin-left: 15px;
  }
  .evolution-card {
    padding: 22px 20px 16px;
  }
  .art-number {
    font-size: 59px;
  }
  .art-number > .art-gain {
    font-size: 8px;
  }
  .floating-label {
    padding: 9px 12px;
  }
  .float-rewrite {
    left: -25px;
  }
  .floating-label small {
    font-size: 8px;
  }
  .floating-label strong {
    font-size: 11px;
  }
  .art-bottomline {
    font-size: 6px;
  }
  .affiliation-row {
    gap: 16px;
  }
  .authors > span {
    margin: 0 6px;
  }
  .dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .chart-card {
    padding: 23px 24px 0;
  }
  .chart-card h3 {
    font-size: 18px;
  }
  .chart-card .mini-eyebrow {
    font-size: 8px;
  }
  .stage-chart {
    height: 300px;
  }
  .frontier-chart {
    height: 350px;
  }
  .compact-chart {
    height: 173px;
  }
  .combined-card > header {
    min-height: 78px;
  }
  .section-heading {
    gap: 30px;
  }
  .section-heading > p,
  .section-heading > div + div {
    flex-basis: 330px;
  }
  .section-heading h2 {
    font-size: 39px;
  }
  .case-tabs button {
    gap: 10px;
    padding: 18px 15px;
  }
  .case-tabs button > strong {
    font-size: 11px;
  }
  .case-tabs button > small {
    font-size: 9px;
  }
  .credit-card,
  .reward-card {
    padding: 27px;
  }
  .credit-layout {
    grid-template-columns: 1fr 1fr;
  }
  .terminal-recorded {
    display: none;
  }
  .terminal-controls > span {
    font-size: 7px;
  }
  .citation-top {
    gap: 50px;
  }
  .site-header nav {
    gap: 21px;
  }
}
@media (max-width: 899px) {
  .site-header {
    padding: 0 5%;
    height: 65px;
  }
  .site-header nav {
    gap: 17px;
  }
  .site-header nav a {
    font-size: 10px;
  }
  .header-paper {
    padding: 9px 11px;
    font-size: 10px;
    gap: 9px;
  }
  .brand {
    font-size: 16px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .page-rail {
    display: none;
  }
  .container,
  .container.wide {
    width: 90%;
  }
  .hero {
    padding-top: 111px;
  }
  .hero-layout {
    grid-template-columns: 1fr 1fr;
  }
  .hero-wordmark {
    font-size: 54px;
    letter-spacing: -3.5px;
  }
  .paper-subtitle {
    font-size: 21px;
  }
  .desktop-break {
    display: none;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    gap: 8px;
  }
  .hero-description {
    font-size: 13px;
    margin-top: 18px;
  }
  .hero-art {
    padding-right: 0;
    margin-left: 16px;
  }
  .art-number {
    font-size: 52px;
  }
  .art-number > .art-gain {
    padding: 4px;
    font-size: 7px;
  }
  .art-topline {
    font-size: 7px;
    gap: 7px;
  }
  .evolution-card {
    padding: 18px 17px;
  }
  .floating-label > span {
    height: 26px;
    width: 26px;
    font-size: 21px;
  }
  .float-rewrite {
    top: -19px;
    left: -17px;
  }
  .float-refine {
    right: -5px;
    bottom: -10px;
  }
  .floating-label {
    gap: 8px;
  }
  .floating-label small {
    font-size: 7px;
  }
  .floating-label strong {
    font-size: 10px;
  }
  .art-caption {
    font-size: 9px;
  }
  .byline {
    margin-top: 42px;
  }
  .affiliation-row {
    gap: 13px;
  }
  .affiliation-row strong {
    font-size: 11px;
  }
  .affiliation-row .inline-link {
    font-size: 9px;
  }
  .hero-metrics {
    gap: 15px;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .hero-metrics > div:last-of-type {
    border: 0;
  }
  .hero-metrics strong {
    font-size: 31px;
  }
  .metric-label {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .hero-metrics p {
    font-size: 9px;
  }
  .explore-link {
    grid-column: 1/-1;
    justify-content: center;
    margin: 10px 0 0;
  }
  .scroll-arrow {
    height: 28px;
    width: 28px;
    font-size: 16px;
  }
  .screen:not(.hero) {
    padding: 80px 0;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  .section-heading h2,
  .results-section h2 {
    font-size: 39px;
  }
  .section-heading > p,
  .section-heading > div + div {
    flex: auto;
    max-width: 600px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .workbench-label {
    display: none;
  }
  .workbench-top {
    padding: 10px 15px;
  }
  .tabs {
    width: 100%;
    justify-content: space-between;
  }
  .tabs button {
    padding: 10px 13px;
  }
  .tabs button span {
    font-size: 11px;
  }
  .loop-layout {
    grid-template-columns: 1fr 1fr;
  }
  .loop-diagram {
    padding: 27px 20px;
  }
  .loop-inspector {
    padding: 27px 22px;
  }
  .loop-node {
    padding: 14px 11px;
    gap: 8px;
  }
  .loop-node strong {
    font-size: 10px;
  }
  .loop-node small {
    font-size: 8px;
  }
  .node-badge {
    font-size: 6px;
    padding: 4px;
  }
  .flow-arrow em {
    font-size: 6px;
  }
  .parameter-cards > div {
    padding: 14px 10px;
  }
  .parameter-cards strong {
    font-size: 12px;
  }
  .parameter-bars {
    gap: 4px;
  }
  .parameter-bars i {
    width: 5px;
  }
  .loop-inspector h3 {
    font-size: 22px;
  }
  .loop-inspector > p:not(.evidence-note) {
    font-size: 11px;
    min-height: 100px;
  }
  .loop-controls {
    flex-wrap: wrap;
  }
  .loop-controls .button {
    font-size: 10px;
  }
  .credit-layout {
    grid-template-columns: 1fr;
  }
  .credit-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .credit-card,
  .reward-card {
    padding: 30px;
  }
  .results-footnote {
    gap: 25px;
  }
  .result-bottom {
    align-items: flex-start;
    gap: 25px;
    flex-direction: column;
  }
  .case-workbench {
    gap: 26px;
    grid-template-columns: 0.7fr 1.3fr;
  }
  .case-story h3 {
    font-size: 28px;
  }
  .case-tabs button {
    flex-wrap: wrap;
    column-gap: 9px;
    row-gap: 8px;
  }
  .case-tabs button > span {
    font-size: 7px;
  }
  .case-tabs button > small {
    margin-left: 0;
  }
  .case-tabs button > strong {
    font-size: 12px;
  }
  .terminal-top {
    padding: 0 16px;
    gap: 10px;
  }
  .terminal-top > #terminal-file {
    font-size: 8px;
  }
  .terminal-player pre {
    font-size: 10px;
    padding: 20px 18px;
  }
  .terminal-controls {
    padding: 14px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .terminal-controls > span {
    margin-left: 0;
  }
  .terminal-controls button {
    font-size: 9px;
  }
  .terminal-insight {
    padding: 16px 18px;
  }
  .case-story > p {
    font-size: 11px;
  }
  .citation-top {
    gap: 32px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .citation-top h2 {
    font-size: 35px;
  }
  .citation-card pre {
    font-size: 9px;
    padding: 18px;
  }
  .citation-card > div {
    padding: 15px 18px;
  }
  .citation-card > p {
    padding: 12px 18px;
  }
  .footer {
    gap: 16px;
    margin-top: 60px;
    flex-wrap: wrap;
  }
  .footer > p {
    font-size: 10px;
  }
  .footer nav {
    gap: 17px;
  }
  .citation-section {
    padding-bottom: 25px !important;
  }
}
@media (max-width: 649px) {
  html {
    scroll-padding-top: 75px;
  }
  .site-header {
    height: 62px;
  }
  .brand {
    font-size: 16px;
  }
  .header-paper {
    margin-left: auto;
    margin-right: 15px;
    font-size: 10px;
    padding: 8px 10px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 8px 0 8px 8px;
  }
  .menu-toggle span {
    width: 18px;
    height: 1px;
    background: var(--ink);
  }
  .site-header nav {
    position: absolute;
    top: 61px;
    left: 0;
    right: 0;
    background: #fffffff7;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 18px 5%;
    gap: 0;
    justify-content: space-between;
  }
  .site-header nav.is-open {
    display: flex;
  }
  .site-header nav a {
    font-size: 10px;
    padding: 8px 0;
  }
  .hero {
    padding: 104px 0 30px;
    min-height: auto;
  }
  .hero-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }
  .hero-wordmark {
    font-size: clamp(51px, 11.8vw, 75px);
    letter-spacing: -3.8px;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .paper-subtitle {
    font-size: 22px;
    line-height: 1.4;
    max-width: 440px;
  }
  .hero-description {
    font-size: 13px;
    margin-top: 21px;
  }
  .resource-actions {
    margin-top: 23px;
    gap: 7px;
  }
  .resource-actions .button {
    font-size: 10px;
    padding: 10px 12px;
    min-height: 39px;
  }
  .resource-actions .button svg {
    width: 15px;
    height: 15px;
  }
  .resource-actions .button-meta {
    font-size: 8px;
  }
  .resource-actions .text-button {
    padding-left: 2px;
  }
  .hero-art {
    width: 92%;
    margin: 4px auto 0;
    padding: 7px 0 13px;
    max-width: 430px;
  }
  .evolution-card {
    padding: 22px 24px 16px;
  }
  .art-topline {
    font-size: 8px;
  }
  .art-number {
    font-size: 63px;
    margin-top: 24px;
  }
  .art-number > .art-gain {
    font-size: 9px;
    padding: 6px 8px;
  }
  .art-caption {
    font-size: 10px;
  }
  .art-bottomline {
    font-size: 7px;
  }
  .floating-label strong {
    font-size: 10px;
  }
  .floating-label small {
    font-size: 8px;
  }
  .float-rewrite {
    top: -20px;
    left: -14px;
  }
  .float-refine {
    right: -12px;
    bottom: -8px;
  }
  .byline {
    margin-top: 33px;
    padding-top: 21px;
  }
  .authors {
    font-size: 10px;
    line-height: 2.3;
  }
  .authors > span {
    margin: 0 4px;
  }
  .authors sup {
    font-size: 7px;
  }
  .affiliation-row {
    gap: 10px;
    row-gap: 12px;
    margin-top: 16px;
  }
  .affiliation-row strong {
    font-size: 10px;
  }
  .affiliation-slash {
    font-size: 9px;
  }
  .affiliation-row .inline-link {
    margin-left: 0;
    font-size: 9px;
  }
  .hero-metrics {
    padding-top: 20px;
    gap: 10px;
  }
  .hero-metrics > div {
    padding-right: 8px;
  }
  .hero-metrics strong {
    font-size: 25px;
    letter-spacing: -1px;
    margin-top: 9px;
  }
  .hero-metrics strong span {
    font-size: 12px;
  }
  .metric-label {
    font-size: 6px;
    line-height: 1.6;
    display: block;
    min-height: 22px;
    letter-spacing: 0.4px;
  }
  .hero-metrics p {
    font-size: 8px;
    line-height: 1.6;
  }
  .explore-link {
    margin-top: 12px;
    font-size: 10px;
  }
  .screen:not(.hero) {
    padding: 63px 0;
  }
  .section-heading h2,
  .results-section h2 {
    font-size: 33px;
    letter-spacing: -1.3px;
    margin-top: 15px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    gap: 9px;
  }
  .section-number {
    width: 22px;
    height: 22px;
  }
  .section-heading {
    margin-bottom: 27px;
    gap: 18px;
  }
  .section-heading p {
    font-size: 12px;
    line-height: 1.8;
  }
  .method-workbench {
    border-radius: 9px;
  }
  .workbench-top {
    padding: 8px;
    min-height: 57px;
  }
  .tabs {
    gap: 0;
  }
  .tabs button {
    padding: 9px 8px;
    gap: 6px;
    font-size: 8px;
  }
  .tabs button span {
    font-size: 9px;
  }
  .panel-caption {
    padding: 15px 13px 5px;
    align-items: flex-start;
    gap: 10px;
  }
  .panel-caption p {
    font-size: 9px;
    gap: 7px;
    max-width: 180px;
  }
  .panel-caption a {
    font-size: 8px;
    line-height: 1.8;
  }
  .panel-caption .status-dot {
    width: 4px;
    height: 4px;
  }
  .trajectory-scroll {
    background: #fff;
  }
  #trajectory-frame {
    min-width: 710px;
  }
  .player-note {
    padding: 13px;
    flex-direction: column;
    gap: 7px;
    font-size: 8px;
  }
  .player-note a {
    font-size: 9px;
  }
  .takeaway-row {
    gap: 15px;
    align-items: flex-start;
    padding-top: 22px;
  }
  .takeaway-row > span {
    font-size: 7px;
    line-height: 1.8;
  }
  .takeaway-row p {
    font-size: 10px;
  }
  .takeaway-row > a {
    font-size: 19px;
  }
  .mobile-break {
    display: block;
  }
  .loop-layout {
    grid-template-columns: 1fr;
  }
  .loop-diagram {
    padding: 23px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .loop-node {
    padding: 13px;
  }
  .loop-node strong {
    font-size: 11px;
  }
  .loop-node small {
    font-size: 8px;
  }
  .node-badge {
    font-size: 7px;
  }
  .flow-arrow em {
    font-size: 7px;
  }
  .loop-inspector {
    padding: 23px;
  }
  .parameter-cards > div {
    padding: 16px;
  }
  .parameter-cards strong {
    font-size: 15px;
  }
  .parameter-bars {
    gap: 6px;
  }
  .parameter-bars i {
    width: 7px;
  }
  .loop-inspector > p:not(.evidence-note) {
    min-height: 0;
    font-size: 12px;
  }
  .credit-card,
  .reward-card {
    padding: 25px 20px;
  }
  .credit-layout h3 {
    font-size: 27px;
  }
  .credit-layout h3 + p {
    font-size: 11px;
  }
  .token-turn {
    padding: 10px;
    column-gap: 8px;
  }
  .tokens {
    gap: 4px;
  }
  .tokens b {
    width: 25px;
  }
  .turn-weight {
    font-size: 11px;
  }
  .math-display {
    font-size: clamp(10px, 3vw, 11px);
  }
  .credit-controls {
    gap: 12px;
  }
  .evidence-note {
    font-size: 9px;
  }
  .dashboard {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .chart-card {
    padding: 24px 21px 0;
  }
  .chart-card .mini-eyebrow {
    font-size: 8px;
  }
  .chart-card h3 {
    font-size: 19px;
  }
  .chart-card > header {
    min-height: 117px;
  }
  .chart-metric {
    font-size: 40px;
  }
  .chart-metric > small {
    font-size: 10px;
  }
  .stage-chart {
    height: 275px;
  }
  .chart-caption {
    font-size: 11px;
    min-height: 65px;
    padding: 14px 0;
  }
  .combined-card > header,
  .frontier-card > header {
    min-height: 74px;
  }
  .compact-chart {
    height: 170px;
  }
  .mini-chart-heading {
    font-size: 12px;
  }
  .mini-chart-heading strong {
    font-size: 10px;
  }
  .frontier-chart {
    height: 380px;
  }
  .segmented button {
    font-size: 10px;
    padding: 7px 20px;
  }
  .results-footnote {
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
  }
  .results-footnote p {
    font-size: 9px;
  }
  .results-footnote > div {
    flex-direction: row;
    gap: 22px;
  }
  .result-bottom {
    margin-top: 30px;
    padding-top: 23px;
    gap: 23px;
  }
  .result-bottom > div > p {
    font-size: 18px;
  }
  .data-table-panel {
    padding: 13px;
  }
  .data-table-panel table {
    font-size: 9px;
  }
  .case-tabs {
    gap: 9px;
    margin-bottom: 20px;
  }
  .case-tabs button {
    padding: 14px 12px;
    gap: 9px;
    align-content: flex-start;
  }
  .case-tabs button > span {
    width: 100%;
    font-size: 7px;
  }
  .case-tabs button > strong {
    font-size: 11px;
    line-height: 1.5;
  }
  .case-tabs button > small {
    font-size: 9px;
  }
  .case-workbench {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .case-story {
    padding: 5px 0 0;
  }
  .case-story h3 {
    font-size: 29px;
  }
  .case-story > p {
    max-width: none;
    font-size: 12px;
  }
  .case-progress {
    padding-top: 15px;
    margin-top: 17px;
  }
  .case-progress > strong {
    font-size: 34px;
  }
  .case-score-track {
    max-width: none;
  }
  .case-progress > p {
    min-height: 0;
    max-width: none;
  }
  .case-milestones {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin: 16px 0;
  }
  .case-milestones button {
    border-color: #e7ecf4;
    padding: 9px;
    font-size: 9px;
    gap: 8px;
  }
  .case-milestones button strong {
    font-size: 9px;
  }
  .terminal-player {
    min-height: 485px;
  }
  .terminal-top > #terminal-file {
    font-size: 8px;
  }
  .terminal-top {
    padding: 0 15px;
  }
  .terminal-player pre {
    font-size: 10px;
    min-height: 250px;
  }
  .terminal-stage {
    margin: 18px 18px 0;
  }
  .terminal-controls {
    padding: 15px;
    justify-content: space-between;
    gap: 10px;
  }
  .terminal-controls > span {
    font-size: 7px;
  }
  .terminal-controls button {
    font-size: 9px;
  }
  .case-evidence {
    font-size: 9px;
    margin-top: 21px;
  }
  .citation-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .citation-top h2 {
    font-size: 36px;
  }
  .citation-top > div > p {
    font-size: 12px;
    margin: 19px 0;
  }
  .citation-card pre {
    font-size: 10px;
    padding: 20px 16px;
    line-height: 1.95;
  }
  .citation-card > div {
    padding: 15px 16px;
  }
  .citation-card > p {
    font-size: 8px !important;
    padding: 13px 16px;
  }
  .copy-button {
    font-size: 9px;
  }
  .footer {
    margin-top: 45px;
    padding-top: 25px;
    gap: 14px;
  }
  .footer > .brand {
    font-size: 16px;
  }
  .footer > p {
    font-size: 9px;
  }
  .footer nav {
    width: 100%;
    justify-content: space-between;
    font-size: 10px;
    margin-top: 10px;
  }
  .footer-bottom {
    gap: 15px;
    font-size: 7px;
    line-height: 1.7;
    margin-top: 24px;
  }
  .footer-bottom > span:last-child {
    text-align: right;
  }
  dialog {
    padding: 28px 23px;
  }
  dialog h2 {
    font-size: 26px;
  }
  dialog p {
    font-size: 12px;
  }
}
.hero-art .benchmark-pair {
  transform: none;
  padding: 23px 24px 18px;
}
.hero-benchmark {
  padding: 18px 0 8px;
}
.hero-benchmark + .hero-benchmark {
  border-top: 1px solid var(--line);
}
.hero-benchmark header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero-benchmark h2 {
  font-size: 14px;
  letter-spacing: -0.3px;
  font-weight: 600;
}
.hero-benchmark header > span {
  color: var(--blue);
  background: var(--blue-light);
  padding: 5px 7px;
  border-radius: 4px;
  font: 9px var(--mono);
}
.hero-benchmark-score {
  font-size: 39px;
  letter-spacing: -1.8px;
  font-weight: 550;
  margin-top: 6px;
  line-height: 1.2;
}
.hero-benchmark-score > span {
  font-size: 19px;
  color: var(--blue);
  margin-left: 3px;
}
.hero-benchmark-chart {
  width: 100%;
  height: 133px;
  min-width: 0;
}
.hero-art .float-refine {
  top: -15px;
  left: -22px;
  right: auto;
  bottom: auto;
}
.hero-art .float-rewrite {
  top: auto;
  left: auto;
  right: -18px;
  bottom: -16px;
}
.hero-metrics.independent-metrics {
  grid-template-columns: 1fr 1fr 0.7fr;
}
.panorama-workbench .workbench-top {
  padding: 17px 24px;
  gap: 20px;
}
.panorama-workbench .workbench-top p {
  font-size: 12px;
  margin-top: 3px;
}
.panorama-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
#panorama-status {
  font: 9px var(--mono);
  color: var(--muted);
}
.panorama-workbench #trajectory-frame {
  min-width: 760px;
}
.results-row-heading {
  margin: 40px 0 20px;
}
.results-row-heading h3 {
  font-size: 22px;
  margin: 8px 0;
  line-height: 1.3;
}
.results-row-heading p {
  color: var(--muted);
  font-size: 11px;
}
.progression-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.progression-grid .chart-card {
  padding: 22px 12px 0;
}
.progression-grid .chart-card header {
  min-height: 121px;
}
.progression-grid .chart-metric {
  font-size: 33px;
}
.progression-grid .chart-card h3 {
  font-size: 15px;
}
.progression-grid .chart-metric small {
  font-size: 8px;
  padding: 4px 5px;
}
.progression-grid .stage-chart {
  height: 315px;
}
.frontier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.frontier-grid .chart-card {
  padding: 24px 22px 0;
}
.frontier-grid .chart-card h3 {
  font-size: 21px;
}
.frontier-grid .chart-card header {
  min-height: 75px;
}
.frontier-grid .frontier-chart {
  height: 431px;
}
.frontier-grid .chart-caption {
  min-height: 55px;
}
.case-workbench .case-story {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.case-story .case-progress {
  margin-top: auto;
  padding-top: 23px;
  border-top: 0;
}
.case-ladder-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.case-ladder-heading > span {
  font: 9px var(--mono);
  color: var(--muted);
  letter-spacing: 0.8px;
}
.case-ladder-heading > strong {
  font-size: 28px;
  font-weight: 550;
  color: var(--blue);
  letter-spacing: -1px;
}
.case-ladder-heading strong > span {
  font-size: 16px;
  margin-left: 3px;
}
.case-progress .case-ladder-hint {
  font-size: 10px;
  min-height: 0;
  margin: 5px 0 11px;
}
#case-ladder {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  font-family: var(--sans);
}
.ladder-grid {
  stroke: #e7edf6;
  stroke-width: 1;
}
.ladder-baseline {
  stroke: #7ca7e9;
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.ladder-curve {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.3;
  stroke-linejoin: round;
}
.ladder-tick {
  fill: #73829a;
  font-size: 10px;
}
.ladder-stage {
  cursor: pointer;
  outline: none;
}
.ladder-hit {
  fill: #ebf2ff;
  fill-opacity: 0;
  pointer-events: all;
  stroke: transparent;
  stroke-width: 1;
}
.ladder-stage[aria-pressed="true"] .ladder-hit {
  fill-opacity: 0.55;
}
.ladder-stage:hover .ladder-hit {
  fill-opacity: 0.85;
}
.ladder-stage:focus-visible .ladder-hit {
  stroke: var(--blue);
  stroke-dasharray: 3 3;
  fill-opacity: 0.65;
}
.ladder-leader {
  stroke: #c5d7f2;
  stroke-width: 1;
  pointer-events: none;
}
.ladder-marker {
  fill: var(--blue);
  stroke: var(--blue);
  stroke-width: 1.7;
  pointer-events: none;
}
.ladder-marker.final {
  fill: white;
}
.ladder-halo {
  fill: #0052d913;
  opacity: 0;
  pointer-events: none;
}
.ladder-stage[aria-pressed="true"] .ladder-halo {
  opacity: 1;
}
.ladder-value {
  fill: var(--blue);
  font-size: 12px;
  font-weight: 650;
  pointer-events: none;
}
.ladder-milestone {
  fill: #687a96;
  font-size: 10px;
  pointer-events: none;
}
.ladder-stage[aria-pressed="true"] .ladder-milestone {
  fill: var(--blue);
  font-weight: 600;
}
.case-progress .case-milestones {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  padding: 0 2px 0 18px;
  margin: 2px 0 15px;
}
.case-progress .case-milestones li:last-child {
  grid-column: auto;
}
.case-progress .case-milestones button {
  padding: 8px 2px;
  min-height: 34px;
  justify-content: center;
  text-align: center;
  font: 9px var(--mono);
  border-color: transparent;
}
.case-progress .case-milestones button::before,
.case-progress .case-milestones button strong {
  display: none;
}
.case-challenge {
  padding: 15px 16px;
  background: #f5f8ff;
  border: 1px solid #e1eaf9;
  border-radius: 8px;
  min-height: 122px;
}
.case-challenge > span {
  font: 8px var(--mono);
  letter-spacing: 0.8px;
  color: var(--blue);
}
.case-challenge h4 {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  margin: 8px 0 6px;
}
.case-challenge p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.case-progress #case-stage-note {
  margin-top: 12px;
  min-height: 34px;
}
@media (min-width: 900px) {
  .case-workbench {
    grid-template-columns: 0.86fr 1.14fr;
    gap: 34px;
  }
}
@media (min-width: 650px) and (max-width: 899px) {
  .case-workbench {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 22px;
  }
}
@media (max-width: 649px) {
  .case-story .case-progress {
    margin-top: 13px;
    padding-top: 15px;
  }
  .case-challenge {
    min-height: 115px;
  }
}
@media (max-width: 1199px) {
  .progression-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .progression-grid .chart-card {
    padding: 23px 20px 0;
  }
  .frontier-grid .chart-card {
    padding: 20px 12px 0;
  }
}
@media (max-width: 899px) {
  .hero-metrics.independent-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .hero-metrics.independent-metrics .explore-link {
    grid-column: 1 / -1;
  }
  .hero-benchmark h2 {
    font-size: 12px;
  }
  .hero-art .benchmark-pair {
    padding: 21px 15px 16px;
  }
  .hero-benchmark header {
    gap: 7px;
  }
  .hero-benchmark header > span {
    font-size: 8px;
    padding: 4px;
  }
  .hero-art .art-topline {
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .frontier-grid {
    grid-template-columns: 1fr;
  }
  .frontier-grid .chart-card {
    padding: 24px 22px 0;
  }
}
@media (max-width: 649px) {
  .hero-art {
    width: 100%;
  }
  .hero-art .float-refine {
    top: -20px;
    left: 0;
  }
  .hero-art .float-rewrite {
    bottom: -19px;
    right: 0;
  }
  .hero-art .benchmark-pair {
    padding: 25px 14px 18px;
  }
  .hero-art .art-topline {
    font-size: 7px;
  }
  .hero-benchmark h2 {
    font-size: 14px;
  }
  .hero-benchmark header > span {
    font-size: 9px;
  }
  .hero-benchmark-chart {
    height: 142px;
  }
  .hero-metrics.independent-metrics > div {
    border-right: 0;
  }
  .hero-metrics.independent-metrics .metric-label {
    font-size: 7px;
  }
  .hero-metrics.independent-metrics strong {
    font-size: 29px;
  }
  .hero-metrics.independent-metrics p {
    font-size: 10px;
  }
  .panorama-workbench .workbench-top {
    padding: 15px;
    gap: 10px;
  }
  .panorama-actions {
    gap: 8px;
    flex-direction: column;
    align-items: flex-end;
  }
  #panorama-status {
    font-size: 7px;
  }
  .results-row-heading h3 {
    font-size: 20px;
  }
  .progression-grid {
    grid-template-columns: 1fr;
  }
  .progression-grid .chart-card {
    padding: 23px 16px 0;
  }
  .progression-grid .chart-card h3 {
    font-size: 19px;
  }
  .progression-grid .chart-metric {
    font-size: 37px;
  }
  .progression-grid .stage-chart {
    height: 300px;
  }
  .frontier-grid .chart-card {
    padding: 21px 12px 0;
  }
  .frontier-grid .chart-card h3 {
    font-size: 20px;
  }
  .frontier-grid .frontier-chart {
    height: 425px;
  }
  .case-milestones li:last-child {
    grid-column: 1 / -1;
  }
  .terminal-stage {
    gap: 12px;
  }
  #terminal-position {
    white-space: nowrap;
  }
  .terminal-recorded {
    display: inline;
    font-size: 6px;
    max-width: 82px;
    line-height: 1.5;
  }
}
.ladder-track {
  fill: none;
  stroke: #dce2eb;
  stroke-width: 3;
  stroke-linejoin: round;
}
.ladder-stage.is-future .ladder-marker {
  fill: #d4dce8;
  stroke: #d4dce8;
}
.ladder-stage.is-future .ladder-value {
  fill: #909bad;
}
#cases .terminal-player pre {
  height: 385px;
  min-height: 385px;
  flex: 1 1 385px;
}
.log-command {
  color: #edf5ff;
}
.typing-line::after {
  content: "▏";
  color: #89b7ff;
}
@media (max-width: 649px) {
  #cases .terminal-player pre {
    height: 360px;
    min-height: 360px;
  }
}
.case-playback-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 0 0 18px;
}
#case-playback-status {
  font: 10px var(--mono);
  color: var(--muted);
}
.case-tabs button {
  flex-wrap: wrap;
}
.case-tabs .case-segment-tracker {
  display: flex;
  flex-basis: 100%;
  gap: 5px;
  margin-top: 9px;
}
.case-segment-tracker i {
  flex: 1;
  height: 3px;
  background: #e3e8f0;
  border-radius: 3px;
  overflow: hidden;
}
.case-segment-tracker b {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}
#overview.hero {
  padding-top: 106px;
}
#overview .hero-art {
  margin-top: 8px;
  padding-top: 8px;
}
#overview .hero-art .benchmark-pair {
  padding-top: 11px;
}
#overview .hero-benchmark {
  padding-top: 12px;
  padding-bottom: 5px;
}
#overview .byline {
  margin-top: 24px;
  margin-bottom: 21px;
  padding-top: 17px;
}
#overview .hero-metrics > div,
#overview .hero-metrics .metric-label,
#overview .hero-metrics strong,
#overview .hero-metrics strong span,
#overview .hero-metrics p {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--blue);
}
#overview .hero-metrics .metric-label {
  letter-spacing: 0;
}
#overview .hero-metrics .gain-number {
  font-size: inherit;
  letter-spacing: inherit;
  font-variant-numeric: tabular-nums;
}
#overview .authors,
#overview .hero-metrics .metric-label {
  font-family: var(--sans);
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.85;
}
#overview .authors {
  color: #000;
}
#overview .authors sup {
  font-size: 0.65em;
}
#overview .affiliation-row {
  column-gap: 15px;
  row-gap: 9px;
}
#overview .affiliation-row strong {
  font-size: 13px;
}
@media (max-width: 899px) {
  #overview.hero {
    padding-top: 92px;
  }
}
@media (max-width: 649px) {
  #overview.hero {
    padding-top: 85px;
  }
  #overview .hero-layout {
    gap: 24px;
  }
  #overview .hero-art {
    padding-top: 8px;
    margin-top: 4px;
  }
  #overview .byline {
    margin-top: 25px;
  }
  #overview .authors,
  #overview .hero-metrics .metric-label {
    font-size: 0.925rem;
    line-height: 1.8;
  }
  #overview .affiliation-row strong:first-child {
    flex-basis: 100%;
    text-align: center;
  }
  #overview .affiliation-row strong:first-child + .affiliation-slash {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-chart-line {
    stroke-dashoffset: 0;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-wordmark {
    background-position: 0 50%;
  }
  .evolution-card {
    transform: none;
  }
}
@media print {
  .site-header,
  .page-rail,
  .reading-progress,
  .menu-toggle,
  .resource-actions,
  .hero-art,
  .method-workbench,
  .case-tabs,
  .terminal-controls,
  .copy-button,
  dialog {
    display: none !important;
  }
  .screen {
    padding: 30px 0 !important;
    min-height: 0;
    overflow: visible;
    break-inside: avoid;
  }
  .container,
  .container.wide {
    width: 100%;
  }
  .hero-layout,
  .citation-top,
  .case-workbench {
    display: block;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .dashboard {
    grid-template-columns: 1fr 1fr;
  }
  .hero-wordmark {
    -webkit-text-fill-color: var(--blue);
    font-size: 50px;
  }
  .hero-metrics {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer {
    margin-top: 30px;
  }
  .terminal-player {
    color: #000;
    background: #fff;
  }
  .terminal-player pre {
    color: #000;
  }
  .terminal-insight {
    background: #fff;
  }
  .terminal-insight p {
    color: #000;
  }
  .terminal-player .log-pass {
    color: #0052d9;
  }
  .terminal-player .log-comment {
    color: #555;
  }
  .terminal-player .log-fail {
    color: #7a3930;
  }
}
