:root {
  color-scheme: dark;
  --bg: #020916;
  --bg-deep: #010611;
  --panel: #061426;
  --panel-2: #081a30;
  --panel-3: #0a1e36;
  --line: rgba(92, 151, 213, 0.22);
  --line-strong: rgba(91, 169, 255, 0.42);
  --text: #f2f7ff;
  --muted: #9cb0c9;
  --muted-2: #6f87a4;
  --blue: #2475ff;
  --cyan: #18d8e9;
  --violet: #925cff;
  --green: #31e78c;
  --amber: #f2b950;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --max: 1490px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scrollbar-color: #1c4774 #020916;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 81% 8%, rgba(0, 119, 255, 0.09), transparent 27rem),
    linear-gradient(180deg, #020916 0%, #030b18 50%, #010713 100%);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(67, 136, 207, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 136, 207, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 68%);
}

button,
a,
input {
  font: inherit;
}

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

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

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

button {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #041326;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 82px;
  border-bottom: 1px solid rgba(65, 129, 194, 0.17);
  background: rgba(2, 9, 22, 0.88);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.site-nav {
  width: min(calc(100% - 56px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.org-brand,
.project-name {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.org-brand {
  gap: 12px;
  color: #f6f9ff;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.org-mark {
  width: 40px;
  height: 44px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 12px rgba(36, 176, 255, 0.3));
}

.org-mark img {
  width: 38px;
  height: 38px;
}

.project-divider {
  width: 1px;
  height: 29px;
  margin-left: 3px;
  background: rgba(148, 179, 215, 0.28);
}

.project-name {
  gap: 11px;
  font-size: 16px;
  font-weight: 750;
}

.project-name i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 5px #fff, 0 0 16px var(--violet);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 3px;
}

.nav-links a {
  position: relative;
  height: 100%;
  padding: 0 18px;
  display: flex;
  align-items: center;
  color: #c2cee0;
  font-size: 13px;
  font-weight: 560;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: #fff;
  background: rgba(35, 107, 189, 0.05);
}

.nav-links a.is-current::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  height: 38px;
  min-width: 106px;
  padding: 0 10px 0 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 28, 50, 0.78);
  color: #cbd7e8;
  cursor: pointer;
}

.theme-toggle__track {
  position: relative;
  width: 40px;
  height: 22px;
  flex: none;
  border: 1px solid rgba(88, 161, 239, 0.38);
  border-radius: 999px;
  background: rgba(2, 12, 25, 0.72);
}

.theme-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #d88d13;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.theme-toggle__sun,
.theme-toggle__moon {
  position: absolute;
  font-size: 11px;
  line-height: 1;
}

.theme-toggle__moon { opacity: 0; }

.theme-toggle__label {
  min-width: 34px;
  font-size: 11px;
  font-weight: 650;
}

.theme-toggle__label-night { display: none; }

html[data-theme="night"] .theme-toggle__thumb {
  transform: translateX(18px);
  background: #18375c;
  color: #d8e8ff;
}

html[data-theme="night"] .theme-toggle__sun { opacity: 0; }
html[data-theme="night"] .theme-toggle__moon { opacity: 1; }
html[data-theme="night"] .theme-toggle__label-light { display: none; }
html[data-theme="night"] .theme-toggle__label-night { display: inline; }

.research-status,
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(9, 28, 50, 0.78);
  color: #cbd7e8;
}

.research-status {
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.research-status i,
.live-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(49, 231, 140, 0.9);
  animation: pulse 2.3s ease-in-out infinite;
}

.menu-button {
  display: none;
  min-width: 70px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
}

@keyframes pulse {
  50% { opacity: 0.55; transform: scale(0.78); }
}

.hero {
  position: relative;
  min-height: 525px;
  overflow: hidden;
  border-bottom: 1px solid rgba(73, 137, 205, 0.13);
  background: #020916;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100px;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, #020916);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(53, 136, 229, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 136, 229, 0.09) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 75% 30%, #000, transparent 68%);
}

.hero-glow {
  position: absolute;
  width: 760px;
  height: 500px;
  top: -60px;
  right: -120px;
  border-radius: 50%;
  background: rgba(9, 76, 212, 0.12);
  filter: blur(90px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 56px), var(--max));
  min-height: 525px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(480px, 1.05fr);
  align-items: center;
  gap: 30px;
}

.hero-copy {
  max-width: 670px;
  padding: 55px 0 70px;
}

.eyebrow {
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #74c8ff;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.hero h1 {
  margin-bottom: 18px;
  color: #f7f9ff;
  font-size: clamp(43px, 4vw, 67px);
  line-height: 0.99;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(100deg, #6aa8ff 12%, #37d9ec 55%, #a66dff 96%);
  background-clip: text;
  font-style: normal;
  text-shadow: 0 0 32px rgba(50, 127, 255, 0.12);
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 27px;
  color: #aebed2;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #eaf5ff;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.13);
}

.button--blue {
  border-color: #287cff;
  background: linear-gradient(145deg, #125aeb, #123dad);
  box-shadow: 0 0 28px rgba(30, 104, 255, 0.28), inset 0 1px rgba(255,255,255,.14);
}

.button--cyan {
  border-color: rgba(20, 211, 226, 0.62);
  background: rgba(4, 69, 85, 0.42);
}

.button--violet {
  border-color: rgba(146, 92, 255, 0.65);
  background: rgba(66, 30, 111, 0.37);
}

.button-icon {
  color: #94f7ff;
  font-size: 18px;
  line-height: 1;
}

.hero-status {
  width: max-content;
  max-width: 100%;
  margin-top: 26px;
  padding: 11px 15px;
  border: 1px solid rgba(76, 139, 205, 0.2);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px 23px;
  background: rgba(4, 17, 34, 0.7);
  color: #aebed1;
  font-size: 11px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.hero-status > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.dot--green {
  background: var(--green);
  box-shadow: 0 0 8px rgba(49, 231, 140, 0.8);
}

.pulse-line {
  position: relative;
  width: 20px;
  height: 10px;
  border-bottom: 1px solid var(--cyan);
  transform: skew(-25deg);
}

.pulse-line::after {
  position: absolute;
  left: 8px;
  bottom: -4px;
  width: 4px;
  height: 8px;
  content: "";
  border-left: 1px solid var(--cyan);
  border-top: 1px solid var(--cyan);
}

.shield-icon {
  width: 17px;
  height: 17px;
  border: 1px solid var(--violet);
  border-radius: 5px 5px 8px 8px;
  display: grid;
  place-items: center;
  color: #b897ff;
  font-size: 10px;
  font-style: normal;
}

.hero-visual {
  position: relative;
  height: 470px;
  align-self: end;
  isolation: isolate;
}

.hero-visual img {
  position: absolute;
  z-index: 2;
  width: 850px;
  max-width: none;
  height: 454px;
  right: -85px;
  bottom: 4px;
  object-fit: cover;
  object-position: 70% center;
  mix-blend-mode: screen;
  filter: saturate(1.17) contrast(1.05) brightness(1.08);
  mask-image: radial-gradient(ellipse 69% 84% at 66% 48%, #000 49%, rgba(0,0,0,.9) 61%, transparent 93%);
}

.orb-rings {
  position: absolute;
  z-index: 1;
  width: 520px;
  height: 330px;
  right: 30px;
  top: 54px;
  border: 1px solid rgba(86, 99, 255, 0.32);
  border-radius: 50%;
  transform: rotate(-7deg);
  box-shadow:
    0 0 0 32px rgba(40, 106, 255, 0.035),
    0 0 0 72px rgba(40, 106, 255, 0.026);
}

.orb-base {
  position: absolute;
  z-index: 3;
  right: 60px;
  bottom: 24px;
  width: 480px;
  height: 40px;
  border: 1px solid rgba(31, 183, 255, 0.28);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(22, 218, 255, 0.3), transparent 58%);
  box-shadow: 0 0 35px rgba(13, 125, 255, 0.2);
}

.page-shell {
  width: min(calc(100% - 56px), var(--max));
  margin: -28px auto 0;
  padding-bottom: 22px;
  position: relative;
  z-index: 5;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(9, 28, 51, 0.96), rgba(4, 17, 34, 0.96)),
    var(--panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025), var(--shadow);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.18fr) minmax(315px, 0.82fr);
  gap: 16px;
  scroll-margin-top: 100px;
}

.panel-heading,
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.panel-heading {
  min-height: 59px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.panel-heading > div,
.section-title-row > div,
.lab-header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-heading h2,
.section-title-row h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.015em;
}

.section-icon {
  color: #6e9dff;
  font-size: 19px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(56, 120, 255, 0.5);
}

.updated-label,
.live-chip {
  font-size: 10px;
  font-weight: 690;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.updated-label {
  color: var(--muted-2);
}

.live-chip {
  padding: 6px 9px;
  border-radius: 6px;
  color: #94eec1;
}

.state-explorer {
  min-height: 493px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.track-list {
  padding: 13px 11px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(1, 10, 22, 0.35);
}

.track-button {
  width: 100%;
  min-height: 72px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.track-button:hover {
  border-color: rgba(80, 143, 212, 0.2);
  background: rgba(22, 73, 127, 0.18);
}

.track-button.is-active {
  border-color: rgba(46, 118, 255, 0.55);
  background: linear-gradient(135deg, rgba(22, 91, 225, 0.8), rgba(14, 51, 118, 0.7));
  box-shadow: 0 0 24px rgba(22, 91, 225, 0.14), inset 0 1px rgba(255,255,255,.08);
}

.track-button span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-button strong {
  font-size: 13px;
}

.track-button small {
  color: #8298b3;
  font-size: 10px;
}

.track-button.is-active small {
  color: #b7cef0;
}

.track-button > i {
  color: #64dce8;
  font-size: 9px;
  font-style: normal;
  text-transform: uppercase;
}

.track-detail {
  position: relative;
  min-width: 0;
}

.track-content {
  padding: 27px 29px 24px;
  animation: reveal 220ms ease both;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(5px); }
}

.detail-kicker {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6bb8ff;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-kicker span {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(78, 144, 255, 0.34);
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(30, 102, 207, 0.12);
}

.track-content h3 {
  max-width: 640px;
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.028em;
}

.track-content > p {
  max-width: 790px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

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

.detail-columns > div {
  padding: 14px 15px;
  border: 1px solid rgba(72, 134, 200, 0.16);
  border-radius: 8px;
  background: rgba(3, 14, 29, 0.48);
}

.detail-columns h4 {
  margin-bottom: 8px;
  color: #dfeaff;
  font-size: 11px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.detail-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #94a9c3;
  font-size: 11px;
  line-height: 1.55;
}

.detail-columns li {
  position: relative;
  padding: 3px 0 3px 14px;
}

.detail-columns li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(24, 216, 233, 0.6);
}

.inline-link,
.section-link {
  color: #55adff;
  font-size: 11px;
  font-weight: 630;
}

.inline-link:hover,
.section-link:hover,
.resource-grid a:hover b,
.stack-card > a:hover {
  color: #8ae8ff;
}

.inline-link--muted {
  color: #8194ad;
}

.status-panel {
  overflow: hidden;
}

.status-list {
  margin: 0;
  padding: 8px 20px 2px;
}

.status-list div {
  min-height: 39px;
  border-bottom: 1px solid rgba(71, 130, 192, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}

.status-list dt {
  color: #aab9cb;
}

.status-list dd {
  margin: 0;
  color: #dfe8f7;
  text-align: right;
}

.status-list dd span {
  margin-right: 5px;
  color: #69b8ff;
}

.cyan-text { color: var(--cyan) !important; }
.amber-text { color: var(--amber) !important; }

.maturity-block {
  padding: 16px 20px 7px;
}

.maturity-block > p {
  margin-bottom: 9px;
  color: #d8e5f6;
  font-size: 11px;
  font-weight: 650;
}

.maturity-block > div {
  margin: 9px 0;
  display: grid;
  grid-template-columns: 92px minmax(45px, 1fr) 57px;
  align-items: center;
  gap: 8px;
  color: #899eb8;
  font-size: 9px;
}

.maturity-block div > i {
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: #112941;
}

.maturity-block div > i b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 9px rgba(24, 216, 233, 0.45);
}

.maturity-block small {
  color: #b0bfd1;
  font-size: inherit;
  text-align: right;
}

.release-facts {
  padding: 16px 20px 7px;
}

.release-facts > p {
  margin-bottom: 8px;
  color: #d8e5f6;
  font-size: 11px;
  font-weight: 650;
}

.release-facts > div {
  min-height: 30px;
  border-bottom: 1px solid rgba(71, 130, 192, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: #899eb8;
  font-size: 9px;
}

.release-facts > div:last-child {
  border-bottom: 0;
}

.release-facts small {
  color: #6fc5ff;
  font-size: inherit;
  font-weight: 680;
  text-align: right;
}

.status-note {
  margin: 0 20px 13px;
  color: #70869f;
  font-size: 9px;
  line-height: 1.45;
}

.outline-button {
  min-height: 38px;
  margin: 0 20px 18px;
  border: 1px solid rgba(46, 126, 209, 0.36);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 45, 82, 0.43);
  color: #73bdff;
  font-size: 10px;
  transition: background 160ms ease;
}

.outline-button:hover {
  background: rgba(14, 65, 113, 0.55);
}

.downloads-section,
.model-map-section,
.stack-section,
.evidence-section,
.resources-section {
  margin-top: 16px;
  padding: 0 18px 16px;
  scroll-margin-top: 100px;
}

.brain-trace {
  margin: 18px 0;
  padding: 0;
  border-bottom: 1px solid rgba(68, 138, 211, 0.2);
  border-top: 1px solid rgba(68, 138, 211, 0.2);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.brain-trace li {
  min-width: 0;
  padding: 12px 10px;
  display: grid;
  gap: 4px;
}

.brain-trace li + li {
  border-left: 1px solid rgba(68, 138, 211, 0.2);
}

.brain-trace span {
  color: #5eb8ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
}

.brain-trace b {
  color: #e6f0fb;
  font-size: 10px;
}

.brain-trace small {
  color: #7890aa;
  font-size: 8px;
  line-height: 1.4;
}

.brain-boundary {
  margin: 15px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--violet);
  background: rgba(115, 82, 190, 0.09);
  color: #8197b1;
  font-size: 9px;
  line-height: 1.55;
}

.brain-boundary strong {
  color: #b8a0f5;
}

.execution-map {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(62, 128, 197, 0.22);
  border-top: 1px solid rgba(62, 128, 197, 0.22);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
}

.execution-map li {
  min-height: 168px;
  padding: 18px 15px;
}

.execution-map li + li {
  border-left: 1px solid rgba(62, 128, 197, 0.18);
}

.execution-map span {
  color: #5db8ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
}

.execution-map h3 {
  margin: 22px 0 8px;
  color: #e6effa;
  font-size: 12px;
}

.execution-map p {
  margin: 0;
  color: #8097b1;
  font-size: 9px;
  line-height: 1.55;
}

.backend-ledger {
  margin-top: 13px;
  border: 1px solid rgba(62, 128, 197, 0.22);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.backend-ledger > div {
  min-height: 76px;
  padding: 13px 15px;
  display: grid;
  gap: 4px 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.backend-ledger > div:not(:nth-child(3n + 1)) {
  border-left: 1px solid rgba(62, 128, 197, 0.18);
}

.backend-ledger > div:nth-child(n + 4) {
  border-top: 1px solid rgba(62, 128, 197, 0.18);
}

.backend-ledger strong {
  color: #dceaf8;
  font-size: 10px;
}

.backend-ledger span {
  color: #52c5ff;
  font-size: 8px;
  font-weight: 700;
  text-align: right;
}

.backend-ledger p {
  grid-column: 1 / -1;
  margin: 0;
  color: #778fa9;
  font-size: 8px;
  line-height: 1.45;
}

.section-title-row {
  min-height: 57px;
  padding: 0 2px;
}

.section-title-row > p {
  margin: 0;
  color: var(--muted-2);
  font-size: 10px;
}

.section-link {
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

.download-card {
  position: relative;
  min-height: 238px;
  padding: 21px;
  border: 1px solid rgba(60, 131, 213, 0.36);
  border-radius: 9px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  background: linear-gradient(135deg, rgba(8, 47, 92, 0.72), rgba(4, 21, 41, 0.8));
  overflow: hidden;
}

.download-card::before {
  position: absolute;
  width: 230px;
  height: 230px;
  top: -150px;
  right: -100px;
  border-radius: 50%;
  content: "";
  background: rgba(36, 117, 255, 0.12);
  filter: blur(15px);
}

.download-card--cyan {
  border-color: rgba(32, 213, 185, 0.35);
  background: linear-gradient(135deg, rgba(5, 62, 69, 0.63), rgba(4, 28, 38, 0.85));
}

.download-card--cyan::before { background: rgba(26, 219, 187, 0.1); }

.download-card--violet {
  border-color: rgba(135, 85, 225, 0.42);
  background: linear-gradient(135deg, rgba(49, 29, 99, 0.62), rgba(18, 18, 51, 0.87));
}

.download-card--violet::before { background: rgba(145, 92, 255, 0.12); }

.download-card--featured {
  border-color: rgba(58, 142, 255, 0.64);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 0 34px rgba(26, 104, 255, 0.1);
}

.download-icon {
  width: 48px;
  height: 48px;
  border: 1px solid #3a9aff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #5dbbff;
  background: rgba(10, 69, 124, 0.23);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 18px;
  box-shadow: inset 0 0 14px rgba(45, 129, 255, 0.11);
}

.download-card--cyan .download-icon {
  border-color: #2cdcb7;
  color: #44edc9;
}

.download-card--violet .download-icon {
  border-color: #9c73ff;
  color: #b18cff;
}

.card-kicker,
.evidence-label {
  color: #65b9ff;
  font-size: 9px;
  font-weight: 740;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.download-card h3 {
  margin: 3px 0 5px;
  font-size: 17px;
}

.download-card p {
  min-height: 45px;
  margin-bottom: 10px;
  color: #96a9c0;
  font-size: 11px;
  line-height: 1.48;
}

.platform-tags {
  margin-bottom: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.platform-tags span {
  padding: 3px 8px;
  border: 1px solid rgba(63, 128, 193, 0.12);
  border-radius: 4px;
  background: rgba(1, 12, 25, 0.42);
  color: #9bb0c8;
  font-size: 8px;
}

.command-box {
  height: 31px;
  margin-bottom: 9px;
  border: 1px solid rgba(50, 130, 228, 0.27);
  border-radius: 5px;
  display: flex;
  align-items: center;
  background: rgba(1, 11, 23, 0.7);
  overflow: hidden;
}

.command-box code {
  min-width: 0;
  padding: 0 9px;
  flex: 1;
  color: #b9e5ff;
  font-size: 10px;
}

.command-box button {
  height: 100%;
  border: 0;
  border-left: 1px solid rgba(50, 130, 228, 0.27);
  background: rgba(18, 64, 113, 0.55);
  color: #8bcaff;
  font-size: 9px;
  cursor: pointer;
}

.download-action {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(44, 128, 255, 0.26);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, rgba(18, 83, 188, 0.82), rgba(14, 57, 135, 0.84));
  color: #d9ecff;
  font-size: 10px;
  font-weight: 630;
}

.download-card--cyan .download-action {
  border-color: rgba(32, 214, 184, 0.24);
  background: rgba(8, 105, 88, 0.69);
}

.download-card--violet .download-action {
  border-color: rgba(146, 92, 255, 0.29);
  background: rgba(80, 49, 168, 0.62);
}

.download-action:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.sub-action {
  margin-left: 11px;
  color: #8ca2bd;
  font-size: 9px;
  text-decoration: underline;
  text-decoration-color: rgba(140, 162, 189, 0.3);
  text-underline-offset: 3px;
}

.release-integrity {
  min-width: 0;
  grid-column: 1 / -1;
  padding: 9px 10px;
  border: 1px solid rgba(75, 146, 225, 0.23);
  border-radius: 6px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  background: rgba(1, 11, 23, 0.65);
}

.release-integrity span {
  color: #6e8cab;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.release-integrity code {
  min-width: 0;
  overflow: hidden;
  color: #a9d8ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-integrity button {
  padding: 4px 7px;
  border: 1px solid rgba(69, 141, 221, 0.31);
  border-radius: 4px;
  background: rgba(17, 63, 111, 0.62);
  color: #8ecbff;
  font-size: 8px;
  cursor: pointer;
}

.release-warning {
  min-height: 0 !important;
  margin: -2px 0 0 !important;
  grid-column: 1 / -1;
  color: #c4a56d !important;
  font-size: 8px !important;
  line-height: 1.45 !important;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stack-card {
  min-height: 190px;
  padding: 15px;
  border: 1px solid rgba(64, 128, 196, 0.25);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 10px 13px;
  background: rgba(5, 21, 41, 0.74);
  transition: border-color 160ms ease, transform 160ms ease;
}

.stack-card:hover {
  border-color: rgba(61, 146, 235, 0.48);
  transform: translateY(-2px);
}

.mini-visual {
  position: relative;
  width: 94px;
  height: 94px;
  align-self: center;
}

.stack-card h3 {
  margin: 4px 0 5px;
  font-size: 13px;
}

.stack-card p {
  margin-bottom: 11px;
  color: #91a4bb;
  font-size: 10px;
  line-height: 1.42;
}

.component-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #70baff;
  font-size: 9px;
}

.component-state::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.component-state--green { color: var(--green); }
.component-state--amber { color: var(--amber); }
.component-state--violet { color: #b28aff; }

.stack-card > a,
.private-label {
  grid-column: 1 / -1;
  color: #55adff;
  font-size: 9px;
}

.private-label {
  color: #9276c9;
}

.bloch-visual {
  border: 1px solid rgba(44, 180, 255, 0.55);
  border-radius: 50%;
  box-shadow: inset 0 0 22px rgba(0, 126, 255, 0.15), 0 0 18px rgba(0, 160, 255, 0.09);
}

.bloch-visual::before,
.bloch-visual::after {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 1px;
  content: "";
  background: rgba(54, 182, 255, 0.45);
}

.bloch-visual::after { transform: rotate(90deg); }

.bloch-visual i {
  position: absolute;
  width: 42px;
  height: 1px;
  left: 47px;
  top: 46px;
  background: #5ed9ff;
  transform: rotate(-47deg);
  transform-origin: left;
  box-shadow: 0 0 7px #27c8ff;
}

.bloch-visual b {
  position: absolute;
  width: 7px;
  height: 7px;
  left: 72px;
  top: 15px;
  border-radius: 50%;
  background: #b9f7ff;
  box-shadow: 0 0 10px #22d4ff;
}

.bloch-visual span,
.bloch-visual small {
  position: absolute;
  left: 40px;
  color: #9eb9d0;
  font-size: 8px;
}

.bloch-visual span { top: -13px; }
.bloch-visual small { bottom: -13px; }

.matrix-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 8px;
  transform: rotate(-13deg);
}

.matrix-visual span {
  border-radius: 50%;
  background: #1577f6;
  box-shadow: 0 0 8px rgba(22, 136, 255, 0.7);
}

.matrix-visual span:nth-child(2n) { background: var(--violet); }
.matrix-visual span:nth-child(3n) { background: var(--cyan); }

.network-visual i {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid #5aaeff;
  border-radius: 50%;
  background: #0e315f;
  box-shadow: 0 0 12px rgba(63, 135, 255, 0.45);
}

.network-visual i:nth-child(1) { top: 9px; left: 39px; }
.network-visual i:nth-child(2) { top: 40px; left: 7px; }
.network-visual i:nth-child(3) { top: 40px; right: 7px; }
.network-visual i:nth-child(4) { bottom: 4px; left: 39px; border-color: var(--violet); }

.network-visual b {
  position: absolute;
  width: 52px;
  height: 1px;
  left: 21px;
  top: 47px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.network-visual b:nth-of-type(2) { transform: rotate(45deg); }
.network-visual b:nth-of-type(3) { transform: rotate(-45deg); }

.bars-visual {
  padding: 9px 10px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.bars-visual i {
  width: 8px;
  height: 45%;
  background: linear-gradient(to top, #1345a8, #258cff);
  box-shadow: 0 0 8px rgba(36, 117, 255, 0.24);
}

.bars-visual i:nth-child(2) { height: 78%; }
.bars-visual i:nth-child(3) { height: 54%; }
.bars-visual i:nth-child(4) { height: 88%; background: linear-gradient(to top, #5030a4, #9a62ff); }
.bars-visual i:nth-child(5) { height: 65%; }
.bars-visual i:nth-child(6) { height: 38%; }

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(62, 128, 197, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(3, 15, 30, 0.48);
}

.evidence-grid article {
  min-height: 224px;
  padding: 22px;
  border-right: 1px solid rgba(62, 128, 197, 0.18);
}

.evidence-grid article:last-child { border-right: 0; }

.evidence-grid strong {
  margin: 12px 0 5px;
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #6fa8ff, #22d7e7);
  background-clip: text;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.evidence-grid strong i {
  color: #6d84a2;
  font-size: 16px;
  font-style: normal;
}

.evidence-grid h3 {
  margin-bottom: 9px;
  font-size: 13px;
}

.evidence-grid p {
  margin: 0;
  color: #869bb5;
  font-size: 10px;
  line-height: 1.55;
}

.evidence-footer {
  min-height: 51px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7f94ad;
  font-size: 9px;
}

.evidence-footer p {
  max-width: 1020px;
  margin: 0;
}

.evidence-footer p i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  display: inline-block;
  background: var(--violet);
  box-shadow: 0 0 7px var(--violet);
}

.evidence-footer a {
  flex: none;
  color: #5eb6ff;
}

.proof-ledger {
  margin-top: 12px;
  border: 1px solid rgba(68, 137, 211, 0.23);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(2, 13, 27, 0.6);
}

.proof-ledger-heading {
  min-height: 65px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(64, 128, 196, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(90deg, rgba(19, 67, 119, 0.26), rgba(48, 28, 99, 0.17));
}

.proof-ledger-heading h3 {
  margin: 2px 0 0;
  font-size: 15px;
  letter-spacing: -0.015em;
}

.proof-ledger-heading a {
  flex: none;
  color: #61b7ff;
  font-size: 9px;
}

.proof-row {
  min-height: 62px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(61, 123, 187, 0.13);
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) 125px;
  align-items: center;
  gap: 18px;
}

.proof-row strong {
  color: transparent;
  background: linear-gradient(90deg, #77aaff, #26dbe8);
  background-clip: text;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.proof-row > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-row b {
  color: #dae7f8;
  font-size: 10px;
}

.proof-row span,
.proof-row small {
  color: #8196b0;
  font-size: 9px;
  line-height: 1.45;
}

.proof-row small {
  color: #6289ae;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proof-boundary {
  margin: 0;
  padding: 10px 16px;
  color: #7c91aa;
  background: rgba(14, 38, 65, 0.3);
  font-size: 9px;
  line-height: 1.5;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
}

.resource-grid > a {
  min-height: 126px;
  padding: 17px;
  border-right: 1px solid rgba(65, 128, 194, 0.15);
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 13px;
  transition: background 160ms ease;
}

.resource-grid > a:last-child { border-right: 0; }
.resource-grid > a:hover { background: rgba(17, 64, 112, 0.18); }

.resource-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(95, 130, 255, 0.66);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #8c8dff;
  background: rgba(45, 47, 129, 0.16);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 16px;
}

.resource-grid h3 {
  margin: 1px 0 4px;
  font-size: 12px;
}

.resource-grid p {
  margin-bottom: 7px;
  color: #8ca0b8;
  font-size: 9px;
  line-height: 1.45;
}

.resource-grid b {
  color: #58adff;
  font-size: 9px;
  font-weight: 590;
}

.site-footer {
  border-top: 1px solid rgba(64, 128, 195, 0.15);
  background: rgba(1, 7, 16, 0.86);
}

.footer-inner {
  width: min(calc(100% - 56px), var(--max));
  min-height: 99px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  width: 41px;
  height: 41px;
}

.footer-brand strong { font-size: 12px; }
.footer-brand p { max-width: 230px; margin: 2px 0 0; color: #7387a0; font-size: 8px; }

.footer-inner nav {
  display: flex;
  gap: 28px;
  color: #8497ae;
  font-size: 9px;
}

.footer-inner small {
  color: #657991;
  font-size: 9px;
  text-align: right;
}

.footer-legal {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.footer-candid {
  flex: 0 0 auto;
  line-height: 0;
  opacity: 0.88;
}

.footer-candid:hover { opacity: 1; }

.footer-candid img {
  height: 42px;
  width: 42px;
}

.lab-dialog {
  width: min(1000px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(68, 148, 239, 0.48);
  border-radius: 13px;
  color: var(--text);
  background: #061426;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72), 0 0 50px rgba(32, 111, 255, 0.12);
}

.lab-dialog::backdrop {
  background: rgba(0, 5, 13, 0.82);
  backdrop-filter: blur(7px);
}

html.lab-fallback-open {
  overflow: hidden;
}

html.lab-fallback-open::after {
  position: fixed;
  inset: 0;
  z-index: 250;
  content: "";
  background: rgba(0, 5, 13, 0.82);
  backdrop-filter: blur(7px);
}

.lab-dialog.is-fallback-open {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 300;
  display: block;
  margin: 0;
  transform: translate(-50%, -50%);
}

.lab-window { overflow: hidden; border-radius: inherit; }

.lab-header {
  min-height: 67px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(14, 49, 92, 0.62), rgba(31, 18, 67, 0.36));
}

.lab-header small {
  display: block;
  color: #67b8ff;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.lab-header h2 { margin: 0; font-size: 17px; }

.lab-header > button {
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(5, 17, 34, 0.6);
  font-size: 20px;
  cursor: pointer;
}

.lab-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 22px;
}

.lab-copy p,
.lab-copy ol {
  color: #91a5bd;
  font-size: 12px;
  line-height: 1.6;
}

.lab-copy ol { padding-left: 20px; }
.lab-copy li { margin: 7px 0; }

.lab-angle {
  margin-top: 23px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: rgba(3, 15, 30, 0.55);
  font-size: 10px;
}

.lab-angle output { color: var(--cyan); }
.lab-angle input { grid-column: 1 / -1; width: 100%; accent-color: var(--blue); }

.circuit-panel {
  padding: 15px;
  border: 1px solid rgba(69, 139, 211, 0.27);
  border-radius: 9px;
  background: #030d1c;
}

.circuit-toolbar {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7490ad;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.circuit-toolbar button {
  border: 0;
  background: transparent;
  color: #5bacf2;
  cursor: pointer;
}

.qubit-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.qubit-row strong {
  width: 28px;
  color: #7f96b1;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.qubit-row button {
  width: 37px;
  height: 32px;
  border: 1px solid rgba(71, 144, 228, 0.45);
  border-radius: 5px;
  background: rgba(14, 63, 117, 0.52);
  color: #bfe4ff;
  font-size: 9px;
  cursor: pointer;
}

.qubit-row button:hover { border-color: var(--cyan); color: #fff; }

.wire {
  min-width: 20px;
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #195da4, #22cfe1);
}

.qubit-row small {
  width: 28px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  text-align: right;
}

.gate-sequence {
  min-height: 34px;
  margin: 10px 0 14px;
  padding: 8px 10px;
  border: 1px solid rgba(70, 137, 209, 0.18);
  border-radius: 5px;
  background: rgba(11, 33, 59, 0.52);
  color: #8fbde8;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  word-break: break-word;
}

.probability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.probability-grid > div {
  padding: 10px;
  border: 1px solid rgba(65, 131, 200, 0.17);
  border-radius: 6px;
  background: rgba(7, 25, 46, 0.65);
}

.probability-grid span,
.probability-grid strong {
  color: #8298b2;
  font-size: 9px;
}

.probability-grid > div > div {
  height: 5px;
  margin: 7px 0;
  border-radius: 999px;
  overflow: hidden;
  background: #112a45;
}

.probability-grid i {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 8px rgba(24, 216, 233, 0.45);
  transition: width 200ms ease;
}

.probability-grid strong { color: #dbebff; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 290px;
  padding: 11px 15px;
  border: 1px solid rgba(49, 231, 140, 0.38);
  border-radius: 8px;
  background: #08251d;
  color: #a8f7cf;
  box-shadow: 0 15px 45px rgba(0,0,0,.45);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.support-section {
  margin-top: 16px;
  padding: 0 18px 18px;
  scroll-margin-top: 100px;
}

.donation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 14px;
}

.donation-copy,
.nonprofit-record {
  border: 1px solid rgba(62, 128, 197, 0.22);
  border-radius: 9px;
  background: rgba(3, 15, 30, 0.48);
}

.donation-copy {
  padding: 24px;
}

.donation-copy h3 {
  max-width: 720px;
  margin: 6px 0 9px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.donation-copy > p:not(.card-kicker) {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}

.donation-copy form {
  max-width: 560px;
}

.donation-copy label {
  margin-bottom: 6px;
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.donation-field {
  height: 43px;
  margin-bottom: 10px;
  border: 1px solid rgba(65, 143, 230, 0.34);
  border-radius: 7px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 54px;
  align-items: center;
  background: rgba(1, 11, 23, 0.7);
  overflow: hidden;
}

.donation-field span {
  color: var(--muted-2);
  font-size: 10px;
  text-align: center;
}

.donation-field input {
  width: 100%;
  height: 100%;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0 12px;
  -moz-appearance: textfield;
}

.donation-field input::-webkit-outer-spin-button,
.donation-field input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.donation-copy form button {
  min-height: 43px;
  padding: 0 18px;
  border: 1px solid rgba(44, 128, 255, 0.52);
  border-radius: 7px;
  background: linear-gradient(135deg, #1766dc, #174cb1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.nonprofit-record {
  padding: 22px;
}

.nonprofit-record dl {
  margin: 12px 0 17px;
}

.nonprofit-record dl div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.nonprofit-record dt {
  color: var(--muted-2);
  font-size: 9px;
}

.nonprofit-record dd {
  margin: 0;
  color: var(--text);
  font-size: 10px;
  font-weight: 650;
  text-align: right;
}

.donation-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #55adff;
  font-size: 10px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #edf5fa;
  --bg-deep: #f8fbfd;
  --panel: #ffffff;
  --panel-2: #f2f8fb;
  --panel-3: #e9f2f8;
  --line: rgba(26, 84, 124, 0.17);
  --line-strong: rgba(25, 106, 166, 0.34);
  --text: #07192b;
  --muted: #405e73;
  --muted-2: #647e92;
  --shadow: 0 20px 55px rgba(25, 63, 89, 0.12);
}

html[data-theme="light"] {
  scrollbar-color: #8eb4cf #edf5fa;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 83% 6%, rgba(45, 142, 255, 0.13), transparent 27rem),
    linear-gradient(180deg, #f7fbfd 0%, #edf5fa 52%, #e8f1f7 100%);
}

html[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(23, 105, 168, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 105, 168, 0.055) 1px, transparent 1px);
}

html[data-theme="light"] .site-header {
  border-bottom-color: rgba(28, 92, 139, 0.16);
  background: rgba(250, 253, 255, 0.9);
  box-shadow: 0 12px 34px rgba(32, 72, 101, 0.08);
}

html[data-theme="light"] .org-brand,
html[data-theme="light"] .project-name,
html[data-theme="light"] .hero h1 {
  color: #07192b;
}

html[data-theme="light"] .nav-links a { color: #3d586d; }
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.is-current { color: #0b3760; background: rgba(36, 117, 255, 0.055); }

html[data-theme="light"] .research-status,
html[data-theme="light"] .live-chip,
html[data-theme="light"] .theme-toggle {
  background: rgba(238, 247, 252, 0.9);
  color: #34536a;
}

html[data-theme="light"] .theme-toggle__track {
  background: #d7e9f4;
}

html[data-theme="light"] .hero {
  border-bottom-color: rgba(43, 106, 153, 0.12);
  background: #f4f9fc;
}

html[data-theme="light"] .hero::after {
  background: linear-gradient(transparent, #f4f9fc);
}

html[data-theme="light"] .hero-grid { opacity: 0.48; }
html[data-theme="light"] .hero-glow { background: rgba(51, 137, 255, 0.13); }
html[data-theme="light"] .eyebrow { color: #176da8; }
html[data-theme="light"] .hero-lede { color: #405e73; }

html[data-theme="light"] .hero-status {
  border-color: rgba(33, 98, 147, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: #4d697d;
  box-shadow: 0 8px 24px rgba(29, 73, 105, 0.08);
}

html[data-theme="light"] .hero-visual img {
  mix-blend-mode: multiply;
  filter: saturate(1.12) contrast(1.08) brightness(1.05);
  opacity: 0.88;
}

html[data-theme="light"] .panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8), var(--shadow);
}

html[data-theme="light"] .track-list { background: rgba(231, 242, 248, 0.65); }
html[data-theme="light"] .track-button:hover { background: rgba(36, 117, 255, 0.07); }
html[data-theme="light"] .track-button:not(.is-active) small { color: #607b90; }
html[data-theme="light"] .track-button.is-active { color: #fff; }
html[data-theme="light"] .track-button.is-active small { color: #d3e4ff; }

html[data-theme="light"] .detail-columns > div,
html[data-theme="light"] .evidence-grid,
html[data-theme="light"] .proof-ledger,
html[data-theme="light"] .donation-copy,
html[data-theme="light"] .nonprofit-record {
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .detail-columns h4,
html[data-theme="light"] .status-list dd,
html[data-theme="light"] .maturity-block > p,
html[data-theme="light"] .release-facts > p,
html[data-theme="light"] .brain-trace b,
html[data-theme="light"] .execution-map h3,
html[data-theme="light"] .backend-ledger strong,
html[data-theme="light"] .probability-grid strong {
  color: #17344d;
}

html[data-theme="light"] .detail-columns ul,
html[data-theme="light"] .status-list dt,
html[data-theme="light"] .maturity-block > div,
html[data-theme="light"] .maturity-block small,
html[data-theme="light"] .release-facts > div,
html[data-theme="light"] .brain-trace small,
html[data-theme="light"] .brain-boundary,
html[data-theme="light"] .execution-map p,
html[data-theme="light"] .backend-ledger p,
html[data-theme="light"] .status-note,
html[data-theme="light"] .download-card p,
html[data-theme="light"] .stack-card p,
html[data-theme="light"] .evidence-grid p,
html[data-theme="light"] .evidence-footer,
html[data-theme="light"] .proof-row span,
html[data-theme="light"] .proof-row small,
html[data-theme="light"] .proof-boundary,
html[data-theme="light"] .resource-grid p,
html[data-theme="light"] .footer-brand p,
html[data-theme="light"] .footer-inner nav,
html[data-theme="light"] .footer-inner small,
html[data-theme="light"] .lab-copy p,
html[data-theme="light"] .lab-copy ol {
  color: var(--muted);
}

html[data-theme="light"] .release-facts small,
html[data-theme="light"] .brain-trace span,
html[data-theme="light"] .execution-map span,
html[data-theme="light"] .backend-ledger span {
  color: #176d9f;
}

html[data-theme="light"] .brain-trace,
html[data-theme="light"] .execution-map,
html[data-theme="light"] .backend-ledger,
html[data-theme="light"] .brain-boundary {
  background: rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .brain-boundary strong {
  color: #6244a5;
}

html[data-theme="light"] .maturity-block div > i,
html[data-theme="light"] .probability-grid > div > div {
  background: #d4e5ef;
}

html[data-theme="light"] .outline-button {
  background: rgba(221, 239, 250, 0.82);
  color: #1265a1;
}

html[data-theme="light"] .download-card {
  background: linear-gradient(135deg, #f4f9ff, #e9f3fb);
}

html[data-theme="light"] .download-card--cyan {
  background: linear-gradient(135deg, #effcf9, #e3f5f2);
}

html[data-theme="light"] .download-card--violet {
  background: linear-gradient(135deg, #f6f2ff, #eee8fb);
}

html[data-theme="light"] .platform-tags span,
html[data-theme="light"] .command-box,
html[data-theme="light"] .release-integrity,
html[data-theme="light"] .donation-field {
  background: rgba(255, 255, 255, 0.76);
  color: #49667c;
}

html[data-theme="light"] .command-box code,
html[data-theme="light"] .release-integrity code {
  color: #155b8c;
}

html[data-theme="light"] .command-box button,
html[data-theme="light"] .release-integrity button {
  background: #dcecf7;
  color: #185f91;
}

html[data-theme="light"] .stack-card {
  background: rgba(248, 252, 254, 0.92);
}

html[data-theme="light"] .evidence-grid strong i { color: #667e91; }
html[data-theme="light"] .proof-ledger-heading { background: linear-gradient(90deg, #edf6fb, #f4f0fb); }
html[data-theme="light"] .proof-row b { color: #18364f; }
html[data-theme="light"] .proof-boundary { background: #eef5f9; }
html[data-theme="light"] .resource-grid > a:hover { background: rgba(36, 117, 255, 0.055); }

html[data-theme="light"] .site-footer {
  border-top-color: rgba(31, 94, 142, 0.14);
  background: rgba(244, 249, 252, 0.92);
}

html[data-theme="light"] .lab-dialog {
  background: #f7fbfd;
  box-shadow: 0 30px 90px rgba(24, 62, 90, 0.28);
}

html[data-theme="light"] .lab-header {
  background: linear-gradient(90deg, #e9f4fb, #f1edfb);
}

html[data-theme="light"] .lab-header > button,
html[data-theme="light"] .lab-angle,
html[data-theme="light"] .circuit-panel,
html[data-theme="light"] .gate-sequence,
html[data-theme="light"] .probability-grid > div {
  background: #edf5fa;
}

html[data-theme="light"] .qubit-row strong,
html[data-theme="light"] .probability-grid span { color: #4b687d; }

html[data-theme="light"] .qubit-row button {
  background: #dcecf8;
  color: #174d78;
}

:focus-visible {
  outline: 2px solid #62ddea;
  outline-offset: 3px;
}

@media (max-width: 1240px) {
  .site-nav { gap: 14px; }
  .nav-links a { padding: 0 10px; }
  .nav-links a::after { right: 10px; left: 10px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(440px, .92fr); }
  .overview-grid { grid-template-columns: minmax(0, 1.8fr) 320px; }
  .state-explorer { grid-template-columns: 215px minmax(0, 1fr); }
  .track-content { padding: 23px; }
  .stack-card { grid-template-columns: 1fr; }
  .mini-visual { margin: 0 auto; }
}

@media (max-width: 1060px) {
  .research-status { display: none; }
  .hero { min-height: 580px; }
  .hero-inner { min-height: 580px; grid-template-columns: 1fr 420px; }
  .hero-visual { height: 500px; }
  .hero-visual img { right: -170px; }
  .overview-grid { grid-template-columns: 1fr; }
  .status-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .status-panel .panel-heading { grid-column: 1 / -1; }
  .status-list { border-right: 1px solid var(--line); }
  .status-note { align-self: end; }
  .outline-button { grid-column: 2; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 0; }
  .download-card p { min-height: 0; }
  .stack-grid,
  .evidence-grid,
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .execution-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .execution-map li:nth-child(4) { border-left: 0; }
  .execution-map li:nth-child(n + 4) { border-top: 1px solid rgba(62, 128, 197, 0.18); }
  .evidence-grid article:nth-child(2) { border-right: 0; }
  .evidence-grid article:nth-child(-n + 2) { border-bottom: 1px solid rgba(62, 128, 197, 0.18); }
  .resource-grid > a:nth-child(2) { border-right: 0; }
  .resource-grid > a:nth-child(-n + 2) { border-bottom: 1px solid rgba(65, 128, 194, 0.15); }
}

@media (max-width: 820px) {
  .site-header { height: 70px; }
  .site-nav { width: min(calc(100% - 30px), var(--max)); }
  .project-divider,
  .project-name { display: none; }
  .org-brand { font-size: 15px; }
  .org-mark { width: 34px; height: 34px; }
  .menu-button { display: block; }
  .nav-links {
    position: absolute;
    top: 70px;
    right: 15px;
    width: min(270px, calc(100vw - 30px));
    height: auto;
    padding: 7px;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(4, 17, 34, 0.98);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.48);
  }
  .nav-links.is-open { display: flex; }
  html[data-theme="light"] .nav-links {
    background: rgba(250, 253, 255, 0.98);
    box-shadow: 0 22px 55px rgba(31, 70, 98, 0.18);
  }
  .nav-links a { height: 44px; padding: 0 13px; border-radius: 6px; }
  .nav-links a::after { display: none; }
  .hero { min-height: 760px; }
  .hero-inner { width: min(calc(100% - 34px), var(--max)); min-height: 760px; grid-template-columns: 1fr; align-content: start; }
  .hero-copy { max-width: none; padding: 60px 0 0; }
  .hero h1 { max-width: 700px; }
  .hero-visual { height: 330px; width: 100%; align-self: auto; }
  .hero-visual img { width: 720px; height: 370px; right: 50%; bottom: -7px; transform: translateX(57%); object-position: 72% center; }
  .orb-rings { width: 440px; height: 240px; right: 50%; top: 32px; transform: translateX(57%) rotate(-7deg); }
  .orb-base { right: 50%; bottom: 20px; width: 360px; transform: translateX(58%); }
  .page-shell { width: min(calc(100% - 30px), var(--max)); margin-top: -18px; }
  .state-explorer { grid-template-columns: 1fr; }
  .track-list { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)); overflow-x: auto; }
  .track-button { min-height: 62px; }
  .track-button > i { display: none; }
  .status-panel { grid-template-columns: 1fr; }
  .status-panel .panel-heading,
  .outline-button { grid-column: auto; }
  .status-list { border-right: 0; }
  .lab-body { grid-template-columns: 1fr; }
  .donation-layout { grid-template-columns: 1fr; }
  .brain-trace { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brain-trace li:nth-child(3) { border-left: 0; }
  .brain-trace li:nth-child(n + 3) { border-top: 1px solid rgba(68, 138, 211, 0.2); }
  .backend-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .backend-ledger > div:not(:nth-child(3n + 1)) { border-left: 0; }
  .backend-ledger > div:nth-child(even) { border-left: 1px solid rgba(62, 128, 197, 0.18); }
  .backend-ledger > div:nth-child(n + 3) { border-top: 1px solid rgba(62, 128, 197, 0.18); }
}

@media (max-width: 610px) {
  body { font-size: 14px; }
  .org-brand span:last-child { max-width: 145px; white-space: normal; line-height: 1.1; }
  .theme-toggle { min-width: 38px; width: 38px; padding: 0; justify-content: center; }
  .theme-toggle__label { display: none; }
  .theme-toggle__track { width: 30px; }
  html[data-theme="night"] .theme-toggle__thumb { transform: translateX(8px); }
  .hero { min-height: 800px; }
  .hero-inner { min-height: 800px; }
  .hero-copy { padding-top: 43px; }
  .eyebrow { font-size: 9px; }
  .hero h1 { font-size: clamp(38px, 12vw, 53px); }
  .hero-lede { font-size: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-status { width: 100%; gap: 8px 14px; }
  .hero-visual { height: 280px; }
  .hero-visual img { width: 590px; height: 310px; }
  .orb-rings { width: 340px; height: 200px; }
  .orb-base { width: 290px; }
  .panel-heading { padding: 0 14px; }
  .updated-label { display: none; }
  .track-content { padding: 21px 16px; }
  .track-content h3 { font-size: 20px; }
  .detail-columns,
  .stack-grid,
  .evidence-grid,
  .resource-grid { grid-template-columns: 1fr; }
  .execution-map,
  .brain-trace,
  .backend-ledger { grid-template-columns: 1fr; }
  .execution-map li,
  .execution-map li + li,
  .execution-map li:nth-child(4),
  .execution-map li:nth-child(n + 4),
  .brain-trace li,
  .brain-trace li + li,
  .brain-trace li:nth-child(3),
  .brain-trace li:nth-child(n + 3),
  .backend-ledger > div,
  .backend-ledger > div:not(:nth-child(3n + 1)),
  .backend-ledger > div:nth-child(even),
  .backend-ledger > div:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid rgba(62, 128, 197, 0.18);
  }
  .execution-map li:first-child,
  .brain-trace li:first-child,
  .backend-ledger > div:first-child { border-top: 0; }
  .execution-map li { min-height: 0; }
  .download-card { grid-template-columns: 1fr; padding: 18px; }
  .download-icon { width: 42px; height: 42px; }
  .sub-action { display: inline-block; margin: 9px 0 0 8px; }
  .release-integrity { grid-template-columns: 1fr auto; }
  .release-integrity span { grid-column: 1 / -1; }
  .proof-ledger-heading { align-items: flex-start; flex-direction: column; }
  .proof-row { grid-template-columns: 1fr; gap: 5px; }
  .proof-row small { text-align: left; }
  .stack-card { grid-template-columns: 95px minmax(0, 1fr); }
  .mini-visual { margin: 0; }
  .evidence-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(62, 128, 197, 0.18); }
  .evidence-grid article:last-child { border-bottom: 0; }
  .evidence-footer { align-items: flex-start; flex-direction: column; }
  .resource-grid > a { border-right: 0; border-bottom: 1px solid rgba(65, 128, 194, 0.15); }
  .resource-grid > a:last-child { border-bottom: 0; }
  .section-title-row > p { display: none; }
  .footer-inner { width: min(calc(100% - 30px), var(--max)); padding: 24px 0; grid-template-columns: 1fr; gap: 20px; }
  .footer-inner small { text-align: left; }
  .footer-legal { justify-content: flex-start; }
  .probability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qubit-row button { width: 32px; }
  .support-section { padding: 0 12px 12px; }
  .donation-copy,
  .nonprofit-record { padding: 18px; }
  .donation-copy h3 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
