.theme-light {
  --surface-000: #ffffff;
  --surface-100: #fbfbfc;
  --surface-200: #f5f5f8;
  --surface-300: #eeeef2;
  --surface-400: #e5e5ea;
  --surface-500: #d9d9e0;
  --surface-600: #cbcbd4;
  --border:        rgba(18, 18, 26, 0.11);
  --border-subtle: rgba(18, 18, 26, 0.06);
  --border-hover:  rgba(18, 18, 26, 0.20);
  --border-active: rgba(18, 18, 26, 0.30);
  --text-100: rgba(16, 16, 22, 1.0);
  --text-90:  rgba(16, 16, 22, 0.90);
  --text-70:  rgba(16, 16, 22, 0.78);
  --text-50:  rgba(16, 16, 22, 0.68);
  --text-25:  rgba(16, 16, 22, 0.62);
  --text-12:  rgba(16, 16, 22, 0.18);
  --text-06:  rgba(16, 16, 22, 0.09);
  --accent:       #5f6b12;
  --accent-muted: #4a540c;
  --accent-dim:   rgba(95, 107, 18, 0.10);
  --accent-glow:  rgba(95, 107, 18, 0.20);
  --accent-on-dark: #c8d84c;
  --status-critical:  #c02626;
  --status-warning:   #9a6408;
  --status-contained: #12764a;
  --status-dormant:   #1b5fa8;
  --status-unknown:   #6f3f8f;
  color-scheme: light;
  background: var(--surface-100);
  color: var(--text-90);
}
.theme-light.grain::after {
  opacity: 0.012;
}
.theme-light .nav--scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--border);
}
.theme-light.home .nav--scrolled {
  background: rgba(246, 240, 254, 0.86);
}
.theme-light .nav__pill {
  background: rgba(18, 18, 26, 0.05);
}
.theme-light .nav__pill:hover {
  background: rgba(18, 18, 26, 0.09);
}
.theme-light .nav__pill.is-active {
  background: rgba(18, 18, 26, 0.08);
}
.theme-light .nav__pill--sub {
  background: rgba(248, 248, 252, 0.96);
  box-shadow: 0 14px 30px -16px rgba(37, 45, 61, 0.4), 0 0 0 1px rgba(18, 18, 26, 0.06);
}
.theme-light .nav__pill--sub:hover,
.theme-light .nav__pill--sub.is-active {
  background: #ffffff;
}
.theme-light .nav__mobile {
  background: rgba(252, 252, 253, 0.97);
}
.theme-light .text-chrome {
  color: var(--accent);
}
.theme-light .btn--solid {
  background: var(--text-100);
  color: var(--surface-000);
}
.theme-light .btn--solid:hover {
  background: var(--accent);
  color: #fff;
}
.theme-light .btn--accent {
  background: var(--accent);
  color: #fff;
}
.theme-light .btn--accent:hover {
  background: var(--accent-muted);
  color: #fff;
}
.theme-light .btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-70);
}
.theme-light .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-100);
}
.theme-light .footer {
  background: linear-gradient(to bottom, transparent, rgba(18, 18, 26, 0.04) 160px);
}
.theme-light .badge {
  background: linear-gradient(rgba(18, 18, 26, 0.05), rgba(18, 18, 26, 0.05)), #ffffff;
  border-color: var(--border);
  color: var(--text-70);
}
.theme-light .badge--critical {
  color: var(--status-critical);
  border-color: rgba(192, 38, 38, 0.30);
  background: linear-gradient(rgba(192, 38, 38, 0.09), rgba(192, 38, 38, 0.09)), #ffffff;
}
.theme-light .badge--warning {
  color: #925e07;
  border-color: rgba(146, 94, 7, 0.30);
  background: linear-gradient(rgba(146, 94, 7, 0.09), rgba(146, 94, 7, 0.09)), #ffffff;
}
.theme-light .badge--contained,
.theme-light .badge--research-preview {
  color: var(--status-contained);
  border-color: rgba(18, 118, 74, 0.30);
  background: linear-gradient(rgba(18, 118, 74, 0.09), rgba(18, 118, 74, 0.09)), #ffffff;
}
.theme-light .badge--dormant,
.theme-light .badge--in-training {
  color: var(--status-dormant);
  border-color: rgba(27, 95, 168, 0.30);
  background: linear-gradient(rgba(27, 95, 168, 0.09), rgba(27, 95, 168, 0.09)), #ffffff;
}
.theme-light .badge--accent {
  color: var(--accent);
  border-color: var(--accent-dim);
  background: linear-gradient(var(--accent-dim), var(--accent-dim)), #ffffff;
}
.theme-light .modal__overlay {
  background: rgba(18, 18, 26, 0.45);
}
.theme-light .cham-window,
.theme-light .cli-widget {
  border-color: rgba(18, 18, 26, 0.18);
  box-shadow:
    0 18px 40px rgba(18, 18, 26, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.theme-light .cli-widget__prompt {
  color: var(--accent-on-dark);
}
.theme-light .cham-window__title {
  color: rgba(255, 255, 255, 0.5);
}
.theme-light .cham-window__bar {
  background: rgba(255, 255, 255, 0.03);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.bloom {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bloom__base {
  position: absolute;
  inset: 0;
  background-color: var(--bloom-ground, #fbfbfc);
  background-image:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  background-size: 120px 120px;
  background-blend-mode: overlay;
}
.bloom__blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  filter: blur(var(--bloom-blur, 70px));
}
.bloom__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.07;
  mix-blend-mode: multiply;
}
@keyframes bloomFlow1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(11vw, -8vh) scale(1.18); }
}
@keyframes bloomFlow4 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-10vw, 11vh) scale(1.14); }
}
@keyframes bloomWander2 {
  0%   { transform: translate(0, 0) scale(1.06); }
  27%  { transform: translate(-9vw, 6vh) scale(0.94); }
  54%  { transform: translate(4vw, 12vh) scale(1.12); }
  78%  { transform: translate(10vw, -3vh) scale(0.98); }
  100% { transform: translate(0, 0) scale(1.06); }
}
@keyframes bloomWander3 {
  0%   { transform: translate(0, 0) scale(0.95); }
  31%  { transform: translate(8vw, -10vh) scale(1.18); }
  58%  { transform: translate(-6vw, -4vh) scale(1.02); }
  81%  { transform: translate(-11vw, 7vh) scale(1.12); }
  100% { transform: translate(0, 0) scale(0.95); }
}
@keyframes bloomWander5 {
  0%   { transform: translate(0, 0) scale(0.9); }
  24%  { transform: translate(13vw, 8vh) scale(1.2); }
  49%  { transform: translate(6vw, -9vh) scale(1.0); }
  73%  { transform: translate(-8vw, 4vh) scale(1.14); }
  100% { transform: translate(0, 0) scale(0.9); }
}
.bloom__blob--1 { animation: bloomFlow1   19s ease-in-out infinite alternate; }
.bloom__blob--2 { animation: bloomWander2 43s ease-in-out infinite; }
.bloom__blob--3 { animation: bloomWander3 37s ease-in-out infinite; }
.bloom__blob--4 { animation: bloomFlow4   26s ease-in-out infinite alternate; }
.bloom__blob--5 { animation: bloomWander5 31s ease-in-out infinite; }
.bloom--cli .bloom__blob--1 { left: 22%; top: 78%;  width: 68vw; height: 46vw; margin: -23vw 0 0 -34vw; }
.bloom--cli .bloom__blob--2 { left: 74%; top: 70%;  width: 60vw; height: 42vw; margin: -21vw 0 0 -30vw; }
.bloom--cli .bloom__blob--3 { left: 88%; top: 12%;  width: 40vw; height: 40vw; margin: -20vw 0 0 -20vw; }
.bloom--cli .bloom__blob--4 { left: 50%; top: 96%;  width: 90vw; height: 40vw; margin: -20vw 0 0 -45vw; }
.bloom--cli .bloom__blob--5 { left: 8%;  top: 16%;  width: 44vw; height: 44vw; margin: -22vw 0 0 -22vw; }
.bloom--neuralese .bloom__blob--1 { left: 18%; top: 22%; width: 78vw; height: 34vw; margin: -17vw 0 0 -39vw; }
.bloom--neuralese .bloom__blob--2 { left: 62%; top: 44%; width: 70vw; height: 30vw; margin: -15vw 0 0 -35vw; }
.bloom--neuralese .bloom__blob--3 { left: 34%; top: 72%; width: 82vw; height: 36vw; margin: -18vw 0 0 -41vw; }
.bloom--neuralese .bloom__blob--4 { left: 90%; top: 88%; width: 56vw; height: 28vw; margin: -14vw 0 0 -28vw; }
.bloom--neuralese .bloom__blob--5 { left: 4%;  top: 92%; width: 60vw; height: 26vw; margin: -13vw 0 0 -30vw; }
.bloom--research .bloom__blob--1 { left: 26%; top: 54%; width: 76vw; height: 62vw; margin: -31vw 0 0 -38vw; }
.bloom--research .bloom__blob--2 { left: 78%; top: 32%; width: 68vw; height: 54vw; margin: -27vw 0 0 -34vw; }
.bloom--research .bloom__blob--3 { left: 10%; top: 18%; width: 58vw; height: 52vw; margin: -26vw 0 0 -29vw; }
.bloom--research .bloom__blob--4 { left: 36%; top: 90%; width: 72vw; height: 48vw; margin: -24vw 0 0 -36vw; }
.bloom--research .bloom__blob--5 { left: 96%; top: 80%; width: 60vw; height: 50vw; margin: -25vw 0 0 -30vw; }
.bloom--models .bloom__blob--1 { left: 30%; top: 40%; width: 82vw; height: 58vw; margin: -29vw 0 0 -41vw; }
.bloom--models .bloom__blob--2 { left: 76%; top: 74%; width: 66vw; height: 50vw; margin: -25vw 0 0 -33vw; }
.bloom--models .bloom__blob--3 { left: 12%; top: 84%; width: 62vw; height: 54vw; margin: -27vw 0 0 -31vw; }
.bloom--models .bloom__blob--4 { left: 88%; top: 16%; width: 58vw; height: 46vw; margin: -23vw 0 0 -29vw; }
.bloom--models .bloom__blob--5 { left: 50%; top: 8%;  width: 70vw; height: 44vw; margin: -22vw 0 0 -35vw; }
.bloom--about .bloom__blob--1 { left: 20%; top: 26%; width: 72vw; height: 56vw; margin: -28vw 0 0 -36vw; }
.bloom--about .bloom__blob--2 { left: 70%; top: 20%; width: 64vw; height: 48vw; margin: -24vw 0 0 -32vw; }
.bloom--about .bloom__blob--3 { left: 78%; top: 78%; width: 68vw; height: 56vw; margin: -28vw 0 0 -34vw; }
.bloom--about .bloom__blob--4 { left: 26%; top: 88%; width: 66vw; height: 50vw; margin: -25vw 0 0 -33vw; }
.bloom--about .bloom__blob--5 { left: 4%;  top: 58%; width: 56vw; height: 44vw; margin: -22vw 0 0 -28vw; }
.bloom--cli { --bloom-ground: #e9f8ee; }
.bloom--cli .bloom__blob--1 { background: radial-gradient(circle, rgba(112, 208, 158, 0.56), rgba(112, 208, 158, 0.26) 50%, rgba(112, 208, 158, 0) 100%); }
.bloom--cli .bloom__blob--2 { background: radial-gradient(circle, rgba(142, 222, 170, 0.48), rgba(142, 222, 170, 0.22) 50%, rgba(142, 222, 170, 0) 100%); }
.bloom--cli .bloom__blob--3 { background: radial-gradient(circle, rgba(176, 230, 178, 0.50), rgba(176, 230, 178, 0.22) 50%, rgba(176, 230, 178, 0) 100%); }
.bloom--cli .bloom__blob--4 { background: radial-gradient(circle, rgba(88, 190, 158, 0.36), rgba(88, 190, 158, 0.16) 50%, rgba(88, 190, 158, 0) 100%); }
.bloom--cli .bloom__blob--5 { background: radial-gradient(circle, rgba(196, 238, 206, 0.52), rgba(196, 238, 206, 0.22) 55%, rgba(196, 238, 206, 0) 100%); }
.bloom--neuralese { --bloom-ground: #e3e2ef; }
.bloom--neuralese .bloom__blob--1 { background: radial-gradient(circle, rgba(92, 86, 150, 0.40), rgba(92, 86, 150, 0.18) 50%, rgba(92, 86, 150, 0) 100%); }
.bloom--neuralese .bloom__blob--2 { background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%); }
.bloom--neuralese .bloom__blob--3 { background: radial-gradient(circle, rgba(120, 132, 196, 0.36), rgba(120, 132, 196, 0.16) 50%, rgba(120, 132, 196, 0) 100%); }
.bloom--neuralese .bloom__blob--4 { background: radial-gradient(circle, rgba(64, 60, 118, 0.28), rgba(64, 60, 118, 0.12) 50%, rgba(64, 60, 118, 0) 100%); }
.bloom--neuralese .bloom__blob--5 { background: radial-gradient(circle, rgba(248, 251, 255, 0.95), rgba(248, 251, 255, 0.48) 55%, rgba(248, 251, 255, 0) 100%); }
.bloom--research { --bloom-ground: #ecebf0; }
.bloom--research .bloom__blob--1 { background: radial-gradient(circle, rgba(124, 74, 118, 0.35), rgba(124, 74, 118, 0.16) 50%, rgba(124, 74, 118, 0) 100%); }
.bloom--research .bloom__blob--2 { background: radial-gradient(circle, rgba(253, 251, 255, 0.95), rgba(253, 251, 255, 0.46) 50%, rgba(253, 251, 255, 0) 100%); }
.bloom--research .bloom__blob--3 { background: radial-gradient(circle, rgba(160, 118, 155, 0.26), rgba(160, 118, 155, 0.12) 50%, rgba(160, 118, 155, 0) 100%); }
.bloom--research .bloom__blob--4 { background: radial-gradient(circle, rgba(104, 60, 100, 0.20), rgba(104, 60, 100, 0.09) 50%, rgba(104, 60, 100, 0) 100%); }
.bloom--research .bloom__blob--5 { background: radial-gradient(circle, rgba(250, 248, 253, 0.92), rgba(250, 248, 253, 0.45) 55%, rgba(250, 248, 253, 0) 100%); }
.bloom--models,
.bloom--about { --bloom-ground: #efedfa; }
.bloom--models .bloom__blob--1,
.bloom--about  .bloom__blob--1 { background: radial-gradient(circle, rgba(124, 92, 240, 0.26), rgba(124, 92, 240, 0.12) 50%, rgba(124, 92, 240, 0) 100%); }
.bloom--models .bloom__blob--2,
.bloom--about  .bloom__blob--2 { background: radial-gradient(circle, rgba(252, 251, 255, 0.94), rgba(252, 251, 255, 0.46) 50%, rgba(252, 251, 255, 0) 100%); }
.bloom--models .bloom__blob--3,
.bloom--about  .bloom__blob--3 { background: radial-gradient(circle, rgba(154, 134, 245, 0.20), rgba(154, 134, 245, 0.09) 50%, rgba(154, 134, 245, 0) 100%); }
.bloom--models .bloom__blob--4,
.bloom--about  .bloom__blob--4 { background: radial-gradient(circle, rgba(106, 74, 224, 0.15), rgba(106, 74, 224, 0.07) 50%, rgba(106, 74, 224, 0) 100%); }
.bloom--models .bloom__blob--5,
.bloom--about  .bloom__blob--5 { background: radial-gradient(circle, rgba(248, 246, 255, 0.90), rgba(248, 246, 255, 0.44) 55%, rgba(248, 246, 255, 0) 100%); }
.bloom--samaritan { --bloom-ground: #eceef2; }
.bloom--samaritan .bloom__blob--1 { left: 28%; top: 34%; width: 78vw; height: 56vw; margin: -28vw 0 0 -39vw; background: radial-gradient(circle, rgba(72, 82, 98, 0.20), rgba(72, 82, 98, 0.09) 50%, rgba(72, 82, 98, 0) 100%); }
.bloom--samaritan .bloom__blob--2 { left: 74%; top: 22%; width: 64vw; height: 48vw; margin: -24vw 0 0 -32vw; background: radial-gradient(circle, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.48) 50%, rgba(255, 255, 255, 0) 100%); }
.bloom--samaritan .bloom__blob--3 { left: 14%; top: 86%; width: 66vw; height: 54vw; margin: -27vw 0 0 -33vw; background: radial-gradient(circle, rgba(108, 118, 136, 0.16), rgba(108, 118, 136, 0.07) 50%, rgba(108, 118, 136, 0) 100%); }
.bloom--samaritan .bloom__blob--4 { left: 90%; top: 72%; width: 58vw; height: 46vw; margin: -23vw 0 0 -29vw; background: radial-gradient(circle, rgba(52, 60, 74, 0.13), rgba(52, 60, 74, 0.06) 50%, rgba(52, 60, 74, 0) 100%); }
.bloom--samaritan .bloom__blob--5 { left: 50%; top: 6%;  width: 72vw; height: 44vw; margin: -22vw 0 0 -36vw; background: radial-gradient(circle, rgba(250, 251, 253, 0.94), rgba(250, 251, 253, 0.46) 55%, rgba(250, 251, 253, 0) 100%); }
.research-page {
  --accent:       #5a2f56;
  --accent-muted: #43213f;
  --accent-dim:   rgba(90, 47, 86, 0.10);
  --accent-glow:  rgba(90, 47, 86, 0.20);
  --text-25:      rgba(16, 16, 22, 0.72);
}
.models-page,
.about-page {
  --accent:       #4a2c9b;
  --accent-muted: #3a2080;
  --accent-dim:   rgba(74, 44, 155, 0.10);
  --accent-glow:  rgba(74, 44, 155, 0.20);
  --text-25:      rgba(16, 16, 22, 0.66);
}
.samaritan-page {
  --accent:       #3f4753;
  --accent-muted: #2b303a;
  --accent-dim:   rgba(63, 71, 83, 0.10);
  --accent-glow:  rgba(63, 71, 83, 0.20);
  --text-25:      rgba(16, 16, 22, 0.60);
}
.changelog-page {
  --accent:       #17553f;
  --accent-muted: #0f3f2d;
  --accent-dim:   rgba(29, 122, 86, 0.10);
  --accent-glow:  rgba(29, 122, 86, 0.22);
  --text-25:      rgba(16, 16, 22, 0.66);
}
.home {
  --accent:       #4a2c9b;
  --accent-muted: #3a2080;
  --accent-dim:   rgba(74, 44, 155, 0.10);
  --accent-glow:  rgba(74, 44, 155, 0.20);
  --text-25:      rgba(16, 16, 22, 0.66);
}
.cli-page {
  --accent:       #17553f;
  --accent-muted: #0f3f2d;
  --accent-dim:   rgba(29, 122, 86, 0.10);
  --accent-glow:  rgba(29, 122, 86, 0.22);
}
.mt-page {
  --accent:       #173f80;
  --accent-muted: #12315f;
  --accent-dim:   rgba(23, 63, 128, 0.10);
  --accent-glow:  rgba(23, 63, 128, 0.20);
}
.neuralese-page {
  --accent:       #252d3d;
  --accent-muted: #1b2230;
  --accent-dim:   rgba(37, 45, 61, 0.10);
  --accent-glow:  rgba(37, 45, 61, 0.20);
  --text-25:      rgba(16, 16, 22, 0.74);
  --text-50:      rgba(16, 16, 22, 0.78);
}
@media (max-width: 720px) {
  .bloom__blob { filter: blur(48px); }
}
@media (prefers-reduced-motion: reduce) {
  .bloom__blob { animation: none !important; }
}

.theme-light .badge--nr1 {
  color: #4a2c9b;
  border-color: rgba(74, 44, 155, 0.34);
  background: linear-gradient(rgba(124, 92, 240, 0.12), rgba(124, 92, 240, 0.12)), #ffffff;
}
.theme-light a.badge--nr1:hover,
.theme-light a.badge--nr1:focus-visible {
  color: #3a2080;
  border-color: rgba(74, 44, 155, 0.62);
  background: linear-gradient(rgba(124, 92, 240, 0.22), rgba(124, 92, 240, 0.22)), #ffffff;
}
