:root {
  color-scheme: light dark;
  --ink: #15202b;
  --muted: #5c6773;
  --line: #d8dee6;
  --paper: #f7f8fa;
  --panel: #ffffff;
  --panel-soft: #ffffff;
  --panel-strong: #ffffff;
  --cyan: #1ecfc5;
  --teal: #0f766e;
  --gold: #c98a1a;
  --green: #2f7d4c;
  --code: #101820;
  --code-soft: #172532;
  --step-badge-fg: #06211f;
  --hero-secondary-button-bg: rgba(255, 255, 255, 0.72);
  --code-text: #d9f6f3;
  --contrast-bg: #ffffff;
  --install-card-primary-bg: #f7fffe;
  --doc-sidebar-active-bg: #e8f6f4;
  --doc-toc-active-bg: #e8f6f4;
  --search-result-bg: #f8fbfb;
  --table-header-bg: #eef7f6;
  --alpha-status-border: rgba(201, 138, 26, 0.34);
  --alpha-status-bg: rgba(255, 250, 232, 0.82);
  --terminal-preview-shadow: rgba(16, 24, 32, 0.28);
  --terminal-preview-border: rgba(255, 255, 255, 0.16);
  --terminal-bar-border: rgba(255, 255, 255, 0.08);
  --terminal-bar-label: #d7e2ea;
  --terminal-code-label: #dbeafe;
  --search-input-bg: #ffffff;
  --media-image-bg: #ffffff;
  --hero-secondary-button-border: var(--line);
  --code-block-collapsed-overlay: rgba(16, 24, 32, 0.72);
  --code-line-focus: rgba(30, 207, 197, 0.24);
  --primary-button-bg: var(--ink);
  --primary-button-text: #ffffff;
  --install-card-primary-border: rgba(30, 207, 197, 0.78);
  --header-bg: rgba(247, 248, 250, 0.88);
  --header-border: rgba(21, 32, 43, 0.08);
  --brand-wordmark: #243040;
  --hero-watermark-opacity: 0.12;
  --hero-watermark-peak-opacity: 0.17;
  --hero-sweep-opacity: 0.22;
  --hero-sweep-blend: multiply;
  --hero-logo-shadow: rgb(15 23 34 / 18%);
  --hero-logo-glow: rgb(30 207 197 / 20%);
  --code-line-number: rgba(216, 230, 255, 0.72);
  --code-line-separator: rgba(217, 241, 249, 0.28);
  --code-toolbar-bg: #ffffff;
  --code-toolbar-fg: #15202b;
  --code-toolbar-hover-bg: #f4fbfd;
  --code-toolbar-hover-fg: #0e1f2b;
  --link-hover: #0f766e;
  --surface-shadow: rgb(15 23 34 / 8%);
  --surface-shadow-hover: rgb(15 23 34 / 16%);
  --surface-mark-opacity: 0.045;
  --timeline-rail: rgba(52, 221, 208, 0.28);
  --timeline-row: rgba(255, 255, 255, 0.035);
  --timeline-state-bg: rgba(52, 221, 208, 0.12);
  --hero-pointer-glow: rgba(30, 207, 197, 0.2);
  --hero-grid-line: rgba(15, 118, 110, 0.13);
  --hero-orbit-line: rgba(15, 118, 110, 0.22);
  --hero-accent-start: #0f766e;
  --hero-accent-end: #165f88;
  --capability-rail-bg: #07121b;
  --capability-rail-border: rgba(52, 221, 208, 0.22);
  --capability-rail-text: #d9f6f3;
  --spotlight-color: rgba(30, 207, 197, 0.12);
}

:root[data-theme="light"] {
  color-scheme: light;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes heroWatermarkDrift {
  0% {
    opacity: var(--hero-watermark-opacity);
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    opacity: var(--hero-watermark-peak-opacity);
    transform: translate(-1.3%, -1.6%) rotate(0.6deg) scale(1.018);
  }
  100% {
    opacity: var(--hero-watermark-opacity);
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes heroLogoBreath {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.012);
  }
}

@keyframes logoGlowBreath {
  0%,
  100% {
    opacity: 0.34;
  }

  50% {
    opacity: 0.72;
  }
}

@keyframes timelineReveal {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}

@keyframes terminalShimmer {
  0% {
    transform: translateX(-125%);
  }

  100% {
    transform: translateX(125%);
  }
}

@keyframes heroGlowSweep {
  0% {
    transform: translateX(-22%);
    opacity: 0;
  }
  6% {
    opacity: calc(var(--hero-sweep-opacity) * 0.8);
  }
  40% {
    transform: translateX(8%);
    opacity: var(--hero-sweep-opacity);
  }
  74% {
    opacity: calc(var(--hero-sweep-opacity) * 0.55);
  }
  100% {
    transform: translateX(22%);
    opacity: 0;
  }
}

@keyframes heroGridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 52px 52px, -52px 52px;
  }
}

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

@keyframes heroLivePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(30, 207, 197, 0.34);
    opacity: 0.8;
  }

  50% {
    box-shadow: 0 0 0 6px rgba(30, 207, 197, 0);
    opacity: 1;
  }
}

@keyframes terminalScan {
  0% {
    top: 12%;
    opacity: 0;
  }

  12%,
  72% {
    opacity: 0.42;
  }

  100% {
    top: 92%;
    opacity: 0;
  }
}

@keyframes terminalCursorBlink {
  0%,
  46% {
    opacity: 1;
  }

  47%,
  100% {
    opacity: 0;
  }
}

@keyframes timelineSignal {
  0%,
  14%,
  100% {
    opacity: 0;
  }

  4%,
  9% {
    opacity: 1;
  }
}

@keyframes capabilityFlow {
  to {
    transform: translateX(-50%);
  }
}

@keyframes heroAccentShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.visually-hidden {
  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: 10px;
  left: 12px;
  z-index: 100;
  padding: 9px 12px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--header-border);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand img {
  display: block;
  background: transparent;
}

.brand-mark,
.brand-wordmark,
.docs-logo {
  transition: filter 220ms ease;
}

.brand-mark {
  border-radius: 6px;
}

.brand-wordmark {
  display: block;
  width: 78px;
  height: 34px;
  background: var(--brand-wordmark);
  mask: url("logo/sigil-wordmark-header.svg") center / contain no-repeat;
  -webkit-mask: url("logo/sigil-wordmark-header.svg") center / contain no-repeat;
}

.hero-logo-on-dark,
.docs-logo-on-dark {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.nav-menu {
  position: relative;
}

.nav-menu > summary {
  display: none;
}

.nav-menu:not([open]) > nav {
  display: flex;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  font-size: 0.94rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--teal);
  background: var(--code-toolbar-hover-bg);
  color: var(--code-toolbar-hover-fg);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--code-line-focus);
  outline-offset: 2px;
}

.hero {
  --hero-pointer-x: 72%;
  --hero-pointer-y: 34%;
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 4vw, 56px) clamp(20px, 5vw, 64px) 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--hero-pointer-x) var(--hero-pointer-y), var(--hero-pointer-glow), transparent 28%),
    linear-gradient(105deg, rgba(30, 207, 197, 0.16), transparent 42%),
    linear-gradient(180deg, var(--panel-soft), #eef3f5 68%, #e8edf0);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -5vw 0 auto;
  width: min(56vw, 780px);
  aspect-ratio: 1;
  background-image: url("logo/sigil-mark-staff-glow-watermark.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: var(--hero-watermark-opacity);
  filter: saturate(1.02) contrast(0.9) blur(0.45px);
  backface-visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 6% -15% 10% -15%;
  background: linear-gradient(120deg, transparent 12%, rgba(30, 207, 197, 0.2) 48%, transparent 84%);
  opacity: var(--hero-sweep-opacity);
  pointer-events: none;
  transform: translateX(-22%);
  mix-blend-mode: var(--hero-sweep-blend);
  z-index: 0;
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-field::before {
  content: "";
  position: absolute;
  top: var(--hero-pointer-y);
  left: var(--hero-pointer-x);
  width: min(46vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hero-pointer-glow), transparent 68%);
  filter: blur(10px);
  opacity: 0.78;
  transform: translate(-50%, -50%);
  transition:
    top 90ms linear,
    left 90ms linear;
}

.hero-grid {
  position: absolute;
  right: -10%;
  bottom: -36%;
  width: min(78vw, 1120px);
  height: min(82vw, 900px);
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 62%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 62%, transparent 92%);
  opacity: 0.64;
  transform: perspective(820px) rotateX(62deg) rotateZ(-8deg);
  transform-origin: center;
}

.hero-orbit {
  position: absolute;
  border: 1px dashed var(--hero-orbit-line);
  border-radius: 50%;
  opacity: 0.68;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(30, 207, 197, 0.72);
}

.hero-orbit::before {
  top: 9%;
  left: 18%;
  width: 6px;
  height: 6px;
}

.hero-orbit::after {
  right: 11%;
  bottom: 22%;
  width: 4px;
  height: 4px;
}

.hero-orbit-one {
  top: 12%;
  right: -12%;
  width: min(48vw, 680px);
  aspect-ratio: 1;
}

.hero-orbit-two {
  right: 12%;
  bottom: 6%;
  width: min(24vw, 340px);
  aspect-ratio: 1;
  border-style: solid;
  opacity: 0.42;
}

.hero-brand-lockup {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  left: clamp(20px, 5vw, 64px);
  width: min(280px, 44vw);
  z-index: 1;
  isolation: isolate;
}

.hero-brand-lockup::after,
.docs-brand-lockup::after {
  content: "";
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--hero-logo-glow), transparent 70%);
  filter: blur(20px);
  opacity: 0.34;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  width: 100%;
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 12px 30px var(--hero-logo-shadow));
}

.hero-logo-on-light,
.docs-logo-on-light {
  display: block;
}

.hero-copy {
  position: relative;
  min-width: 0;
  max-width: 780px;
  padding-top: 92px;
  opacity: 1;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border: 1px solid rgba(30, 207, 197, 0.28);
  border-radius: 999px;
  background: rgba(30, 207, 197, 0.07);
  backdrop-filter: blur(10px);
}

.hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(30, 207, 197, 0.72);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-accent {
  color: var(--hero-accent-start);
  background: linear-gradient(96deg, var(--hero-accent-start), var(--hero-accent-end) 54%, var(--hero-accent-start));
  background-size: 180% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  max-width: 670px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
}

.alpha-status {
  display: grid;
  gap: 5px;
  max-width: 680px;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid var(--alpha-status-border);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--alpha-status-bg);
  color: var(--muted);
}

.alpha-status strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.alpha-status a,
.docs-version-notice a {
  color: var(--teal);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.button.primary {
  background: var(--primary-button-bg);
  color: var(--primary-button-text);
}

.button.secondary {
  border: 1px solid var(--hero-secondary-button-border);
  background: var(--hero-secondary-button-bg);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgb(15 23 34 / 18%);
}

.terminal-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 16px;
  perspective: 1400px;
}

.terminal-stage::before,
.terminal-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(34px);
}

.terminal-stage::before {
  inset: 12% -8% 10% 18%;
  background: rgba(30, 207, 197, 0.18);
}

.terminal-stage::after {
  right: 12%;
  bottom: -8%;
  width: 38%;
  aspect-ratio: 1;
  background: rgba(22, 95, 136, 0.18);
}

.terminal-preview {
  --terminal-tilt-x: 0deg;
  --terminal-tilt-y: 0deg;
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  border: 1px solid var(--terminal-preview-border);
  border-radius: 8px;
  background: var(--code);
  color: var(--terminal-code-label);
  box-shadow:
    0 24px 72px var(--terminal-preview-shadow),
    0 0 0 1px rgba(52, 221, 208, 0.04),
    inset 0 1px rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transform: rotateX(var(--terminal-tilt-x)) rotateY(var(--terminal-tilt-y));
  transform-style: preserve-3d;
  transform-origin: center;
  transition:
    transform 180ms ease-out,
    border-color 220ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

.terminal-preview::before {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  left: 0;
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 221, 208, 0.72), transparent);
  box-shadow: 0 0 12px rgba(52, 221, 208, 0.32);
  opacity: 0;
  pointer-events: none;
}

.terminal-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 14%), transparent 58%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: heroWatermarkDrift 18s ease-in-out infinite;
  }

  .hero::after {
    animation: heroGlowSweep 10s ease-in-out infinite;
  }

  .hero-grid {
    animation: heroGridDrift 22s linear infinite;
  }

  .hero-orbit-one {
    animation: heroOrbitSpin 34s linear infinite;
  }

  .hero-orbit-two {
    animation: heroOrbitSpin 24s linear infinite reverse;
  }

  .hero-live-dot {
    animation: heroLivePulse 2.4s ease-in-out infinite;
  }

  .hero-accent {
    animation: heroAccentShift 8s ease-in-out infinite;
  }

  .hero-brand-lockup,
  .docs-brand-lockup {
    animation: heroReveal 680ms cubic-bezier(0.21, 1.02, 0.73, 1) both;
  }

  .hero-logo,
  .docs-logo {
    animation: heroLogoBreath 7.5s ease-in-out 900ms infinite;
  }

  .hero-brand-lockup::after,
  .docs-brand-lockup::after {
    animation: logoGlowBreath 7.5s ease-in-out 900ms infinite;
  }

  .hero-copy {
    animation: heroReveal 780ms cubic-bezier(0.21, 1.02, 0.73, 1) both;
    animation-delay: 0.08s;
  }

  .terminal-stage {
    animation: heroReveal 860ms cubic-bezier(0.21, 1.02, 0.73, 1) both;
    animation-delay: 0.17s;
  }

  .hero-actions .button:nth-child(1) {
    animation: heroReveal 700ms cubic-bezier(0.21, 1.02, 0.73, 1) both;
    animation-delay: 0.24s;
  }

  .hero-actions .button:nth-child(2) {
    animation: heroReveal 700ms cubic-bezier(0.21, 1.02, 0.73, 1) both;
    animation-delay: 0.31s;
  }

  .hero-actions .button:nth-child(3) {
    animation: heroReveal 700ms cubic-bezier(0.21, 1.02, 0.73, 1) both;
    animation-delay: 0.38s;
  }

  .terminal-preview::after {
    animation: terminalShimmer 1.6s ease-out 900ms 1 both;
  }

  .terminal-preview::before {
    animation: terminalScan 6.8s ease-in-out 1.8s infinite;
  }

  .terminal-command code::after {
    animation: terminalCursorBlink 1.05s steps(1, end) infinite;
  }

  .session-phase::after {
    animation: timelineSignal 7.2s ease-in-out var(--phase-delay) infinite;
  }

  .docs-hero-copy {
    animation: heroReveal 780ms cubic-bezier(0.21, 1.02, 0.73, 1) both;
    animation-delay: 0.08s;
  }

  .session-phase {
    animation: timelineReveal 440ms cubic-bezier(0.21, 1.02, 0.73, 1) both;
  }

  .session-phase:nth-child(1) {
    animation-delay: 0.38s;
  }

  .session-phase:nth-child(2) {
    animation-delay: 0.46s;
  }

  .session-phase:nth-child(3) {
    animation-delay: 0.54s;
  }

  .session-phase:nth-child(4) {
    animation-delay: 0.62s;
  }

  .session-phase:nth-child(5) {
    animation-delay: 0.7s;
  }
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--terminal-bar-border);
  background: var(--code-soft);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.terminal-bar span:nth-child(2) {
  background: var(--gold);
}

.terminal-bar span:nth-child(3) {
  background: var(--green);
}

.terminal-bar strong {
  margin-left: 6px;
  color: var(--terminal-bar-label);
  font-size: 0.8rem;
}

.terminal-command {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--terminal-bar-border);
  background: rgba(255, 255, 255, 0.018);
}

.terminal-prompt {
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 900;
}

.terminal-command code {
  min-width: 0;
  color: var(--code-text);
  overflow-wrap: anywhere;
}

.terminal-command code::after {
  content: "";
  display: inline-block;
  width: 0.58ch;
  height: 1.05em;
  margin-left: 4px;
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(52, 221, 208, 0.52);
  vertical-align: -0.14em;
}

.session-timeline {
  position: relative;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 12px 12px 34px;
  list-style: none;
}

.session-timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 20px;
  left: 20px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--timeline-rail) 12%, var(--timeline-rail) 88%, transparent);
}

.session-phase {
  --phase-delay: 0s;
  position: relative;
  display: grid;
  grid-template-columns: minmax(58px, 0.72fr) minmax(0, 2.4fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--timeline-row);
}

.session-phase::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(52, 221, 208, 0.52);
  border-radius: inherit;
  box-shadow:
    inset 0 0 18px rgba(52, 221, 208, 0.06),
    0 0 16px rgba(52, 221, 208, 0.08);
  opacity: 0;
  pointer-events: none;
}

.session-phase:nth-child(1) {
  --phase-delay: 0s;
}

.session-phase:nth-child(2) {
  --phase-delay: 1.2s;
}

.session-phase:nth-child(3) {
  --phase-delay: 2.4s;
}

.session-phase:nth-child(4) {
  --phase-delay: 3.6s;
}

.session-phase:nth-child(5) {
  --phase-delay: 4.8s;
}

.session-phase::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--code);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(52, 221, 208, 0.11);
  transform: translateY(-50%);
}

.session-phase-tool::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(241, 185, 91, 0.12);
}

.session-phase-status {
  border-color: rgba(70, 217, 142, 0.22);
}

.session-phase-status::before {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(70, 217, 142, 0.12);
}

.session-role,
.session-state {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 800;
}

.session-role {
  color: var(--cyan);
  text-transform: uppercase;
}

.session-description {
  min-width: 0;
  color: var(--terminal-bar-label);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.session-state {
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--timeline-state-bg);
  color: var(--code-text);
  white-space: nowrap;
}

.session-state-ready {
  background: rgba(241, 185, 91, 0.14);
  color: #f6cf8d;
}

.session-state-passed,
.session-state-live {
  background: rgba(70, 217, 142, 0.13);
  color: #86edb4;
}

.terminal-signals {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 14px;
  border-top: 1px solid var(--terminal-bar-border);
  background: rgba(255, 255, 255, 0.018);
  color: var(--terminal-bar-label);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.terminal-signals span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.signal-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 9px currentColor;
}

.signal-dot-cyan {
  background: var(--cyan);
  color: var(--cyan);
}

.signal-dot-gold {
  background: var(--gold);
  color: var(--gold);
}

.signal-dot-green {
  background: var(--green);
  color: var(--green);
}

.capability-rail {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 13px 0;
  border-top: 1px solid var(--capability-rail-border);
  border-bottom: 1px solid var(--capability-rail-border);
  background:
    linear-gradient(90deg, rgba(52, 221, 208, 0.06), transparent 18%, transparent 82%, rgba(52, 221, 208, 0.06)),
    var(--capability-rail-bg);
  color: var(--capability-rail-text);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.capability-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.capability-set {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(24px, 3vw, 48px);
  padding-right: clamp(24px, 3vw, 48px);
}

.capability-set span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--capability-rail-text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.capability-set span::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--cyan);
  background: rgba(52, 221, 208, 0.16);
  box-shadow: 0 0 10px rgba(52, 221, 208, 0.36);
  transform: rotate(45deg);
}

.capability-motion-toggle {
  position: absolute;
  top: 50%;
  right: clamp(10px, 2vw, 24px);
  z-index: 3;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(52, 221, 208, 0.36);
  border-radius: 50%;
  background: rgba(7, 18, 27, 0.9);
  color: var(--capability-rail-text);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transform: translateY(-50%);
}

.capability-motion-toggle:hover,
.capability-motion-toggle:focus-visible {
  border-color: var(--cyan);
  background: #102433;
}

.capability-motion-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.capability-rail.is-paused .capability-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: no-preference) {
  .capability-track {
    animation: capabilityFlow 30s linear infinite;
  }
}

pre {
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  position: relative;
  white-space: pre;
}

code {
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

.terminal-preview pre {
  padding: 20px;
}

.terminal-preview code {
  color: var(--code-text);
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
}

.section {
  padding: 84px clamp(20px, 5vw, 64px);
}

.contrast {
  background: var(--contrast-bg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.steps,
.feature-grid,
.doc-grid,
.split-list,
.resource-grid,
.resource-list {
  display: grid;
  gap: 16px;
}

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

.install-options {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.install-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.install-card-primary {
  border-color: var(--install-card-primary-border);
  background: var(--install-card-primary-bg);
}

.install-card pre {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--code);
  color: var(--code-text);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.step,
.feature-grid article,
.doc-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--step-badge-fg);
  font-weight: 900;
}

.step pre {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--code);
  color: var(--code-text);
}

.step p,
.feature-grid p {
  margin: 0;
  color: var(--muted);
}

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

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

.split-list ul {
  margin: 0;
  padding: 20px 20px 20px 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.split-list li + li {
  margin-top: 12px;
}

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

.doc-grid a {
  min-height: 150px;
  color: var(--muted);
  text-decoration: none;
}

.doc-grid a:hover,
.doc-grid a:focus-visible {
  border-color: var(--cyan);
}

.doc-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 900;
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 16px;
}

.visual-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
}

.visual-card-large {
  grid-row: span 2;
}

.visual-card:hover,
.visual-card:focus-visible {
  border-color: var(--cyan);
}

.visual-card img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--media-image-bg);
}

.visual-card span {
  font-weight: 900;
}

.terminal-deck {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 12px 8px 22px;
  isolation: isolate;
  perspective: 1200px;
}

.terminal-deck .visual-card {
  position: relative;
  border-color: rgba(30, 207, 197, 0.24);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--panel), var(--paper));
  box-shadow: 0 22px 56px var(--surface-shadow-hover);
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.terminal-deck .visual-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), rgba(30, 207, 197, 0.18) 62%, transparent);
  pointer-events: none;
}

.terminal-window-main {
  z-index: 1;
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  transform: rotate(-0.35deg);
}

.terminal-window-approval {
  z-index: 3;
  grid-column: 3;
  grid-row: 1;
  margin-top: 26px;
  margin-left: -42px;
  transform: rotate(0.8deg);
}

.terminal-window-config {
  z-index: 2;
  grid-column: 3;
  grid-row: 2;
  margin-top: -18px;
  margin-left: -22px;
  transform: rotate(-0.65deg);
}

.terminal-window-verification {
  transform: rotate(0.35deg);
}

.terminal-window-checkpoint {
  transform: translateY(10px) rotate(-0.4deg);
}

.terminal-window-compaction {
  transform: rotate(0.5deg);
}

.terminal-window-main:hover,
.terminal-window-main:focus-visible {
  transform: translateY(-6px) rotate(0deg);
}

.terminal-window-approval:hover,
.terminal-window-approval:focus-visible {
  transform: translateY(-6px) rotate(0deg);
}

.terminal-window-config:hover,
.terminal-window-config:focus-visible,
.terminal-window-verification:hover,
.terminal-window-verification:focus-visible,
.terminal-window-checkpoint:hover,
.terminal-window-checkpoint:focus-visible,
.terminal-window-compaction:hover,
.terminal-window-compaction:focus-visible {
  transform: translateY(-6px) rotate(0deg);
}

.terminal-deck .visual-card:hover,
.terminal-deck .visual-card:focus-visible {
  z-index: 4;
  border-color: var(--cyan);
  box-shadow: 0 30px 70px var(--surface-shadow-hover);
}

.docs-hero {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 48px clamp(20px, 5vw, 64px);
  background:
    linear-gradient(105deg, rgba(30, 207, 197, 0.15), transparent 42%),
    linear-gradient(180deg, var(--panel), #edf3f4);
}

.docs-brand-lockup {
  position: relative;
  width: 100%;
  max-width: 320px;
  isolation: isolate;
}

.docs-logo {
  width: 100%;
  max-width: none;
  height: auto;
}

.docs-hero-copy {
  min-width: 0;
  max-width: 820px;
}

.docs-section {
  scroll-margin-top: 84px;
}

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

.resource-grid-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-group-heading {
  margin: 28px 0 14px;
  color: var(--ink);
  font-size: 1.12rem;
}

.resource-card,
.resource-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  text-decoration: none;
}

.resource-card {
  min-height: 170px;
  padding: 20px;
}

.resource-grid-featured .resource-card {
  min-height: 190px;
}

.resource-card:hover,
.resource-card:focus-visible,
.resource-list a:hover,
.resource-list a:focus-visible {
  border-color: var(--cyan);
}

.resource-card h3 {
  color: var(--ink);
}

.resource-card p {
  margin: 0;
}

.resource-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.resource-list a {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
}

.resource-list span {
  color: var(--ink);
  font-weight: 900;
}

.install-card,
.step,
.feature-grid article,
.doc-grid a,
.resource-card,
.resource-list a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 10px 28px var(--surface-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.install-card::before,
.step::before,
.feature-grid article::before,
.doc-grid a::before,
.resource-card::before,
.resource-list a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(30, 207, 197, 0.12) 58%, transparent);
}

.install-card::after,
.step::after,
.feature-grid article::after,
.doc-grid a::after,
.resource-card:not(.task-card)::after,
.resource-list a::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 12px;
  z-index: 0;
  width: 68px;
  aspect-ratio: 1;
  background: var(--cyan);
  opacity: var(--surface-mark-opacity);
  mask: url("logo/sigil-mark-staff-glow.svg") center / contain no-repeat;
  -webkit-mask: url("logo/sigil-mark-staff-glow.svg") center / contain no-repeat;
  pointer-events: none;
}

.install-card > *,
.step > *,
.feature-grid article > *,
.doc-grid a > *,
.resource-card > *,
.resource-list a > * {
  position: relative;
  z-index: 1;
}

.install-card:hover,
.install-card:focus-within,
.step:hover,
.step:focus-within,
.feature-grid article:hover,
.feature-grid article:focus-within,
.doc-grid a:hover,
.doc-grid a:focus-visible,
.resource-card:hover,
.resource-card:focus-visible,
.resource-list a:hover,
.resource-list a:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 16px 38px var(--surface-shadow-hover);
  transform: translateY(-2px);
}

.spotlight-surface {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  background-image: radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), var(--spotlight-color), transparent 42%);
}

.terminal-deck .visual-card.spotlight-surface {
  background-image:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), var(--spotlight-color), transparent 40%),
    linear-gradient(180deg, var(--panel), var(--paper));
}

@media (prefers-reduced-motion: no-preference) {
  html.motion-enhanced .reveal-item {
    opacity: 0;
    translate: 0 18px;
    transition:
      opacity 560ms cubic-bezier(0.21, 1.02, 0.73, 1),
      translate 560ms cubic-bezier(0.21, 1.02, 0.73, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  html.motion-enhanced .reveal-item.is-visible {
    opacity: 1;
    translate: 0 0;
  }
}

.task-router {
  position: relative;
}

.task-router::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 207, 197, 0.52) 12%, rgba(30, 207, 197, 0.52) 88%, transparent);
  pointer-events: none;
}

.task-card {
  z-index: 1;
  padding-top: 28px;
}

.task-card::after {
  content: attr(data-step);
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 0;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  opacity: 0.12;
}

.docs-search-panel {
  max-width: 720px;
  margin-top: 28px;
}

.site-search {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.site-search label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.site-search input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--search-input-bg);
  color: var(--ink);
  font: inherit;
}

.site-search input:focus {
  border-color: var(--teal);
  outline: 2px solid var(--code-line-focus);
  outline-offset: 1px;
}

.docs-command-palette {
  gap: 10px;
  padding: 10px;
  border-color: rgba(30, 207, 197, 0.38);
  border-radius: 10px;
  box-shadow: 0 18px 44px var(--surface-shadow);
}

.docs-command-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 46px;
  padding: 5px 8px 5px 12px;
  border: 1px solid var(--terminal-preview-border);
  border-radius: 8px;
  background: var(--code);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.docs-command-line:focus-within {
  border-color: var(--cyan);
  box-shadow:
    inset 0 0 0 1px rgba(52, 221, 208, 0.18),
    0 0 0 3px var(--code-line-focus);
}

.docs-command-prefix {
  flex: 0 0 auto;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.docs-command-palette .docs-command-line input {
  min-width: 0;
  min-height: 34px;
  padding: 6px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--code-text);
  outline: 0;
}

.docs-command-palette .docs-command-line input::placeholder {
  color: var(--terminal-bar-label);
  opacity: 0.72;
}

.docs-command-palette .docs-command-line input:focus {
  border: 0;
  outline: 0;
}

.search-results {
  display: grid;
  gap: 7px;
  max-height: 320px;
  overflow: auto;
}

.search-results:empty {
  display: none;
}

.search-result {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--search-result-bg);
  text-decoration: none;
}

.search-result:hover,
.search-result:focus-visible {
  border-color: var(--cyan);
}

.search-result-title {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.search-result-page {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.search-result-description,
.search-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.doc-page {
  background: var(--panel-strong);
}

.doc-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 820px) 220px;
  gap: 32px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 44px clamp(20px, 4vw, 56px) 72px;
}

.doc-sidebar,
.doc-toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 112px);
  overflow: auto;
  color: var(--muted);
  font-size: 0.92rem;
}

.doc-navigation > summary,
.doc-toc-mobile {
  display: none;
}

.doc-navigation-panel {
  display: grid;
  gap: 16px;
}

.doc-navigation:not([open]) > .doc-navigation-panel {
  display: grid;
}

.doc-sidebar a,
.doc-toc a,
.doc-meta a,
.doc-page-nav a {
  text-decoration: none;
}

.doc-home-link {
  margin-bottom: 10px;
  color: var(--teal);
  font-weight: 900;
}

.doc-sidebar a {
  padding: 7px 9px;
  border-radius: 7px;
}

.doc-nav-group {
  display: grid;
  gap: 5px;
}

.doc-nav-group + .doc-nav-group {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.doc-nav-group-title {
  margin: 0;
  padding: 0 9px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.doc-nav-group-links {
  display: grid;
  gap: 1px;
  justify-content: stretch;
}

.doc-sidebar a.active,
.doc-sidebar a:hover,
.doc-sidebar a:focus-visible {
  background: var(--doc-sidebar-active-bg);
  color: var(--ink);
}

.doc-content {
  min-width: 0;
}

.docs-version-notice {
  display: grid;
  gap: 5px;
  max-width: 760px;
  margin: 18px 0 24px;
  padding: 12px 14px;
  border: 1px solid var(--alpha-status-border);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--alpha-status-bg);
  color: var(--muted);
}

.docs-version-notice strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.doc-content h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.doc-content h1,
.doc-content h2,
.doc-content h3,
.section[id] {
  scroll-margin-top: 92px;
}

.doc-content h2 {
  margin-top: 48px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.doc-content h3 {
  margin-top: 34px;
  font-size: 1.25rem;
}

.doc-content p,
.doc-content li,
.doc-content td,
.doc-content th {
  color: var(--muted);
}

.doc-content a {
  color: var(--teal);
  font-weight: 700;
}

.doc-content a:hover,
.doc-content a:focus-visible {
  color: var(--link-hover);
}

.doc-content pre {
  position: relative;
  margin: 18px 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--code);
  color: var(--code-text);
}

.code-block-frame {
  position: relative;
  min-width: 0;
}

.doc-content .code-block-frame {
  margin: 18px 0;
}

.doc-content .code-block-frame pre {
  margin: 0;
}

.install-card .code-block-frame,
.step .code-block-frame {
  margin-top: 12px;
}

.install-card .code-block-frame pre,
.step .code-block-frame pre {
  margin-top: 0;
}

.doc-content pre code {
  display: block;
  color: inherit;
  font-size: 0.95rem;
}

.code-block-toolbar {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.code-block-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1;
  font-size: 0.76rem;
  cursor: pointer;
  user-select: none;
}

.code-block-button:focus-visible {
  outline: 2px solid var(--code-line-focus);
  outline-offset: 1px;
}

.copy-code-button {
  color: var(--code-toolbar-fg);
  background: var(--code-toolbar-bg);
}

.copy-code-button:hover,
.copy-code-button:focus-visible {
  border-color: var(--teal);
  background: var(--code-toolbar-hover-bg);
  color: var(--code-toolbar-hover-fg);
}

.code-collapse-button {
  color: var(--muted);
  background: var(--panel);
}

.code-collapse-button:hover,
.code-collapse-button:focus-visible {
  color: var(--ink);
  border-color: var(--teal);
  background: var(--panel);
}

.code-with-line-numbers {
  margin: 0;
  white-space: normal;
}

.code-line {
  display: grid;
  grid-template-columns: minmax(2.2ch, auto) 1fr;
  gap: 12px;
}

.code-line + .code-line {
  margin-top: 2px;
}

.code-line-number {
  width: 2.2ch;
  color: var(--code-line-number);
  text-align: right;
  user-select: none;
  border-right: 1px solid var(--code-line-separator);
  padding-right: 10px;
}

.code-line-content {
  white-space: pre;
  overflow-wrap: anywhere;
}

.code-line-hidden {
  display: none;
}

.code-block-frame.code-block-collapsed .code-line-hidden {
  display: none;
}

.code-block-frame.code-block-expanded .code-line-hidden {
  display: grid;
}

.code-block-collapsible pre {
  padding-top: 42px;
}

.code-block-collapsible.code-block-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--code-block-collapsed-overlay));
}

.code-block-expanded::after {
  content: none;
}

.doc-content table {
  display: block;
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  overflow-x: auto;
}

.doc-content th,
.doc-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc-content th {
  background: var(--table-header-bg);
  color: var(--ink);
}

.doc-content img {
  max-width: 100%;
  height: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--media-image-bg);
}

.doc-meta,
.doc-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.doc-page-nav {
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.doc-meta a,
.doc-page-nav a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.doc-toc {
  gap: 6px;
}

.doc-toc-title {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.8rem;
}

.doc-toc a {
  color: var(--muted);
}

.doc-toc a.active {
  background: var(--doc-toc-active-bg);
  color: var(--ink);
}

.doc-toc .level-3 {
  padding-left: 14px;
  font-size: 0.86rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer a {
  color: var(--ink);
  text-decoration: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e6edf3;
  --muted: #a0adbe;
  --line: #2d3f53;
  --paper: #0d1117;
  --panel: #111a24;
  --panel-soft: #0d1117;
  --panel-strong: #0d1117;
  --teal: #8df0e0;
  --cyan: #34ddd0;
  --gold: #f1b95b;
  --green: #46d98e;
  --code: #050d16;
  --code-soft: #0e1a27;
  --code-line-number: rgba(183, 200, 217, 0.66);
  --code-line-separator: rgba(165, 187, 210, 0.22);
  --code-toolbar-bg: #1b2a3b;
  --code-toolbar-fg: #d8e8ff;
  --code-toolbar-hover-bg: #27394f;
  --code-toolbar-hover-fg: #ffffff;
  --link-hover: #8ef0df;
  --hero-secondary-button-bg: rgba(15, 23, 34, 0.74);
  --code-text: #d9f6f3;
  --contrast-bg: #0d1117;
  --install-card-primary-bg: #0f1a2a;
  --doc-sidebar-active-bg: #102433;
  --doc-toc-active-bg: #102433;
  --search-result-bg: #111b28;
  --table-header-bg: #102433;
  --alpha-status-border: rgba(241, 185, 91, 0.34);
  --alpha-status-bg: rgba(241, 185, 91, 0.09);
  --hero-secondary-button-border: #2f4a67;
  --terminal-preview-shadow: rgba(0, 0, 0, 0.52);
  --terminal-preview-border: rgba(255, 255, 255, 0.2);
  --terminal-bar-border: rgba(255, 255, 255, 0.14);
  --terminal-bar-label: #c2d3e3;
  --terminal-code-label: #d8e6ff;
  --search-input-bg: #0b1018;
  --media-image-bg: #0f1724;
  --install-card-primary-border: rgba(52, 221, 208, 0.78);
  --code-block-collapsed-overlay: rgba(5, 13, 22, 0.72);
  --code-line-focus: rgba(44, 230, 218, 0.36);
  --step-badge-fg: #052a2c;
  --primary-button-bg: #34ddd0;
  --primary-button-text: #052a2c;
  --code-toolbar-border: #2f4a67;
  --hover-border: #3f607e;
  --nav-hover: #f2fdff;
  --header-bg: rgba(15, 22, 31, 0.9);
  --header-border: rgba(130, 150, 168, 0.22);
  --brand-wordmark: #dce8f5;
  --hero-watermark-opacity: 0.08;
  --hero-watermark-peak-opacity: 0.14;
  --hero-sweep-opacity: 0.2;
  --hero-sweep-blend: screen;
  --hero-logo-shadow: rgb(0 0 0 / 40%);
  --hero-logo-glow: rgb(52 221 208 / 26%);
  --surface-shadow: rgb(0 0 0 / 24%);
  --surface-shadow-hover: rgb(0 0 0 / 42%);
  --surface-mark-opacity: 0.065;
  --timeline-rail: rgba(52, 221, 208, 0.34);
  --timeline-row: rgba(255, 255, 255, 0.045);
  --timeline-state-bg: rgba(52, 221, 208, 0.14);
  --hero-pointer-glow: rgba(52, 221, 208, 0.22);
  --hero-grid-line: rgba(52, 221, 208, 0.1);
  --hero-orbit-line: rgba(52, 221, 208, 0.2);
  --hero-accent-start: #8df0e0;
  --hero-accent-end: #78baff;
  --spotlight-color: rgba(52, 221, 208, 0.14);
}

:root[data-theme="dark"] body {
  background: var(--paper);
  color: var(--ink);
}

:root[data-theme="dark"] .brand-mark {
  filter: brightness(1.22) saturate(1.12) contrast(1.08) drop-shadow(0 3px 8px rgb(0 0 0 / 34%));
}

:root[data-theme="dark"] .brand-wordmark {
  filter: drop-shadow(0 3px 8px rgb(0 0 0 / 34%));
}

:root[data-theme="dark"] .hero-logo-on-light,
:root[data-theme="dark"] .docs-logo-on-light {
  display: none;
}

:root[data-theme="dark"] .hero-logo-on-dark,
:root[data-theme="dark"] .docs-logo-on-dark {
  display: block;
}

:root[data-theme="dark"] .docs-logo {
  filter: drop-shadow(0 8px 22px rgb(0 0 0 / 32%));
}

:root[data-theme="dark"] .hero-logo {
  filter: drop-shadow(0 12px 30px var(--hero-logo-shadow));
}

:root[data-theme="dark"] .hero,
:root[data-theme="dark"] .docs-hero,
:root[data-theme="dark"] .split-list,
:root[data-theme="dark"] .resource-card,
:root[data-theme="dark"] .doc-sidebar,
:root[data-theme="dark"] .doc-content,
:root[data-theme="dark"] .search-result,
:root[data-theme="dark"] .site-search,
:root[data-theme="dark"] .code-block-toolbar .code-block-button {
  color: var(--ink);
}

:root[data-theme="dark"] .hero,
:root[data-theme="dark"] .docs-hero {
  background:
    radial-gradient(circle at var(--hero-pointer-x, 72%) var(--hero-pointer-y, 34%), var(--hero-pointer-glow), transparent 28%),
    linear-gradient(105deg, rgba(44, 230, 218, 0.14), transparent 42%),
    linear-gradient(180deg, #111a24, #0c141d 68%, #090f16);
}

:root[data-theme="dark"] .site-header {
  background: var(--header-bg);
  border-color: var(--header-border);
}

:root[data-theme="dark"] .copy-code-button,
:root[data-theme="dark"] .code-collapse-button {
  border-color: var(--code-toolbar-border);
}

:root[data-theme="dark"] .copy-code-button:hover,
:root[data-theme="dark"] .copy-code-button:focus-visible {
  border-color: var(--teal);
  background: var(--code-toolbar-hover-bg);
  color: var(--code-toolbar-hover-fg);
}

:root[data-theme="dark"] .code-collapse-button:hover,
:root[data-theme="dark"] .code-collapse-button:focus-visible {
  border-color: var(--teal);
  color: var(--ink);
}

:root[data-theme="dark"] .doc-content th {
  background: var(--table-header-bg);
  color: var(--ink);
}

:root[data-theme="dark"] .search-result {
  background: var(--search-result-bg);
}

:root[data-theme="dark"] .site-search:not(.docs-command-palette) input {
  background: var(--search-input-bg);
  color: var(--ink);
}

:root[data-theme="dark"] .doc-grid a:hover,
:root[data-theme="dark"] .visual-card:hover,
:root[data-theme="dark"] .resource-card:hover,
:root[data-theme="dark"] .resource-list a:hover {
  border-color: var(--hover-border);
}

:root[data-theme="dark"] nav a:hover,
:root[data-theme="dark"] nav a:focus-visible {
  color: var(--nav-hover);
}

:root[data-theme="dark"] .doc-content a:hover,
:root[data-theme="dark"] .doc-content a:focus-visible {
  color: var(--link-hover);
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.not-found-panel {
  max-width: 520px;
  text-align: center;
}

.not-found-panel h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
}

.not-found-panel .hero-actions {
  justify-content: center;
}

@media (min-width: 981px) and (max-height: 760px) {
  .hero {
    gap: clamp(24px, 4vw, 56px);
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-brand-lockup {
    top: 16px;
    width: min(236px, 38vw);
  }

  .hero-copy {
    padding-top: 66px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 4.7vw, 4.1rem);
    line-height: 0.96;
  }

  .hero .lede {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero .alpha-status {
    gap: 3px;
    margin-top: 12px;
    padding: 8px 12px;
  }

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

  .hero .button {
    min-height: 40px;
    padding: 8px 14px;
  }

  .terminal-stage {
    margin-bottom: 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  .header-actions {
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .nav-menu > summary {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

  .nav-menu > summary::-webkit-details-marker {
    display: none;
  }

  .nav-menu > summary::after {
    content: "▾";
    margin-left: 6px;
    color: var(--muted);
  }

  .nav-menu[open] > summary::after {
    content: "▴";
  }

  .nav-menu:not([open]) > nav {
    display: none;
  }

  .nav-menu[open] > nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    display: grid;
    min-width: min(280px, calc(100vw - 40px));
    max-height: calc(100vh - 96px);
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    box-shadow: 0 18px 48px rgb(15 23 34 / 20%);
    overflow: auto;
  }

  .nav-menu nav a {
    padding: 8px 10px;
    border-radius: 7px;
  }

  .nav-menu nav a:hover,
  .nav-menu nav a:focus-visible {
    background: var(--doc-sidebar-active-bg);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: auto;
  }

  .terminal-stage {
    max-width: 680px;
    margin-bottom: 0;
  }

  .docs-hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .docs-brand-lockup {
    max-width: 360px;
  }

  .steps,
  .install-options,
  .feature-grid,
  .doc-grid,
  .visual-grid,
  .resource-grid,
  .resource-grid-featured,
  .resource-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-card-large {
    grid-row: auto;
  }

  .terminal-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    perspective: none;
  }

  .terminal-window-main,
  .terminal-window-approval,
  .terminal-window-config,
  .terminal-window-verification,
  .terminal-window-checkpoint,
  .terminal-window-compaction {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    transform: none;
  }

  .task-router::before {
    display: none;
  }

  .doc-shell {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .doc-sidebar,
  .doc-toc {
    position: static;
    max-height: none;
  }

  .doc-sidebar {
    display: block;
  }

  .doc-toc {
    display: none;
  }

  .doc-navigation > summary,
  .doc-toc-mobile > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

  .doc-navigation > summary::-webkit-details-marker,
  .doc-toc-mobile > summary::-webkit-details-marker {
    display: none;
  }

  .doc-navigation > summary::after,
  .doc-toc-mobile > summary::after {
    content: "+";
    color: var(--muted);
  }

  .doc-navigation[open] > summary::after,
  .doc-toc-mobile[open] > summary::after {
    content: "−";
  }

  .doc-navigation:not([open]) > .doc-navigation-panel {
    display: none;
  }

  .doc-navigation[open] > .doc-navigation-panel {
    display: grid;
    max-height: min(62vh, 560px);
    margin-top: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: auto;
  }

  .doc-nav-group + .doc-nav-group {
    padding-top: 12px;
  }

  .doc-toc-mobile {
    display: block;
    margin-bottom: 22px;
  }

  .doc-toc-mobile nav {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 12px;
    border-left: 2px solid var(--line);
  }

  .doc-toc-mobile nav a {
    color: var(--muted);
    text-decoration: none;
  }

  .doc-toc-mobile nav .level-3 {
    padding-left: 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .brand-mark {
    width: 29px;
    height: auto;
  }

  .brand-wordmark {
    width: 68px;
    height: 30px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero::before,
  .hero::after,
  .hero-grid,
  .hero-orbit-one,
  .hero-orbit-two,
  .hero-live-dot,
  .hero-accent,
  .terminal-preview::before,
  .terminal-command code::after,
  .session-phase::after,
  .capability-track {
    animation: none;
  }

  .hero-grid {
    right: -32%;
    bottom: -12%;
    width: 132vw;
    height: 104vw;
    opacity: 0.42;
  }

  .hero-orbit-one {
    top: 28%;
    right: -28%;
    width: 78vw;
  }

  .hero-orbit-two {
    right: 4%;
    bottom: 18%;
    width: 42vw;
  }

  .hero-brand-lockup {
    position: relative;
    top: auto;
    left: auto;
    width: min(270px, 72vw);
    margin-bottom: 14px;
  }

  .hero-logo {
    width: 100%;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    font-size: clamp(2.1rem, 10.5vw, 3rem);
    line-height: 1.02;
  }

  .session-timeline {
    padding-right: 9px;
    padding-left: 31px;
  }

  .session-timeline::before {
    left: 18px;
  }

  .session-phase {
    grid-template-columns: minmax(56px, 0.7fr) minmax(0, 2fr);
    gap: 6px 8px;
  }

  .session-phase::before {
    left: -18px;
  }

  .session-state {
    grid-column: 2;
    justify-self: start;
  }

  .terminal-signals {
    gap: 7px 12px;
    padding: 9px 12px;
    font-size: 0.62rem;
  }

  .capability-rail {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .capability-track {
    width: 100%;
  }

  .capability-set {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    padding: 0 20px;
  }

  .capability-set span {
    font-size: 0.68rem;
  }

  .capability-set[aria-hidden="true"],
  .capability-motion-toggle {
    display: none;
  }

  .docs-brand-lockup {
    max-width: min(300px, 78vw);
  }

  .docs-hero {
    padding-top: 32px;
  }

  .steps,
  .install-options,
  .feature-grid,
  .doc-grid,
  .split-list,
  .visual-grid,
  .resource-grid,
  .resource-grid-featured,
  .resource-grid-compact,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .doc-shell {
    padding-top: 28px;
  }

}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-mark {
    filter: brightness(1.22) saturate(1.12) contrast(1.08) drop-shadow(0 3px 8px rgb(0 0 0 / 34%));
  }

  :root:not([data-theme="light"]) .brand-wordmark {
    filter: drop-shadow(0 3px 8px rgb(0 0 0 / 34%));
  }

  :root:not([data-theme="light"]) .hero-logo-on-light,
  :root:not([data-theme="light"]) .docs-logo-on-light {
    display: none;
  }

  :root:not([data-theme="light"]) .hero-logo-on-dark,
  :root:not([data-theme="light"]) .docs-logo-on-dark {
    display: block;
  }

  :root:not([data-theme="light"]) .docs-logo {
    filter: drop-shadow(0 8px 22px rgb(0 0 0 / 32%));
  }

  :root:not([data-theme="light"]) .hero-logo {
    filter: drop-shadow(0 12px 30px var(--hero-logo-shadow));
  }

  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #e6edf3;
    --muted: #a0adbe;
    --line: #2d3f53;
    --paper: #0d1117;
    --panel: #111a24;
    --panel-soft: #0d1117;
    --panel-strong: #0d1117;
    --teal: #8df0e0;
    --cyan: #34ddd0;
    --gold: #f1b95b;
    --green: #46d98e;
    --code: #050d16;
    --code-soft: #0e1a27;
    --code-line-number: rgba(183, 200, 217, 0.66);
    --code-line-separator: rgba(165, 187, 210, 0.22);
    --code-toolbar-bg: #1b2a3b;
    --code-toolbar-fg: #d8e8ff;
    --code-toolbar-hover-bg: #27394f;
    --code-toolbar-hover-fg: #ffffff;
    --link-hover: #8ef0df;
    --hero-secondary-button-bg: rgba(15, 23, 34, 0.74);
    --code-text: #d9f6f3;
    --contrast-bg: #0d1117;
    --install-card-primary-bg: #0f1a2a;
    --doc-sidebar-active-bg: #102433;
    --doc-toc-active-bg: #102433;
    --search-result-bg: #111b28;
    --table-header-bg: #102433;
    --alpha-status-border: rgba(241, 185, 91, 0.34);
    --alpha-status-bg: rgba(241, 185, 91, 0.09);
    --hero-secondary-button-border: #2f4a67;
    --terminal-preview-shadow: rgba(0, 0, 0, 0.52);
    --terminal-preview-border: rgba(255, 255, 255, 0.2);
    --terminal-bar-border: rgba(255, 255, 255, 0.14);
    --terminal-bar-label: #c2d3e3;
    --terminal-code-label: #d8e6ff;
    --search-input-bg: #0b1018;
    --media-image-bg: #0f1724;
    --install-card-primary-border: rgba(52, 221, 208, 0.78);
    --code-block-collapsed-overlay: rgba(5, 13, 22, 0.72);
    --code-line-focus: rgba(44, 230, 218, 0.36);
    --step-badge-fg: #052a2c;
    --primary-button-bg: #34ddd0;
    --primary-button-text: #052a2c;
    --code-toolbar-border: #2f4a67;
    --hover-border: #3f607e;
    --nav-hover: #f2fdff;
    --header-bg: rgba(15, 22, 31, 0.9);
    --header-border: rgba(130, 150, 168, 0.22);
    --brand-wordmark: #dce8f5;
    --hero-watermark-opacity: 0.08;
    --hero-watermark-peak-opacity: 0.14;
    --hero-sweep-opacity: 0.2;
    --hero-sweep-blend: screen;
    --hero-logo-shadow: rgb(0 0 0 / 40%);
    --hero-logo-glow: rgb(52 221 208 / 26%);
    --surface-shadow: rgb(0 0 0 / 24%);
    --surface-shadow-hover: rgb(0 0 0 / 42%);
    --surface-mark-opacity: 0.065;
    --timeline-rail: rgba(52, 221, 208, 0.34);
    --timeline-row: rgba(255, 255, 255, 0.045);
    --timeline-state-bg: rgba(52, 221, 208, 0.14);
    --hero-pointer-glow: rgba(52, 221, 208, 0.22);
    --hero-grid-line: rgba(52, 221, 208, 0.1);
    --hero-orbit-line: rgba(52, 221, 208, 0.2);
    --hero-accent-start: #8df0e0;
    --hero-accent-end: #78baff;
    --spotlight-color: rgba(52, 221, 208, 0.14);
  }

  :root:not([data-theme="light"]) body {
    background: var(--paper);
    color: var(--ink);
  }

  :root:not([data-theme="light"]) .hero,
  :root:not([data-theme="light"]) .docs-hero,
  :root:not([data-theme="light"]) .split-list,
  :root:not([data-theme="light"]) .resource-card,
  :root:not([data-theme="light"]) .doc-sidebar,
  :root:not([data-theme="light"]) .doc-content,
  :root:not([data-theme="light"]) .search-result,
  :root:not([data-theme="light"]) .site-search,
  :root:not([data-theme="light"]) .code-block-toolbar .code-block-button {
    color: var(--ink);
  }

  :root:not([data-theme="light"]) .hero,
  :root:not([data-theme="light"]) .docs-hero {
    background:
      radial-gradient(circle at var(--hero-pointer-x, 72%) var(--hero-pointer-y, 34%), var(--hero-pointer-glow), transparent 28%),
      linear-gradient(105deg, rgba(44, 230, 218, 0.14), transparent 42%),
      linear-gradient(180deg, #111a24, #0c141d 68%, #090f16);
  }

  :root:not([data-theme="light"]) .site-header {
    background: var(--header-bg);
    border-color: var(--header-border);
  }

  :root:not([data-theme="light"]) .copy-code-button,
  :root:not([data-theme="light"]) .code-collapse-button {
    border-color: var(--code-toolbar-border);
  }

  :root:not([data-theme="light"]) .copy-code-button:hover,
  :root:not([data-theme="light"]) .copy-code-button:focus-visible {
    border-color: var(--teal);
    background: var(--code-toolbar-hover-bg);
    color: var(--code-toolbar-hover-fg);
  }

  :root:not([data-theme="light"]) .code-collapse-button:hover,
  :root:not([data-theme="light"]) .code-collapse-button:focus-visible {
    border-color: var(--teal);
    color: var(--ink);
  }

  :root:not([data-theme="light"]) .doc-content th {
    background: var(--table-header-bg);
    color: var(--ink);
  }

  :root:not([data-theme="light"]) .search-result {
    background: var(--search-result-bg);
  }

  :root:not([data-theme="light"]) .site-search:not(.docs-command-palette) input {
    background: var(--search-input-bg);
    color: var(--ink);
  }

  :root:not([data-theme="light"]) .doc-grid a:hover,
  :root:not([data-theme="light"]) .visual-card:hover,
  :root:not([data-theme="light"]) .resource-card:hover,
  :root:not([data-theme="light"]) .resource-list a:hover {
    border-color: var(--hover-border);
  }

  :root:not([data-theme="light"]) nav a:hover,
  :root:not([data-theme="light"]) nav a:focus-visible {
    color: var(--nav-hover);
  }

  :root:not([data-theme="light"]) .doc-content a:hover,
  :root:not([data-theme="light"]) .doc-content a:focus-visible {
    color: var(--link-hover);
  }
}

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

  .skip-link {
    transition: none;
  }

  .button,
  .hero-logo,
  .docs-logo,
  .hero-field::before,
  .terminal-preview,
  .terminal-deck .visual-card,
  .install-card,
  .step,
  .feature-grid article,
  .doc-grid a,
  .resource-card,
  .resource-list a {
    animation: none;
    transition: none;
  }

  .terminal-command code::after {
    display: none;
  }

  .capability-track {
    width: 100%;
  }

  .capability-set {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    padding: 0 clamp(20px, 5vw, 64px);
  }

  .capability-set[aria-hidden="true"] {
    display: none;
  }

  .capability-motion-toggle {
    display: none;
  }

  .button:hover,
  .button:focus-visible,
  .terminal-deck .visual-card:hover,
  .terminal-deck .visual-card:focus-visible,
  .install-card:hover,
  .install-card:focus-within,
  .step:hover,
  .step:focus-within,
  .feature-grid article:hover,
  .feature-grid article:focus-within,
  .doc-grid a:hover,
  .doc-grid a:focus-visible,
  .resource-card:hover,
  .resource-card:focus-visible,
  .resource-list a:hover,
  .resource-list a:focus-visible {
    transform: none;
  }
}

@media (forced-colors: active) {
  .hero-accent {
    color: LinkText;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}
