:root {
  color-scheme: light;
  --ink: #26344e;
  --muted: #647087;
  --purple: #8170b2;
  --purple-dark: #66509d;
  --lavender: #efebf7;
  --line: #e2e3ec;
  --paper: #fdfcfa;
  --serif: Georgia, "Times New Roman", serif;
  --sans:
    Inter, "Aptos", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--purple-dark);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid #7661b6;
  outline-offset: 5px;
}
::selection {
  background: #ded4f2;
  color: #26344e;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.13;
}
h2 {
  font: 500 clamp(34px, 3.5vw, 49px) / 1.14 var(--serif);
  letter-spacing: -1.8px;
}
h2 em {
  font-weight: 400;
  color: var(--purple-dark);
}
h3 {
  font-size: 23px;
  letter-spacing: -0.65px;
}
p {
  color: var(--muted);
}
.container {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.section {
  padding-block: 108px;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.filled {
  fill: currentColor;
  stroke: none;
}
.icon-small {
  width: 16px;
  height: 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--purple-dark);
  font: 600 11px/1.5 var(--mono);
  letter-spacing: 1.8px;
}
.eyebrow > span:first-child:not(.small-star) {
  color: #9c91b7;
  letter-spacing: 0;
}
.mono-label {
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fdfcfaf2;
  border-bottom: 1px solid #e7e5ee;
  backdrop-filter: blur(16px);
}
.nav-shell {
  max-width: 1320px;
  min-height: 76px;
  margin: auto;
  padding: 0 42px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
.nav-brand img {
  flex-shrink: 0;
}
.brand-square {
  color: var(--purple);
  font-size: 0.78em;
  vertical-align: super;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding-block: 25px;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--purple-dark);
}
.nav-links a[aria-current]::after {
  position: absolute;
  content: "";
  height: 2px;
  bottom: 12px;
  left: 0;
  right: 0;
  background: var(--purple);
}
.nav-actions {
  display: flex;
  gap: 8px;
}
.icon-button {
  width: 37px;
  height: 37px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.icon-button:hover {
  background: var(--lavender);
  color: var(--purple-dark);
}
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 12%, #e9edf7ad, transparent 48%),
    radial-gradient(ellipse at 90% 45%, #f0eafa9c, transparent 50%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-content {
  text-align: center;
  padding-top: 42px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  justify-content: center;
  font-size: 10px;
  letter-spacing: 2px;
}
.hero-eyebrow-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.small-star {
  font: 22px/1 var(--serif);
  color: var(--purple);
}
.hero h1 {
  font: 500 clamp(39px, 4vw, 59px) / 1.1 var(--serif);
  letter-spacing: -2.8px;
  max-width: 1120px;
  margin: 24px auto 0;
}
.hero-title-mark {
  color: var(--purple-dark);
  font-weight: 600;
}
.hero h1 em {
  font-weight: 400;
  color: var(--purple-dark);
}
.hero-authors {
  max-width: 1060px;
  margin: 19px auto 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}
.hero-authors a {
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.hero-authors a:hover {
  color: var(--purple-dark);
  border-color: currentColor;
}
.hero-authors sup,
.hero-affiliations sup {
  font-size: 0.65em;
  line-height: 0;
  vertical-align: super;
  margin-left: 1px;
}
.hero-affiliations {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 7px;
  color: var(--muted);
  font: 12px/1.5 var(--mono);
  letter-spacing: 0.15px;
}
.hero-description {
  font-size: 20px;
  line-height: 1.55;
  margin: 20px 0 9px;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.hero-description strong {
  font-weight: 650;
}
.hero-detail {
  font-size: 14px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 11px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  min-height: 45px;
  padding: 10px 19px;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 10px #26344e0b;
}
.button-primary:hover {
  background: #3f4b67;
  color: #fff;
}
.button-secondary {
  background: #ffffffb3;
  border-color: #dadce7;
  color: var(--ink);
}
.button-secondary:hover {
  background: #fff;
  color: var(--purple-dark);
}
.button-disabled {
  cursor: default;
  color: #7d8492;
  background: #f6f5f7b3;
  border-style: dashed;
}
.button-disabled:hover {
  transform: none;
  color: #7d8492;
  background: #f6f5f7b3;
}
.button-disabled small {
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #9a92a8;
}
.hero-results {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.82fr);
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto 28px;
  text-align: left;
}
.hero-result-panel {
  min-width: 0;
  padding: 19px 20px 15px;
  background: #ffffffbf;
  border: 1px solid #dfe1e9;
  border-radius: 15px;
  box-shadow: 0 14px 40px #3f4b6710;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(24px);
  animation: hero-panel-rise 0.75s cubic-bezier(0.2, 0.78, 0.25, 1)
    forwards;
}
.hero-scaling {
  animation-delay: 0.12s;
}
.hero-results-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}
.hero-results-heading p {
  font-size: 8px;
  color: #7a8498;
}
.hero-results-heading p strong {
  color: #3f5f92;
  font-size: 10px;
}
.hero-domain-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  min-height: 137px;
  padding: 4px 0 0;
  background: repeating-linear-gradient(
    to top,
    transparent 0 35px,
    #e9ebf0 35px 36px
  );
}
.hero-domain {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: center;
}
.domain-bars {
  height: 112px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  border-bottom: 1px solid #d7dbe4;
}
.domain-bar {
  position: relative;
  width: min(29px, 25%);
  height: calc(var(--height) * 1%);
  min-height: 16px;
  border-radius: 4px 4px 0 0;
  clip-path: inset(100% 0 0 0);
  animation: hero-bar-reveal 0.8s cubic-bezier(0.2, 0.78, 0.25, 1)
    forwards;
}
.domain-bar-base {
  background: #cfd4df;
  animation-delay: 0.3s;
}
.domain-bar-meta {
  background: #ccbce0;
  animation-delay: 0.42s;
}
.domain-bar-ours {
  background: #dbe4ef;
  border: 2px solid #3f5f92;
  animation-delay: 0.55s;
}
.domain-bar i {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, -4px);
  font: normal 600 8px/1 var(--mono);
  color: #3b465b;
}
.domain-bar b {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 16px);
  transform: translateX(-50%);
  color: #3f5f92;
  font: 700 9px/1 var(--mono);
  white-space: nowrap;
}
.domain-bar img {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 19px;
  height: 19px;
  transform: translateX(-50%);
  padding: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #3f5f92;
}
.hero-domain > strong {
  margin-top: 6px;
  font: 600 10px/1.2 var(--sans);
}
.mini-legend {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
  font: 7px/1.2 var(--mono);
  color: #7a8498;
}
.mini-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mini-legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.legend-base {
  background: #cfd4df;
}
.legend-meta {
  background: #ccbce0;
}
.legend-ours {
  background: #dbe4ef;
  box-shadow: inset 0 0 0 1px #3f5f92;
}
.scaling-chart {
  display: block;
  width: 100%;
  height: 137px;
  overflow: visible;
}
.scaling-grid path {
  fill: none;
  stroke: #e8ebf0;
  stroke-width: 1;
}
.scaling-grid text,
.scaling-axis-labels text {
  fill: #7a8498;
  font: 8px var(--mono);
}
.scaling-axis-labels text {
  text-anchor: middle;
}
.scaling-axis-labels .scaling-end-label {
  fill: #3f5f92;
  font-weight: 700;
}
.scaling-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 430;
  stroke-dashoffset: 430;
  animation: hero-line-draw 1.3s ease-out forwards;
}
.scaling-rb {
  stroke: #c9c9c9;
  stroke-dasharray: 5 5;
  animation-delay: 0.35s;
}
.scaling-hs {
  stroke: #c7b3df;
  stroke-dasharray: 7 5;
  animation-delay: 0.48s;
}
.scaling-ours {
  stroke: #3f5f92;
  stroke-width: 3.5;
  animation-delay: 0.62s;
}
.scaling-points circle {
  fill: #fdfcfa;
  stroke: #3f5f92;
  stroke-width: 2.5;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: hero-point-pop 0.35s ease-out forwards;
}
.scaling-points circle:nth-child(1) {
  animation-delay: 0.7s;
}
.scaling-points circle:nth-child(2) {
  animation-delay: 0.88s;
}
.scaling-points circle:nth-child(3) {
  animation-delay: 1.05s;
}
.scaling-points circle:nth-child(4) {
  animation-delay: 1.22s;
}
.scaling-points circle:nth-child(5) {
  animation-delay: 1.39s;
}
.scaling-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  justify-content: center;
  font: 7px/1.3 var(--mono);
  color: #7a8498;
}
.scaling-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.scaling-legend i {
  display: block;
  width: 13px;
  border-top: 2px solid;
}
.line-rb {
  border-color: #c9c9c9 !important;
}
.line-hs {
  border-color: #c7b3df !important;
}
.line-ours {
  border-color: #3f5f92 !important;
}
@keyframes hero-panel-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-bar-reveal {
  to {
    clip-path: inset(-24px 0 0 0);
  }
}
@keyframes hero-line-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes hero-point-pop {
  to {
    transform: scale(1);
  }
}
.hero-loop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  margin: auto;
  border: 1px solid #dcdbe8;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #ffffffa6;
  text-align: left;
}
.loop-half {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 21px 26px;
}
.loop-half + .loop-half {
  border-left: 1px solid #e3dfed;
}
.loop-number {
  font: italic 33px var(--serif);
  color: #b3a8ca;
}
.loop-half > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.loop-level {
  font: 600 9px var(--mono);
  letter-spacing: 1.2px;
  color: var(--purple-dark);
}
.loop-description {
  font-size: 13px;
  font-weight: 500;
}
.loop-arrow {
  font: 33px var(--serif);
  margin-left: auto;
  color: var(--purple);
}
.hero-orbit {
  position: absolute;
  border: 1px solid #dbd6ed;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}
.orbit-one {
  width: 370px;
  height: 370px;
  left: -260px;
  top: 120px;
}
.orbit-two {
  width: 470px;
  height: 470px;
  right: -315px;
  top: 0;
}
.orbit-two::after {
  content: "";
  position: absolute;
  top: 44px;
  left: 45px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b5a6d2;
}
.highlights {
  padding: 36px 0 39px;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1fr;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.highlight-intro {
  align-self: center;
}
.highlight-intro .eyebrow {
  font-size: 8px;
  letter-spacing: 1.25px;
}
.highlight-intro p {
  font: 19px/1.4 var(--serif);
  color: var(--ink);
  margin-top: 7px;
}
.highlight {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.highlight strong {
  font-size: 39px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -1.6px;
  color: var(--purple-dark);
}
.highlight strong span {
  font: 400 11px var(--sans);
  letter-spacing: 0;
  margin-left: 6px;
  color: var(--muted);
}
.highlight > span {
  font-size: 12px;
  font-weight: 650;
}
.highlight small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 42px;
}
.section-heading .eyebrow {
  margin-bottom: 18px;
}
.section-heading > p {
  font-size: 15px;
  line-height: 1.85;
  padding-bottom: 3px;
}
.agent-definition {
  position: relative;
  overflow: hidden;
  margin: 0 0 34px;
  padding: 28px;
  border: 1px solid #daddec;
  border-radius: 16px;
  background:
    radial-gradient(circle at 86% 10%, #eadff7 0, transparent 27%),
    linear-gradient(145deg, #ffffff 8%, #f8f7fb 100%);
  box-shadow: 0 18px 45px #3f4c7020;
}
.agent-definition::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -150px;
  bottom: -165px;
  border: 1px solid #bba9d6;
  border-radius: 50%;
  opacity: 0.45;
}
.definition-topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 25px;
}
.definition-topline .eyebrow {
  margin-bottom: 8px;
  font-size: 8px;
}
.definition-topline h3 {
  font: 500 24px/1.25 var(--serif);
  letter-spacing: -0.5px;
}
.definition-topline h3 em {
  color: var(--purple-dark);
  font-weight: 400;
}
.definition-replay {
  flex: 0 0 auto;
  border: 1px solid #d6d8e4;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 10px;
}
.definition-replay:hover {
  border-color: #aa9bca;
  color: var(--purple-dark);
}
.agent-equation {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) 28px minmax(0, 1.18fr) 28px minmax(0, 1fr);
  gap: 11px;
  align-items: stretch;
}
.definition-card {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 94px;
  gap: 14px;
  padding: 17px;
  border: 1px solid #dfe1ea;
  border-radius: 11px;
  background: #ffffffd9;
}
.definition-card > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.definition-card small {
  color: var(--purple-dark);
  font: 600 7px/1.3 var(--mono);
  letter-spacing: 0.85px;
}
.definition-card strong {
  margin: 2px 0 1px;
  font-size: 20px;
  line-height: 1.2;
}
.definition-card > div > span {
  color: var(--muted);
  font: 12px/1.4 var(--serif);
}
.definition-card-icon {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}
.model-core {
  border: 1px solid #9dafcc;
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px #edf2fa;
}
.model-core::before,
.model-core::after,
.model-core i {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.model-core::before {
  width: 19px;
  height: 19px;
  border: 2px solid #5372a3;
}
.model-core::after {
  width: 7px;
  height: 7px;
  background: #5372a3;
}
.model-core i {
  width: 54px;
  height: 54px;
  border: 1px dashed #a8b6cf;
}
.harness-shell {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 5px;
  border: 2px solid #8069ae;
  border-radius: 10px;
  background: #f3eef9;
}
.harness-shell i {
  border-radius: 3px;
  background: #b6a5d4;
}
.harness-shell i:nth-child(2),
.harness-shell i:nth-child(3) {
  background: #d2c5e5;
}
.definition-agent {
  border-color: #a99bc8;
  background: linear-gradient(135deg, #fff, #eee8f7);
  box-shadow: 0 7px 22px #66509d1a;
}
.definition-agent img {
  position: relative;
  z-index: 1;
  flex: 0 0 45px;
  width: 45px;
}
.agent-orbit {
  position: absolute;
  width: 59px;
  height: 59px;
  left: 9px;
  top: 17px;
  border: 1px dashed #a896cb;
  border-radius: 50%;
}
.agent-orbit::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8069ae;
}
.definition-operator {
  display: grid;
  place-items: center;
  color: #9185ab;
  font: 32px/1 var(--serif);
}
.definition-equals {
  color: #4e607e;
}
.definition-bridge {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 13px;
  margin: 20px 4px 16px;
  color: #82729f;
}
.definition-bridge span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #b8adcd);
  transform-origin: right;
}
.definition-bridge span:last-child {
  background: linear-gradient(90deg, #b8adcd, transparent);
  transform-origin: left;
}
.definition-bridge b {
  font: 600 7px/1 var(--mono);
  letter-spacing: 1.1px;
}
.recursive-definition {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding: 20px 22px 18px;
  border: 1px solid #d8d1e8;
  border-radius: 12px;
  background: #f6f2fbd9;
}
.nested-definition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 245px;
  align-items: stretch;
  gap: 17px;
}
.harness2-shell {
  position: relative;
  min-width: 0;
  padding: 59px 17px 16px;
  border: 2px solid #8b74bc;
  border-radius: 14px;
  background: linear-gradient(150deg, #fcfbfe, #f0eaf8);
  box-shadow: inset 0 0 0 5px #fff8;
}
.harness2-shell-label {
  position: absolute;
  top: 12px;
  left: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}
.harness2-shell-label img {
  width: 30px;
  height: 30px;
}
.harness2-shell-label div {
  display: flex;
  flex-direction: column;
}
.harness2-shell-label strong {
  color: var(--purple-dark);
  font: 700 12px/1.1 var(--sans);
}
.harness2-shell-label small,
.improvement-harness-label span,
.nested-agent small,
.self-improving-agent small {
  color: var(--purple-dark);
  font: 600 6px/1.35 var(--mono);
  letter-spacing: 0.65px;
}
.improvement-harness-label {
  position: absolute;
  top: 18px;
  right: 17px;
  text-align: right;
}
.improvement-harness-label strong {
  color: #4a5270;
  font-size: 13px;
  line-height: 1.2;
}
.nested-agent {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) 21px minmax(0, 1.28fr);
  align-items: center;
  gap: 8px;
  min-height: 96px;
  padding: 18px;
  border: 1px solid #cbd1df;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 20px #40507112;
}
.nested-model,
.nested-execution-harness {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.nested-model > div,
.nested-execution-harness > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.nested-agent strong {
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}
.nested-agent small {
  margin-top: 2px;
  color: #9488a9;
  font-size: 7px;
}
.nested-agent > b {
  color: #9990ac;
  font: 22px/1 var(--serif);
}
.nested-core {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid #7892b8;
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px #eaf0f8;
}
.nested-core::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #5372a3;
}
.nested-components {
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 4px;
  border: 1px solid #8069ae;
  border-radius: 7px;
  background: #f4effa;
}
.nested-components i {
  border-radius: 2px;
  background: #b9a7d5;
}
.harness-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 11px;
  min-height: 54px;
  padding: 10px 13px;
  border: 1px solid #d3c8e4;
  border-radius: 8px;
  background: #ffffffa6;
  color: #676f83;
  font: 9px/1.45 var(--mono);
}
.harness-feedback b {
  color: var(--purple-dark);
}
.feedback-motion {
  position: relative;
  display: flex;
  min-height: 30px;
  align-items: flex-end;
  justify-content: center;
  color: #8a7d9e;
  font: 6.5px/1.2 var(--mono);
  white-space: nowrap;
}
.feedback-motion::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: #ac9bc8;
}
.feedback-motion::after {
  content: "›";
  position: absolute;
  top: 5px;
  right: -1px;
  transform: translateY(-55%);
  color: #8069ae;
  font: 15px/1 var(--serif);
}
.feedback-motion i {
  position: absolute;
  top: 2px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8069ae;
  box-shadow: 0 0 0 4px #8069ae18;
}
.shell-scan {
  position: absolute;
  inset: 4px;
  overflow: hidden;
  border-radius: 10px;
  pointer-events: none;
}
.shell-scan::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  width: 34px;
  left: -60px;
  transform: rotate(14deg);
  background: linear-gradient(90deg, transparent, #fff9, transparent);
}
.becomes-arrow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: #897a9f;
}
.becomes-arrow span {
  font: 600 6px/1 var(--mono);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.becomes-arrow b {
  font: 37px/1 var(--serif);
  font-weight: 400;
}
.self-improving-agent {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 184px;
  padding: 23px 17px;
  overflow: hidden;
  border: 1px solid #9e8ac5;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #eae2f6);
  text-align: center;
  box-shadow: 0 12px 28px #66509d1c;
}
.self-improving-agent img {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
}
.self-improving-agent > small {
  position: relative;
  z-index: 1;
}
.self-improving-agent > strong {
  position: relative;
  z-index: 1;
  margin: 2px 0 4px;
  font: 500 23px/1.2 var(--serif);
}
.self-improving-agent > strong em {
  color: var(--purple-dark);
  font-weight: 600;
}
.self-improving-agent > span:last-child {
  position: relative;
  z-index: 1;
  color: #687188;
  font: 9px/1.5 var(--mono);
}
.self-agent-rings {
  position: absolute;
  width: 132px;
  height: 132px;
  top: 3px;
  border: 1px dashed #a99ac6;
  border-radius: 50%;
}
.self-agent-rings::before,
.self-agent-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.self-agent-rings::before {
  inset: 16px;
  border: 1px solid #c7badc;
}
.self-agent-rings::after {
  top: 12px;
  left: 15px;
  width: 7px;
  height: 7px;
  background: #8069ae;
}
.definition-statement {
  margin-top: 14px;
  text-align: center;
  color: #6c7181;
  font: 10px/1.6 var(--mono);
}
.agent-definition.is-animating .definition-card,
.agent-definition.is-animating .definition-operator {
  animation: definition-enter 0.52s cubic-bezier(0.2, 0.78, 0.25, 1) both;
  animation-delay: calc(var(--step) * 0.14s);
}
.agent-definition.is-animating .definition-agent {
  animation-name: definition-agent-enter;
}
.agent-definition.is-animating .model-core i {
  animation: definition-orbit 3s linear 0.1s infinite;
}
.agent-definition.is-animating .harness-shell i {
  animation: definition-component 0.45s ease-out both;
  animation-delay: calc(0.35s + var(--component-step, 0) * 0.09s);
}
.harness-shell i:nth-child(1) { --component-step: 0; }
.harness-shell i:nth-child(2) { --component-step: 1; }
.harness-shell i:nth-child(3) { --component-step: 2; }
.harness-shell i:nth-child(4) { --component-step: 3; }
.agent-definition.is-animating .agent-orbit {
  animation: definition-orbit 3.6s linear 0.7s infinite;
}
.agent-definition.is-animating .definition-bridge span {
  animation: definition-line 0.65s ease-out 0.82s both;
}
.agent-definition.is-animating .definition-bridge b,
.agent-definition.is-animating .definition-statement {
  animation: definition-fade-up 0.52s ease-out both;
}
.agent-definition.is-animating .definition-bridge b {
  animation-delay: 0.88s;
}
.agent-definition.is-animating .harness2-shell {
  animation: definition-shell-in 0.66s cubic-bezier(0.2, 0.78, 0.25, 1) 1.02s both;
}
.agent-definition.is-animating .harness2-shell-label,
.agent-definition.is-animating .improvement-harness-label {
  animation: definition-fade-up 0.45s ease-out 1.28s both;
}
.agent-definition.is-animating .nested-agent {
  animation: definition-agent-enter 0.58s cubic-bezier(0.2, 0.78, 0.25, 1) 1.43s both;
}
.agent-definition.is-animating .nested-model,
.agent-definition.is-animating .nested-execution-harness {
  animation: definition-enter 0.45s ease-out 1.58s both;
}
.agent-definition.is-animating .harness-feedback {
  animation: definition-fade-up 0.5s ease-out 1.76s both;
}
.agent-definition.is-animating .feedback-motion i {
  animation: definition-feedback-travel 1.35s ease-in-out 2.05s infinite;
}
.agent-definition.is-animating .shell-scan::after {
  animation: definition-shell-scan 2.8s ease-in-out 2.05s infinite;
}
.agent-definition.is-animating .becomes-arrow {
  animation: definition-arrow-in 0.55s ease-out 2.03s both;
}
.agent-definition.is-animating .self-improving-agent {
  animation: definition-agent-enter 0.7s cubic-bezier(0.16, 0.82, 0.23, 1) 2.24s both;
}
.agent-definition.is-animating .self-agent-rings {
  animation: definition-orbit 7s linear 2.4s infinite;
}
.agent-definition.is-animating .definition-statement {
  animation-delay: 2.55s;
}
@keyframes definition-enter {
  from { opacity: 0; transform: translateX(-18px) scale(0.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes definition-agent-enter {
  from { opacity: 0; transform: scale(0.9); box-shadow: 0 0 0 #66509d00; }
  70% { transform: scale(1.025); box-shadow: 0 0 0 8px #8069ae12; }
  to { opacity: 1; transform: scale(1); box-shadow: 0 7px 22px #66509d1a; }
}
@keyframes definition-orbit {
  to { transform: rotate(360deg); }
}
@keyframes definition-component {
  from { opacity: 0; transform: scale(0.25); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes definition-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes definition-fade-up {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes definition-shell-in {
  from { opacity: 0; transform: scale(0.97); clip-path: inset(0 100% 0 0 round 14px); }
  to { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0 round 14px); }
}
@keyframes definition-feedback-travel {
  from { left: 0; }
  50%, 100% { left: calc(100% - 7px); }
}
@keyframes definition-shell-scan {
  0%, 18% { left: -60px; }
  62%, 100% { left: calc(100% + 60px); }
}
@keyframes definition-arrow-in {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}
.paper-figure {
  padding: 25px 29px 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.paper-figure img {
  width: 100%;
  height: auto;
}
.figure-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--muted);
  font: 500 9px/1.6 var(--mono);
  letter-spacing: 1.1px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  font: 500 11px var(--sans);
  background: none;
  border: 0;
  padding: 4px;
  color: var(--muted);
}
.text-button:hover {
  color: var(--purple-dark);
}
figcaption {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 16px;
}
.main-figure figcaption {
  max-width: 750px;
  margin-inline: auto;
  text-align: center;
}
.pill {
  display: inline-block;
  border: 1px solid #ddd5ed;
  border-radius: 4px;
  padding: 4px 8px;
  font: 500 9px/1.4 var(--mono);
  color: var(--purple-dark);
  letter-spacing: 0.5px;
}
.tinted-section {
  background: #f3f1f8;
  border-block: 1px solid #e8e3f0;
}
.library-flow {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px 30px;
  border-top: 1px solid #e2dbed;
  background: #efe9f7;
}
.library-symbol {
  font: 42px/1 var(--serif);
  color: var(--purple);
}
.library-flow strong {
  font-size: 13px;
}
.library-flow p {
  font-size: 11px;
  line-height: 1.75;
  margin-top: 5px;
  max-width: 710px;
}
.library-next {
  margin-left: auto;
  white-space: nowrap;
  font: 10px var(--mono);
  color: var(--purple-dark);
  display: flex;
  gap: 10px;
  align-items: center;
}
.component-explorer {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 25px;
}
.component-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}
.component-buttons button {
  padding: 18px 12px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-height: 133px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.component-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfd8eb;
  color: #8778a7;
  background: #f5f2fa;
  border-radius: 4px;
  font: 500 10px var(--mono);
  width: 30px;
  height: 25px;
  margin-bottom: 14px;
}
.component-buttons strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}
.component-buttons small {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.4;
  display: block;
  margin-top: 6px;
}
.component-buttons button[aria-selected="true"] {
  background: #f2edf9;
  border-color: #ac99cb;
}
.component-buttons button[aria-selected="true"] .component-id {
  background: var(--purple-dark);
  color: white;
  border-color: var(--purple-dark);
}
.component-buttons button:hover {
  border-color: #a491c5;
}
.component-detail {
  padding: 28px 30px;
  overflow: hidden;
  border: 1px solid #d9cfe7;
  border-radius: 10px;
  background: linear-gradient(145deg, #f7f3fc, #fdfcff);
}
.component-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.component-large-id {
  font: italic 38px/1 var(--serif);
  color: #c1b3d7;
}
.component-detail .eyebrow {
  font-size: 9px;
  letter-spacing: 1.2px;
}
.component-detail h3 {
  margin: 7px 0 12px;
  font-size: 25px;
}
.component-detail > p {
  font-size: 12px;
  line-height: 1.85;
}
.component-path {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e4dcec;
  margin-top: 21px;
  padding-top: 16px;
  color: var(--purple-dark);
}
.component-path code {
  font: 10px/1.7 var(--mono);
  overflow-wrap: anywhere;
}
.component-detail .component-example {
  font-size: 10px;
  margin-top: 15px;
  color: #858093;
}
.component-editor {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #d8d3e5;
  border-radius: 9px;
  background: #fbfaff;
  box-shadow: 0 13px 27px #66509d12;
  color: #35425b;
}
.editor-topbar {
  min-height: 34px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border-bottom: 1px solid #ddd7e8;
  background: #f1edf7;
}
.editor-dots {
  display: flex;
  gap: 5px;
}
.editor-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9b86bd;
}
.editor-dots i:nth-child(2) {
  background: #b2a4c9;
}
.editor-dots i:nth-child(3) {
  background: #c9c0d9;
}
.editor-topbar code {
  min-width: 0;
  overflow: hidden;
  color: #66509d;
  font: 600 8px/1 var(--mono);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.editor-topbar > span:last-child {
  color: #978ba9;
  font: 600 6px/1 var(--mono);
  letter-spacing: 0.65px;
}
.editor-body {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  min-height: 164px;
  padding: 12px 13px 10px 0;
}
.editor-gutter {
  padding-right: 8px;
  border-right: 1px solid #e0dbe9;
  color: #aaa1b8;
  font: 7px/1.75 var(--mono);
  text-align: right;
  user-select: none;
}
.editor-body pre {
  min-width: 0;
  margin: 0;
  padding-left: 12px;
  overflow: hidden;
  color: #35425b;
  font: 8.5px/1.62 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.editor-body code {
  font: inherit;
}
.typing-cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  margin-left: 2px;
  background: #8069ae;
  vertical-align: -2px;
  animation: typing-cursor-blink 0.8s steps(1) infinite;
}
.editor-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 27px;
  padding: 0 11px;
  border-top: 1px solid #ddd7e8;
  background: #f1edf7;
  color: #9489a6;
  font: 600 6px/1 var(--mono);
  letter-spacing: 0.55px;
}
.editor-statusbar span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.editor-statusbar b {
  font: inherit;
}
.editor-statusbar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8a74b5;
  box-shadow: 0 0 0 3px #8069ae16;
}
#component-editor-status {
  color: #66509d;
}
@keyframes typing-cursor-blink {
  50% { opacity: 0; }
}
.figure-details {
  margin-top: 26px;
  border-bottom: 1px solid var(--line);
}
.figure-details summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
}
.figure-details summary::-webkit-details-marker {
  display: none;
}
.figure-details summary > span {
  font-size: 22px;
  color: var(--purple);
}
.figure-details[open] summary > span {
  transform: rotate(45deg);
}
.figure-details .paper-figure {
  margin: 5px 0 25px;
}
.figure-details figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.results-section {
  background: #f4f6fa;
  border-block: 1px solid #e4e7ef;
}
.results-explorer {
  background: #fff;
  border: 1px solid #dce1ea;
  border-radius: 12px;
  overflow: hidden;
}
.results-toolbar {
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.benchmark-tabs {
  display: flex;
  gap: 5px;
}
.benchmark-tabs button {
  border: 0;
  background: none;
  padding: 9px 14px;
  font-size: 12px;
  border-radius: 5px;
  color: var(--muted);
}
.benchmark-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.result-selects {
  display: flex;
  gap: 13px;
}
.result-selects label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font: 9px var(--sans);
  color: var(--muted);
}
.result-selects select {
  font-size: 11px;
  border: 1px solid #dfe3eb;
  border-radius: 5px;
  color: var(--ink);
  padding: 8px 30px 8px 10px;
  background: #fff;
  max-width: 190px;
  cursor: pointer;
}
.result-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 55px;
  padding: 44px 40px 35px;
}
.result-story .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
}
.result-gain {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 7px;
  color: var(--purple-dark);
}
.result-gain > span {
  font-size: 65px;
  line-height: 1;
  letter-spacing: -3px;
  font-weight: 500;
}
.result-gain small {
  font-size: 12px;
}
.result-story h3 {
  font: 26px/1.2 var(--serif);
  letter-spacing: -0.6px;
}
.result-story p {
  font-size: 12px;
  line-height: 1.85;
  margin-top: 15px;
  max-width: 310px;
}
.result-note {
  display: block;
  color: #929aaa;
  font-size: 9px;
  line-height: 1.8;
  margin-top: 18px;
}
.bar-chart {
  --plot-top: 34px;
  --plot-bottom: 58px;
  position: relative;
  min-height: 300px;
}
.chart-axis-label {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
}
.chart-grid {
  position: absolute;
  inset: var(--plot-top) 0 var(--plot-bottom) 0;
  pointer-events: none;
}
.chart-grid span {
  position: absolute;
  left: 0;
  right: 0;
  color: #7f8899;
  font: 9px/1 var(--mono);
  transform: translateY(-50%);
}
.chart-grid span::after {
  content: "";
  position: absolute;
  left: 38px;
  right: 0;
  top: 50%;
  border-top: 1px solid #edf0f4;
}
.bars {
  position: absolute;
  left: 38px;
  right: 8px;
  top: var(--plot-top);
  bottom: 0;
  display: flex;
  gap: 30px;
  justify-content: center;
}
.bar-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 115px;
  text-align: center;
  min-width: 0;
}
.bar-space {
  display: flex;
  align-items: flex-end;
  flex: 1;
  min-height: 0;
}
.bar {
  height: calc(var(--bar-height) * 1%);
  position: relative;
  width: 100%;
  border-radius: 7px 7px 0 0;
  transition: height 0.45s ease;
  background: #b9c1d0;
  min-height: 1px;
}
.bar-chart.is-animating .bar {
  clip-path: inset(100% 0 0 0);
  animation: result-bar-rise 1.05s cubic-bezier(0.16, 0.82, 0.23, 1)
    forwards;
}
.bar-chart.is-animating .bar-column:nth-child(2) .bar {
  animation-delay: 0.16s;
}
.bar-chart.is-animating .bar-column:nth-child(3) .bar {
  animation-delay: 0.32s;
}
@keyframes result-bar-rise {
  to {
    clip-path: inset(-32px 0 0 0);
  }
}
.bar::after {
  content: "";
  position: absolute;
  inset: auto 0 6px;
  height: 7px;
  background: #fff;
  clip-path: polygon(
    0 50%,
    33% 0,
    67% 50%,
    100% 0,
    100% 50%,
    67% 100%,
    33% 50%,
    0 100%
  );
}
.bar strong {
  position: absolute;
  left: 0;
  right: 0;
  top: -27px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.bar-one {
  background: #8f7ab8;
}
.bar-five {
  background: var(--ink);
}
.bar-column > span {
  flex: 0 0 var(--plot-bottom);
  padding-top: 11px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}
.bar-column small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.results-table-wrap {
  overflow: auto;
  padding: 0 30px;
}
.results-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.results-table-wrap caption {
  text-align: left;
  padding: 12px 0 13px;
  font: 10px var(--mono);
  letter-spacing: 0.5px;
  color: var(--muted);
}
.results-table-wrap th,
.results-table-wrap td {
  padding: 12px 15px;
  text-align: right;
  border-bottom: 1px solid #e9ecf1;
  white-space: nowrap;
}
.results-table-wrap thead th {
  background: #f5f6fa;
  font-size: 10px;
  font-weight: 550;
  color: var(--muted);
}
.results-table-wrap th:first-child {
  text-align: left;
}
.results-table-wrap tbody th {
  font-weight: 450;
}
.results-table-wrap .ours-row {
  background: #f5f0fc;
  color: var(--purple-dark);
  font-weight: 650;
}
.results-table-wrap .ours-row th {
  font-weight: 650;
}
.results-table-wrap .scaling-row {
  background: #f0f3f8;
  font-weight: 650;
}
.results-table-wrap .scaling-row th {
  font-weight: 650;
}
.table-note {
  font-size: 10px;
  line-height: 1.8;
  padding: 17px 30px 22px;
  color: var(--muted);
}
.data-error {
  padding: 0 30px 20px;
  color: #9b4b42;
  font-size: 12px;
}
.data-error a {
  text-decoration: underline;
}
.case-section .section-heading h2 {
  font-size: clamp(32px, 3.4vw, 45px);
}
.case-section .paper-figure img {
  max-height: 580px;
  object-fit: contain;
}
.citation-section {
  padding-top: 34px;
}
.citation-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 52px;
  align-items: center;
  padding: 45px;
  border: 1px solid #d9d8e6;
  border-radius: 16px;
  background:
    radial-gradient(circle at 8% 5%, #eee8f8 0, transparent 34%),
    linear-gradient(145deg, #fefdfc 20%, #f6f4fa 100%);
  box-shadow: 0 18px 45px #3f4c7015;
}
.citation-intro .eyebrow {
  margin-bottom: 17px;
}
.citation-intro h2 {
  font-size: clamp(35px, 3.5vw, 47px);
}
.citation-intro p {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
}
.citation-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8d9e5;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 10px 30px #26344e0d;
}
.citation-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 14px 11px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--purple-dark);
  font: 9px/1 var(--mono);
  letter-spacing: 1.4px;
}
.citation-copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 6px;
  padding: 7px 9px;
  background: var(--lavender);
  color: var(--purple-dark);
  font: 10px/1 var(--sans);
  letter-spacing: 0;
}
.citation-copy:hover,
.citation-copy.is-copied {
  background: #e0d8f1;
}
.citation-copy .icon {
  width: 14px;
  height: 14px;
}
.citation-card pre {
  margin: 0;
  overflow: auto;
  padding: 21px 22px 23px;
  background: #fbfafc;
  color: var(--ink);
  font: 11px/1.75 var(--mono);
  white-space: pre;
}
.get-started {
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  margin-bottom: 65px;
  position: relative;
  overflow: hidden;
}
.get-started .eyebrow {
  color: #c8b6e7;
  font-size: 9px;
}
.get-started h2 {
  font-size: 42px;
  margin: 17px 0;
  color: #fff;
}
.get-started h2 em {
  color: #c9b6e7;
}
.get-started > div > p {
  font-size: 13px;
  line-height: 1.8;
  color: #b9c4d6;
}
.button-light {
  background: #fff;
  color: var(--ink);
  margin-top: 25px;
  font-size: 12px;
}
.button-light:hover {
  background: #eae5f5;
  color: var(--ink);
}
.quickstart {
  align-self: center;
}
.code-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9eabc0;
  padding: 12px 17px;
  background: #1d2a41;
  border: 1px solid #43506a;
  border-radius: 7px 7px 0 0;
  font: 8px var(--mono);
  letter-spacing: 1px;
}
.code-bar button {
  display: flex;
  gap: 7px;
  align-items: center;
  font: 10px var(--sans);
  color: #d4d8e3;
  background: none;
  border: 0;
  padding: 3px;
}
.code-bar button:hover {
  color: #fff;
}
.quickstart pre {
  margin: 0;
  overflow: auto;
  padding: 20px 17px;
  border: 1px solid #43506a;
  border-top: 0;
  border-radius: 0 0 7px 7px;
  background: #233047;
  color: #e4d5ff;
  font: 11px/1.9 var(--mono);
}
.quickstart > p {
  font-size: 10px !important;
  color: #adb9ce !important;
  margin-top: 15px;
}
.quickstart > p a {
  color: #e5d6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-links {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  font-size: 10px;
  color: #e2d8f4;
}
.guide-links a:hover {
  color: #fff;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 30px;
}
.site-footer .nav-brand {
  font-size: 15px;
}
.site-footer p {
  font-size: 10px;
}
.site-footer > a:last-child {
  font: 10px var(--mono);
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  border-radius: 15px;
  padding: 45px;
  max-height: 85vh;
  max-width: calc(100vw - 32px);
  box-shadow: 0 25px 100px #18213533;
}
dialog::backdrop {
  background: #202b4680;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: #efedf5;
}
.figure-dialog {
  width: 1250px;
  padding: 55px 25px 20px;
}
.figure-dialog img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
}
.figure-dialog p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 17px;
  text-align: center;
}

.results-toolbar button:disabled,
.results-toolbar select:disabled {
  cursor: default;
  opacity: 0.65;
}
@media (min-width: 1500px) {
  .hero-content {
    padding-top: 50px;
  }
  .hero-actions {
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 67px;
  }
}
@media (max-width: 1050px) {
  .container {
    width: calc(100% - 56px);
  }
  .nav-shell {
    padding-inline: 27px;
    gap: 20px;
  }
  .nav-links {
    gap: 20px;
  }
  .section-heading {
    gap: 45px;
  }
  .agent-definition {
    padding: 24px;
  }
  .definition-card {
    padding: 14px;
    gap: 10px;
  }
  .nested-definition {
    grid-template-columns: minmax(0, 1fr) 55px 215px;
    gap: 12px;
  }
  .section {
    padding-block: 85px;
  }
  .hero-results {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  }
  .hero-result-panel {
    padding-inline: 15px;
  }
  .hero-domain-chart {
    gap: 9px;
  }
  .highlight {
    padding-left: 22px;
  }
  .highlight strong {
    font-size: 34px;
  }
  .highlight small {
    font-size: 9px;
  }
  .component-explorer {
    grid-template-columns: 1fr 1fr;
  }
  .component-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .component-buttons button {
    min-height: 95px;
    padding: 12px 12px 12px 51px;
    position: relative;
  }
  .component-id {
    position: absolute;
    left: 12px;
    top: 13px;
  }
  .component-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .result-body {
    gap: 25px;
    padding-inline: 30px;
  }
  .bars {
    gap: 20px;
  }
  .result-selects select {
    max-width: 170px;
  }
  .get-started {
    padding: 38px;
    gap: 35px;
  }
  .get-started h2 {
    font-size: 36px;
  }
  .quickstart pre {
    font-size: 10px;
  }
  .diagram-start,
  .diagram-finish {
    flex-basis: 94px;
  }
  .diagram-lane {
    min-width: 97px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
  .nav-shell {
    min-height: 63px;
    padding-inline: 15px;
    gap: 10px;
  }
  .nav-brand {
    font-size: 17px;
  }
  .nav-brand img {
    width: 33px;
    height: 33px;
  }
  .nav-actions {
    margin-left: auto;
    gap: 1px;
  }
  .icon-button {
    width: 35px;
    height: 35px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 63px;
    background: var(--paper);
    padding: 14px 20px 20px;
    border-bottom: 1px solid var(--line);
    margin: 0;
    flex-wrap: wrap;
    gap: 8px 24px;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    padding: 9px 0;
  }
  .nav-links a[aria-current]::after {
    bottom: 1px;
  }
  .hero-content {
    padding-top: 36px;
  }
  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .hero-eyebrow-icon {
    width: 24px;
    height: 24px;
  }
  .hero h1 {
    font-size: clamp(35px, 6.3vw, 49px);
    line-height: 1.12;
    letter-spacing: -1.6px;
  }
  .hero-authors {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.7;
  }
  .hero-affiliations {
    flex-wrap: wrap;
    gap: 3px 10px;
    margin-top: 6px;
    font-size: 10px;
  }
  .hero-description {
    font-size: 18px;
    line-height: 1.55;
    margin-top: 23px;
  }
  .hero-detail {
    font-size: 12px;
    margin-inline: 10px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    gap: 8px;
    margin: 22px 0 26px;
  }
  .hero-actions .button {
    padding-inline: 11px;
    gap: 6px;
  }
  .hero-actions .button:last-child .icon-small {
    display: none;
  }
  .button {
    font-size: 11px;
    min-height: 42px;
    gap: 7px;
    padding: 9px 13px;
  }
  .button-disabled small {
    font-size: 7px;
  }
  .hero-results {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }
  .hero-result-panel {
    padding: 16px 14px 13px;
  }
  .hero-results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
  }
  .mini-legend {
    justify-content: center;
    margin-top: 7px;
  }
  .scaling-chart {
    height: 150px;
  }
  .hero-loop {
    border-radius: 9px 9px 0 0;
  }
  .loop-half {
    padding: 15px 12px;
    gap: 10px;
  }
  .loop-number {
    font-size: 23px;
  }
  .loop-level {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .loop-description {
    font-size: 10px;
    line-height: 1.6;
  }
  .loop-arrow,
  .hero-orbit {
    display: none;
  }
  .highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-block: 23px;
  }
  .highlight-intro {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
  }
  .highlight-intro .eyebrow {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .highlight-intro p {
    font: 11px var(--sans);
    margin: 0;
  }
  .highlight-intro br {
    display: none;
  }
  .highlight {
    padding-left: 14px;
  }
  .highlight:nth-child(2) {
    border-left: 0;
    padding-left: 0;
  }
  .highlight strong {
    font-size: 30px;
    letter-spacing: -1.5px;
  }
  .highlight strong span {
    font-size: 8px;
    margin-left: 3px;
  }
  .highlight > span {
    font-size: 10px;
  }
  .highlight small {
    font-size: 7px;
    line-height: 1.7;
  }
  .section {
    padding-block: 65px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 27px;
  }
  .section-heading .eyebrow {
    margin-bottom: 12px;
  }
  h2 {
    font-size: 36px;
    letter-spacing: -1.4px;
  }
  .section-heading > p {
    font-size: 13px;
    line-height: 1.85;
    max-width: 580px;
  }
  .agent-definition {
    padding: 19px 15px 16px;
    border-radius: 12px;
  }
  .definition-topline {
    align-items: flex-start;
    margin-bottom: 19px;
  }
  .definition-topline h3 {
    font-size: 19px;
  }
  .definition-replay {
    padding: 6px 9px;
    font-size: 8px;
  }
  .agent-equation {
    grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr);
    gap: 8px;
  }
  .definition-model {
    grid-column: 1;
  }
  .agent-equation > .definition-operator:not(.definition-equals) {
    grid-column: 2;
  }
  .definition-harness {
    grid-column: 3;
  }
  .definition-equals {
    grid-column: 1 / -1;
    min-height: 20px;
  }
  .definition-agent {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .definition-card {
    min-height: 84px;
    padding: 12px 10px;
  }
  .definition-card-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
  .model-core i {
    width: 44px;
    height: 44px;
  }
  .definition-card strong {
    font-size: 16px;
  }
  .definition-card small {
    font-size: 6px;
    letter-spacing: 0.45px;
  }
  .definition-card > div > span {
    font-size: 9px;
  }
  .definition-agent img {
    flex-basis: 39px;
    width: 39px;
  }
  .agent-orbit {
    left: calc(50% - 76px);
    top: 12px;
  }
  .definition-bridge {
    gap: 7px;
    margin-block: 15px 13px;
  }
  .definition-bridge b {
    font-size: 6px;
    letter-spacing: 0.55px;
  }
  .recursive-definition {
    padding: 16px 12px 14px;
  }
  .nested-definition {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .harness2-shell {
    padding-top: 82px;
  }
  .harness2-shell-label {
    left: 12px;
  }
  .improvement-harness-label {
    top: 44px;
    left: 14px;
    right: auto;
    text-align: left;
  }
  .nested-agent {
    grid-template-columns: minmax(0, 0.8fr) 17px minmax(0, 1.2fr);
    padding-inline: 10px;
  }
  .nested-agent strong {
    font-size: 11px;
  }
  .nested-core {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
  .nested-components {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }
  .harness-feedback {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px;
    font-size: 8px;
    text-align: center;
  }
  .feedback-motion {
    width: min(170px, 80%);
    margin-inline: auto;
  }
  .becomes-arrow {
    min-height: 32px;
    flex-direction: row;
  }
  .becomes-arrow b {
    transform: rotate(90deg);
  }
  .self-improving-agent {
    min-height: 150px;
  }
  .definition-statement {
    font-size: 8px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .paper-figure {
    padding: 16px 12px 15px;
    border-radius: 8px;
  }
  .figure-label {
    font-size: 7px;
    letter-spacing: 0.5px;
    gap: 6px;
    margin-bottom: 10px;
  }
  .text-button {
    font-size: 9px;
    gap: 4px;
  }
  .figure-label .icon {
    width: 12px;
    height: 12px;
  }
  figcaption {
    font-size: 10px;
    line-height: 1.75;
    margin-top: 12px;
  }
  .library-flow {
    padding: 18px;
    gap: 12px;
    align-items: start;
  }
  .library-flow strong {
    font-size: 11px;
  }
  .library-flow p {
    font-size: 10px;
  }
  .library-symbol {
    font-size: 31px;
  }
  .library-next {
    display: none;
  }
  .component-explorer {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .component-buttons {
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
  }
  .component-buttons button {
    min-height: 110px;
    padding: 11px 8px;
  }
  .component-id {
    position: static;
    margin-bottom: 10px;
    width: 26px;
    height: 22px;
    font-size: 9px;
  }
  .component-buttons strong {
    font-size: 9px;
  }
  .component-buttons small {
    font-size: 7px;
    line-height: 1.4;
  }
  .component-detail {
    padding: 22px;
    min-height: 318px;
  }
  .component-topline {
    margin-bottom: 15px;
  }
  .component-detail h3 {
    font-size: 24px;
  }
  .component-detail > p {
    font-size: 12px;
  }
  .figure-details summary {
    font-size: 11px;
  }
  .figure-details figcaption {
    display: block;
  }
  .figure-details figcaption button {
    margin-top: 8px;
  }
  .results-toolbar {
    padding: 17px;
    flex-wrap: wrap;
    gap: 17px;
  }
  .benchmark-tabs {
    width: 100%;
    gap: 5px;
  }
  .benchmark-tabs button {
    flex: 1;
    padding: 9px 10px;
    font-size: 11px;
  }
  .result-selects {
    width: 100%;
    gap: 10px;
  }
  .result-selects label {
    width: 50%;
  }
  .result-selects select {
    width: 100%;
    max-width: none;
    font-size: 10px;
    padding-left: 9px;
  }
  .result-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 27px 20px 20px;
  }
  .result-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
    align-items: center;
  }
  .result-story .eyebrow {
    grid-column: 1/-1;
    font-size: 8px;
    margin-bottom: 15px;
  }
  .result-gain {
    margin: 0;
  }
  .result-gain > span {
    font-size: 53px;
  }
  .result-gain small {
    font-size: 9px;
  }
  .result-story h3 {
    font-size: 23px;
  }
  .result-story p {
    grid-column: 1/-1;
    max-width: none;
    font-size: 11px;
    margin-top: 16px;
  }
  .result-note {
    display: none;
  }
  .bar-chart {
    min-height: 267px;
    margin-inline: 3px;
  }
  .bars {
    gap: clamp(8px, 2.5vw, 22px);
    right: 0;
  }
  .bar strong {
    font-size: 14px;
  }
  .bar-column > span {
    font-size: 10px;
  }
  .bar-column small {
    font-size: 8px;
  }
  .results-table-wrap {
    padding-inline: 13px;
  }
  .results-table-wrap th,
  .results-table-wrap td {
    padding: 11px 9px;
    font-size: 10px;
  }
  .results-table-wrap thead th {
    font-size: 9px;
  }
  .results-table-wrap caption {
    font-size: 8px;
    letter-spacing: 0;
  }
  .table-note {
    font-size: 9px;
    padding: 15px 18px 20px;
  }
  .case-section .section-heading h2 {
    font-size: 34px;
  }
  .case-section .paper-figure {
    padding-top: 15px;
  }
  .citation-section {
    padding-top: 16px;
  }
  .citation-shell {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 29px 23px;
  }
  .citation-intro h2 {
    font-size: 36px;
  }
  .citation-intro p {
    margin-top: 13px;
    font-size: 12px;
  }
  .citation-card pre {
    padding: 17px 15px 19px;
    font-size: 9px;
  }
  .get-started {
    padding: 29px 23px;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 35px;
  }
  .get-started h2 {
    font-size: 37px;
  }
  .get-started > div > p {
    font-size: 12px;
  }
  .button-light {
    font-size: 11px;
    margin-top: 20px;
  }
  .quickstart pre {
    font-size: 10px;
    padding: 17px 12px;
  }
  .code-bar {
    padding: 11px 12px;
    font-size: 7px;
  }
  .guide-links {
    font-size: 9px;
    gap: 18px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 23px;
  }
  .site-footer .nav-brand {
    font-size: 14px;
  }
  .site-footer p {
    font-size: 8px;
    order: 3;
    width: 100%;
  }
  .site-footer > a:last-child {
    font-size: 9px;
  }
  .figure-dialog {
    padding: 52px 10px 16px;
  }
  .figure-dialog p {
    font-size: 10px;
    padding-inline: 10px;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 33px;
  }
  .hero-actions {
    gap: 6px;
  }
  .button {
    font-size: 10px;
    padding-inline: 11px;
  }
  .highlight strong {
    font-size: 26px;
  }
  .highlight small {
    font-size: 6px;
  }
  .component-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  .component-buttons button {
    min-height: 89px;
    padding-left: 48px;
    position: relative;
  }
  .component-id {
    position: absolute;
    left: 11px;
    top: 14px;
  }
  .component-buttons strong {
    font-size: 10px;
  }
  .component-buttons small {
    font-size: 8px;
  }
  .get-started {
    padding-inline: 19px;
  }
  .quickstart pre {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-result-panel {
    opacity: 1;
    transform: none;
  }
  .domain-bar,
  .bar-chart.is-animating .bar {
    clip-path: none;
  }
  .scaling-line {
    stroke-dashoffset: 0;
  }
  .scaling-points circle {
    transform: scale(1);
  }
}
@media print {
  .site-header,
  .hero-actions,
  .nav-actions,
  .recursion-toolbar,
  .results-toolbar,
  .get-started,
  .site-footer,
  .text-button {
    display: none;
  }
  .section {
    padding-block: 30px;
  }
  .hero-content {
    padding-top: 10px;
  }
  .hero-orbit {
    display: none;
  }
  .container {
    width: 100%;
  }
  .hero h1 {
    font-size: 35px;
  }
  .section-heading {
    gap: 25px;
  }
  h2 {
    font-size: 29px;
  }
  .paper-figure,
  .component-explorer,
  .recursion-lab {
    break-inside: avoid;
  }
  body {
    background: white;
    font-size: 11px;
  }
}
