:root {
  --sr-bg: #e9e9e6;
  --sr-surface: #f2f2ef;
  --sr-line: #a9aaa6;
  --sr-text: #121212;
  --sr-muted: #4d4d4a;
  --sr-orange: #ff5a1f;
  --sr-black: #111111;
  --sr-white: #f5f5f2;
  --sr-radius: 0;
  --sr-mono: "SFMono-Regular", "Roboto Mono", "IBM Plex Mono", Consolas, monospace;
  --sr-sans: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sr-subpage-max: 1120px;
  --sr-reading-max: 760px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --sr-bg: #08090a;
  --sr-surface: #141619;
  --sr-line: #34383a;
  --sr-text: #f5f5f2;
  --sr-muted: #a8aca8;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--sr-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(var(--sr-line) 1px, transparent 1px) 0 0 / 25vw 18.25vh,
    linear-gradient(90deg, var(--sr-line) 1px, transparent 1px) 0 0 / 25vw 18.25vh,
    var(--sr-bg);
  color: var(--sr-text);
  font-family: var(--sr-mono);
}

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

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--sr-orange);
  outline-offset: 4px;
}

button {
  font: inherit;
}

.sr-page {
  min-height: 100svh;
  padding: clamp(14px, 2vw, 28px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.sr-header {
  position: sticky;
  top: clamp(10px, 2vw, 28px);
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(320px, 1.35fr) minmax(280px, 0.9fr);
  align-items: stretch;
  min-height: 78px;
  border: 1px solid var(--sr-line);
  background: rgba(233, 233, 230, 0.9);
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .sr-header {
  background: rgba(8, 9, 10, 0.9);
}

.sr-header > * {
  min-width: 0;
}

.sr-wordmark,
.sr-nav,
.sr-header-actions {
  display: flex;
  align-items: center;
  border-right: 1px solid var(--sr-line);
}

.sr-wordmark {
  justify-content: center;
  padding: 16px clamp(14px, 2vw, 28px);
  font-family: var(--sr-sans);
  font-size: clamp(14px, 1.15vw, 18px);
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.sr-nav {
  justify-content: center;
  gap: clamp(12px, 2.2vw, 32px);
  padding: 0 18px;
  color: var(--sr-muted);
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sr-nav a,
.sr-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.sr-roll-link {
  --sr-roll-distance: 112%;
  --sr-roll-duration: 420ms;
  --sr-roll-ease: cubic-bezier(0.76, 0, 0.24, 1);
  --sr-bracket-gap: 12px;
  --sr-bracket-slide: 2px;
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 44px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.sr-roll-link:not(.sr-roll-link--disabled)::before,
.sr-roll-link:not(.sr-roll-link--disabled)::after {
  position: absolute;
  z-index: 1;
  color: var(--sr-orange);
  font-family: var(--sr-mono);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sr-roll-link:not(.sr-roll-link--disabled)::before {
  top: 50%;
  left: calc(-1 * var(--sr-bracket-gap));
  content: "[";
  transform: translate3d(var(--sr-bracket-slide), -50%, 0);
}

.sr-roll-link:not(.sr-roll-link--disabled)::after {
  top: 50%;
  right: calc(-1 * var(--sr-bracket-gap));
  content: "]";
  transform: translate3d(calc(-1 * var(--sr-bracket-slide)), -50%, 0);
}

.sr-roll-link:not(.sr-roll-link--disabled):hover::before,
.sr-roll-link:not(.sr-roll-link--disabled):focus-visible::before,
.sr-roll-link:not(.sr-roll-link--disabled):hover::after,
.sr-roll-link:not(.sr-roll-link--disabled):focus-visible::after {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.sr-roll-link .sr-roll-link__clip {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.05em;
  min-height: 0;
  line-height: 1.05;
  vertical-align: top;
}

.sr-roll-link .sr-roll-link__label {
  display: block;
  min-height: 0;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--sr-roll-duration) var(--sr-roll-ease),
    opacity var(--sr-roll-duration) var(--sr-roll-ease);
  will-change: transform;
}

.sr-roll-link__clip::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  white-space: nowrap;
  content: attr(data-label);
  transform: translate3d(0, var(--sr-roll-distance), 0);
  transition:
    transform var(--sr-roll-duration) var(--sr-roll-ease),
    opacity var(--sr-roll-duration) var(--sr-roll-ease);
  will-change: transform;
}

.sr-roll-link:hover .sr-roll-link__label,
.sr-roll-link:focus-visible .sr-roll-link__label {
  transform: translate3d(0, calc(-1 * var(--sr-roll-distance)), 0);
}

.sr-roll-link:hover .sr-roll-link__clip::after,
.sr-roll-link:focus-visible .sr-roll-link__clip::after {
  transform: translate3d(0, 0, 0);
}

.sr-roll-link:hover,
.sr-roll-link:focus-visible {
  color: var(--sr-black);
}

html[data-theme="dark"] .sr-roll-link:hover,
html[data-theme="dark"] .sr-roll-link:focus-visible {
  color: var(--sr-text);
}

.sr-roll-link:focus-visible {
  outline: 3px solid var(--sr-orange);
  outline-offset: 4px;
}

.sr-roll-link--disabled {
  color: rgba(77, 77, 74, 0.58);
  cursor: default;
  opacity: 0.72;
}

.sr-roll-link--disabled:hover .sr-roll-link__label,
.sr-roll-link--disabled:focus-visible .sr-roll-link__label {
  transform: none;
}

.sr-roll-link--disabled:hover .sr-roll-link__clip::after,
.sr-roll-link--disabled:focus-visible .sr-roll-link__clip::after {
  transform: translate3d(0, var(--sr-roll-distance), 0);
}

.sr-header-actions {
  justify-content: flex-end;
  gap: clamp(12px, 1.4vw, 20px);
  padding: 14px clamp(14px, 2vw, 28px);
  border-right: 0;
}

.ecosystem-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sr-muted);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dot-grid {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.dot-grid span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sr-orange);
  transition:
    opacity 160ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dot-grid span:nth-child(1) {
  top: 1px;
  left: 8px;
}

.dot-grid span:nth-child(2) {
  top: 8px;
  left: 1px;
}

.dot-grid span:nth-child(3) {
  top: 8px;
  right: 1px;
}

.dot-grid span:nth-child(4) {
  right: 8px;
  bottom: 1px;
}

.ecosystem-kicker:hover .dot-grid span:nth-child(1) {
  transform: translate3d(0, -3px, 0);
}

.ecosystem-kicker:hover .dot-grid span:nth-child(2) {
  transform: translate3d(-4px, 0, 0);
}

.ecosystem-kicker:hover .dot-grid span:nth-child(3) {
  transform: translate3d(4px, 0, 0);
}

.ecosystem-kicker:hover .dot-grid span:nth-child(4) {
  transform: translate3d(0, 3px, 0);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  border: 1px solid var(--sr-orange);
  border-radius: 999px;
  appearance: none;
  cursor: default;
  padding: 0 18px 0 22px;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

[data-theme-toggle],
[data-lang-toggle] {
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--sr-orange);
  color: var(--sr-black);
}

.button-primary {
  border-color: var(--sr-orange);
  background: rgba(242, 242, 239, 0.28);
  color: var(--sr-black);
}

.button-secondary {
  margin-top: auto;
  background: transparent;
  border-color: var(--sr-orange);
  color: var(--sr-black);
}

.intro-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.intro-actions .button-secondary {
  margin-top: 0;
}

html[data-theme="dark"] .button-primary,
html[data-theme="dark"] .button-secondary {
  color: var(--sr-text);
}

html[data-theme="dark"] .button:hover,
html[data-theme="dark"] .button:focus-visible {
  color: var(--sr-black);
}

.sr-outline-cta__label {
  line-height: 1;
}

.sr-outline-cta__marker {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--sr-orange);
  border-radius: 50%;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.sr-outline-cta__marker::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-top: 2px solid var(--sr-orange);
  border-right: 2px solid var(--sr-orange);
  transform: translate(-60%, -50%) rotate(45deg);
  transition: border-color 180ms ease;
  content: "";
}

.sr-outline-cta:hover .sr-outline-cta__marker,
.sr-outline-cta:focus-visible .sr-outline-cta__marker {
  border-color: var(--sr-black);
  background: rgba(17, 17, 17, 0.08);
  transform: translateX(3px);
}

.sr-outline-cta:hover .sr-outline-cta__marker::after,
.sr-outline-cta:focus-visible .sr-outline-cta__marker::after {
  border-color: var(--sr-black);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--sr-line);
  border-left: 1px solid var(--sr-line);
  min-height: clamp(220px, 31vh, 340px);
}

.hero-copy {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(220px, 31vh, 340px);
  padding: clamp(28px, 4vw, 56px) clamp(10px, 2vw, 32px);
}

.eyebrow {
  z-index: 1;
  max-width: 52rem;
  margin: 0 0 18px;
  padding-left: clamp(18px, 4vw, 58px);
  color: var(--sr-muted);
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-marquee {
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.hero-marquee__track {
  display: inline-flex;
  width: max-content;
  will-change: transform;
  animation: hero-marquee 34s linear infinite;
}

.hero-marquee__track span {
  flex: 0 0 auto;
  padding-right: clamp(34px, 6vw, 96px);
  margin: 0;
  font-family: var(--sr-sans);
  font-size: clamp(64px, 12.6vw, 182px);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.076em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes hero-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.bento {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.8fr) minmax(260px, 0.9fr);
  min-height: clamp(300px, 34vh, 410px);
  border: 1px solid var(--sr-line);
}

.intro-card,
.terminal-card,
.featured-card {
  min-width: 0;
  border-right: 1px solid var(--sr-line);
  background: rgba(242, 242, 239, 0.62);
}

html[data-theme="dark"] .intro-card,
html[data-theme="dark"] .terminal-card {
  background: rgba(20, 22, 25, 0.72);
}

.intro-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 3vw, 44px);
}

.panel-label {
  margin: 0;
  color: var(--sr-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.intro-card h2,
.featured-card h2 {
  margin: 0;
  font-family: var(--sr-sans);
  font-size: clamp(28px, 3.2vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.intro-card p:not(.panel-label),
.featured-card p:not(.panel-label) {
  margin: 0;
  color: var(--sr-muted);
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.25;
}

.terminal-card {
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 42px);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(169, 170, 166, 0.65) 50%, transparent calc(50% + 1px)),
    rgba(233, 233, 230, 0.42);
}

html[data-theme="dark"] .terminal-card {
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(52, 56, 58, 0.72) 50%, transparent calc(50% + 1px)),
    rgba(8, 9, 10, 0.38);
}

.pulse-console {
  position: relative;
  isolation: isolate;
  width: min(100%, 520px);
  min-height: 320px;
  overflow: hidden;
  border: 10px solid var(--sr-white);
  outline: 3px solid var(--sr-black);
  background:
    linear-gradient(90deg, rgba(245, 245, 242, 0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(rgba(245, 245, 242, 0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--sr-black);
  color: var(--sr-white);
  padding: clamp(14px, 2vw, 22px);
  box-shadow:
    18px 20px 0 rgba(17, 17, 17, 0.12),
    inset 0 0 0 2px var(--sr-orange);
}

.pulse-console.is-degraded {
  box-shadow:
    18px 20px 0 rgba(17, 17, 17, 0.12),
    inset 0 0 0 2px rgba(245, 245, 242, 0.36);
}

.pulse-console::after {
  position: absolute;
  inset: -35% 0 auto;
  z-index: -1;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(255, 90, 31, 0.14), transparent);
  animation: console-scan 6s linear infinite;
  content: "";
}

.pulse-topline,
.pulse-body,
.node-chips {
  position: relative;
  z-index: 1;
}

.pulse-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 245, 242, 0.28);
}

.pulse-topline h2 {
  margin: 0;
  font-family: var(--sr-sans);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.pulse-topline span {
  color: rgba(245, 245, 242, 0.72);
  font-size: clamp(9px, 0.85vw, 11px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.agent-ready {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--sr-orange);
  animation: status-blink 1.8s steps(2, end) infinite;
}

.status-dot.is-pending,
.pulse-console.is-degraded .status-dot {
  background: rgba(245, 245, 242, 0.58);
}

.pulse-chart {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.pulse-chart p {
  margin: 0 0 6px;
  color: rgba(245, 245, 242, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pulse-chart svg {
  display: block;
  width: 100%;
  height: 92px;
}

.spark-grid,
.spark-line {
  fill: none;
}

.spark-grid {
  stroke: rgba(245, 245, 242, 0.14);
  stroke-width: 1;
}

.spark-fill {
  fill: rgba(255, 90, 31, 0.16);
}

.spark-line {
  stroke: var(--sr-orange);
  stroke-width: 5;
  stroke-linejoin: bevel;
  stroke-linecap: square;
  stroke-dasharray: 520;
  animation: spark-draw 5s ease-in-out infinite;
}

.pulse-body {
  display: grid;
  grid-template-columns: minmax(135px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(12px, 1.8vw, 22px);
  margin-top: 14px;
}

.pipeline-status {
  display: grid;
  gap: 7px;
}

.pipeline-status span,
.node-chips span {
  border: 1px solid rgba(245, 245, 242, 0.22);
  padding: 7px 8px;
  color: rgba(245, 245, 242, 0.7);
  font-size: clamp(10px, 0.95vw, 12px);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.pipeline-status strong {
  float: right;
  color: var(--sr-orange);
}

.pipeline-status span[data-status="pending"] strong,
.pipeline-status span[data-status="offline"] strong,
.node-chips span[data-status="planned"],
.node-chips span[data-status="offline"] {
  color: rgba(245, 245, 242, 0.52);
}

.pipeline-status span[data-status="degraded"] strong,
.node-chips span[data-status="degraded"] {
  color: var(--sr-white);
}

.event-stream {
  min-width: 0;
  border-left: 1px solid rgba(255, 90, 31, 0.56);
  padding-left: 12px;
}

.event-stream p {
  margin: 0 0 8px;
  color: rgba(245, 245, 242, 0.82);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.event-stream p:nth-child(1) {
  animation: event-pulse 7s ease-in-out infinite;
}

.event-stream p:nth-child(2) {
  animation: event-pulse 7s ease-in-out 1.6s infinite;
}

.event-stream p:nth-child(3) {
  animation: event-pulse 7s ease-in-out 3.2s infinite;
}

.event-stream p:nth-child(4) {
  animation: event-pulse 7s ease-in-out 4.8s infinite;
}

.node-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.node-chips span {
  text-align: center;
}

.node-chips span[data-status="planned"],
.node-chips span:last-child {
  color: rgba(245, 245, 242, 0.5);
}

@keyframes status-blink {
  50% {
    opacity: 0.28;
  }
}

@keyframes console-scan {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(260%);
  }
}

@keyframes spark-draw {
  0%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0.86;
  }

  50% {
    stroke-dashoffset: 96;
    opacity: 1;
  }
}

@keyframes event-pulse {
  0%,
  46%,
  100% {
    color: rgba(245, 245, 242, 0.52);
  }

  12%,
  34% {
    color: var(--sr-white);
  }
}

.featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 3vw, 42px);
  background: var(--sr-black);
  color: var(--sr-white);
}

.featured-card .panel-label,
.featured-card p {
  color: rgba(245, 245, 242, 0.78);
}

.featured-card p span {
  display: block;
  margin-top: 12px;
  color: rgba(245, 245, 242, 0.52);
}

.feature-icon {
  display: grid;
  place-items: center;
  align-self: flex-start;
  width: clamp(86px, 9vw, 132px);
  aspect-ratio: 1;
  border: 1px solid rgba(245, 245, 242, 0.7);
}

.feature-icon svg {
  width: 64%;
  height: 64%;
  fill: var(--sr-white);
}

.feature-icon path + path {
  fill: var(--sr-black);
}

.radar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-right: 1px solid var(--sr-line);
  border-bottom: 1px solid var(--sr-line);
  border-left: 1px solid var(--sr-line);
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--sr-line);
  border-bottom: 1px solid var(--sr-line);
  border-left: 1px solid var(--sr-line);
  padding: clamp(18px, 2.5vw, 30px);
  color: var(--sr-muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sr-subpage {
  display: grid;
  gap: 0;
}

.sr-subpage > * {
  min-width: 0;
}

.sr-subpage .sr-header {
  grid-template-columns: minmax(170px, 0.65fr) minmax(480px, 1.5fr) minmax(310px, 0.85fr);
  width: min(100%, var(--sr-subpage-max));
  margin: 0 auto;
}

.sr-subpage .sr-wordmark {
  padding-right: clamp(12px, 1.5vw, 22px);
  padding-left: clamp(12px, 1.5vw, 22px);
}

.sr-subpage .sr-nav {
  gap: clamp(10px, 1.4vw, 22px);
  padding: 0 clamp(12px, 1.5vw, 18px);
  font-size: clamp(11px, 0.95vw, 14px);
}

.sr-subpage .sr-header-actions {
  gap: clamp(8px, 1vw, 14px);
  padding: 12px clamp(12px, 1.4vw, 18px);
}

.sr-subpage .ecosystem-kicker {
  gap: 9px;
  font-size: clamp(10px, 0.9vw, 12px);
}

.sr-subpage .button {
  min-height: 44px;
  padding-right: 16px;
  padding-left: 18px;
  font-size: 12px;
}

.page-hero {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  width: min(100%, var(--sr-subpage-max));
  margin: 0 auto;
  border-right: 1px solid var(--sr-line);
  border-left: 1px solid var(--sr-line);
  padding: clamp(34px, 6vw, 86px) clamp(20px, 5vw, 76px);
  background: rgba(242, 242, 239, 0.42);
}

html[data-theme="dark"] .page-hero {
  background: rgba(20, 22, 25, 0.58);
}

.page-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--sr-sans);
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.058em;
  text-transform: uppercase;
}

.page-hero p:not(.panel-label) {
  max-width: var(--sr-reading-max);
  margin: 0;
  color: var(--sr-muted);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 800;
  line-height: 1.5;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.readable-shell {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, var(--sr-reading-max));
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  width: min(100%, var(--sr-subpage-max));
  margin: 0 auto;
  border-right: 1px solid var(--sr-line);
  border-left: 1px solid var(--sr-line);
  padding: clamp(28px, 5vw, 70px) clamp(18px, 4vw, 54px);
  background: rgba(242, 242, 239, 0.28);
}

html[data-theme="dark"] .readable-shell {
  background: rgba(20, 22, 25, 0.42);
}

.subpage-index {
  position: sticky;
  top: calc(clamp(10px, 2vw, 28px) + 96px);
  display: grid;
  gap: 8px;
  border: 1px solid var(--sr-line);
  padding: 16px;
  background: rgba(245, 245, 242, 0.56);
}

html[data-theme="dark"] .subpage-index {
  background: rgba(8, 9, 10, 0.48);
}

.subpage-index a {
  display: block;
  border-top: 1px solid var(--sr-line);
  padding: 10px 0 0;
  color: var(--sr-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.subpage-index a:hover,
.subpage-index a:focus-visible {
  color: var(--sr-text);
}

.readable-flow {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  min-width: 0;
}

.readable-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  border: 1px solid var(--sr-line);
  padding: clamp(24px, 4vw, 42px);
  background: rgba(245, 245, 242, 0.72);
  line-height: 1.65;
}

html[data-theme="dark"] .readable-card {
  background: rgba(20, 22, 25, 0.74);
}

.readable-card h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--sr-sans);
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.readable-card p {
  max-width: 68ch;
  margin: 0;
  color: var(--sr-muted);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 750;
  line-height: 1.68;
}

.readable-card li + li {
  margin-top: 0.55rem;
}

.readable-card--terminal {
  background:
    linear-gradient(90deg, rgba(245, 245, 242, 0.06) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(245, 245, 242, 0.06) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--sr-black);
  color: var(--sr-white);
}

.readable-card--terminal .panel-label,
.readable-card--terminal p {
  color: rgba(245, 245, 242, 0.72);
}

.directory-table {
  display: grid;
  border-top: 1px solid var(--sr-line);
  font-size: clamp(12px, 1vw, 14px);
}

.directory-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(180px, 1fr) minmax(108px, 0.5fr);
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid var(--sr-line);
  padding: 14px 0;
  color: var(--sr-muted);
  font-weight: 850;
  line-height: 1.45;
}

.directory-row strong,
.directory-row a {
  color: var(--sr-text);
  overflow-wrap: anywhere;
}

.directory-row em {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--sr-orange);
  font-style: normal;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.directory-row small {
  border: 1px solid currentColor;
  padding: 2px 5px;
  font-size: 9px;
}

.directory-head {
  color: var(--sr-text);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.readable-card--terminal .directory-table {
  border-top-color: rgba(245, 245, 242, 0.3);
}

.readable-card--terminal .directory-row {
  border-bottom-color: rgba(245, 245, 242, 0.24);
  color: rgba(245, 245, 242, 0.72);
}

.readable-card--terminal .directory-row strong,
.readable-card--terminal .directory-row a,
.readable-card--terminal .directory-head {
  color: var(--sr-white);
}

.policy-list,
.principle-grid {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.policy-list li,
.principle-grid li {
  border-left: 2px solid var(--sr-orange);
  padding: 2px 0 2px 14px;
  color: var(--sr-muted);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 800;
  line-height: 1.6;
}

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

.status-grid,
.radar-family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.status-grid span,
.status-grid a,
.radar-family-grid a,
.radar-family-grid section {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--sr-line);
  padding: 16px;
  background: rgba(242, 242, 239, 0.45);
}

html[data-theme="dark"] .status-grid span,
html[data-theme="dark"] .status-grid a,
html[data-theme="dark"] .radar-family-grid a,
html[data-theme="dark"] .radar-family-grid section {
  background: rgba(8, 9, 10, 0.34);
}

.status-grid strong,
.radar-family-grid strong {
  color: var(--sr-text);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 950;
  line-height: 1.15;
}

.status-grid em,
.radar-family-grid span,
.radar-family-grid em {
  color: var(--sr-orange);
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.radar-family-grid p {
  font-size: 14px;
  line-height: 1.55;
}

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

.setting-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--sr-line);
  padding: 18px 18px 18px 48px;
  background: rgba(242, 242, 239, 0.45);
}

html[data-theme="dark"] .setting-card {
  background: rgba(8, 9, 10, 0.34);
}

.setting-card i {
  position: absolute;
  top: 20px;
  left: 18px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--sr-orange);
}

.setting-card i::after {
  position: absolute;
  inset: 3px;
  background: var(--sr-orange);
  content: "";
}

.setting-card.disabled i::after {
  inset: 6px;
}

.setting-card strong {
  color: var(--sr-text);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 950;
  line-height: 1.2;
}

.setting-card em {
  width: fit-content;
  color: var(--sr-orange);
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.setting-card.disabled em {
  color: var(--sr-muted);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--sr-line);
  border-left: 1px solid var(--sr-line);
}

.page-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  min-height: clamp(230px, 28vh, 340px);
  border-right: 1px solid var(--sr-line);
  border-bottom: 1px solid var(--sr-line);
  padding: clamp(22px, 3vw, 42px);
  background: rgba(245, 245, 242, 0.5);
}

html[data-theme="dark"] .page-card {
  background: rgba(20, 22, 25, 0.7);
}

.page-card--dark {
  background:
    linear-gradient(90deg, rgba(245, 245, 242, 0.06) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(245, 245, 242, 0.06) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--sr-black);
  color: var(--sr-white);
}

html[data-theme="dark"] .page-card--dark {
  background:
    linear-gradient(90deg, rgba(245, 245, 242, 0.08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(245, 245, 242, 0.08) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--sr-black);
}

.page-card--dark .panel-label,
.page-card--dark p,
.page-card--dark li {
  color: rgba(245, 245, 242, 0.76);
}

.page-card h2 {
  margin: 0;
  font-family: var(--sr-sans);
  font-size: clamp(26px, 3vw, 48px);
  line-height: 0.94;
  letter-spacing: -0.052em;
  text-transform: uppercase;
}

.page-card p {
  margin: 0;
  color: var(--sr-muted);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 750;
  line-height: 1.35;
}

.span-4 {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

.terminal-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.terminal-list li {
  border-left: 2px solid var(--sr-orange);
  padding: 6px 0 6px 12px;
  color: var(--sr-muted);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 850;
  line-height: 1.3;
}

.route-table {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--sr-line);
}

.route-table li,
.status-board span,
.metric-grid span,
.tool-grid span,
.family-map a,
.family-map > span {
  border-bottom: 1px solid var(--sr-line);
}

.route-table li {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(160px, 0.9fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  color: var(--sr-muted);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 850;
}

.route-table a {
  color: var(--sr-text);
  overflow-wrap: anywhere;
}

.route-table em,
.status-board em,
.metric-grid em,
.tool-grid em {
  color: var(--sr-orange);
  font-style: normal;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.page-card--dark .route-table a,
.page-card--dark .status-board strong,
.page-card--dark .metric-grid strong,
.page-card--dark .tool-grid strong,
.page-card--dark .family-map strong {
  color: var(--sr-white);
}

.status-board,
.metric-grid,
.tool-grid {
  display: grid;
  gap: 10px;
}

.status-board span,
.status-board a,
.metric-grid span,
.tool-grid span {
  display: grid;
  gap: 6px;
  border: 1px solid var(--sr-line);
  padding: 12px;
}

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

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

.tool-grid span {
  border-color: rgba(245, 245, 242, 0.28);
}

.tool-grid strong,
.status-board strong,
.metric-grid strong {
  overflow-wrap: anywhere;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 950;
}

.tool-grid small {
  color: rgba(245, 245, 242, 0.68);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.pulse-preview-state {
  width: fit-content;
  border: 1px solid var(--sr-orange);
  padding: 7px 10px;
  color: var(--sr-text) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="dark"] .pulse-preview-state {
  color: var(--sr-white) !important;
}

.family-map {
  display: grid;
  border-top: 1px solid rgba(245, 245, 242, 0.24);
}

.family-map a,
.family-map > span {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.8fr);
  gap: 8px 14px;
  padding: 14px 0;
}

.family-map span,
.family-map em {
  color: rgba(245, 245, 242, 0.68);
}

.family-map em {
  grid-column: 1 / -1;
  font-style: normal;
  font-weight: 750;
}

.radar-cell {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: clamp(138px, 17vh, 190px);
  padding: clamp(18px, 2vw, 28px);
  border-right: 1px solid var(--sr-line);
  background: rgba(245, 245, 242, 0.45);
  transition: background-color 140ms ease, color 140ms ease;
}

html[data-theme="dark"] .radar-cell {
  background: rgba(20, 22, 25, 0.66);
}

.radar-cell:last-child {
  border-right: 0;
}

.radar-cell:hover {
  background: var(--sr-orange);
  color: var(--sr-black);
}

.radar-index {
  color: var(--sr-orange);
  font-size: 12px;
  font-weight: 900;
}

.radar-cell:hover .radar-index {
  color: var(--sr-black);
}

.radar-cell strong {
  font-family: var(--sr-sans);
  font-size: clamp(18px, 1.8vw, 30px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.radar-category {
  color: var(--sr-muted);
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.radar-cell:hover .radar-category {
  color: var(--sr-black);
}

.radar-cell em {
  color: var(--sr-muted);
  font-size: clamp(13px, 1.1vw, 16px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

.radar-cell:hover em {
  color: var(--sr-black);
}

.is-inactive {
  color: rgba(18, 18, 18, 0.62);
}

html[data-theme="dark"] .is-inactive {
  color: rgba(245, 245, 242, 0.56);
}

.is-inactive:hover {
  background: rgba(245, 245, 242, 0.45);
  color: rgba(18, 18, 18, 0.62);
}

html[data-theme="dark"] .is-inactive:hover {
  background: rgba(20, 22, 25, 0.66);
  color: rgba(245, 245, 242, 0.56);
}

.is-inactive small {
  align-self: end;
  width: fit-content;
  border: 1px solid var(--sr-line);
  padding: 5px 8px;
  color: var(--sr-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

@media (max-width: 1080px) {
  .sr-header {
    grid-template-columns: 1fr;
  }

  .sr-wordmark,
  .sr-nav,
  .sr-header-actions {
    border-right: 0;
    border-bottom: 1px solid var(--sr-line);
  }

  .sr-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .sr-header-actions {
    justify-content: space-between;
    border-bottom: 0;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .intro-card {
    grid-column: 1 / -1;
    min-height: 230px;
  }

  .terminal-card,
  .featured-card {
    min-height: 300px;
  }

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

  .page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .span-4,
  .span-5,
  .span-7,
  .span-8,
  .span-12 {
    grid-column: span 2;
  }

  .readable-shell {
    grid-template-columns: 1fr;
  }

  .subpage-index {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
  }

  .subpage-index .panel-label {
    flex: 1 0 100%;
  }

  .subpage-index a {
    border-top: 0;
    border-left: 2px solid var(--sr-orange);
    padding: 2px 0 2px 10px;
  }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .sr-subpage .sr-header {
    grid-template-columns: minmax(132px, 0.55fr) minmax(380px, 1.45fr) minmax(290px, 1fr);
    min-height: 72px;
  }

  .sr-subpage .sr-wordmark,
  .sr-subpage .sr-nav,
  .sr-subpage .sr-header-actions {
    border-right: 1px solid var(--sr-line);
    border-bottom: 0;
  }

  .sr-subpage .sr-wordmark {
    font-size: 13px;
  }

  .sr-subpage .sr-nav {
    justify-content: center;
    gap: clamp(8px, 1vw, 14px);
    overflow: visible;
    padding: 0 12px;
    font-size: 11px;
  }

  .sr-subpage .sr-header-actions {
    justify-content: flex-end;
    gap: 8px;
    border-right: 0;
    padding: 10px 12px;
  }

  .sr-subpage .ecosystem-kicker {
    gap: 7px;
    font-size: 10px;
    letter-spacing: 0.03em;
  }

  .sr-subpage .dot-grid {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  .sr-subpage .dot-grid span {
    width: 6px;
    height: 6px;
  }

  .sr-subpage .button {
    min-height: 40px;
    padding-right: 12px;
    padding-left: 14px;
    font-size: 11px;
  }
}

@media (max-width: 860px) {
  .sr-subpage .sr-header {
    position: static;
    top: auto;
    grid-template-columns: 1fr;
  }

  .sr-subpage .sr-wordmark,
  .sr-subpage .sr-nav,
  .sr-subpage .sr-header-actions {
    border-right: 0;
    border-bottom: 1px solid var(--sr-line);
  }

  .sr-subpage .sr-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .sr-subpage .sr-header-actions {
    justify-content: space-between;
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  body {
    background:
      linear-gradient(var(--sr-line) 1px, transparent 1px) 0 0 / 50vw 120px,
      linear-gradient(90deg, var(--sr-line) 1px, transparent 1px) 0 0 / 50vw 120px,
      var(--sr-bg);
  }

  .sr-page {
    padding: 10px;
  }

  .sr-header {
    position: static;
    top: auto;
  }

  .sr-header-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-panel,
  .hero-copy {
    min-height: 220px;
  }

  .eyebrow {
    padding-left: 0;
    font-size: 11px;
  }

  .hero-marquee__track {
    animation-duration: 44s;
  }

  .hero-marquee__track span {
    font-size: clamp(58px, 22vw, 92px);
    line-height: 0.86;
  }

  .bento,
  .radar-grid {
    grid-template-columns: 1fr;
  }

  .intro-card,
  .terminal-card,
  .featured-card,
  .radar-cell {
    border-right: 0;
    border-bottom: 1px solid var(--sr-line);
  }

  .terminal-card,
  .featured-card {
    min-height: 260px;
  }

  .terminal-card {
    padding: 18px;
  }

  .pulse-console {
    min-height: 0;
    border-width: 7px;
    padding: 14px;
  }

  .pulse-topline {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .pulse-chart svg {
    height: 76px;
  }

  .pulse-body,
  .node-chips {
    grid-template-columns: 1fr;
  }

  .event-stream p {
    white-space: normal;
  }

  .radar-cell {
    min-height: 150px;
  }

  .page-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(42px, 15vw, 72px);
  }

  .page-actions,
  .utility-links {
    align-items: stretch;
    flex-direction: column;
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .span-4,
  .span-5,
  .span-7,
  .span-8,
  .span-12 {
    grid-column: span 1;
  }

  .route-table li,
  .family-map a,
  .family-map > span,
  .metric-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .readable-shell {
    border-right: 1px solid var(--sr-line);
    border-left: 1px solid var(--sr-line);
  }

  .readable-shell {
    padding: 22px 14px;
  }

  .readable-card {
    padding: 22px 16px;
  }

  .readable-card h2 {
    max-width: 100%;
    font-size: clamp(24px, 9vw, 34px);
  }

  .directory-row,
  .status-grid,
  .radar-family-grid,
  .principle-grid,
  .setting-grid {
    grid-template-columns: 1fr;
  }

  .directory-row {
    gap: 7px;
    padding: 13px 0;
  }

  .directory-head {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .sr-roll-link__label,
  .sr-roll-link__clip::after,
  .sr-roll-link:hover .sr-roll-link__label,
  .sr-roll-link:focus-visible .sr-roll-link__label,
  .hero-marquee__track {
    transform: none !important;
  }

  .sr-roll-link:hover .sr-roll-link__clip::after,
  .sr-roll-link:focus-visible .sr-roll-link__clip::after {
    transform: translate3d(0, var(--sr-roll-distance), 0) !important;
  }

  .sr-roll-link:hover,
  .sr-roll-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.25em;
  }

  .ecosystem-kicker:hover .dot-grid span {
    transform: none !important;
  }
}
