/* Self-hosted Geist (SIL Open Font License 1.1, see assets/fonts/LICENSE-OFL.txt).
   Variable files cover every weight the site uses; no third-party requests. */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ZeroTouch Studio. One system: tokens, grid, type, buttons, nav, sections, demo, footer. */

:root {
  --bg: #07090d;
  --bg-2: #0b0e14;
  --surface: #10141c;
  --surface-2: #141925;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f2f4f8;
  --ink-2: #d7dce6;
  --muted: #a3adbf;
  --accent: #5b8cff;
  --accent-strong: #2563eb;
  --accent-press: #1d4fd8;
  --accent-glow: rgba(59, 123, 255, 0.35);
  --ok: #5ad48a;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --nav: 72px;
  --gut: 80px;
  --wrap: 1280px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-btn: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --t-in: 150ms;
  --t-out: 120ms;
}

@media (max-width: 1023px) { :root { --gut: 48px; } }
@media (max-width: 639px) { :root { --gut: 20px; --nav: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav); background: var(--bg); }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:focus-within { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.025em; }
button { font: inherit; color: inherit; }
::selection { background: rgba(91, 140, 255, 0.35); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }

/* Focus */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 3px; border-radius: var(--r-btn); }

.skip-link {
  position: absolute;
  left: var(--gut);
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 500;
  transform: translateY(-200%);
  opacity: 0;
}
.skip-link:focus-visible { transform: none; opacity: 1; outline-color: var(--ink); }

/* Type scale */
h1 { font-size: clamp(38px, 2.4vw + 28px, 72px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 1.4vw + 22px, 46px); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.section__lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* Links */
.link, .nav__links a, .footer__links a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size var(--t-out) var(--ease), color var(--t-in) var(--ease);
}
.link { color: var(--accent); background-size: 100% 1px; background-image: linear-gradient(rgba(91,140,255,.35), rgba(91,140,255,.35)); }
.link:hover { background-image: linear-gradient(currentColor, currentColor); }
.nav__links a:hover, .footer__links a:hover { background-size: 100% 1px; color: var(--ink); }

/* Buttons */
.btn {
  --btn-h: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding: 0 22px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t-out) var(--ease), background-color var(--t-in) var(--ease), border-color var(--t-in) var(--ease), box-shadow var(--t-in) var(--ease);
}
.btn--lg { --btn-h: 52px; padding: 0 26px; }
.btn--primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn--primary:hover { background: var(--accent-press); box-shadow: 0 8px 28px -8px var(--accent-glow); }
  .btn--secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,.28); }
  .btn:hover .arrow { transform: translateX(3px); }
}
.btn:active { transform: translateY(1px) scale(0.985); transition-duration: 90ms; }
.arrow { transition: transform var(--t-in) var(--ease); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav);
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
/* the blur lives on a pseudo-element: a filter on the header itself would trap the fixed phone sheet inside it */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 9, 13, 0.92); }
@supports (backdrop-filter: blur(1px)) {
  .nav::before { background: rgba(7, 9, 13, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.nav__wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 40px; height: 29px; }
.brand__name { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.brand__thin { font-weight: 400; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 6px 0; }
.nav__links .nav__sheet-cta, .nav__links .nav__sheet-email { display: none; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta { --btn-h: 42px; padding: 0 18px; font-size: 15px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__toggle-bar { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: var(--nav) 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gut) 32px;
    overflow: auto;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__links .nav__sheet-cta { display: inline-flex; margin-top: 24px; border-bottom: 0; font-size: 16px; --btn-h: 52px; justify-content: center; }
  .nav__links .nav__sheet-email { display: block; margin-top: 12px; font-size: 16px; color: var(--muted); border-bottom: 0; text-align: center; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 639px) {
  .nav__cta { display: none; }
  .brand__mark { width: 34px; height: 25px; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav) + 40px) 0 44px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(44, 92, 255, 0.55), transparent 65%),
    radial-gradient(45% 40% at 60% 75%, rgba(16, 40, 160, 0.6), transparent 70%),
    radial-gradient(35% 35% at 90% 80%, rgba(90, 150, 255, 0.25), transparent 70%);
  filter: blur(40px);
  opacity: 0;
}
.hero--nogl .hero__fallback { opacity: 1; }
.hero--nogl .hero__pool { background: radial-gradient(38% 34% at 10% 96%, rgba(var(--amber-rgb), 0.18), transparent 72%); }
.hero--nogl .hero__canvas { display: none; }
.hero__wrap { display: grid; gap: 44px; width: min(100% - 2 * var(--gut), var(--wrap)); }
.hero__text { max-width: 760px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-2);
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.5);
  margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(91,140,255,.18); }
.hero__h1 { max-width: 16ch; text-wrap: balance; }
.hero__lead { margin-top: 20px; font-size: clamp(17px, 0.5vw + 15px, 20px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.hero .btn-row { margin-top: 28px; }
.hero__fact { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Hero flow strip */
.flow {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(10, 13, 20, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 24px 22px;
}
.flow__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.flow__title { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.flow__tag { font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.flow__rail { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr; align-items: center; gap: 0; }
.flow__node {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.flow__icon {
  grid-row: 1 / 3;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  display: grid; place-items: center;
  transition: box-shadow 300ms var(--ease);
}
.flow__icon img { width: auto; height: auto; max-width: 28px; max-height: 26px; }
.flow__icon--wide img { max-width: 36px; }
.flow__label { font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--ink-2); }
.flow__sub { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 2px; }
.flow__node.is-active { border-color: rgba(91,140,255,.55); background: rgba(91,140,255,.08); box-shadow: 0 0 0 1px rgba(91,140,255,.15), 0 12px 40px -14px var(--accent-glow); }
.flow__node.is-active .flow__label, .flow__node.is-done .flow__label { color: var(--ink); }
.flow__node.is-done { border-color: var(--line); }
.flow__link { position: relative; height: 2px; background: var(--line-2); border-radius: 2px; overflow: visible; }
.flow__link::after { content: ""; position: absolute; right: -1px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transform: translateY(-50%); }
.flow__pulse {
  position: absolute; top: 50%; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px 2px var(--accent-glow);
  transform: translate(-7px, -50%) scale(0.4);
  opacity: 0;
}
.flow__link.is-live .flow__pulse { animation: pulse-run 700ms var(--ease) forwards; }
.flow__link.is-done { background: rgba(91,140,255,.55); }
.flow__link.is-done::after { background: var(--accent); }
@keyframes pulse-run {
  0% { opacity: 0; transform: translate(-7px, -50%) scale(0.4); }
  15% { opacity: 1; transform: translate(-7px, -50%) scale(1); }
  85% { opacity: 1; transform: translate(33px, -50%) scale(1); }
  100% { opacity: 0; transform: translate(33px, -50%) scale(0.4); }
}
@media (max-width: 1023px) {
  /* tablet: five stacked tiles across, so the hero still ends on one screen */
  .flow { padding: 16px 18px 18px; }
  .flow__rail { grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr 22px 1fr; align-items: stretch; }
  .flow__node { grid-template-columns: 1fr; grid-template-rows: 40px auto auto; justify-items: center; text-align: center; row-gap: 6px; padding: 10px 6px; }
  .flow__icon { grid-row: auto; width: 40px; height: 40px; border-radius: 11px; }
  .flow__icon img { max-width: 24px; max-height: 22px; }
  .flow__icon--wide img { max-width: 32px; }
  .flow__label { font-size: 13px; min-height: 2.5em; display: flex; align-items: center; }
  .flow__sub { font-size: 11px; }
  .flow__link { align-self: center; }
  .flow__link.is-live .flow__pulse { animation-name: pulse-run-t; }
  @keyframes pulse-run-t {
    0% { opacity: 0; transform: translate(-7px, -50%) scale(0.4); }
    15% { opacity: 1; transform: translate(-7px, -50%) scale(1); }
    85% { opacity: 1; transform: translate(15px, -50%) scale(1); }
    100% { opacity: 0; transform: translate(15px, -50%) scale(0.4); }
  }
}
@media (max-width: 699px) {
  .hero { padding-bottom: 40px; }
  .flow { display: none; }
}
@media (min-width: 1024px) {
  .hero__wrap { gap: 48px; }
}

/* Hero entrance */
.js .hero__text > * { opacity: 0; transform: translateY(14px); }
.js .hero.is-ready .hero__text > * { animation: rise 640ms var(--ease-enter) forwards; }
.js .hero.is-ready .hero__text > *:nth-child(1) { animation-delay: 60ms; }
.js .hero.is-ready .hero__text > *:nth-child(2) { animation-delay: 140ms; }
.js .hero.is-ready .hero__text > *:nth-child(3) { animation-delay: 260ms; }
.js .hero.is-ready .hero__text > *:nth-child(4) { animation-delay: 360ms; }
.js .hero.is-ready .hero__text > *:nth-child(5) { animation-delay: 440ms; }
.js .flow { opacity: 0; transform: translateY(16px) scale(0.99); }
.js .hero.is-ready .flow { animation: rise 800ms var(--ease-enter) 420ms forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-2); }
.section__head { margin-bottom: 56px; }
.section__head h2 { max-width: 20ch; }
.section__head .section__lead { margin-top: 16px; }
@media (min-width: 1024px) {
  .section__head--split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: end; }
  .section__head--split .section__lead { margin-top: 0; max-width: 60ch; }
}
@media (max-width: 639px) {
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 36px; }
}

/* Demo */
.demo {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}
.demo__side { display: grid; gap: 20px; }
.demo__tabs { display: grid; gap: 8px; }
.demo__tab {
  display: grid;
  gap: 2px;
  text-align: left;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--t-in) var(--ease), background-color var(--t-in) var(--ease), transform var(--t-out) var(--ease);
}
.demo__tab-title { font-weight: 500; font-size: 16px; }
.demo__tab-sub { font-size: 14px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .demo__tab:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-1px); }
}
.demo__tab[aria-selected="true"] { border-color: rgba(91,140,255,.6); background: rgba(91,140,255,.08); box-shadow: inset 3px 0 0 var(--accent); }
.demo__tab[aria-selected="true"] .demo__tab-title { color: var(--ink); }
.demo__note { font-size: 14px; color: var(--muted); line-height: 1.55; padding: 0 4px; }

.demo__panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(44, 92, 255, 0.16), transparent 70%),
    var(--surface);
  overflow: hidden;
  min-height: 560px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.demo__bar {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 20px 24px 12px;
  border-bottom: 1px solid var(--line);
}
.demo__scenario { font-weight: 500; font-size: 17px; }
.demo__desc { font-size: 14px; color: var(--muted); margin-top: 4px; max-width: 60ch; }
.demo__controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.demo__status { font-family: var(--mono); font-size: 12px; color: var(--muted); min-width: 56px; text-align: right; }
.ctl {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.05);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background-color var(--t-in) var(--ease), border-color var(--t-in) var(--ease);
}
.ctl:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.ctl svg { display: none; }
.ctl[data-mode="running"] .ctl__pause { display: block; }
.ctl[data-mode="paused"] .ctl__play { display: block; }
.ctl[data-mode="done"] .ctl__replay { display: block; }

.dg { position: relative; min-height: 236px; padding: 24px; }
.dg__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.dg__line { fill: none; stroke: var(--line-2); stroke-width: 2; }
.dg__line.is-done { stroke: rgba(91,140,255,.6); }
.dg__pulse { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); opacity: 0; }
.dg__node {
  position: absolute;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(16, 20, 28, 0.9);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease);
  width: var(--w);
  height: var(--h);
  left: var(--x);
  top: var(--y);
}
.dg__node--stack { grid-template-columns: 1fr; grid-template-rows: 40px auto; justify-items: center; text-align: center; row-gap: 6px; padding: 10px 8px; }
.dg__icon { width: 40px; height: 40px; border-radius: 11px; background: #fff; display: grid; place-items: center; }
.dg__icon img { width: auto; height: auto; max-width: 26px; max-height: 24px; }
.dg__icon--wide img { max-width: 32px; }
.dg__label { display: block; font-size: 13px; font-weight: 500; line-height: 1.25; color: var(--ink-2); }
.dg__sub { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
.dg__node.is-active { border-color: rgba(91,140,255,.6); background: rgba(91,140,255,.1); box-shadow: 0 0 0 1px rgba(91,140,255,.15), 0 12px 40px -14px var(--accent-glow); }
.dg__node.is-done { border-color: rgba(91,140,255,.35); }
.dg__node.is-active .dg__label, .dg__node.is-done .dg__label { color: var(--ink); }
.dg__check {
  position: absolute; top: -7px; right: -7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok); color: #06250f;
  display: grid; place-items: center;
  transform: scale(0); transition: transform 220ms var(--ease-enter);
}
.dg__node.is-done .dg__check { transform: scale(1); }

.log {
  border-top: 1px solid var(--line);
  padding: 14px 24px 18px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  display: grid;
  gap: 7px;
  min-height: 216px;
  align-content: start;
  background: rgba(0,0,0,.25);
}
.log__line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; color: var(--ink-2); opacity: 0; transform: translateY(6px); animation: logline 360ms var(--ease-enter) forwards; }
.log__time { color: var(--muted); }
.log__line--ok { color: var(--ok); }
.log__line--ok .log__time { color: var(--ok); }
@keyframes logline { to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  .demo { grid-template-columns: 1fr; }
  .demo__tabs { grid-template-columns: 1fr 1fr; }
  .demo__panel { min-height: 0; }
}
@media (max-width: 639px) {
  .demo__tabs { grid-template-columns: 1fr; }
  .demo__bar { flex-direction: column; padding: 18px 18px 12px; }
  .demo__controls { align-self: flex-end; }
  .dg { padding: 18px; }
  .log { padding: 12px 18px 16px; font-size: 12px; min-height: 0; }
  .log__line { grid-template-columns: 56px 1fr; gap: 8px; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px 26px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t-in) var(--ease), transform 180ms var(--ease), background-color var(--t-in) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-2px); border-color: var(--line-2); background: var(--surface-2); }
  .card:hover .card__glyph { color: var(--accent); border-color: rgba(91,140,255,.4); }
}
.card__glyph {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  margin-bottom: 22px;
  transition: color var(--t-in) var(--ease), border-color var(--t-in) var(--ease);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1023px) { .cards { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 639px) { .cards { grid-template-columns: 1fr; } .card { padding: 24px 22px 26px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  padding: 28px 24px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.step__n { display: block; font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 40px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.step::after {
  content: "";
  position: absolute; left: 24px; right: 24px; top: 54px;
  height: 1px; background: linear-gradient(90deg, var(--accent), transparent);
  opacity: .5;
}
@media (max-width: 1023px) { .steps { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 639px) { .steps { grid-template-columns: 1fr; } .step__n { margin-bottom: 28px; } .step::after { top: 50px; } }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tool {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.tool__icon { width: 48px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.tool__icon img { width: auto; height: auto; max-width: 32px; max-height: 32px; }
.tool__name { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.tools__note { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 70ch; }
@media (max-width: 1023px) { .tools { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .tools { grid-template-columns: 1fr 1fr; gap: 10px; } .tool { padding: 12px; gap: 10px; } .tool__icon { width: 40px; height: 40px; } .tool__icon img { max-width: 26px; max-height: 26px; } .tool__name { font-size: 14px; } }

/* FAQ */
.faq { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq__item { padding: 26px 0; border-top: 1px solid var(--line); }
.faq dt { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 10px; }
.faq dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 58ch; }
@media (max-width: 1023px) { .faq { grid-template-columns: 1fr; } }

/* Book */
.section--book {
  background:
    radial-gradient(55% 60% at 100% 100%, rgba(44, 92, 255, 0.22), transparent 70%),
    radial-gradient(40% 45% at 0% 0%, rgba(16, 40, 160, 0.25), transparent 70%),
    var(--bg);
}
.book { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.book__fits { margin-top: 28px; display: grid; gap: 14px; }
.book__fits li { padding: 18px 20px; border-left: 2px solid var(--accent); background: rgba(255,255,255,.03); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.book__fits strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.book__card {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(16, 20, 28, 0.85);
  padding: 32px 28px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.book__kicker { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.book__card-text { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin-bottom: 24px; }
.book__card .btn { width: 100%; }
.book__email { font-size: 15px; }
.book__alt { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 1023px) { .book { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 639px) { .book__card { padding: 24px 20px; } .book__email { font-size: 14px; padding: 0 12px; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { font-size: 15px; color: var(--ink-2); padding: 4px 0; }
.footer__email { font-size: 15px; }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; color: var(--muted); max-width: 90ch; }

/* Reduced motion: everything rests, nothing hidden */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .hero__text > *, .js .flow { opacity: 1; transform: none; }
  .flow__link.is-live .flow__pulse { animation: none; opacity: 0; }
  .log__line { opacity: 1; transform: none; }
  .dg__pulse { display: none; }
}
html[data-motion="off"] .js .hero__text > *, html[data-motion="off"] .flow { opacity: 1; transform: none; }

/* ---------- Refinements: numbering, texture, spotlight borders, chains, rail, progress, scroll-spy ---------- */

/* Section eyebrows */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow__n { color: var(--accent); }
.eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--line-2); }
.section__title { display: flex; flex-direction: column; align-items: flex-start; }

/* Fine dotted texture on alternate sections, faded at the edges */
.section--alt {
  position: relative;
  isolation: isolate;
}
.section--alt::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 20%, transparent 100%);
  opacity: .9;
}
.section + .section, .section--book { border-top: 1px solid var(--line); }

/* Hero: a faint engineering grid over the light field */
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 0%, transparent 100%);
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 0%, transparent 100%);
}

/* Spotlight border: a soft blue ring follows the pointer round a card's edge (fine pointers only) */
.spot { position: relative; }
.spot::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 140, 255, 0.75), rgba(91, 140, 255, 0.12) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 220ms var(--ease);
  pointer-events: none;
}
.spot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 140, 255, 0.07), transparent 65%);
  opacity: 0;
  transition: opacity 220ms var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .spot:hover::before, .spot:hover::after { opacity: 1; }
}
.spot > * { position: relative; z-index: 1; }

/* Tool chains on the service cards */
.chain { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; }
.chain__tile { width: 28px; height: 28px; border-radius: 8px; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.chain__tile img { width: auto; height: auto; max-width: 18px; max-height: 16px; }
.chain__arrow { width: 14px; height: 1px; background: var(--line-2); position: relative; flex-shrink: 0; }
.chain__arrow::after { content: ""; position: absolute; right: -1px; top: -2px; width: 5px; height: 5px; border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); transform: rotate(45deg); }
.card:hover .chain__arrow, .card:hover .chain__arrow::after { background-color: rgba(91,140,255,.6); border-color: rgba(91,140,255,.6); }

/* Process rail: ring numbers joined by one line behind the cards */
.steps { position: relative; }
.steps::before {
  content: "";
  position: absolute; left: 24px; right: 24px; top: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,140,255,.55) 12%, rgba(91,140,255,.55) 88%, transparent);
}
.step { background: var(--surface); }
.step__n {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(91,140,255,.55);
  background: var(--surface);
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 34px;
  box-shadow: 0 0 0 4px var(--surface);
}
.step::after { display: none; }
.step h3 { padding-top: 0; }
@media (max-width: 1023px) {
  .steps::before { display: none; }
}

/* Demo: run metadata and a progress bar */
.demo__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .01em; }
.demo__meta span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); margin-right: 7px; vertical-align: 2px; }
.demo__progress { height: 2px; background: rgba(255,255,255,.06); position: relative; }
.demo__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--accent-strong), var(--accent)); box-shadow: 0 0 10px var(--accent-glow); transition: width 420ms var(--ease); }

/* Nav scroll-spy: the current section's word carries a short bar */
.nav__links a { position: relative; }
.nav__links a[aria-current="true"] { color: var(--ink); }
@media (min-width: 1024px) {
  .nav__links a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); }
}

/* Book card picks up the spotlight too */
.book__card { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .demo__progress span { transition: none; }
}
/* chains sit on the card's foot whatever the text length */
.card { display: flex; flex-direction: column; }
.card p { flex: 1 0 auto; }
.chain { margin-top: auto; padding-top: 18px; }
.card p + .chain { margin-top: 22px; }
.card { justify-content: flex-start; }
.card .chain { margin-top: auto; }
.card p { margin-bottom: 22px; }
.card p + .chain { margin-top: 0; }


/* ---------- Scroll-driven layer (CSS only; browsers without it see the finished state) ---------- */
.hero__eyebrow-sep { width: 1px; height: 12px; background: var(--line-2); margin: 0 2px; }

.progress {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  transform-origin: left;
  transform: scaleX(0);
  opacity: .9;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* reading progress under the nav */
    .progress { animation: progress-grow linear both; animation-timeline: scroll(root); }
    @keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    /* blocks rise 16px as they enter the viewport; after their range they hold the base style, so hovers still work */
    .reveal { animation: reveal-rise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 36%; }
    @keyframes reveal-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
    /* stagger inside a row by nudging each later item's range */
    .cards .reveal:nth-child(3n+2), .steps .reveal:nth-child(4n+2), .tools .reveal:nth-child(5n+2) { animation-range: entry 6% entry 42%; }
    .cards .reveal:nth-child(3n+3), .steps .reveal:nth-child(4n+3), .tools .reveal:nth-child(5n+3) { animation-range: entry 12% entry 48%; }
    .steps .reveal:nth-child(4n+4), .tools .reveal:nth-child(5n+4) { animation-range: entry 18% entry 54%; }
    .tools .reveal:nth-child(5n+5) { animation-range: entry 24% entry 60%; }

    /* the process rail draws itself, and the ring numbers light in order as it passes them */
    .steps::before { transform-origin: left; animation: rail-draw linear backwards; animation-timeline: view(); animation-range: entry 25% entry 95%; }
    @keyframes rail-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    .step__n { animation: ring-light linear backwards; animation-timeline: view(); }
    .step:nth-child(1) .step__n { animation-range: entry 25% entry 40%; }
    .step:nth-child(2) .step__n { animation-range: entry 42% entry 57%; }
    .step:nth-child(3) .step__n { animation-range: entry 59% entry 74%; }
    .step:nth-child(4) .step__n { animation-range: entry 76% entry 91%; }
    @keyframes ring-light {
      from { color: var(--muted); border-color: var(--line-2); box-shadow: 0 0 0 4px var(--surface), 0 0 0 0 rgba(91,140,255,0); }
      to { color: var(--accent); border-color: rgba(91,140,255,.55); box-shadow: 0 0 0 4px var(--surface), 0 0 18px 2px rgba(91,140,255,.25); }
    }

    /* the eyebrow rule draws with its section head */
    .eyebrow::after { transform-origin: left; animation: rail-draw linear backwards; animation-timeline: view(); animation-range: entry 10% entry 45%; }
  }
}
@media (max-width: 1023px) {
  /* the rail is hidden on narrow screens; rings light on their own */
  .step:nth-child(n) .step__n { animation-range: entry 10% entry 35%; }
}


/* ---------- Amber accent layer: a dim bulb behind black and blue ---------- */
:root {
  --amber: #e5a24a;          /* honey, chosen 2026-11-14 */
  --amber-rgb: 229, 162, 74;
}

/* a) the soft hue: one warm pool low on the hero, one behind the booking card */
.hero__pool {
  position: absolute; inset: 0;
  background: radial-gradient(38% 34% at 10% 96%, rgba(var(--amber-rgb), 0.10), transparent 72%);
  pointer-events: none;
}
.section--book {
  background:
    radial-gradient(42% 46% at 92% 88%, rgba(var(--amber-rgb), 0.11), transparent 70%),
    radial-gradient(55% 60% at 100% 100%, rgba(44, 92, 255, 0.16), transparent 70%),
    radial-gradient(40% 45% at 0% 0%, rgba(16, 40, 160, 0.25), transparent 70%),
    var(--bg);
}
.demo__panel {
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(44, 92, 255, 0.16), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(var(--amber-rgb), 0.07), transparent 70%),
    var(--surface);
}

/* b) sharp details: light catching the top and left edges of dark glass */
.edge-host { position: relative; }
.edge-light {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0, rgba(var(--amber-rgb), 0.9) 14%, rgba(var(--amber-rgb), 0.35) 42%, transparent 66%) top left / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(var(--amber-rgb), 0.8) 0, rgba(var(--amber-rgb), 0.28) 40%, transparent 70%) top left / 1px 100% no-repeat;
}
/* the sweep: a narrow band of light crossing the panel on hover, once on load for the hero card */
.edge-light::after {
  content: "";
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%;
  background: linear-gradient(100deg, transparent 0, rgba(var(--amber-rgb), 0.05) 40%, rgba(var(--amber-rgb), 0.11) 50%, rgba(var(--amber-rgb), 0.05) 60%, transparent 100%);
  transform: translateX(-160%) skewX(-8deg);
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .edge-host:hover .edge-light::after { animation: edge-sweep 900ms var(--ease) forwards; }
}
.js .hero.is-ready .edge-light--once::after { animation: edge-sweep 1100ms var(--ease) 1300ms forwards; }
@keyframes edge-sweep {
  0% { transform: translateX(-160%) skewX(-8deg); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(420%) skewX(-8deg); opacity: 0; }
}

/* the primary button: blue fill, an amber rim where the light catches it */
.btn--primary {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
  box-shadow:
    inset 0 1px 0 rgba(var(--amber-rgb), 0.55),
    inset 1px 0 0 rgba(var(--amber-rgb), 0.22),
    0 0 0 0 var(--accent-glow);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    box-shadow:
      inset 0 1px 0 rgba(var(--amber-rgb), 0.8),
      inset 1px 0 0 rgba(var(--amber-rgb), 0.35),
      0 8px 28px -8px var(--accent-glow);
  }
}

/* the one small accent: the bulb in the hero pill */
.hero__eyebrow .dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(var(--amber-rgb), 0.16), 0 0 12px rgba(var(--amber-rgb), 0.5); }

/* the odd hover highlight: a service card's glyph warms */
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__glyph { color: var(--amber); border-color: rgba(var(--amber-rgb), 0.45); }
}

@media (prefers-reduced-motion: reduce) {
  .edge-light::after { animation: none !important; opacity: 0; }
}

/* phone: the status pill stays on one line */
@media (max-width: 430px) {
  .hero__eyebrow { font-size: 11.5px; gap: 8px; padding: 5px 10px 5px 9px; letter-spacing: 0; }
  .hero__eyebrow .dot { width: 7px; height: 7px; }
}


/* ---------- Who it is for: a compact row under the hero ---------- */
.section--row { padding: 72px 0; }
.who__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.who__h { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.who__note { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .01em; }
.fits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fit { padding: 20px 22px 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.fit__sector { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.fit p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1023px) { .fits { grid-template-columns: 1fr; gap: 12px; } .who__head { margin-bottom: 20px; } }
@media (max-width: 639px) { .section--row { padding: 56px 0; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.founder__photo {
  aspect-ratio: 4 / 5;
  max-width: 400px;
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 50% at 20% 100%, rgba(var(--amber-rgb), 0.10), transparent 70%),
    radial-gradient(70% 60% at 80% 0%, rgba(44, 92, 255, 0.14), transparent 70%),
    var(--surface);
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder__mark { color: var(--ink-2); opacity: .9; }
.founder__text h2 { margin-bottom: 18px; max-width: 16ch; }
.founder__body { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 56ch; }
.founder__sig { margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
@media (max-width: 1023px) {
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder__photo { max-width: 280px; }
}

/* ---------- Privacy page ---------- */
.doc { padding: calc(var(--nav) + 72px) 0 96px; }
.doc__wrap { max-width: 720px; }
.doc h1 { font-size: clamp(32px, 3vw + 10px, 48px); margin-bottom: 14px; }
.doc__meta { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.02em; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.doc .tbc { font-family: var(--mono); font-size: 12px; color: var(--amber); border: 1px solid rgba(var(--amber-rgb), .4); border-radius: 6px; padding: 1px 7px; white-space: nowrap; vertical-align: 1px; }

.doc ul + p { margin-top: 14px; }


/* ---------- Step 8: the workflow canvas ---------- */
.demo__tag {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; white-space: nowrap;
}
.dg {
  background-image: radial-gradient(rgba(255,255,255,0.075) 1px, transparent 1.2px);
  background-size: 18px 18px;
  background-position: 9px 9px;
}
.dg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 50% 50%, transparent 55%, rgba(16,20,28,.9) 100%);
  pointer-events: none;
}
.dg__svg { z-index: 1; }
.dg__node { z-index: 2; }
/* ports where connections meet a node */
.dg__node::before, .dg__node::after {
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-2);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.dg__node::before { left: -4px; top: 50%; transform: translateY(-50%); }
.dg__node::after { right: -4px; top: 50%; transform: translateY(-50%); }
.dg--v .dg__node::before { left: 50%; top: -4px; transform: translateX(-50%); }
.dg--v .dg__node::after { left: 50%; top: auto; bottom: -4px; right: auto; transform: translateX(-50%); }
.dg__node.is-active::before, .dg__node.is-done::before, .dg__node.is-done::after { background: var(--accent); border-color: var(--accent); }
/* the amber beam */
.dg__beam {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(var(--amber-rgb), 0.9));
}
.dg__line.is-done { stroke: rgba(91,140,255,.55); }
/* the hero strip pulse carries the same light */
.flow__pulse { background: var(--amber); box-shadow: 0 0 14px 3px rgba(var(--amber-rgb), 0.55); width: 12px; height: 12px; }
@media (prefers-reduced-motion: reduce) {
  .dg__beam { display: none; }
}
