:root {
  color-scheme: dark;
  --ink-950: oklch(0.13 0.02 252);
  --ink-900: oklch(0.17 0.025 252);
  --ink-800: oklch(0.22 0.028 252);
  --slate-500: oklch(0.57 0.025 252);
  --ice-300: oklch(0.82 0.018 252);
  --ice-100: oklch(0.94 0.012 252);
  --copper: oklch(0.71 0.1 58);
  --lime: oklch(0.84 0.19 126);
  --line: oklch(0.39 0.028 252);
  --line-soft: oklch(0.28 0.026 252);
  --display: "Barlow Condensed", sans-serif;
  --body: "Source Sans 3", "Trebuchet MS", sans-serif;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s6: 24px;
  --s8: 32px;
  --s12: 48px;
  --s16: 64px;
  --s24: 96px;
  --content: 1200px;
  --stroke: 1px;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--ink-950);
}
body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--ink-950);
  color: var(--ice-100);
  font-family: var(--body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.015em;
}
a {
  color: inherit;
  text-decoration-thickness: var(--stroke);
  text-underline-offset: var(--s1);
}
a:hover {
  color: var(--lime);
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: var(--s1);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.015em;
  text-wrap: balance;
}
h1 {
  max-width: 12ch;
  margin-bottom: var(--s6);
  font-size: clamp(4rem, 6vw, 5.5rem);
}
h2 {
  margin-bottom: var(--s6);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
}
h3 {
  margin-bottom: var(--s2);
  font-size: 2rem;
}
p {
  text-wrap: pretty;
}
code {
  padding-inline: var(--s1);
  background: var(--ink-800);
  color: var(--lime);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.9em;
}
section[id] {
  scroll-margin-top: var(--s24);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: -64px;
  left: var(--s4);
  padding: var(--s3) var(--s4);
  background: var(--lime);
  color: var(--ink-950);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--s4);
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - var(--s12)), var(--content));
  min-height: 72px;
  margin: auto;
  border-bottom: var(--stroke) solid var(--line-soft);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  color: var(--ice-100);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-decoration: none;
}
.brand b {
  color: var(--lime);
}
.brand-mark {
  width: var(--s8);
  height: var(--s8);
  fill: var(--copper);
}
nav {
  display: flex;
  gap: var(--s6);
}
nav a,
.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ice-300);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.header-link {
  justify-self: end;
}

.hero,
.statement,
.section,
.workflow,
.boundary,
.start {
  width: min(calc(100% - var(--s12)), var(--content));
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: var(--s12);
  min-height: calc(100dvh - 72px);
  padding-block: var(--s16);
}
.hero-copy {
  position: relative;
  align-self: end;
  max-width: 680px;
  padding-block-end: var(--s12);
}
.hero h1 {
  position: relative;
  width: fit-content;
  max-width: none;
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: 1.1;
}
.hero h1::before,
.hero h1::after {
  position: absolute;
  width: var(--s6);
  height: var(--s6);
  pointer-events: none;
  content: "";
}
.hero h1::before {
  top: calc(var(--s3) * -1);
  left: calc(var(--s3) * -1);
  border-top: var(--stroke) solid var(--copper);
  border-left: var(--stroke) solid var(--copper);
}
.hero h1::after {
  right: calc(var(--s3) * -1);
  bottom: calc(var(--s3) * -1);
  border-right: var(--stroke) solid var(--lime);
  border-bottom: var(--stroke) solid var(--lime);
}
.hero-title-lead,
.hero-title-command {
  display: block;
}
.hero-title-lead {
  margin-bottom: var(--s1);
  color: var(--ice-300);
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}
.hero-title-command {
  white-space: nowrap;
}
.overline {
  margin-bottom: var(--s3);
  color: var(--copper);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-lede {
  max-width: 53ch;
  margin-bottom: var(--s8);
  color: var(--ice-300);
  font-size: 1.25rem;
}
.hero-actions,
.start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s3) var(--s4);
  border: var(--stroke) solid transparent;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    transform 150ms var(--ease-out-quart),
    color 150ms var(--ease-out-quart),
    background-color 150ms var(--ease-out-quart),
    border-color 150ms var(--ease-out-quart);
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(2px);
}
.button-arrow {
  display: inline-block;
  transition: transform 150ms var(--ease-out-quart);
}
.button:hover .button-arrow,
.button:focus-visible .button-arrow {
  transform: translateY(var(--s1));
}
.button-primary {
  background: var(--lime);
  color: var(--ink-950);
}
.button-primary:hover,
.button-copper:hover {
  background: var(--ice-100);
  color: var(--ink-950);
}
.button-quiet {
  border-color: var(--line);
}
.button-quiet:hover {
  border-color: var(--lime);
}
.button-copper {
  background: var(--copper);
  color: var(--ink-950);
}

.hero-trace {
  position: relative;
  justify-self: stretch;
  min-width: 0;
  width: calc(100% + var(--s8));
  margin: 0 calc(var(--s8) * -1) 0 0;
  border-top: var(--stroke) solid var(--line);
  border-bottom: var(--stroke) solid var(--line);
  background: var(--ink-900);
}
.hero-trace figcaption,
.diagram-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s4) var(--s6);
  border-bottom: var(--stroke) solid var(--line-soft);
  color: var(--slate-500);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hero-trace figcaption span:first-child,
.diagram-meta > span:first-child {
  color: var(--ice-300);
}
.hero-trace svg {
  display: block;
  width: 100%;
  min-height: 360px;
}

.statement,
.section {
  padding-block: var(--s24);
  border-top: var(--stroke) solid var(--line-soft);
}
.statement > div,
.section-heading,
.connection-intro {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: var(--s16);
  align-items: start;
}
.statement h2 {
  margin-bottom: 0;
}
.statement p,
.section-heading p,
.workflow-intro p,
.connection-intro > p {
  margin: 0;
  color: var(--ice-300);
}
.section-heading {
  margin-bottom: var(--s12);
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.start-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s2);
  margin: 0 0 var(--s8);
  padding: 0;
  list-style: none;
}
.start-rail li {
  position: relative;
  min-height: 256px;
  padding: var(--s6) var(--s4);
  border-top: 4px solid var(--line);
  border-bottom: var(--stroke) solid var(--line);
  background: var(--ink-900);
}
.start-rail li::after {
  position: absolute;
  top: var(--s8);
  right: -8px;
  z-index: 1;
  width: var(--s2);
  height: var(--s1);
  background: var(--lime);
  content: "";
  animation: connector-breathe 3.6s var(--ease-out-quart) infinite;
}
.start-rail li:last-child::after {
  display: none;
}
.start-rail li:nth-child(2) {
  border-top-color: var(--copper);
}
.start-rail li:nth-child(2)::after {
  background: var(--copper);
  animation-delay: 180ms;
}
.start-rail li:nth-child(3)::after {
  animation-delay: 360ms;
}
.start-rail span {
  display: block;
  margin-bottom: var(--s12);
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.start-rail li:nth-child(2) span {
  color: var(--copper);
}
.start-rail p {
  margin-bottom: 0;
  color: var(--ice-300);
  font-size: 1rem;
  line-height: 1.5;
}

.diagram {
  min-width: 0;
  margin: 0 0 var(--s8);
  overflow-x: clip;
  border-top: var(--stroke) solid var(--line);
  border-bottom: var(--stroke) solid var(--line);
  background: var(--ink-900);
}
.diagram-canvas {
  overflow-x: clip;
}
.diagram-canvas:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}
.diagram-meta {
  align-items: center;
}
.diagram-meta > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--slate-500);
  letter-spacing: 0.04em;
}
.diagram-meta i {
  display: inline-block;
  width: var(--s3);
  height: var(--s1);
  background: var(--lime);
}
.diagram-meta .legend-result {
  background: var(--ice-300);
}
.diagram-meta .legend-transfer {
  background: var(--copper);
}
.diagram svg {
  display: block;
  width: 100%;
  min-height: 460px;
}
.architecture-diagram svg {
  min-height: 540px;
}
.diagram figcaption {
  padding: var(--s4) var(--s6);
  border-top: var(--stroke) solid var(--line-soft);
  color: var(--ice-300);
  font-size: 1rem;
}

.diagram marker path,
.hero-trace marker path {
  fill: context-stroke;
}
.diagram-zone rect,
.hero-zone {
  fill: var(--ink-950);
  stroke: var(--line);
  stroke-width: 2;
}
.zone-control rect,
.hero-zone-control {
  stroke: var(--copper);
}
.zone-execution rect,
.hero-zone-execution {
  stroke: var(--lime);
}
.svg-kicker {
  fill: var(--slate-500);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2.5px;
}
.public-zone-label {
  font-size: 14px;
  letter-spacing: 1px;
}
.svg-muted {
  fill: var(--ice-300);
  font-family: var(--body);
  font-size: 18px;
  letter-spacing: 0.25px;
}
.diagram-node rect {
  fill: var(--ink-800);
  stroke: var(--line);
  stroke-width: 2;
}
.diagram-node text:not(.svg-muted),
.hero-node text:not(.svg-muted) {
  fill: var(--ice-100);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 1px;
}
.diagram-node text,
.hero-node text {
  paint-order: stroke;
  stroke: var(--ink-800);
  stroke-width: 8px;
  stroke-linejoin: round;
}
.client-node rect {
  stroke: var(--ice-300);
}
.runner-node rect {
  stroke: var(--copper);
}
.executor-node rect,
.hero-node-active rect {
  stroke: var(--lime);
}
.transfer-node rect,
.github-node rect {
  stroke: var(--copper);
}
.hero-node rect {
  fill: var(--ink-800);
  stroke: var(--line);
  stroke-width: 2;
}
.hero-node text:not(.svg-muted) {
  font-size: 20px;
}
.hero-node .svg-muted {
  font-size: 15px;
}
.hero-wire {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  stroke-dasharray: 10 8;
}
.hero-return {
  stroke: var(--ice-300);
  stroke-dasharray: 8 8;
}
.hero-packet,
.diagram-packet {
  fill: var(--lime);
  stroke: var(--ink-950);
  stroke-width: 3;
}
.hero-packet-return,
.packet-result {
  fill: var(--ice-300);
}
.packet-copper {
  fill: var(--copper);
}
.hero-trace-label {
  fill: var(--slate-500);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.diagram-lane,
.diagram-branch,
.diagram-control-line,
.diagram-loop {
  fill: none;
  stroke: var(--lime);
  stroke-width: 3;
  stroke-dasharray: 14 10;
  animation: lane-flow 5.6s var(--ease-out-expo) infinite;
}
.result-lane,
.lifecycle-return {
  stroke: var(--ice-300);
  stroke-dasharray: 12 10;
}
.diagram-transfer-line {
  fill: none;
  stroke: var(--copper);
  stroke-width: 3;
  stroke-dasharray: 12 8;
  animation: lane-flow 6.4s var(--ease-out-expo) infinite;
}
.diagram-control-line {
  stroke: var(--copper);
}
.diagram-callout path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
}
.diagram-callout text {
  fill: var(--lime);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 1.2px;
}
.diagram-note-box rect {
  fill: var(--ink-800);
  stroke: var(--line-soft);
  stroke-width: 2;
}
.diagram-note-box text {
  fill: var(--lime);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}
.compact-note-box text {
  font-size: 16px;
}
.lane-label {
  fill: var(--lime);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.6px;
  paint-order: stroke;
  stroke: var(--ink-950);
  stroke-width: 10px;
  stroke-linejoin: round;
}
.result-label {
  fill: var(--ice-300);
}
.transfer-label {
  fill: var(--copper);
}
.blocked-route path {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
  stroke-dasharray: 6 8;
}
.blocked-route path:nth-child(2) {
  stroke: var(--copper);
  stroke-dasharray: none;
}
.blocked-route text {
  fill: var(--copper);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.workflow {
  display: grid;
  grid-template-columns: 0.48fr 1.52fr;
  gap: var(--s16);
  padding-block: var(--s24);
  border-top: var(--stroke) solid var(--line-soft);
}
.workflow > div {
  min-width: 0;
}
.workflow-note {
  margin: var(--s6) 0 0;
  padding: var(--s3) var(--s4);
  border-top: var(--stroke) solid var(--copper);
  color: var(--ice-300);
  font-size: 1rem;
}

.tool-catalog {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s2);
  margin: 0 0 var(--s8);
}
.tool-catalog article {
  min-height: 184px;
  padding: var(--s6) var(--s4);
  border-top: var(--stroke) solid var(--line);
  border-bottom: var(--stroke) solid var(--line);
  background: var(--ink-900);
}
.tool-catalog article:nth-child(2),
.tool-catalog article:nth-child(5) {
  border-top-color: var(--copper);
}
.tool-catalog h3 {
  margin-bottom: var(--s4);
  font-size: 1.75rem;
}
.tool-catalog p {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: 0;
}
.tool-catalog code {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: var(--stroke) solid var(--line);
  background: var(--ink-950);
  color: var(--ice-300);
  font-size: 0.8rem;
}

.connection-intro {
  align-items: end;
}
.connection-intro h2 {
  margin-bottom: 0;
}
.connection-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin: var(--s6) 0 var(--s8);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.direct {
  color: var(--lime);
}
.gateway {
  color: var(--copper);
}
.connection-guide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: var(--stroke) solid var(--line);
}
.connection-guide details {
  border-bottom: var(--stroke) solid var(--line);
}
.connection-guide details:nth-child(odd) {
  border-right: var(--stroke) solid var(--line);
}
.connection-guide summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 64px;
  padding: var(--s4);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
  list-style: none;
}
.connection-guide summary::-webkit-details-marker {
  display: none;
}
.connection-guide summary::after {
  flex: 0 0 auto;
  width: var(--s3);
  height: var(--s3);
  border-right: var(--stroke) solid var(--ice-100);
  border-bottom: var(--stroke) solid var(--ice-100);
  transform: rotate(45deg) translateY(-2px);
  content: "";
  transition:
    transform 250ms var(--ease-out-quart),
    border-color 250ms var(--ease-out-quart);
}
.connection-guide details[open] summary {
  color: var(--lime);
}
.connection-guide details[open] summary::after {
  border-color: var(--lime);
  transform: rotate(225deg) translate(-2px, -2px);
}
.connection-guide b {
  margin-left: auto;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}
.connection-guide details > div {
  padding: 0 var(--s4) var(--s4);
}
.connection-guide details p {
  margin-bottom: var(--s4);
  color: var(--ice-300);
  font-size: 1rem;
  line-height: 1.5;
}
.connection-guide details a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.boundary,
.start {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s16);
  padding-block: var(--s24);
  border-top: var(--stroke) solid var(--line-soft);
}
.boundary > div > p:not(.overline),
.start p {
  max-width: 57ch;
  color: var(--ice-300);
}
.boundary dl {
  margin: 0;
  border-top: var(--stroke) solid var(--copper);
}
.boundary dl div {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: var(--s4);
  padding-block: var(--s4);
  border-bottom: var(--stroke) solid var(--line);
}
.boundary dt {
  color: var(--copper);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.boundary dd {
  margin: 0;
  color: var(--ice-300);
}
.boundary strong {
  color: var(--lime);
}
.start h2 {
  margin-bottom: 0;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: var(--s6);
  width: min(calc(100% - var(--s12)), var(--content));
  margin: auto;
  padding-block: var(--s8);
  border-top: var(--stroke) solid var(--line-soft);
  color: var(--slate-500);
  font-size: 1rem;
}
.site-footer p {
  margin: 0;
}
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s6);
}

@keyframes connector-breathe {
  0%,
  100% {
    transform: scaleX(0.45);
    opacity: 0.45;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes lane-flow {
  to {
    stroke-dashoffset: -96;
  }
}

.policy-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: var(--s16);
  width: min(calc(100% - var(--s12)), var(--content));
  margin: auto;
  padding-block: var(--s24);
}
.policy-intro { position: sticky; top: var(--s8); align-self: start; }
.policy-intro h1 { max-width: 10ch; font-size: clamp(3.25rem, 6vw, 5.5rem); }
.policy-intro p { color: var(--ice-300); }
.policy-content { max-width: 760px; }
.policy-content section { padding-block: var(--s8); border-top: var(--stroke) solid var(--line-soft); }
.policy-content section:first-child { padding-top: 0; border-top-color: var(--copper); }
.policy-content h2 { margin-bottom: var(--s4); font-size: clamp(2rem, 3.5vw, 3rem); }
.policy-content h3 { margin-top: var(--s6); font-size: 1.5rem; }
.policy-content p, .policy-content li { color: var(--ice-300); }
.policy-content li + li { margin-top: var(--s2); }
.policy-content strong { color: var(--ice-100); }

@media (max-width: 1200px) {
  .hero-trace {
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  nav {
    display: none;
  }
  .statement > div,
  .section-heading,
  .workflow,
  .connection-intro,
  .boundary,
  .start {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--s6);
    padding-block: var(--s12);
  }
  .hero-copy {
    padding-block-end: var(--s6);
  }
  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 2.75rem);
  }
  .hero-actions {
    gap: var(--s2);
  }
  .hero-actions .button {
    padding-inline: var(--s3);
  }
  .hero-trace {
    width: 100%;
    margin-right: 0;
  }
  .start-rail,
  .tool-catalog {
    grid-template-columns: 1fr;
  }
  .start-rail li,
  .tool-catalog article {
    min-height: 0;
  }
  .workflow-intro {
    max-width: 52ch;
  }
  .policy-main {
    grid-template-columns: 1fr;
  }
  .policy-intro {
    position: static;
  }
}

@media (max-width: 750px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--s8);
    min-height: calc(100dvh - 64px);
    padding-block: var(--s8);
  }
  .hero-copy {
    align-self: auto;
    padding-block-end: 0;
  }
  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 4rem);
  }
  .hero-trace {
    max-width: 560px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  .site-header,
  .hero,
  .statement,
  .section,
  .workflow,
  .boundary,
  .start,
  .policy-main,
  .site-footer {
    width: min(calc(100% - var(--s8)), var(--content));
  }
  .site-header {
    min-height: 64px;
  }
  .header-link {
    display: none;
  }
  .brand {
    font-size: 1.25rem;
  }
  .brand-mark {
    width: var(--s6);
    height: var(--s6);
  }
  .hero h1 {
    margin-bottom: var(--s4);
    font-size: 2.75rem;
  }
  h2 {
    font-size: clamp(2.75rem, 14vw, 3.5rem);
  }
  h3 {
    font-size: 1.75rem;
  }
  .hero-lede {
    margin-bottom: var(--s6);
    font-size: 1.125rem;
  }
  .overline {
    margin-bottom: var(--s2);
  }
  .hero-trace figcaption span:last-child {
    display: none;
  }
  .hero-trace figcaption,
  .diagram-meta {
    align-items: flex-start;
    flex-direction: column;
    padding: var(--s3) var(--s4);
  }
  .hero-trace svg {
    min-height: 276px;
  }
  .statement,
  .section,
  .workflow,
  .boundary,
  .start,
  .policy-main {
    padding-block: var(--s16);
  }
  .diagram-canvas {
    overflow-x: auto;
  }
  .diagram svg {
    min-width: 700px;
    min-height: 0;
  }
  .architecture-diagram svg {
    min-height: 0;
  }
  .diagram figcaption {
    padding: var(--s3) var(--s4);
  }
  .diagram-scroll-description {
    position: static;
    display: block;
    width: auto;
    height: auto;
    padding: var(--s2) var(--s4);
    overflow: visible;
    clip: auto;
    white-space: normal;
    border-top: var(--stroke) solid var(--line-soft);
    color: var(--slate-500);
    font-size: 0.875rem;
  }
  .start-rail li {
    min-height: 0;
  }
  .start-rail li::after {
    top: auto;
    right: auto;
    bottom: -24px;
    left: var(--s6);
    width: var(--s1);
    height: var(--s6);
    transform-origin: top;
  }
  .start-rail li:last-child::after {
    display: none;
  }
  .connection-guide {
    grid-template-columns: 1fr;
  }
  .connection-guide details:nth-child(odd) {
    border-right: 0;
  }
  .connection-guide summary {
    align-items: flex-start;
    min-height: 72px;
    font-size: 1.5rem;
  }
  .connection-guide b {
    max-width: 14ch;
  }
  .boundary dl div {
    grid-template-columns: 1fr;
    gap: var(--s1);
  }
  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .diagram animateMotion,
  .hero-trace animateMotion {
    display: none;
  }
  .hero-packet,
  .diagram-packet {
    display: none;
  }
  .button-arrow {
    transform: none !important;
  }
}
