/* VOXN8 design system: "VOXN8 dark terminal".
   Shared by every page. Page-only styles live in assets/css/pages/<page>.css.
   Sections: fonts · tokens · base · layout · type · buttons · chips · header · mobile menu · hero · page hero ·
   ticker · section head · terminal card · card · points · figures · app frame · flow strip · loop diagram ·
   steps · spec table · data table · FAQ · CTA band · footer · form · prose · utilities · motion · print */

/* ---------- fonts (latin subsets, see assets/fonts/LICENSE.txt) ---------- */
@font-face { font-family: "Michroma"; src: url(/assets/fonts/michroma-400-latin.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/assets/fonts/geist-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/geist-mono-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Doto"; src: url(/assets/fonts/doto-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;
  --ink: #060606;
  --panel: #0d0d0c;
  --panel-2: #141413;
  --line: rgba(242, 240, 235, .12);
  --line-strong: rgba(242, 240, 235, .22);
  --bone: #f2f0eb;
  --mute: #8d8c86;           /* 6.0:1 on ink, 5.8:1 on panel: AA for body text */
  --dim: #5d5c58;            /* decorative only (3:1) */
  --accent: #f5a524;         /* VOXN8 amber */
  --accent-ink: #0b0b0a;     /* text on accent */
  --accent-soft: rgba(245, 165, 36, .12);
  --accent-line: rgba(245, 165, 36, .45);
  --live: #3ddc97;           /* only for "live" status dots */
  --error: #ff8a6b;

  --font-display: "Michroma", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-dot: "Doto", "Geist Mono", ui-monospace, monospace;

  /* home H1: its two lines never wrap, so phones and tablets size it to fit the width;
     from 1024px it follows the brief, clamp(2.4rem, 6.6vw, 6.4rem) */
  --fs-h1: clamp(1.7rem, 8.8vw - .25rem, 6.2rem);
  --fs-h1-page: clamp(1.75rem, 5.2vw, 4.6rem);
  --fs-h2: clamp(1.55rem, 2.6vw + .55rem, 3.1rem);
  --fs-h3: clamp(1.1rem, .55vw + .9rem, 1.42rem);
  --fs-lead: clamp(1.05rem, .35vw + .95rem, 1.25rem);
  --fs-body: clamp(1rem, .2vw + .95rem, 1.0625rem);
  --fs-small: .875rem;
  --fs-ui: .76rem;           /* mono uppercase: nav, buttons, labels */

  --r-pill: 999px;
  --r-card: 14px;
  --r-input: 6px;
  --maxw: 1320px;
  --gutter: 20px;
  --header-h: 64px;
  --section-y: clamp(4.5rem, 9vw, 8.75rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dots: radial-gradient(rgba(242, 240, 235, .07) 1px, transparent 1px) 0 0 / 24px 24px;
  /* the VOXN8 "8", outlined in amber (full strength; each use sets its own opacity) */
  --mark-8: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='112 -20 1724 1640'><path fill='none' stroke='%23f5a524' stroke-width='3.5' vector-effect='non-scaling-stroke' transform='matrix(1 0 0 -1 0 1568)' d='M1624 1132Q1624 1228 1605.5 1283Q1587 1338 1532 1363Q1477 1388 1369.5 1395Q1262 1402 1083 1402H865Q686 1402 578.5 1395Q471 1388 416 1363Q361 1338 342.5 1283Q324 1228 324 1132Q324 1051 337 1000.5Q350 950 395.5 923.5Q441 897 536 887Q631 877 795 877H1153Q1317 877 1412 887Q1507 897 1552.5 923.5Q1598 950 1611 1000.5Q1624 1051 1624 1132ZM132 444Q132 605 190 691Q248 777 341 796Q249 813 190.5 895Q132 977 132 1132Q132 1263 161.5 1348Q191 1433 268.5 1481Q346 1529 488 1548.5Q630 1568 855 1568H1093Q1318 1568 1460 1548.5Q1602 1529 1679.5 1481Q1757 1433 1786.5 1348Q1816 1263 1816 1132Q1816 977 1757.5 895Q1699 813 1607 796Q1700 777 1758 691Q1816 605 1816 444Q1816 309 1790.5 217.5Q1765 126 1692 71Q1619 16 1481 -8Q1343 -32 1118 -32H830Q605 -32 467 -8Q329 16 256 71Q183 126 157.5 217.5Q132 309 132 444ZM1624 444Q1624 533 1610 587Q1596 641 1547 669Q1498 697 1395 706.5Q1292 716 1113 716H835Q656 716 553 706.5Q450 697 401 669Q352 641 338 587Q324 533 324 444Q324 344 338.5 283Q353 222 403 189.5Q453 157 557 145.5Q661 134 840 134H1108Q1287 134 1391 145.5Q1495 157 1545 189.5Q1595 222 1609.5 283Q1624 344 1624 444Z'/></svg>");
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --fs-h1: clamp(2.4rem, 6.6vw, 6.4rem); } }
@media (min-width: 1080px) { :root { --header-h: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* scrollbar-gutter: opening the menu locks scrolling without the page shifting sideways on classic scrollbars */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--ink); overflow-x: clip; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--dots), var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
p, li, dd { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-color: var(--accent-line); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
strong { font-weight: 600; color: var(--bone); }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: .7rem 1.1rem; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink);
  font: 600 var(--fs-ui)/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; color: var(--accent-ink); }

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

.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.icon--sm { width: .9em; height: .9em; margin-left: .3em; vertical-align: -.08em; }

/* ---------- layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section--line { border-top: 1px solid var(--line); }
.section--panel { background: linear-gradient(180deg, rgba(13, 13, 12, .92), rgba(6, 6, 6, .92)); border-block: 1px solid var(--line); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, .75rem); }
.grid { display: grid; gap: var(--grid-gap, clamp(1rem, 2vw, 1.5rem)); list-style: none; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 700px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split__sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 400; color: var(--bone); }
.h1 { font-size: var(--fs-h1-page); line-height: 1.08; letter-spacing: -.012em; }
.h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.01em; max-width: 20em; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--mute); max-width: 40em; }
.lead strong { color: var(--bone); font-weight: 500; }
.muted { color: var(--mute); }
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); }
.small { font-size: var(--fs-small); }
.label {
  font-family: var(--font-mono); font-size: var(--fs-ui); font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mute);
}
.dotted { font-family: var(--font-dot); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

/* Accent block: one phrase of a display heading set on amber. Works across line breaks. */
.hl {
  color: var(--accent-ink);
  background: linear-gradient(var(--accent), var(--accent)) 0 78% / 100% 1.04em no-repeat;
  padding-inline: .14em;
  margin-inline: -.02em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- buttons ---------- */
.btn {
  --btn-h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--btn-h); padding: 0 1.45rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: var(--fs-ui); font-weight: 600; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease);
}
.btn .icon { width: 1.35em; height: 1.35em; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(245, 165, 36, 0); }
.btn--primary:hover { color: var(--accent-ink); background: #ffb43d; box-shadow: 0 10px 34px -10px rgba(245, 165, 36, .7); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-strong); color: var(--bone); background: rgba(6, 6, 6, .35); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { --btn-h: 40px; padding: 0 1.05rem; }
.btn--lg { --btn-h: 54px; padding: 0 1.75rem; font-size: .8rem; }
.btn--block { width: 100%; }
.btn:focus-visible { outline-offset: 4px; border-radius: var(--r-pill); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
/* phones: buttons in a row stack full width, the same on every page */
@media (max-width: 479.98px) {
  .hero__actions .btn, .page-hero__actions .btn, .cta-band__actions .btn, .btn-row .btn, .form__actions .btn { flex: 1 1 100%; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-mono); font-size: var(--fs-ui); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--bone);
  min-height: 32px;
}
.link-arrow .icon { width: 1.25em; height: 1.25em; color: var(--accent); transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--ext:hover .icon { transform: translate(2px, -2px); }

/* ---------- chips and small marks ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 30px; padding: .32rem .8rem;
  border: 1px solid var(--accent-line); border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .05em; line-height: 1.2; color: var(--accent);
  background: transparent;
}
.chip--mute { border-color: var(--line-strong); color: var(--mute); }
.dot-live {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--live); box-shadow: 0 0 0 3px rgba(61, 220, 151, .16), 0 0 12px rgba(61, 220, 151, .7);
}
.badge {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 30px; padding: .3rem .85rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone);
}
.india-tag {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone);
}
.india-tag__bar { width: 18px; height: 12px; flex: none; border-radius: 2px; background: linear-gradient(#ff9933 0 33.3%, #f2f0eb 0 66.6%, #138808 0); box-shadow: 0 0 0 1px var(--line); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: rgba(6, 6, 6, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand {
  display: inline-flex; align-items: center; min-height: 40px;
  font-family: var(--font-display); font-size: 1.32rem; letter-spacing: .04em; line-height: 1;
  color: var(--bone); text-decoration: none;
}
.brand:hover { color: var(--bone); }
.brand__8 { color: var(--accent); }
.brand--lg { font-size: 1.7rem; }
.site-nav { display: none; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: clamp(1.1rem, 2.1vw, 2.2rem); list-style: none; }
.site-nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 40px;
  font-family: var(--font-mono); font-size: var(--fs-ui); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(242, 240, 235, .78); text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav__link:hover { color: var(--bone); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--accent); }
.site-header__cta { margin-left: auto; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 40px; padding: 0 .9rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: transparent;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bone);
}
.menu-btn:hover { border-color: var(--accent); color: var(--accent); }
.menu-btn__bars { position: relative; width: 16px; height: 8px; border-block: 1.5px solid currentColor; }
@media (max-width: 599.98px) {
  .site-header__cta { width: 40px; padding: 0; }
  /* hidden on screen, still the button's accessible name */
  .site-header__cta-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-header__cta .icon { width: 1.4em; height: 1.4em; }
}
/* without JavaScript the menu button cannot open the menu: a link to the footer navigation stands in */
.menu-btn--nojs { display: none; }
@media (max-width: 1079.98px) {
  html:not(.js) .menu-btn--nojs { display: inline-flex; text-decoration: none; }
  html:not(.js) button.menu-btn { display: none; }
}
@media (min-width: 1080px) {
  .site-nav { display: block; }
  .site-header__cta { margin-left: .5rem; }
  .menu-btn { display: none; }
}

/* ---------- mobile menu (full screen dialog) ---------- */
html.menu-open { overflow: hidden; }
.mmenu {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: var(--dots), var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity .25s var(--ease);
}
.mmenu.is-open { opacity: 1; }
.mmenu__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); border-bottom: 1px solid var(--line); }
.mmenu__close {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 40px; padding: 0 .9rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: transparent;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bone);
}
.mmenu__close:hover { border-color: var(--accent); color: var(--accent); }
.mmenu__x { position: relative; width: 14px; height: 14px; }
.mmenu__x::before, .mmenu__x::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.mmenu__x::after { transform: rotate(-45deg); }
.mmenu__nav { padding-block: 1.25rem; }
.mmenu__list { list-style: none; }
.mmenu__list li { border-bottom: 1px solid var(--line); }
.mmenu__link {
  display: flex; align-items: baseline; gap: 1.1rem; padding: 1.05rem 0;
  font-family: var(--font-display); font-size: clamp(1.35rem, 6vw, 2.1rem); line-height: 1.15; text-decoration: none; color: var(--bone);
  transform: translateY(8px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease), color .2s;
}
.mmenu.is-open .mmenu__link { transform: none; opacity: 1; }
.mmenu__list li:nth-child(2) .mmenu__link { transition-delay: .03s, .03s, 0s; }
.mmenu__list li:nth-child(3) .mmenu__link { transition-delay: .06s, .06s, 0s; }
.mmenu__list li:nth-child(4) .mmenu__link { transition-delay: .09s, .09s, 0s; }
.mmenu__list li:nth-child(5) .mmenu__link { transition-delay: .12s, .12s, 0s; }
.mmenu__list li:nth-child(6) .mmenu__link { transition-delay: .15s, .15s, 0s; }
.mmenu__list li:nth-child(7) .mmenu__link { transition-delay: .18s, .18s, 0s; }
.mmenu__link:hover, .mmenu__link[aria-current="page"] { color: var(--accent); }
.mmenu__num { font-family: var(--font-dot); font-weight: 800; font-size: .9rem; letter-spacing: .12em; color: var(--accent); min-width: 2.2em; }
.mmenu__foot { margin-top: auto; padding-block: 1.5rem 2rem; display: grid; gap: 1rem; }
.mmenu__contact { font-family: var(--font-mono); font-size: .82rem; color: var(--mute); overflow-wrap: anywhere; }
.mmenu__contact a { color: var(--bone); text-decoration: none; display: inline-block; padding-block: .3rem; }
.mmenu__note { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }

/* ---------- home hero ---------- */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(2.25rem, 7vh, 4.75rem));
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
  isolation: isolate;
  overflow-x: clip;
}
.hero::before { /* warm bloom behind the loop */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: 0; top: 10%; width: 75%; height: 80%;
  background: radial-gradient(closest-side, rgba(245, 165, 36, .13), rgba(245, 165, 36, .04) 55%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow {
  font-family: var(--font-dot); font-weight: 800; font-size: clamp(.82rem, .5vw + .65rem, 1.02rem);
  letter-spacing: .26em; text-transform: uppercase; color: var(--accent); line-height: 1.4;
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
}
@media (max-width: 479.98px) {
  .hero__eyebrow { font-size: .72rem; letter-spacing: .13em; }
  .typing { letter-spacing: .13em; }
}
.hero__title { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.015em; color: var(--bone); text-wrap: initial; }
.hero__line { display: block; white-space: nowrap; }
/* isolation: the block (::before, z-index -1) paints behind the text but never behind the section, wherever .hl is used */
.hero__line .hl { position: relative; isolation: isolate; background: none; padding-inline: .12em; margin-left: -.12em; }
.hero__line .hl::before { /* the accent block sweeps in once at load (CSS only, the text paints first) */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 50%; height: 1.04em; transform: translateY(calc(-50% + .1em));
  background: var(--accent); transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__line .hl { animation: hl-ink .5s .35s both var(--ease); }
  .hero__line .hl::before { animation: hl-sweep .75s .2s both var(--ease); }
}
@keyframes hl-sweep { from { transform: translateY(calc(-50% + .1em)) scaleX(0); } to { transform: translateY(calc(-50% + .1em)) scaleX(1); } }
@keyframes hl-ink { from { color: var(--bone); } to { color: var(--accent-ink); } }
.hero__line + .hero__line { margin-top: .06em; }
.hero__lead { margin-top: clamp(1.25rem, 3vh, 1.75rem); max-width: 34em; font-size: var(--fs-lead); line-height: 1.55; color: var(--mute); }
.hero__lead strong { color: var(--bone); font-weight: 500; }
.hero__actions { margin-top: clamp(1.75rem, 4vh, 2.5rem); display: flex; flex-wrap: wrap; gap: .75rem; }

/* typing line */
.typing {
  margin-top: clamp(1.4rem, 3.4vh, 2.1rem);
  display: flex; align-items: center; min-height: 1.6em;
  font-family: var(--font-mono); font-size: clamp(1rem, .8vw + .75rem, 1.35rem); font-weight: 400;
  letter-spacing: .2em; color: var(--bone); white-space: nowrap;
}
.typing__cursor {
  display: inline-block; width: .62em; height: 1.08em; margin-left: .12em; flex: none;
  background: var(--accent); box-shadow: 0 0 14px rgba(245, 165, 36, .55);
  animation: blink 1.05s steps(1) 4 both; /* 4.2 s: blinking stops within 5 s */
}
.js .typing:not(.is-typing):not(.is-typed) .typing__text { opacity: 0; animation: show-late 0s 2.2s forwards; }
@keyframes show-late { to { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }

/* HUD rails on the hero edges (wide screens only: they need the side margin outside the container) */
.hud { display: none; }
@media (min-width: 1400px) {
  .hud {
    position: absolute; z-index: 3; top: 50%; display: flex; align-items: center; gap: 1.2rem;
    font-family: var(--font-dot); font-weight: 800; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
    color: rgba(242, 240, 235, .55); writing-mode: vertical-rl; white-space: nowrap;
  }
  .hud--left { left: max(10px, calc((100vw - var(--maxw)) / 4 - .5rem)); transform: translateY(-50%) rotate(180deg); }
  .hud--right { right: max(10px, calc((100vw - var(--maxw)) / 4 - .5rem)); transform: translateY(-50%); }
  .hud__sep { width: 1px; height: 28px; background: var(--line-strong); }
  .hud__live {
    display: inline-flex; align-items: center; gap: .7rem; padding: .7rem .2rem; border: 0; background: none;
    font: inherit; letter-spacing: inherit; color: var(--live); writing-mode: vertical-rl; cursor: pointer;
  }
  .hud__live:hover { color: var(--bone); }
  .motion-paused .hud__live, .hud__live:disabled { color: var(--mute); }
  .motion-paused .hud__live .dot-live, .hud__live:disabled .dot-live { background: var(--mute); box-shadow: none; border-radius: 1px; }
  .hud__live:disabled { cursor: default; }
}

/* pause control for the hero animation below 1400px (from 1400px the HUD "LIVE" button does this job) */
.hero__pause {
  position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(.75rem, 2.5vh, 1.25rem);
  display: inline-flex; align-items: center; gap: .55rem; min-height: 34px; padding: 0 .85rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: rgba(6, 6, 6, .7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
}
.hero__pause:hover { color: var(--accent); border-color: var(--accent); }
.hero__pause::before { /* pause bars; a play triangle once paused */
  content: ""; width: 8px; height: 10px; flex: none; box-sizing: border-box; border-inline: 2.5px solid currentColor;
}
.motion-paused .hero__pause::before { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
@media (min-width: 1400px) { .hero__pause { display: none; } }

/* the figure-8 loop: canvas, with a static SVG for no-JS or no-canvas */
.hero-loop { position: relative; z-index: 1; pointer-events: none; width: 100%; height: clamp(330px, 96vw, 540px); margin-top: 1.25rem; }
.hero-loop__fallback, .hero-loop__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-loop__fallback { transition: opacity .8s var(--ease); }
.hero-loop__canvas { opacity: 0; transition: opacity .9s var(--ease); }
.hero-loop.is-live .hero-loop__canvas { opacity: 1; }
.hero-loop.is-live .hero-loop__fallback { opacity: 0; }
.hero-loop__path { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 0 9; }
.hero-loop__glow { fill: none; stroke: var(--accent); stroke-width: 18; opacity: .1; filter: blur(8px); }
.hero-loop__marks rect { fill: var(--ink); stroke: var(--accent); stroke-width: 1.5; }
.hero-loop__labels text { font-family: var(--font-dot); font-weight: 800; font-size: 15px; letter-spacing: 3px; fill: rgba(242, 240, 235, .75); }
.hero-loop__leader { stroke: var(--accent); stroke-width: 1.2; opacity: .8; }
.hero-loop__labels .hero-loop__in { display: none; }
/* side by side from 1200px (below that the loop sits under the text, as on tablets);
   on laptops (1200-1399px) the loop takes less width so the headline keeps clear of most of it */
@media (min-width: 1200px) {
  .hero { min-height: min(100svh, 1040px); justify-content: center; }
  .hero-loop { position: absolute; top: var(--header-h); right: 0; bottom: 0; height: auto; width: min(58%, 940px); margin: 0; }
  .hero__lead { max-width: 30em; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) { .hero-loop { width: 48%; } }
/* the static 8 (no JS or no canvas) beside the headline: drawn at the right, clear of the HUD rail, INVOICE inside the loop */
@media (min-width: 1200px) {
  .hero-loop__fallback { left: auto; width: auto; aspect-ratio: 600 / 760; max-width: 100%; }
  .hero-loop__labels .hero-loop__out { display: none; }
  .hero-loop__labels .hero-loop__in { display: inline; }
}
@media (min-width: 1400px) { .hero-loop__fallback { right: calc(max(10px, (100vw - var(--maxw)) / 4 - .5rem) + 30px); } }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(3rem, 9vh, 6.5rem));
  padding-bottom: clamp(3rem, 7vh, 5.5rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0 -20% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(245, 165, 36, .1), transparent 70%);
  pointer-events: none;
}
.page-hero::after { /* the VOXN8 "8", outlined, as a quiet brand mark on inner pages; sized to the hero so it is never cropped */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: max(-3rem, calc((100vw - var(--maxw)) / 2 - 4rem));
  top: calc(var(--header-h) + 1.5rem); bottom: 1.5rem; width: min(36vw, 520px);
  background: var(--mark-8) right center / contain no-repeat;
  opacity: .27;
}
@media (max-width: 899.98px) { .page-hero::after { display: none; } }
.page-hero__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem;
  font-family: var(--font-dot); font-weight: 800; font-size: clamp(.8rem, .4vw + .66rem, .98rem);
  letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: clamp(1.1rem, 2.5vh, 1.6rem);
}
.page-hero__title { font-family: var(--font-display); font-size: var(--fs-h1-page); line-height: 1.08; letter-spacing: -.012em; max-width: 17em; }
.page-hero__lead { margin-top: clamp(1.1rem, 2.6vh, 1.6rem); font-size: var(--fs-lead); color: var(--mute); max-width: 38em; line-height: 1.55; }
@media (min-width: 900px) { /* title and lead stay clear of the outlined 8 on the right */
  .page-hero__title { max-width: min(17em, calc(100% - min(36vw, 520px) + 4rem)); }
  .page-hero__lead { max-width: min(38em, calc(100% - min(36vw, 520px) + 2rem)); }
}
.page-hero__actions { margin-top: clamp(1.6rem, 3.6vh, 2.25rem); display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- ticker ---------- */
.ticker {
  position: relative; display: flex; align-items: center; overflow: hidden;
  border-block: 1px solid var(--line); background: var(--panel);
}
.ticker::before, .ticker::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: 64px; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--panel), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--panel), transparent); }
/* the track holds three identical lists and moves by exactly one of them per loop, so the restart never jumps */
.ticker__track { display: flex; width: max-content; animation: ticker 31s linear infinite; }
.ticker:hover .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; }
.ticker__item {
  display: flex; align-items: center; gap: 1.6rem; padding: 1.05rem 0 1.05rem 1.6rem;
  font-family: var(--font-dot); font-weight: 800; font-size: clamp(.9rem, .4vw + .78rem, 1.1rem); letter-spacing: .22em;
  text-transform: uppercase; color: var(--bone); white-space: nowrap;
}
.ticker__item::after { /* four-point star, drawn so it never depends on a glyph */
  content: ""; width: 12px; height: 12px; flex: none; background: var(--accent);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.ticker__toggle {
  position: absolute; z-index: 2; right: 10px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--panel-2); color: var(--mute); display: grid; place-items: center;
}
.ticker__toggle:hover { color: var(--accent); border-color: var(--accent); }
.ticker__toggle::before { content: ""; width: 8px; height: 10px; border-inline: 2.5px solid currentColor; box-sizing: border-box; }
.ticker__toggle[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent currentColor; margin-left: 2px; }
@keyframes ticker { to { transform: translateX(calc(-100% / 3)); } }

/* ---------- section head ---------- */
.sec-eyebrow { display: flex; align-items: center; gap: 1.1rem; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.sec-eyebrow__num { font-family: var(--font-dot); font-weight: 800; font-size: 1.05rem; letter-spacing: .14em; color: var(--accent); line-height: 1; }
.sec-eyebrow__label { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--bone); line-height: 1.4; }
/* the hairline draws from the left while its label decodes in (it stays drawn without JS and under reduced motion) */
.sec-eyebrow::after { content: ""; flex: 1 1 2rem; min-width: 2rem; height: 1px; background: var(--line); transform-origin: left; transition: transform .8s var(--ease) .05s; }
.sec-eyebrow:has(> .sec-eyebrow__label.dc-armed)::after { transform: scaleX(0); transition: none; }
.sec-head { display: grid; gap: clamp(1rem, 2vw, 1.4rem); margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.sec-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.sec-head__row > :first-child { flex: 1 1 32rem; }

/* ---------- text decode (main.js, COMPONENTS.md 6.6) ----------
   The real text never changes. While a unit decodes, its fill is transparent and an aria-hidden layer <dc-l> draws every
   character at its measured place (<dc-g> per text node, <dc-c> per character), so nothing re-wraps or moves.
   Custom element names: no page rule written for a span or a div can reach them, and their boxes are locked.
   No containment on the layer: it would snap the characters to whole device pixels, off the real text. */
.dc-armed, .dc-run { -webkit-text-fill-color: transparent; text-shadow: none; } /* a glow would outline the hidden text */
/* a unit inside a decoding unit keeps its fill until it runs itself; CSS text such as the "~$ " prompt stays */
:is(.dc-armed, .dc-run) .dc-u:not(.dc-armed, .dc-run),
:is(.dc-armed, .dc-run)::before, :is(.dc-armed, .dc-run)::after,
:is(.dc-armed, .dc-run) ::before, :is(.dc-armed, .dc-run) ::after { -webkit-text-fill-color: currentcolor; }
/* an inline link's underline waits for its text */
:is(.dc-armed, .dc-run) a:not(.dc-u) { text-decoration-color: transparent; }
dc-l, dc-g, dc-c { all: unset; }
dc-l { position: absolute !important; display: block !important; width: 0 !important; height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; transform: none !important; pointer-events: none; user-select: none; -webkit-user-select: none; }
dc-g { position: absolute !important; display: block !important; left: 0 !important; top: 0 !important; width: 0 !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }
dc-c { position: absolute !important; display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; white-space: pre !important; text-align: left !important; text-indent: 0 !important; -webkit-text-fill-color: currentcolor; text-decoration: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
/* noise: Geist Mono in amber at low strength; dark text gets dark noise (main.js marks the group dc-ink when the text's
   own colour is dark: a primary button, an amber flag or number badge), where amber noise would vanish into the amber;
   dot-matrix text keeps dot-matrix noise.
   A glyph starts at its slot's left edge and a noise glyph's line box starts at the slot's top (line-height: normal), so
   swapping faces never moves a glyph box (no layout shift is reported). */
dc-c.is-n { color: var(--accent); opacity: .58; font-family: var(--font-mono); font-weight: 400; font-style: normal; line-height: normal !important; }
dc-g.dc-ink dc-c.is-n { color: var(--accent-ink); opacity: .5; }
dc-g.dc-dot dc-c.is-n { font-family: inherit; }
/* --dc (read by main.js, inherited): "replay" = display text that decodes again when it comes back into view;
   "off" = never decodes: the H1 (it is the LCP), the typing line, the HUD, the ticker, outlined numerals, pins, form fields,
   live regions, hidden or closed content and anything marked data-decode="off" */
h2, .sec-eyebrow > *, .cta-band__title, .term__prompt, .figure__n, [data-decode="replay"] { --dc: replay; }
[data-decode="once"] { --dc: once; }
h1, .typing, .hud, .hero__pause, .ticker, .step__num, .pin, .site-footer__wordmark, .sr-only, .skip-link, .menu-btn--nojs,
.field, label, input, select, option, textarea, [aria-live], [role="status"], script, style, noscript, template, svg, canvas,
dc-l, details:not([open]) > :not(summary), .loop__detail:not(.is-active), [data-decode="off"] { --dc: off; }
/* off wins inside an off element: display text there (an H2, an eyebrow, data-decode="replay") would set its own value */
:is(h1, .typing, .hud, .hero__pause, .ticker, .sr-only, .field, label, [aria-live], [role="status"], noscript, template, svg,
details:not([open]) > :not(summary), .loop__detail:not(.is-active), [data-decode="off"])
:is(h2, .sec-eyebrow > *, .cta-band__title, .term__prompt, .figure__n, [data-decode]) { --dc: off; }

/* ---------- terminal card ---------- */
.term {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(242, 240, 235, .022), transparent 42%), var(--panel);
  overflow: hidden;
  container-type: inline-size; /* the log lines stack when the card itself is narrow */
  transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* only a card that is a link (it holds a .term__link) lifts on hover */
.term:has(.term__link):hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: 0 24px 60px -30px rgba(245, 165, 36, .35); }
.term__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 46px; padding: .55rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--panel-2);
  font-family: var(--font-mono); font-size: .76rem; color: var(--accent); white-space: nowrap; overflow: hidden;
}
.term__prompt { overflow: hidden; text-overflow: ellipsis; }
.term__prompt::before { content: "~$ "; color: var(--mute); }
.term__dots { display: flex; gap: 6px; flex: none; }
.term__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.term__dots i:last-child { background: var(--accent); box-shadow: 0 0 8px rgba(245, 165, 36, .8); }
.term__body { display: flex; flex-direction: column; gap: 1rem; flex: 1; padding: clamp(1.25rem, 2vw, 1.7rem); }
.term__kicker { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; line-height: 1.4; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.term__kicker--num { font-family: var(--font-dot); font-weight: 800; font-size: .86rem; letter-spacing: .14em; } /* numerals stay dot-matrix */
.term__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.2; color: var(--bone); }
.term__text { color: var(--mute); font-size: .97rem; }
.term__foot { margin-top: auto; padding-top: .4rem; display: grid; gap: 1.1rem; }
.term__link { align-self: flex-start; }
.term__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.term__link:focus-visible { outline: none; }
.term:has(.term__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
/* log variant: key/value lines inside a terminal window */
.term__log { list-style: none; font-family: var(--font-mono); font-size: .86rem; display: grid; gap: .55rem; }
.term__log li { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr; gap: 1rem; }
.term__log .k { color: var(--mute); }
.term__log .v { color: var(--bone); }
.term__log .ok { color: var(--live); }
/* in a narrow card (a phone, or a 2-up or 4-up grid on a tablet) the value goes under its key */
@container (max-width: 26rem) { .term__log li { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- plain card ---------- */
.card {
  position: relative; min-width: 0; padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel);
  display: flex; flex-direction: column; gap: .8rem;
}
.card__kicker { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; line-height: 1.4; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.card__title { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.22; }
.card__text { color: var(--mute); font-size: .97rem; }
.card--line { background: transparent; }

/* ---------- points (short numbered statements) ---------- */
.points { list-style: none; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .points--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3.5rem); } }
@media (min-width: 900px) { .points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.25rem, 2.5vw, 2.5rem); } }
@media (min-width: 1100px) { .points--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(1.25rem, 2.5vw, 2.5rem); } }
@media (min-width: 700px) and (max-width: 1099.98px) { .points--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
.point { display: grid; gap: .55rem; padding: 1.4rem 0 1.5rem; border-bottom: 1px solid var(--line); align-content: start; }
.point__num { font-family: var(--font-dot); font-weight: 800; font-size: .9rem; letter-spacing: .14em; color: var(--accent); }
.point__title { font-family: var(--font-mono); font-size: .86rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bone); }
.point__text { color: var(--mute); font-size: .96rem; }

/* ---------- figures (big numerals with labels; facts only) ---------- */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; list-style: none; }
.figure { padding: clamp(1rem, 2vw, 1.6rem); border-left: 1px solid var(--line); display: grid; gap: .35rem; align-content: start; }
.figure:first-child { border-left: 0; }
.figure__n { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; color: var(--accent); }
.figure__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }

/* ---------- app frame (real screenshots) ---------- */
.app-frame {
  position: relative; margin: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--panel-2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 50px 120px -50px rgba(245, 165, 36, .38), 0 30px 80px -40px rgba(0, 0, 0, .9);
}
.app-frame::before { /* soft amber halo */
  content: ""; position: absolute; z-index: -1; inset: 8% 6% -6%; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(245, 165, 36, .22), transparent); filter: blur(30px); pointer-events: none;
}
.app-frame__bar {
  display: flex; align-items: center; gap: .9rem; min-height: 44px; padding: .45rem .9rem;
  border-bottom: 1px solid var(--line); border-radius: var(--r-card) var(--r-card) 0 0;
  font-family: var(--font-mono); font-size: .72rem; color: var(--mute);
}
.app-frame__dots { display: flex; gap: 6px; flex: none; }
.app-frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.app-frame__dots i:first-child { background: var(--accent); }
.app-frame__url {
  flex: 1; min-width: 0; max-width: 28rem; margin-inline: auto; padding: .3rem .9rem;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--ink);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .04em;
}
.app-frame__tag { flex: none; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; font-size: .66rem; }
@media (max-width: 639.98px) { /* phones: the domain alone, no tag, so the bar never cuts a word off */
  .app-frame__tag, .app-frame__path { display: none; }
}
.app-frame__media { position: relative; overflow: hidden; border-radius: 0 0 calc(var(--r-card) - 1px) calc(var(--r-card) - 1px); }
.app-frame__media img { width: 100%; }
/* the screenshot links to its full-size file, so it can be zoomed on a phone */
.app-frame__zoom { display: block; cursor: zoom-in; }
.app-frame__zoom:focus-visible { outline-offset: -3px; border-radius: 0 0 calc(var(--r-card) - 1px) calc(var(--r-card) - 1px); }
.app-frame__caption { margin-top: 1rem; font-size: var(--fs-small); line-height: 1.5; color: var(--mute); }
.pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font: 700 .7rem/1 var(--font-mono);
  box-shadow: 0 0 0 5px rgba(245, 165, 36, .22), 0 0 22px rgba(245, 165, 36, .7);
}
.pin { pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { /* two pulses (4.8 s), then still */
  .pin::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--accent); animation: pin-ping 2.4s var(--ease) 2; }
}
@keyframes pin-ping { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@media (max-width: 639.98px) { .pin { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: .58rem; box-shadow: 0 0 0 3px rgba(245, 165, 36, .25); } }
@media (max-width: 479.98px) { .pin { width: 16px; height: 16px; margin: -8px 0 0 -8px; font-size: .5rem; box-shadow: 0 0 0 2px rgba(245, 165, 36, .25); } .pin::after { inset: -3px; } }

/* ---------- flow strip (numbered stages; scrolls sideways on small screens) ---------- */
.flow-wrap { position: relative; }
.flow {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(7.6rem, 1fr);
  list-style: none; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--dim) transparent;
}
.flow__stage {
  position: relative; display: flex; flex-direction: column; gap: .9rem; min-height: 8.25rem;
  padding: 1.15rem 1rem 1.3rem; border-left: 1px solid var(--line); scroll-snap-align: start;
}
.flow__stage:first-child { border-left: 0; }
.flow__stage::before { /* node on the rail */
  content: ""; width: 9px; height: 9px; border: 1.5px solid var(--accent); background: var(--ink); transform: rotate(45deg);
}
.flow__stage::after { /* rail */
  content: ""; position: absolute; left: calc(1rem + 14px); right: -1px; top: calc(1.15rem + 4px); height: 1px;
  background: linear-gradient(90deg, var(--accent-line), var(--line));
}
.flow__stage:last-child::after { display: none; }
.flow__num { font-family: var(--font-dot); font-weight: 800; font-size: .86rem; letter-spacing: .14em; color: var(--accent); }
.flow__name { font-family: var(--font-mono); font-size: .76rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; line-height: 1.35; color: var(--bone); }
@media (min-width: 1200px) {
  .flow { grid-auto-columns: minmax(0, 1fr); overflow: visible; }
  .flow__stage { padding-inline: .85rem; }
  .flow__stage::after { left: calc(.85rem + 14px); }
}
.flow__stage:hover::before { background: var(--accent); }
.flow-note { margin-top: 1rem; display: flex; align-items: center; gap: .7rem; font-size: var(--fs-small); line-height: 1.5; color: var(--mute); }
.flow-note::before { content: ""; width: 7px; height: 7px; flex: none; background: var(--accent); transform: rotate(45deg); }
@media (max-width: 1199.98px) {
  .flow-wrap::after { content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 40px; border-radius: 0 var(--r-card) var(--r-card) 0; background: linear-gradient(-90deg, var(--panel), transparent); pointer-events: none; }
}

/* ---------- loop diagram ("02 The loop") ---------- */
.loop { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 960px) { .loop { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.loop__figure { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 560 / 600; }
.loop__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loop__glow { fill: none; stroke: var(--accent); stroke-width: 16; opacity: .07; filter: blur(7px); }
/* the path has pathLength="1", so dash lengths are fractions of the loop (.0044 ≈ 7.5 units) */
.loop__base { fill: none; stroke: rgba(242, 240, 235, .45); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0 .0044; }
.loop__packet { fill: #ffd27a; filter: drop-shadow(0 0 5px rgba(245, 165, 36, .95)) drop-shadow(0 0 14px rgba(245, 165, 36, .6)); }
@media (prefers-reduced-motion: reduce) { .loop__packet { display: none; } }
.loop__trail { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: var(--loop-at, 0) 1; transition: stroke-dasharray .7s var(--ease); filter: drop-shadow(0 0 6px rgba(245, 165, 36, .65)); }
.loop__center { fill: var(--accent); }
.loop__nodes { list-style: none; position: absolute; inset: 0; }
.loop__nodes li { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.loop__node {
  position: absolute; top: 0; display: flex; align-items: center; gap: .7rem; min-height: 36px; padding: 0;
  border: 0; background: none; color: rgba(242, 240, 235, .7); white-space: nowrap;
  font-family: var(--font-mono); font-size: clamp(.66rem, .3vw + .58rem, .78rem); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transform: translateY(-50%);
}
.loop__node[data-side="r"] { left: -9px; }
.loop__node[data-side="l"] { right: -9px; flex-direction: row-reverse; }
.loop__mark { width: 18px; height: 18px; flex: none; display: grid; place-items: center; }
.loop__mark::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--accent); background: var(--ink); transform: rotate(45deg); transition: background-color .25s, box-shadow .25s, transform .25s var(--ease); }
.loop__num { font-family: var(--font-dot); font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.loop__node:hover, .loop__node.is-active, .loop__node.is-covered { color: var(--bone); }
.loop__node.is-active .loop__mark::before, .loop__node.is-covered .loop__mark::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(245, 165, 36, .18), 0 0 18px rgba(245, 165, 36, .8); transform: rotate(45deg) scale(1.15); }
.loop__node:focus-visible { outline-offset: 2px; }
.loop__panel { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel); overflow: hidden; }
.loop__panel-bar { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--panel-2); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.loop__details { padding: clamp(1.25rem, 2.4vw, 1.9rem); min-height: 15.5rem; }
.loop__detail { display: grid; gap: .9rem; }
.loop__detail + .loop__detail { margin-top: 2rem; }
.loop.is-ready .loop__detail { display: none; }
.loop.is-ready .loop__detail.is-active { display: grid; margin: 0; }
.loop__step { font-family: var(--font-dot); font-weight: 800; letter-spacing: .16em; font-size: .9rem; color: var(--accent); text-transform: uppercase; }
.loop__name { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; }
.loop__text { color: var(--mute); }
.loop__pieces { border-top: 1px solid var(--line); }
.loop__piece { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: center; padding: .85rem 1.25rem; border-bottom: 1px solid var(--line); transition: background-color .25s; }
.loop__piece:last-child { border-bottom: 0; }
.loop__piece-name { display: flex; align-items: center; gap: .7rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); transition: color .25s; }
.loop__piece-name::before { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--dim); transform: rotate(45deg); transition: background-color .25s, border-color .25s; }
.loop__piece-stages { font-family: var(--font-dot); font-weight: 800; font-size: .78rem; letter-spacing: .12em; color: var(--mute); } /* information, so AA: 5.8:1 on panel */
.loop__piece.is-on { background: var(--accent-soft); }
.loop__piece.is-on .loop__piece-name { color: var(--bone); }
.loop__piece.is-on .loop__piece-name::before { background: var(--accent); border-color: var(--accent); }
.loop__piece.is-on .loop__piece-stages { color: var(--accent); }
.loop__note { padding: 1rem 1.25rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--mute); }
.loop__note a { color: var(--bone); white-space: nowrap; }
.loop__note a:hover { color: var(--accent); }
@media (max-width: 479.98px) { /* stage names stay on screen, smaller, so phones read "03 Quote", not "03" */
  .loop__node { gap: .3rem; font-size: .62rem; letter-spacing: .06em; }
  .loop__mark { width: 14px; height: 14px; }
  .loop__mark::before { width: 8px; height: 8px; }
  .loop__node[data-side="r"] { left: -7px; }
  .loop__node[data-side="l"] { right: -7px; }
}

/* ---------- step cards ---------- */
.steps { display: grid; list-style: none; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--panel); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { position: relative; display: flex; flex-direction: column; gap: .85rem; padding: clamp(1.5rem, 2.4vw, 2.2rem); border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
@media (min-width: 700px) {
  .step { border-top: 0; border-left: 1px solid var(--line); }
  .step:nth-child(2n + 1) { border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .step:nth-child(2n + 1) { border-left: 1px solid var(--line); }
  .step:first-child { border-left: 0; }
  .step:nth-child(n + 3) { border-top: 0; }
}
.step__num {
  font-family: var(--font-display); font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 235, .32); margin-bottom: .6rem;
  transition: -webkit-text-stroke-color .3s, color .3s;
}
.step:hover .step__num { -webkit-text-stroke-color: var(--accent); }
.step__title { font-family: var(--font-mono); font-size: .88rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); }
.step__text { color: var(--mute); font-size: .97rem; }

/* ---------- spec table (mono key/value rows) ---------- */
.spec { border-top: 1px solid var(--line-strong); font-family: var(--font-mono); }
.spec__row { display: grid; gap: .35rem 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .spec__row { grid-template-columns: minmax(9rem, 13rem) 1fr; align-items: baseline; } }
.spec__row dt { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.spec__row dd { margin: 0; font-size: .92rem; color: var(--bone); line-height: 1.5; }
.spec__row dd .accent { color: var(--accent); }
@media (min-width: 960px) { .spec--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); } }

/* ---------- data table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel); scrollbar-width: thin; scrollbar-color: var(--dim) transparent; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 34rem; }
.data-table caption { caption-side: top; text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.data-table th, .data-table td { padding: .95rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); background: var(--panel-2); }
.data-table tbody th { font-family: var(--font-mono); font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--bone); white-space: nowrap; }
.data-table td { color: var(--mute); }
.data-table tr:last-child > * { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; list-style: none; cursor: pointer;
  font-family: var(--font-mono); font-size: clamp(.95rem, .3vw + .88rem, 1.06rem); font-weight: 500; line-height: 1.45; color: var(--bone);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary:focus-visible { outline-offset: 4px; }
.faq-item__icon { position: relative; width: 16px; height: 16px; margin-top: .25em; flex: none; transition: transform .35s var(--ease); }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: var(--accent); }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open]:not(.is-closing) .faq-item__icon { transform: rotate(135deg); }
.faq-item__a { overflow: hidden; }
.faq-item__a > div { padding: 0 2.5rem 1.6rem 0; color: var(--mute); max-width: 46rem; display: grid; gap: .8rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: var(--section-y); }
.cta-band__inner {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.4rem, 5vw, 5rem);
  border: 1px solid var(--line-strong); border-radius: calc(var(--r-card) + 6px);
  background: radial-gradient(90% 120% at 100% 0%, rgba(245, 165, 36, .17), transparent 60%), var(--panel);
}
.cta-band__inner::after { /* amber dot field fading in from the right */
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(rgba(245, 165, 36, .5) 1.2px, transparent 1.6px) 0 0 / 18px 18px;
  -webkit-mask-image: radial-gradient(70% 90% at 100% 20%, #000, transparent 70%);
  mask-image: radial-gradient(70% 90% at 100% 20%, #000, transparent 70%);
  opacity: .5;
}
.cta-band__kicker { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--bone); margin-bottom: 1.4rem; }
.cta-band__kicker::before { content: ""; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 12px rgba(245, 165, 36, .8); }
.cta-band__title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 3.1rem); line-height: 1.12; max-width: 17em; }
.cta-band__text { margin-top: 1.1rem; max-width: 38em; color: var(--mute); font-size: var(--fs-lead); line-height: 1.55; }
.cta-band__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band__free { border-color: var(--accent-line); color: var(--accent); }
.cta-band__free:hover { background: var(--accent-soft); }
.cta-band__meta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; color: var(--mute); }
.cta-band__meta a { color: var(--bone); text-decoration: none; }
.cta-band__meta a:hover { color: var(--accent); text-decoration: underline; }
/* wide screens: the outlined 8 fills the right of the band */
.cta-band__mark { display: none; }
@media (min-width: 960px) {
  .cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) clamp(13rem, 23vw, 20rem); column-gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; }
  .cta-band__mark {
    display: block; aspect-ratio: 1724 / 1640; margin-right: clamp(0rem, 2vw, 2rem);
    background: var(--mark-8) center / contain no-repeat; opacity: .62;
    filter: drop-shadow(0 0 18px rgba(245, 165, 36, .5));
  }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(13, 13, 12, .9), var(--ink) 40%); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.site-footer__top { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 360px) { /* phones and tablets: brand, then Products beside Company, then Contact */
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand, .site-footer__col--contact { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .site-footer__top { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.4fr); }
  .site-footer__brand, .site-footer__col--contact { grid-column: auto; }
}
.site-footer__brand { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.site-footer__line { font-family: var(--font-dot); font-weight: 800; font-size: .86rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.site-footer__about { color: var(--mute); max-width: 26em; font-size: .95rem; }
.site-footer__title { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); margin-bottom: 1rem; }
.site-footer__links, .site-footer__contact { list-style: none; display: grid; gap: .2rem; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: var(--bone); font-size: .97rem; }
.site-footer__links a:hover, .site-footer__contact a:hover { color: var(--accent); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: .75rem; padding-block: .45rem; font-size: .95rem; color: var(--bone); overflow-wrap: anywhere; }
.site-footer__contact .icon { color: var(--accent); margin-top: .2em; }
.site-footer__contact a { text-decoration: none; color: var(--bone); }
.site-footer__contact span { color: var(--mute); }
.site-footer__wordmark {
  margin-top: clamp(3rem, 6vw, 5rem);
  font-family: var(--font-display); font-size: clamp(3rem, 16.4vw, 15.4rem); line-height: 1; letter-spacing: -.01em; margin-bottom: -.12em;
  text-align: center; white-space: nowrap; overflow: hidden;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 235, .2);
  user-select: none;
}
.site-footer__wordmark span { -webkit-text-stroke-color: var(--accent); }
.site-footer__bottom {
  margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-block: 1.4rem 1.8rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--mute);
}
.site-footer__bottom a { color: var(--bone); }
.site-footer__bottom a:hover { color: var(--accent); }

/* ---------- contact form ---------- */
.form { display: grid; gap: 1.5rem; }
.form__grid { display: grid; gap: 1.25rem 1.5rem; }
@media (min-width: 700px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--bone); }
.field__opt { color: var(--mute); letter-spacing: .06em; text-transform: none; }
.field__input {
  width: 100%; min-height: 50px; padding: .8rem .95rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-input);
  background: rgba(6, 6, 6, .7); color: var(--bone); font-family: var(--font-sans); font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: var(--dim); opacity: 1; }
.field__input:hover { border-color: rgba(242, 240, 235, .36); }
.field__input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.field__input:focus-visible { outline: none; }
textarea.field__input { min-height: 9rem; resize: vertical; }
select.field__input {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
select.field__input option { background: var(--panel-2); color: var(--bone); }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__hint { font-size: .85rem; color: var(--mute); }
.field__error { display: flex; gap: .45rem; align-items: baseline; font-size: .86rem; color: var(--error); }
.field__error::before { content: "!"; font: 700 .7rem/1 var(--font-mono); color: var(--accent-ink); background: var(--error); border-radius: 50%; width: 1.25em; height: 1.25em; display: inline-grid; place-items: center; flex: none; transform: translateY(.1em); }
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.form__note { font-size: .88rem; color: var(--mute); max-width: 44em; }
.form__status { font-family: var(--font-mono); font-size: .84rem; color: var(--bone); min-height: 1.4em; }
.form__status.is-error { color: var(--error); }

/* ---------- prose (long text, policies) ---------- */
.prose { max-width: 44rem; color: var(--mute); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.25rem, 1.4vw + .8rem, 1.7rem); color: var(--bone); margin-top: 2.4em; line-height: 1.2; }
.prose h3 { font-family: var(--font-mono); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); margin-top: 2em; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--bone); }
.prose a:hover { color: var(--accent); }

/* ---------- reveal on scroll ---------- */
.is-pending { opacity: 0; transform: translateY(18px); }
.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-still .is-in, .is-still .is-pending { transition: none; opacity: 1; transform: none; }
/* grids and lists: the block stays put and its items rise in one after another, 70 ms apart (in the flow strip, its
   stages). backwards fill only, so a card's own hover lift works again once it is in. */
:is(.grid, .steps, .points, .figures, .spec, .flow, .faq, .chips, .loop__pieces, .flow-wrap, [data-reveal="stagger"]).is-pending { opacity: 1; transform: none; }
:is(.grid, .steps, .points, .figures, .spec, .flow, .faq, .chips, .loop__pieces, [data-reveal="stagger"]).is-pending > *,
.flow-wrap.is-pending .flow__stage { opacity: 0; transform: translateY(14px); }
:is(.grid, .steps, .points, .figures, .spec, .flow, .faq, .chips, .loop__pieces, [data-reveal="stagger"]).is-in > *,
.flow-wrap.is-in .flow__stage { animation: rise-in .7s var(--ease) calc(var(--i, 0) * 70ms) backwards; }
:is([data-reveal], .flow) > :nth-child(2) { --i: 1; }
:is([data-reveal], .flow) > :nth-child(3) { --i: 2; }
:is([data-reveal], .flow) > :nth-child(4) { --i: 3; }
:is([data-reveal], .flow) > :nth-child(5) { --i: 4; }
:is([data-reveal], .flow) > :nth-child(6) { --i: 5; }
:is([data-reveal], .flow) > :nth-child(7) { --i: 6; }
:is([data-reveal], .flow) > :nth-child(n + 8) { --i: 7; }
.is-still :is(.is-in, .is-pending) > *, .is-still .flow-wrap .flow__stage { animation: none; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- motion extras (CSS only; all of it off under reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* inner-page H1: the accent block sweeps in once at load, as on the home page (the text paints first, so LCP is unchanged) */
  .page-hero__title .hl { animation: hl-grow .75s .2s both var(--ease), hl-ink .5s .35s both var(--ease); }
}
@keyframes hl-grow { from { background-size: 0% 1.04em; } }
/* screenshots: a faint amber sheen crosses once on hover or keyboard focus (the pins stay above it; no zoom, so they stay put) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .app-frame__media::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(115deg, transparent 32%, rgba(245, 165, 36, .16) 50%, transparent 68%); transform: translateX(-120%);
  }
  .app-frame:hover .app-frame__media::after, .app-frame__media:focus-within::after { transform: translateX(120%); transition: transform .9s var(--ease); }
}
/* scroll-linked depth, no scroll capture: the hero loop fades back as the hero leaves, and the outlined 8 marks drift a little
   slower than the page. Browsers without scroll-driven animations keep them still. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-loop { animation: recede linear both; animation-timeline: view(); animation-range: exit 0% exit 70%; }
    /* named timelines on the sections: the marks sit inside overflow: hidden boxes, which would be their own scrollers */
    .page-hero { view-timeline: --page-hero; }
    .cta-band { view-timeline: --cta-band; }
    .page-hero::after { animation: mark-drift linear both; animation-timeline: --page-hero; animation-range: exit; }
    .cta-band__mark { animation: band-drift linear both; animation-timeline: --cta-band; }
  }
}
@keyframes recede { to { opacity: .5; } }
@keyframes mark-drift { to { translate: 0 24px; } }
@keyframes band-drift { from { translate: 0 -20px; } to { translate: 0 20px; } }

/* ---------- touch screens: tap targets at least 44px ---------- */
@media (pointer: coarse) {
  .site-header__cta { --btn-h: 44px; }
  .menu-btn, .mmenu__close, .hero__pause { min-height: 44px; }
  .link-arrow, .site-footer__links a { min-height: 44px; }
  .ticker__toggle { width: 44px; height: 44px; }
  .loop__node { min-height: 44px; }
  .cta-band__meta a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer__contact li { padding-block: 0; }
  .site-footer__contact li > a, .site-footer__contact li > span { display: inline-block; padding-block: .6rem; }
  .site-footer__contact .icon { margin-top: calc(.6rem + .2em); }
}
@media (pointer: coarse) and (max-width: 599.98px) { .site-header__cta { width: 44px; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  /* the ticker stands still as a wrapped list, so every item can be read */
  .ticker__track { animation: none !important; width: 100%; }
  .ticker__list:first-child { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; padding: .35rem 1rem .35rem 0; }
  .ticker__list[aria-hidden="true"] { display: none; }
  .ticker__item { padding-block: .45rem; }
  .ticker::before, .ticker::after, .ticker__toggle { display: none; }
  .typing__cursor { animation: none !important; }
  .typing__text { opacity: 1 !important; }
  .is-pending, .is-pending > *, .is-pending .flow__stage { opacity: 1; transform: none; }
}

/* ---------- print: dark tokens turned light, decoration left out ---------- */
@media print {
  :root {
    --ink: #fff; --panel: #fff; --panel-2: #f3f3f3; --bone: #111; --mute: #444; --dim: #777;
    --line: rgba(0, 0, 0, .15); --line-strong: rgba(0, 0, 0, .3); --dots: none;
  }
  html, body { background: #fff; color: #111; }
  .site-header, .mmenu, .ticker, .hero-loop, .hud, .hero__pause, .skip-link, .site-footer__wordmark, .cta-band__mark, dc-l { display: none !important; }
  .dc-armed, .dc-run { -webkit-text-fill-color: currentcolor !important; }
  .page-hero::before, .page-hero::after, .hero::before, .app-frame::before, .cta-band__inner::after { display: none; }
  * { box-shadow: none !important; text-shadow: none !important; }
  .hero, .page-hero { padding-top: 1rem; min-height: 0; }
  .is-pending, .is-pending > *, .is-pending .flow__stage { opacity: 1 !important; transform: none !important; }
  .hl { background: none; color: #000; text-decoration: underline; }
  .step__num { -webkit-text-stroke-color: #888; }
  .btn--ghost { background: transparent; }
}
