:root {
  --ink: #f3f5f4;
  --muted: #9ba4a3;
  --dim: #687170;
  --paper: #0b0d0f;
  --panel: #111416;
  --panel-2: #15191b;
  --line: #252b2d;
  --line-strong: #3a4344;
  --accent: #38e8cb;
  --accent-dark: #092e29;
  --purple: #8f7cf4;
  --danger: #ff5f75;
  --header-height: 72px;
  --page: min(1320px, calc(100vw - 64px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}
.signal-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .92;
}
main, .site-footer { position: relative; z-index: 1; }
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 16px rgba(56, 232, 203, .48);
  will-change: transform;
}

a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(32px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  transition: border-color .2s ease, height .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); height: 64px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -.02em;
  text-decoration: none;
}
.wordmark, h1, h2, h3, .event-copy strong { font-family: "Space Grotesk", "Manrope", sans-serif; }
.wordmark img { width: 30px; height: 30px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .18s ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--ink); }
.header-action {
  justify-self: end;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 7px 0;
}
.header-action span { color: var(--accent); margin-left: 6px; }

.hero {
  width: var(--page);
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: clamp(42px, 5vw, 76px);
  align-items: center;
  padding: 62px 0 76px;
}
.eyebrow, .section-number {
  margin: 0 0 25px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-number::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin: 0 0 3px 10px;
  background: var(--accent);
  transform-origin: left center;
  animation: line-breathe 2.8s ease-in-out infinite;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: var(--accent); }
.hero h1 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(54px, 6.7vw, 104px);
  font-weight: 590;
  letter-spacing: -.058em;
  line-height: .92;
}
.hero-copy > * {
  opacity: 0;
  animation: enter-up .62s cubic-bezier(.2,.72,.2,1) forwards;
}
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
.hero h1 em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
}
.hero-summary {
  max-width: 580px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}
.hero-actions, .closing-actions { display: flex; gap: 14px; align-items: center; margin-top: 36px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--accent); background: var(--accent); color: #06110f; }
.button-primary:hover { background: #70f1dc; border-color: #70f1dc; }
.button-quiet { background: transparent; }
.button-quiet:hover { border-color: var(--muted); }
.button-quiet span { color: var(--accent); }
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 25px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font: 600 10px/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-notes li::before { content: "✓"; color: var(--accent); margin-right: 7px; }

.control-surface {
  --surface-x: 50%;
  --surface-y: 30%;
  position: relative;
  border: 1px solid var(--line-strong);
  background: #0e1113;
  box-shadow: 0 38px 90px rgba(0, 0, 0, .38);
  overflow: hidden;
  border-radius: 22px;
  opacity: 0;
  animation: surface-in .78s .12s cubic-bezier(.2,.72,.2,1) forwards;
}
.control-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background: radial-gradient(340px circle at var(--surface-x) var(--surface-y), rgba(56, 232, 203, .1), transparent 70%);
}
.surface-topline, .surface-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font: 650 9px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.surface-topline { border-radius: 22px 22px 0 0; }
.surface-state { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.surface-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(56,232,203,.08); }
.surface-stage { position: relative; display: grid; grid-template-columns: 174px 1fr; min-height: 394px; }
.route-list { padding: 18px 0; border-right: 1px solid var(--line); }
.route {
  position: relative;
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 28px 1fr 8px;
  gap: 8px;
  align-items: center;
  margin: 3px 8px;
  width: calc(100% - 16px);
  padding: 12px 12px;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.route:hover { color: var(--ink); background: rgba(255,255,255,.018); }
.route.is-active { color: var(--ink); border-color: var(--accent); background: rgba(56,232,203,.04); }
.route-index { align-self: start; margin-top: 4px; color: var(--dim); font: 600 9px/1 Consolas, monospace; }
.route b { display: block; font-size: 13px; }
.route small { display: block; margin-top: 5px; color: var(--dim); font-size: 10px; line-height: 1.35; }
.route-signal { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--dim); }
.route.is-active .route-signal { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 13px rgba(56,232,203,.7); }
.event-window { position: relative; min-width: 0; padding: 20px; }
.event-header, .event-meta { display: flex; align-items: center; justify-content: space-between; color: var(--dim); font: 600 9px/1 Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.event-visual {
  position: relative;
  height: 188px;
  margin: 18px 0 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: 14px;
  background-color: #0b0e10;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 28px 28px;
}
.event-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 1px;
  background: var(--accent);
  opacity: .5;
  animation: scan 4s linear infinite;
}
.event-logo {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-strong);
  background: #101416;
  border-radius: 13px;
}
.event-logo img { width: 54px; height: 54px; object-fit: contain; }
.event-logo { animation: logo-breathe 3.8s ease-in-out infinite; }
.event-line { position: absolute; top: 50%; height: 1px; background: var(--line-strong); transform-origin: center; animation: connector-pulse 3s ease-in-out infinite; }
.line-a { left: 12%; width: 38%; transform: rotate(18deg); }
.line-b { right: 12%; width: 38%; transform: rotate(-18deg); animation-delay: -1s; }
.line-c { left: 50%; top: 50%; width: 1px; height: 40%; animation-delay: -2s; }
.event-node { position: absolute; z-index: 1; width: 9px; height: 9px; border: 1px solid var(--accent); background: #0b0e10; transform: rotate(45deg); }
.event-node { animation: node-pulse 2.6s ease-in-out infinite; }
.node-b { animation-delay: -.9s; }
.node-c { animation-delay: -1.8s; }
.node-a { left: 11%; top: 37%; }
.node-b { right: 11%; top: 37%; }
.node-c { left: calc(50% - 5px); bottom: 10%; }
.event-visual[data-event-visual="twitch"] .event-logo { border-color: var(--purple); }
.event-visual[data-event-visual="twitch"] .event-node { border-color: var(--purple); }
.event-visual[data-event-visual="obs"] .event-logo { border-color: #63a4ff; }
.event-visual[data-event-visual="obs"] .event-node { border-color: #63a4ff; }
.event-copy p { margin: 0 0 7px; color: var(--accent); font: 650 10px/1.3 Consolas, monospace; text-transform: uppercase; }
.event-copy strong { display: block; max-width: 430px; min-height: 52px; font-size: clamp(15px, 1.45vw, 19px); font-weight: 560; line-height: 1.4; }
.event-window.event-refresh .event-copy,
.event-window.event-refresh .event-meta { animation: event-refresh .38s cubic-bezier(.2,.72,.2,1); }
.event-meta { margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); }
.event-ok { color: var(--accent); }
.surface-footer { border-top: 1px solid var(--line); border-bottom: 0; }
.surface-sequence { color: var(--accent); }

.workflow-callout, .system, .capabilities, .setup, .closing, .site-footer {
  width: var(--page);
  margin: 0 auto;
}
.workflow-callout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(44px, 7vw, 104px);
  margin-top: 18px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(17, 20, 22, .76);
  box-shadow: 0 26px 70px rgba(0,0,0,.18);
}
.workflow-callout h2, .section-intro h2, .capability-aside h2, .setup-heading h2, .closing h2 {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 64px);
  font-weight: 570;
  letter-spacing: -.045em;
  line-height: 1.03;
}
.workflow-callout h2, .section-intro h2, .capability-aside h2, .setup-heading h2 { font-size: clamp(30px, 3.5vw, 50px); }
.workflow-demo > p { max-width: 650px; margin: 0 0 27px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.quick-search { display: grid; grid-template-columns: 1fr 56px; border: 1px solid var(--line-strong); background: var(--panel); }
.quick-search { border-radius: 14px; overflow: hidden; }
.quick-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,232,203,.06); }
.quick-search input { min-width: 0; height: 58px; padding: 0 18px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.quick-search input::placeholder { color: var(--dim); }
.quick-search button { border: 0; border-left: 1px solid var(--line-strong); background: transparent; color: var(--accent); cursor: pointer; font-size: 22px; }
.quick-search button:hover { background: var(--accent); color: #06110f; }
.query-examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.query-examples a { padding: 6px 9px; border: 1px solid var(--line); color: var(--dim); font: 600 10px/1 Consolas, monospace; text-decoration: none; }
.query-examples a:hover { color: var(--ink); border-color: var(--line-strong); }

.system { padding: 40px 0 32px; }
.section-intro { display: grid; grid-template-columns: .55fr 1fr .9fr; gap: 30px; align-items: end; margin-bottom: 28px; }
.section-intro .section-number { align-self: start; }
.section-intro > p:last-child { max-width: 480px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.system-ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border: 0; }
.ledger-row {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 184px;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17,20,22,.76);
  overflow: hidden;
  transition: background .2s ease, transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.ledger-row::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -80px;
  bottom: -95px;
  border: 1px solid rgba(56,232,203,.18);
  border-radius: 50%;
  transition: transform .35s ease, border-color .35s ease;
}
.ledger-row:hover { transform: translateY(-5px); border-color: rgba(56,232,203,.35); box-shadow: 0 20px 45px rgba(0,0,0,.22); }
.ledger-row:hover::after { transform: scale(1.35); border-color: rgba(56,232,203,.38); }
.ledger-index { color: var(--dim); font: 600 10px/1 Consolas, monospace; }
.ledger-name { display: flex; align-items: center; gap: 14px; }
.ledger-name h3 { margin: 0; font-size: 25px; font-weight: 580; letter-spacing: -.035em; }
.service-mark { width: 12px; height: 12px; display: inline-block; }
.discord-mark { border: 1px solid #8ea1e1; transform: rotate(45deg); }
.twitch-mark { background: var(--purple); clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 70%, 50% 100%, 50% 70%, 0 70%); }
.obs-mark { border-radius: 50%; border: 2px solid #b9c2ca; box-shadow: inset 0 0 0 2px var(--paper); }
.ledger-row > p { max-width: 330px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.ledger-row > a { margin-top: auto; color: var(--muted); font-size: 12px; text-decoration: none; }
.ledger-row > a span { color: var(--accent); margin-left: 4px; }
.ledger-row > a:hover { color: var(--ink); }

.capabilities { display: block; padding: 40px 0; border-top: 1px solid var(--line); }
.capability-aside { position: static; display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; align-items: end; margin-bottom: 28px; }
.capability-aside .section-number { grid-column: 1 / -1; margin-bottom: -10px; }
.capability-aside > p:not(.section-number) { max-width: 450px; margin: 27px 0 0; color: var(--muted); line-height: 1.65; }
.capability-aside > p:not(.section-number) { margin: 0; }
.text-link { display: inline-flex; gap: 9px; margin-top: 28px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); color: var(--ink); font-size: 13px; font-weight: 650; text-decoration: none; }
.text-link span { color: var(--accent); }
.capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}
.capability-list a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 122px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(17,20,22,.72);
  text-decoration: none;
  overflow: hidden;
}
.capability-list a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .2s ease; }
.capability-list a:hover::before { transform: scaleY(1); }
.capability-list a::after {
  content: "↗";
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--accent);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity .2s ease, transform .2s ease;
}
.capability-list a { transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.capability-list a:hover { transform: translateY(-4px); border-color: rgba(56,232,203,.34); background: rgba(56,232,203,.04); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.capability-list a:hover::after { opacity: 1; transform: none; }
.capability-list span { color: var(--dim); font: 650 10px/1.2 Consolas, monospace; text-transform: uppercase; }
.capability-list strong { max-width: 88%; font-size: 16px; font-weight: 540; line-height: 1.35; }
.capability-list i { position: absolute; right: 18px; top: 19px; color: var(--dim); font: normal 600 10px/1 Consolas, monospace; }

.setup { padding: 40px 0; border-top: 1px solid var(--line); }
.setup-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 30px; align-items: end; margin-bottom: 28px; }
.setup-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; border: 0; }
.setup-steps li { min-height: 156px; padding: 21px; border: 1px solid var(--line); border-radius: 18px; background: rgba(17,20,22,.72); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.setup-steps li:last-child { border-right: 0; }
.setup-steps li:last-child { border-right: 1px solid var(--line); }
.setup-steps li:hover { transform: translateY(-4px); border-color: rgba(56,232,203,.32); background: rgba(56,232,203,.035); }
.setup-steps li > span { color: var(--accent); font: 600 10px/1 Consolas, monospace; }
.setup-steps li > div { margin-top: 32px; }
.setup-steps h3 { margin: 0 0 12px; font-size: 19px; font-weight: 580; }
.setup-steps p { max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.closing { display: grid; grid-template-columns: .55fr 1.2fr auto; gap: 28px; align-items: center; margin-bottom: 20px; padding: 34px; text-align: left; border: 1px solid var(--line); border-radius: 24px; background: rgba(17,20,22,.62); }
.closing .section-number { margin: 0; }
.closing h2 { font-size: clamp(34px, 4vw, 58px); }
.closing-actions { justify-content: flex-end; margin-top: 0; }
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}
.site-footer p { margin: 3px 0 0; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer small { grid-column: 1 / -1; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 10px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(320px); } }
@keyframes enter-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes surface-in { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes logo-breathe { 0%,100% { transform: translate(-50%,-50%) scale(1); box-shadow: 0 0 0 rgba(56,232,203,0); } 50% { transform: translate(-50%,-50%) scale(1.035); box-shadow: 0 0 26px rgba(56,232,203,.09); } }
@keyframes connector-pulse { 0%,100% { opacity: .45; } 50% { opacity: 1; background-color: rgba(56,232,203,.5); } }
@keyframes node-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(56,232,203,0); } 50% { box-shadow: 0 0 0 7px rgba(56,232,203,.07); } }
@keyframes line-breathe { 0%,100% { transform: scaleX(.45); opacity: .45; } 50% { transform: scaleX(1); opacity: 1; } }
@keyframes event-refresh { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  :root { --page: min(100% - 40px, 920px); }
  .site-header { padding-inline: 20px; }
  .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-copy { max-width: 760px; }
  .control-surface { max-width: 760px; }
  .section-intro { grid-template-columns: 1fr 1fr; }
  .section-intro .section-number { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --page: calc(100% - 28px); --header-height: 62px; }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 14px; }
  .header-action { font-size: 0; }
  .header-action span { font-size: 18px; margin: 0; }
  .hero { min-height: auto; padding: 58px 0 78px; gap: 54px; }
  .hero h1 { font-size: clamp(47px, 15vw, 72px); }
  .hero-summary { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .surface-stage { grid-template-columns: 1fr; }
  .route-list { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .route { min-height: 76px; grid-template-columns: 1fr; padding: 12px; border-left: 0; border-bottom: 2px solid transparent; }
  .route-index, .route small, .route-signal { display: none; }
  .route.is-active { border-bottom-color: var(--accent); }
  .event-window { padding: 14px; }
  .event-visual { height: 185px; }
  .surface-footer { display: none; }
  .workflow-callout, .capabilities { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
  .capabilities { padding: 54px 0; }
  .workflow-callout h2, .section-intro h2, .capability-aside h2, .setup-heading h2 { font-size: 40px; }
  .system, .setup { padding: 54px 0; }
  .section-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 52px; }
  .section-intro .section-number { grid-column: auto; }
  .system-ledger { grid-template-columns: 1fr; }
  .ledger-row { min-height: 164px; gap: 12px; padding: 19px; }
  .ledger-row > a { font-size: 12px; }
  .capability-aside { grid-template-columns: 1fr; gap: 18px; }
  .capability-aside .section-number { grid-column: auto; margin-bottom: 0; }
  .capability-list { grid-template-columns: 1fr; }
  .capability-list a { min-height: 112px; }
  .capability-list strong { font-size: 15px; }
  .setup-heading { grid-template-columns: 1fr; }
  .setup-steps { grid-template-columns: 1fr; }
  .setup-steps li { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .setup-steps li > div { margin-top: 45px; }
  .closing { grid-template-columns: 1fr; gap: 22px; padding: 30px 22px; }
  .closing h2 { font-size: 52px; }
  .closing-actions { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div:nth-of-type(2) { justify-content: flex-start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
