/*
 * Gatevane marketing site. Dark, black and white, one motif: the gate and the white
 * redaction bar (what the gate holds back). Motion is CSS only (no JavaScript); with
 * reduced motion or without scroll-timeline support every element shows its final state.
 */
@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #050506;
  --bg-2: #0a0b0d;
  --card: #0f1014;
  --card-2: #15161a;
  --line: #1f2127;
  --line-2: #2a2c33;
  --fg: #f4f4f6;
  --muted: #9a9ea8;
  --soft: #6f737d;
  --white: #f4f4f6;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    400 16px/1.5 'Geist',
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--white);
  color: var(--bg);
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* Early-access honeypot: off screen, skipped by keyboard and screen readers. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}
.inv {
  filter: invert(1) grayscale(1) brightness(1.4);
}

/* Type */
.kicker,
.eyebrow,
time,
.role {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}
.eyebrow b {
  color: var(--white);
  font-weight: 500;
  margin-right: 10px;
}
.h1 {
  font-size: clamp(44px, 7vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 600;
  background: linear-gradient(180deg, #fff 35%, #8d909a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 600;
  max-width: 14em;
}
.h2.wide {
  max-width: 18em;
}
.h2.xl {
  font-size: clamp(38px, 5.6vw, 80px);
  max-width: 13em;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 34em;
}
.p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  max-width: 27em;
}
.dim {
  color: var(--soft);
}
.note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--bg);
  font:
    500 15px/1 'Geist',
    sans-serif;
  cursor: pointer;
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgb(255 255 255 / 0.18);
}
.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--soft);
  box-shadow: none;
}
.link-quiet {
  font-size: 14px;
  color: var(--muted);
}
.link-quiet:hover {
  color: var(--fg);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(5 5 6 / 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgb(255 255 255 / 0.04);
}
.nav-in {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
/* Wordmark image: swap the file at public/brand/logo.png; width follows the image. */
.logo {
  height: 36px;
  width: auto;
}
.links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.links a:hover {
  color: var(--fg);
}
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 40% at 50% 66%, rgb(255 255 255 / 0.1), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgb(255 255 255 / 0.05), transparent);
}
.grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  text-align: center;
  padding-top: 88px;
}
.hero-copy .h1 {
  margin: 22px auto 0;
  max-width: 12em;
}
.hero-copy .lede {
  margin: 26px auto 0;
}
.cta-row {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.scene {
  position: relative;
  margin-top: 36px;
}
.scene svg {
  width: 100%;
  height: auto;
}
.ticker {
  position: relative;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-in {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: tick 70s linear infinite;
}
.ticker span {
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}
.ticker span::before {
  content: '→ ';
  color: var(--soft);
}

/* Story */
.intro {
  padding: 160px 0 60px;
}
.intro-big {
  margin-top: 24px;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 17em;
}
.ch {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.two.wide-vis {
  grid-template-columns: 0.75fr 1.25fr;
}
.two.wide-vis.flip {
  grid-template-columns: 1.25fr 0.75fr;
}
.two.flip .ch-text {
  order: 2;
}
.ch-text.narrow {
  max-width: 760px;
}

/* Shared glass card */
.glass {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.015));
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9);
}
.av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  background: var(--line-2);
  color: var(--fg);
  flex: none;
}
.av-light {
  background: var(--white);
  color: var(--bg);
}
.av-lg {
  width: 52px;
  height: 52px;
  font-size: 16px;
}

/* 01 ask */
.askbox {
  position: relative;
  border-radius: 24px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.03) inset,
    0 0 80px -20px rgb(255 255 255 / 0.12),
    0 40px 80px -40px #000;
}
.askbox-top {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.askbox-top b {
  display: block;
}
.askbox-top small {
  color: var(--soft);
  font-size: 12px;
}
.askbox-q {
  margin-top: 22px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.caret {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 6px;
  vertical-align: -0.08em;
  background: var(--white);
  animation: blink 1s steps(1) infinite;
}
.askbox-foot {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--soft);
}
.shield {
  width: 14px;
  height: 16px;
  border: 1.5px solid var(--soft);
  border-radius: 3px 3px 8px 8px;
}

/* 02 identity */
.id-top {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
}
.id-top b {
  display: block;
  font-size: 18px;
}
.id-top small {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--soft);
  font-size: 13px;
}
.kv > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.kv > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.kv dt {
  color: var(--soft);
}
.kv dd {
  font-weight: 500;
  text-align: right;
}
.redact-inline {
  display: inline-block;
  width: 96px;
  height: 14px;
  border-radius: 2px;
  background: var(--white);
  vertical-align: middle;
}

/* 03 apps */
.apps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.apps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 128px;
  padding: 16px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--soft);
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #121317, #0b0c0f);
}
.apps img {
  height: 32px;
  width: auto;
  max-width: 32px;
  opacity: 0.9;
}
.apps img.wide {
  max-width: 92px;
  height: 28px;
}
.apps img.sage {
  max-width: 64px;
  height: 44px;
}
.glyph {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1.5px solid var(--muted);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--fg);
}
.apps li.hit {
  border-color: var(--white);
  color: var(--fg);
  box-shadow:
    0 0 0 1px var(--white) inset,
    0 0 48px -8px rgb(255 255 255 / 0.35);
}

/* Product screens */
.stage {
  position: relative;
  perspective: 1800px;
}
.screen {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  box-shadow:
    0 60px 120px -40px rgb(0 0 0 / 0.95),
    0 0 0 1px rgb(255 255 255 / 0.04) inset,
    0 0 120px -40px rgb(255 255 255 / 0.1);
  transform: rotateY(-14deg) rotateX(6deg);
  transform-origin: left center;
}
.stage-r .screen {
  transform: rotateY(14deg) rotateX(6deg);
  transform-origin: right center;
}
.stage-flat .screen {
  transform: rotateX(10deg);
  transform-origin: center top;
}
.chrome {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #111217;
  border-bottom: 1px solid var(--line);
}
.chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}
.chrome span {
  margin-left: 14px;
  font:
    11px 'Geist Mono',
    monospace;
  color: var(--soft);
}
.screen img {
  width: 100%;
  height: auto;
}
.float {
  position: absolute;
  z-index: 2;
  background: rgb(20 21 26 / 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid #2f323a;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.85);
  font-size: 14px;
}
.f-hidden {
  right: -20px;
  top: 40%;
  width: 260px;
}
.f-hidden b {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}
.hid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 13px;
}
.hid s,
.list s {
  display: inline-block;
  flex: none;
  width: 80px;
  height: 12px;
  background: var(--white);
  border-radius: 2px;
}
.f-log {
  left: -24px;
  bottom: -28px;
  font:
    12px 'Geist Mono',
    monospace;
  color: var(--fg);
}
.f-log span {
  color: var(--soft);
  margin-right: 8px;
}
.f-ok {
  left: -24px;
  top: 46%;
  display: flex;
  gap: 12px;
  align-items: center;
}
.f-ok b {
  display: block;
}
.f-ok small {
  color: var(--soft);
  font-size: 12px;
}
.tick {
  width: 30px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  position: relative;
  flex: none;
}
.tick::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 7px;
  width: 6px;
  height: 12px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 05 versus */
.versus {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.vs-top {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
}
.vs-top b {
  display: block;
  font-size: 16px;
}
.vs-top small {
  color: var(--soft);
}
.rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.rows li:last-child {
  border-bottom: 0;
}
.rows span {
  color: var(--soft);
}
.rows b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.bar {
  position: relative;
}
.bar span {
  color: var(--fg);
}
.bar::after {
  content: '';
  position: absolute;
  inset: -2px -6px;
  background: var(--white);
  border-radius: 2px;
}
.vs-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.vs-note u {
  color: var(--fg);
  text-underline-offset: 3px;
}

/* 07 log */
.log {
  position: relative;
  padding-left: 28px;
  display: grid;
  gap: 4px;
}
.log::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--white), rgb(255 255 255 / 0.1));
  box-shadow: 0 0 12px rgb(255 255 255 / 0.4);
}
.log li {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
}
.log li::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--white);
}
.log time {
  letter-spacing: 0.02em;
  text-transform: none;
}
.log em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

/* Legacy */
.legacy {
  padding: 140px 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgb(255 255 255 / 0.05), transparent 70%);
}
.bridge-art {
  width: 100%;
  height: auto;
}

/* Examples */
.examples {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.bento {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.b {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #111216, #0a0b0d);
}
.b-3 {
  grid-column: span 3;
}
.b-light {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}
.b-light .role {
  color: #52525b;
}
.q {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.viz {
  margin-top: auto;
}
.gate {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--muted);
}
.b-light .gate {
  border-color: #d4d4d8;
  color: #52525b;
}
.gate b {
  font:
    500 11px 'Geist Mono',
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg);
}
.b-light .gate b {
  color: var(--bg);
}
.devs {
  display: grid;
  gap: 8px;
}
.devs div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
}
.devs small {
  color: var(--soft);
  font-size: 12px;
}
.devs em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--bg);
}
.devs em.o {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-2);
}
.cmp {
  display: grid;
  gap: 12px;
}
.cmp div {
  display: grid;
  grid-template-columns: 84px 1fr 44px;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.cmp em {
  height: 10px;
  border-radius: 999px;
  background: var(--line-2);
  overflow: hidden;
}
.cmp i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--white);
}
.cmp .w92 {
  width: 92%;
}
.cmp .w64 {
  width: 64%;
}
.cmp .w78 {
  width: 78%;
}
.cmp b {
  color: var(--fg);
  text-align: right;
}
.faces {
  display: flex;
}
.faces span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  background: var(--white);
  color: var(--bg);
  border: 2px solid #0e0f12;
  margin-left: -8px;
}
.faces span:first-child {
  margin-left: 0;
}
.faces .no {
  background: var(--line-2);
  color: var(--muted);
}
.list {
  display: grid;
  gap: 8px;
}
.list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.list b {
  color: var(--fg);
  font-weight: 500;
}
.sign {
  display: flex;
  gap: 14px;
  align-items: center;
}
.sig {
  width: 64px;
  height: 36px;
  border-bottom: 1.5px solid var(--muted);
  position: relative;
}
.sig::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 8px;
  height: 18px;
  border: 2px solid var(--white);
  border-color: var(--white) transparent transparent transparent;
  border-radius: 50%;
  transform: rotate(-8deg);
}
.sign b {
  display: block;
}
.sign small {
  color: var(--soft);
  font-size: 12px;
}
.para {
  font-size: 14px;
  color: var(--muted);
  padding: 12px 14px;
  border-left: 2px solid var(--white);
  background: rgb(255 255 255 / 0.03);
  border-radius: 0 10px 10px 0;
}
.flowline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
}
.flowline span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--fg);
}
.flowline span:nth-child(3) {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}
.flowline i {
  width: 14px;
  height: 1px;
  background: var(--soft);
}

/* MSP */
.msp {
  padding: 150px 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 50% at 30% 60%, rgb(255 255 255 / 0.05), transparent 70%);
}
.msp-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
}
.points {
  display: grid;
  gap: 24px;
}
.points li {
  font-size: 16px;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.points b {
  display: block;
  color: var(--fg);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Trust */
.trust-s {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}
.trust {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--white);
}
.trust li {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.trust li:not(:nth-child(3n + 1)) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.trust b {
  display: block;
  color: var(--fg);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Final */
.final {
  position: relative;
  overflow: hidden;
  padding: 140px 0 160px;
  border-top: 1px solid var(--line);
  text-align: center;
  background: radial-gradient(ellipse 40% 60% at 50% 40%, rgb(255 255 255 / 0.09), transparent 70%);
}
.final-gate {
  width: 160px;
  height: auto;
  margin: 0 auto;
}
.final-in {
  position: relative;
  margin-top: 40px;
}
.final-h {
  margin: 0 auto;
  max-width: 10em;
}
.final .lede {
  margin: 24px auto 0;
}
.signup {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 36px auto 0;
}
.signup input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgb(255 255 255 / 0.03);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
}
.signup input::placeholder {
  color: var(--soft);
}
.signup input:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.fine {
  margin-top: 16px;
  font-size: 13px;
  color: var(--soft);
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
}
.foot-in {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 40px;
  align-items: center;
}
.brand-sm {
  font-size: 16px;
}
.brand-sm .logo {
  height: 28px;
}
.foot nav {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  font-size: 14px;
  color: var(--muted);
}
.foot nav a:hover {
  color: var(--fg);
}
.legal {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--soft);
  max-width: 64em;
}

/* Simple text pages (privacy, 404) */
.section {
  padding: 120px 0;
}
.sub {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}
.prose {
  max-width: 720px;
}
.prose .h2 {
  margin-top: 0;
}
.prose h2:not(.h2) {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 600;
}
.prose p {
  margin-top: 12px;
  color: var(--muted);
}
.prose .btn {
  margin-top: 20px;
  color: var(--bg);
}
.fine-left {
  margin-top: 40px !important;
  font-size: 13px;
  color: var(--soft) !important;
}

/* Motion: always-on loops (switched off for reduced motion below) */
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes flow {
  to {
    stroke-dashoffset: -36;
  }
}
@keyframes pulse {
  50% {
    opacity: 0.65;
  }
}
.streams path {
  stroke-dasharray: 6 12;
  animation: flow 1.6s linear infinite;
}
.streams.out path {
  animation-duration: 1.2s;
}
.flow {
  animation: flow 1.2s linear infinite;
}
.beam,
.led {
  animation: pulse 2.6s ease-in-out infinite;
}

/* Motion: scroll-driven, progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal,
    .b,
    .trust li,
    .points li,
    .log li,
    .apps li {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
    @keyframes rise {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
    }
    .bar::after,
    .redact-inline,
    .hid s {
      transform-origin: left;
      animation: redact linear both;
      animation-timeline: view();
      animation-range: entry 70% cover 45%;
    }
    @keyframes redact {
      from {
        transform: scaleX(0);
      }
    }
    .apps li.hit {
      animation: light linear both;
      animation-timeline: view();
      animation-range: entry 90% cover 50%;
    }
    @keyframes light {
      from {
        border-color: var(--line-2);
        box-shadow: none;
        color: var(--soft);
      }
    }
    .stage .screen {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 50%;
    }
    @keyframes settle {
      from {
        opacity: 0.2;
        transform: rotateY(-28deg) rotateX(14deg) translateY(60px);
      }
    }
    .stage-r .screen {
      animation-name: settle-r;
    }
    @keyframes settle-r {
      from {
        opacity: 0.2;
        transform: rotateY(28deg) rotateX(14deg) translateY(60px);
      }
    }
    .stage-flat .screen {
      animation-name: settle-flat;
    }
    @keyframes settle-flat {
      from {
        opacity: 0.2;
        transform: rotateX(34deg) translateY(60px);
      }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .apps {
    grid-template-columns: repeat(4, 1fr);
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .b,
  .b-3 {
    grid-column: span 1;
  }
  .b-light {
    grid-column: span 2;
  }
  .f-hidden {
    right: 0;
  }
}
@media (max-width: 900px) {
  .two,
  .two.wide-vis,
  .two.wide-vis.flip,
  .msp-grid,
  .versus {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .two.flip .ch-text {
    order: 0;
  }
  .screen,
  .stage-r .screen,
  .stage-flat .screen {
    transform: none;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .trust li,
  .trust li:not(:nth-child(3n + 1)) {
    padding: 22px 0;
    border-left: 0;
  }
  .links {
    display: none;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }
  .nav-cta {
    gap: 14px;
  }
  .hero-copy {
    padding-top: 48px;
  }
  .lede,
  .p {
    font-size: 16px;
  }
  .cta-row .btn {
    width: 100%;
  }
  /* Keep the hero scene legible: show it larger and centred on the gate. */
  .scene {
    overflow: hidden;
  }
  .scene svg {
    width: 600px;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .intro {
    padding: 96px 0 32px;
  }
  .ch,
  .legacy,
  .examples,
  .msp,
  .trust-s {
    padding: 80px 0;
  }
  .final {
    padding: 80px 0 104px;
  }
  .glass,
  .askbox {
    padding: 22px;
  }
  .apps {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .apps li {
    min-height: 100px;
    font-size: 11px;
    border-radius: 14px;
  }
  .f-hidden {
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    margin-top: 16px;
  }
  .f-log,
  .f-ok {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    margin-top: 12px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .b,
  .b-3,
  .b-light {
    grid-column: auto;
  }
  .log li {
    grid-template-columns: 1fr auto;
  }
  .log time {
    grid-column: 1 / -1;
  }
  .signup {
    flex-direction: column;
  }
  .foot-in {
    grid-template-columns: 1fr;
  }
  .foot nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* ===================================================================
 * v5: denser layout, living background, logo band, pinned story.
 * Still CSS only. Pinned story needs scroll timelines; without them
 * (or with reduced motion, or on phones) the story is a swipeable row
 * of cards with captions.
 * =================================================================== */

/* Tighter rhythm */
.h2 {
  font-size: clamp(28px, 3.1vw, 44px);
}
.h2.xl {
  font-size: clamp(30px, 3.8vw, 54px);
}
.p {
  font-size: 17px;
}
.legacy,
.examples,
.msp,
.trust-s {
  padding: 96px 0;
}
.final {
  padding: 110px 0 120px;
}
.bento {
  gap: 14px;
}
.b {
  padding: 22px;
}

/* Living background behind everything */
main,
.foot {
  position: relative;
  z-index: 1;
}
.fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.fx i {
  position: absolute;
  display: block;
}
.fx-grid {
  inset: -64px;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  animation: grid-drift 14s linear infinite;
}
.fx-a,
.fx-b {
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(60px);
}
.fx-a {
  left: -20vmax;
  top: -10vmax;
  background: radial-gradient(circle, rgb(255 255 255 / 0.07), transparent 65%);
  animation: drift-a 38s ease-in-out infinite alternate;
}
.fx-b {
  right: -25vmax;
  bottom: -20vmax;
  background: radial-gradient(circle, rgb(150 160 185 / 0.08), transparent 65%);
  animation: drift-b 46s ease-in-out infinite alternate;
}
.fx-c {
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.35), transparent);
  box-shadow: 0 0 24px 2px rgb(255 255 255 / 0.12);
  animation: sweep 11s linear infinite;
}
@keyframes grid-drift {
  to {
    transform: translate(64px, 64px);
  }
}
@keyframes drift-a {
  to {
    transform: translate(40vw, 50vh) scale(1.2);
  }
}
@keyframes drift-b {
  to {
    transform: translate(-45vw, -40vh) scale(0.9);
  }
}
@keyframes sweep {
  from {
    transform: translateY(-10vh);
    opacity: 0;
  }
  10%,
  80% {
    opacity: 1;
  }
  to {
    transform: translateY(110vh);
    opacity: 0;
  }
}
.progress {
  display: none;
}

/* Logo band */
.band {
  padding: 56px 0 24px;
  overflow: hidden;
}
.band-label {
  text-align: center;
  font:
    12px 'Geist Mono',
    monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 22px;
}
.marq {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marq + .marq {
  margin-top: 12px;
}
.marq-in {
  display: flex;
  flex: none;
  gap: 12px;
  padding-right: 12px;
  animation: marq 48s linear infinite;
}
.marq-rev .marq-in {
  animation-direction: reverse;
  animation-duration: 56s;
}
.marq-in li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgb(255 255 255 / 0.025);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.marq-in img {
  height: 20px;
  width: auto;
  max-width: 22px;
}
.marq-in img.wide {
  max-width: 84px;
  height: 20px;
}
.marq-in img.sage {
  max-width: 44px;
  height: 26px;
}
.marq-in .glyph,
.node .glyph {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 11px;
}
@keyframes marq {
  to {
    transform: translateX(-100%);
  }
}

/* Story section */
.story-s {
  padding: 96px 0 40px;
}
.sec-head {
  max-width: 640px;
}
.sec-head .h2 {
  margin-top: 14px;
}
.sec-head .p {
  margin-top: 14px;
}
.story {
  margin-top: 40px;
}
.lc {
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
}
.lc b {
  font:
    500 12px 'Geist Mono',
    monospace;
  color: var(--white);
  margin-right: 8px;
}

/* Fallback / phone: a swipeable row of cards */
.steps,
.rail,
.sb-grid,
.sb-scan {
  display: none;
}
.stagebox {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 18px;
  scrollbar-width: thin;
}
.layer {
  position: relative;
  flex: 0 0 min(86vw, 520px);
  margin: 0;
  scroll-snap-align: center;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #0f1014, #0a0b0d);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.layer .screen {
  transform: none;
}
.layer .float {
  position: relative;
  inset: auto;
  width: auto;
  margin-top: 12px;
}
.layer .versus {
  margin-top: 0;
  grid-template-columns: 1fr;
  gap: 12px;
}
.sugg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.sugg span {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 6px 12px;
}
.ok-pill {
  margin-left: auto;
  font-size: 12px;
  color: var(--bg);
  background: var(--white);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 500;
}
.id-top > div {
  min-width: 0;
}

/* 03 orbit */
.orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 420;
}
.orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.o-ring circle {
  fill: none;
  stroke: var(--line);
  stroke-dasharray: 2 8;
}
.o-ring {
  transform-box: view-box;
  transform-origin: 260px 210px;
  animation: spin 60s linear infinite;
}
.o-lines path {
  fill: none;
  stroke: #3a3d46;
  stroke-width: 1.2;
  stroke-dasharray: 4 10;
  animation: flow 1.4s linear infinite reverse;
}
.o-hot path {
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-dasharray: 10 8;
  filter: drop-shadow(0 0 6px rgb(255 255 255 / 0.7));
  animation: flow 0.9s linear infinite reverse;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--white);
  box-shadow: 0 0 60px 6px rgb(255 255 255 / 0.22);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  animation: pulse 2.6s ease-in-out infinite;
}
.core i {
  width: 7px;
  height: 36px;
  border-radius: 2px;
  background: var(--white);
}
.node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #0d0e11;
  font-size: 12px;
  color: var(--soft);
  white-space: nowrap;
}
.node img {
  height: 16px;
  width: auto;
  max-width: 18px;
}
.node img.sage {
  max-width: 36px;
  height: 20px;
}
.node.hot {
  color: var(--fg);
  border-color: var(--white);
  box-shadow: 0 0 30px -4px rgb(255 255 255 / 0.4);
}
.o1 {
  left: 21%;
  top: 29%;
}
.o2 {
  left: 50%;
  top: 12%;
}
.o3 {
  left: 79%;
  top: 29%;
}
.o4 {
  left: 85%;
  top: 60%;
}
.o5 {
  left: 63%;
  top: 88%;
}
.o6 {
  left: 37%;
  top: 88%;
}
.o7 {
  left: 15%;
  top: 60%;
}

/* Pinned story on wide screens with scroll timelines */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  @supports (timeline-scope: --a) and (animation-timeline: view()) {
    .progress {
      display: block;
      position: fixed;
      z-index: 50;
      left: 0;
      right: 0;
      top: 0;
      height: 2px;
      background: var(--white);
      box-shadow: 0 0 12px rgb(255 255 255 / 0.6);
      transform-origin: left;
      animation: grow linear both;
      animation-timeline: scroll(root);
    }
    @keyframes grow {
      from {
        transform: scaleX(0);
      }
    }
    .story {
      display: grid;
      grid-template-columns: 0.78fr 1.22fr;
      gap: 56px;
      timeline-scope: --s1, --s2, --s3, --s4, --s5, --s6, --s7;
    }
    .steps {
      display: block;
    }
    .step {
      min-height: 62vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      animation: step-on linear both;
      animation-range: cover 0% cover 100%;
    }
    .step:first-child {
      min-height: 50vh;
    }
    .step .n {
      font:
        500 12px 'Geist Mono',
        monospace;
      letter-spacing: 0.14em;
      color: var(--soft);
    }
    .step h3 {
      margin: 12px 0 0;
      font-size: clamp(24px, 2.2vw, 32px);
      line-height: 1.12;
      letter-spacing: -0.03em;
      font-weight: 600;
    }
    .step p {
      margin-top: 12px;
      font-size: 16px;
      color: var(--muted);
      max-width: 26em;
    }
    @keyframes step-on {
      0%,
      28%,
      72%,
      100% {
        opacity: 0.2;
      }
      38%,
      62% {
        opacity: 1;
      }
    }
    .s1 {
      view-timeline: --s1 block;
      animation-timeline: --s1;
    }
    .s2 {
      view-timeline: --s2 block;
      animation-timeline: --s2;
    }
    .s3 {
      view-timeline: --s3 block;
      animation-timeline: --s3;
    }
    .s4 {
      view-timeline: --s4 block;
      animation-timeline: --s4;
    }
    .s5 {
      view-timeline: --s5 block;
      animation-timeline: --s5;
    }
    .s6 {
      view-timeline: --s6 block;
      animation-timeline: --s6;
    }
    .s7 {
      view-timeline: --s7 block;
      animation-timeline: --s7;
    }

    .pin {
      position: sticky;
      top: max(80px, calc(50vh - 280px));
      align-self: start;
      height: min(560px, calc(100vh - 120px));
    }
    .stagebox {
      display: block;
      position: relative;
      height: 100%;
      overflow: hidden;
      padding: 0;
      border-radius: 28px;
      border: 1px solid var(--line-2);
      background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgb(255 255 255 / 0.06), transparent 70%),
        linear-gradient(180deg, #0d0e12, #08090b);
      box-shadow: 0 60px 120px -60px #000;
    }
    .sb-grid {
      display: block;
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1.5px);
      background-size: 22px 22px;
      mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 80%);
    }
    .sb-scan {
      display: block;
      position: absolute;
      left: 0;
      right: 0;
      height: 120px;
      top: -120px;
      background: linear-gradient(180deg, transparent, rgb(255 255 255 / 0.05));
      border-bottom: 1px solid rgb(255 255 255 / 0.12);
      animation: scan 7s linear infinite;
    }
    @keyframes scan {
      to {
        transform: translateY(800px);
      }
    }
    .rail {
      display: grid;
      gap: 10px;
      position: absolute;
      z-index: 3;
      left: 22px;
      top: 50%;
      transform: translateY(-50%);
    }
    .rail li {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--line-2);
      animation: dot linear both;
      animation-range: cover 0% cover 100%;
    }
    @keyframes dot {
      0%,
      30%,
      70%,
      100% {
        background: var(--line-2);
      }
      38%,
      62% {
        background: var(--white);
        height: 22px;
        border-radius: 3px;
        box-shadow: 0 0 10px rgb(255 255 255 / 0.6);
      }
    }
    .r1 {
      animation-timeline: --s1;
    }
    .r2 {
      animation-timeline: --s2;
    }
    .r3 {
      animation-timeline: --s3;
    }
    .r4 {
      animation-timeline: --s4;
    }
    .r5 {
      animation-timeline: --s5;
    }
    .r6 {
      animation-timeline: --s6;
    }
    .r7 {
      animation-timeline: --s7;
    }

    .layer {
      position: absolute;
      inset: 44px 44px 44px 64px;
      padding: 0;
      border: 0;
      background: none;
      justify-content: center;
      align-items: center;
      opacity: 0;
      animation: layer linear both;
      animation-range: cover 0% cover 100%;
    }
    .layer > * {
      width: 100%;
      max-width: 460px;
    }
    .l4 > .screen,
    .l6 > .screen,
    .l3 > .orbit {
      max-width: 540px;
    }
    .lc {
      display: none;
    }
    @keyframes layer {
      0%,
      30% {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
      }
      38%,
      62% {
        opacity: 1;
        transform: none;
      }
      70%,
      100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.97);
      }
    }
    .l1 {
      animation-timeline: --s1;
      animation-name: layer-first;
    }
    .l2 {
      animation-timeline: --s2;
    }
    .l3 {
      animation-timeline: --s3;
    }
    .l4 {
      animation-timeline: --s4;
    }
    .l5 {
      animation-timeline: --s5;
    }
    .l6 {
      animation-timeline: --s6;
    }
    .l7 {
      animation-timeline: --s7;
      animation-name: layer-last;
    }
    @keyframes layer-first {
      0%,
      62% {
        opacity: 1;
        transform: none;
      }
      70%,
      100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.97);
      }
    }
    @keyframes layer-last {
      0%,
      30% {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
      }
      38%,
      100% {
        opacity: 1;
        transform: none;
      }
    }

    /* Moments inside each layer, tied to its step */
    .sugg span {
      animation: chip linear both;
      animation-timeline: --s1;
      animation-range: cover 20% cover 50%;
    }
    .sugg span:nth-child(2) {
      animation-range: cover 26% cover 54%;
    }
    .sugg span:nth-child(3) {
      animation-range: cover 32% cover 58%;
    }
    @keyframes chip {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
    }
    .l2 .kv > div {
      animation: chip linear both;
      animation-timeline: --s2;
      animation-range: cover 18% cover 40%;
    }
    .l2 .kv > div:nth-child(2) {
      animation-range: cover 22% cover 44%;
    }
    .l2 .kv > div:nth-child(3) {
      animation-range: cover 26% cover 48%;
    }
    .l2 .kv > div:nth-child(4) {
      animation-range: cover 30% cover 52%;
    }
    .l2 .kv > div:nth-child(5) {
      animation-range: cover 34% cover 56%;
    }
    .l2 .redact-inline {
      animation-timeline: --s2;
      animation-range: cover 36% cover 52%;
    }
    .node {
      animation: node-in linear both;
      animation-timeline: --s3;
      animation-range: cover 12% cover 40%;
    }
    .o2,
    .o5 {
      animation-range: cover 16% cover 44%;
    }
    .o3,
    .o6 {
      animation-range: cover 20% cover 48%;
    }
    @keyframes node-in {
      from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
      }
    }
    .node.hot {
      animation:
        node-in linear both,
        hot linear both;
      animation-timeline: --s3, --s3;
      animation-range:
        cover 16% cover 44%,
        cover 40% cover 56%;
    }
    @keyframes hot {
      from {
        color: var(--soft);
        border-color: var(--line-2);
        box-shadow: none;
      }
    }
    .o-hot {
      animation: fade-in linear both;
      animation-timeline: --s3;
      animation-range: cover 40% cover 56%;
    }
    @keyframes fade-in {
      from {
        opacity: 0;
      }
    }
    .l4 .screen {
      transform: perspective(1600px) rotateY(-10deg) rotateX(4deg);
      transform-origin: left center;
    }
    .l4 .hid s {
      animation-timeline: --s4;
      animation-range: cover 38% cover 54%;
    }
    .l4 .f-hidden {
      right: -16px;
      top: 34%;
      width: 230px;
      position: absolute;
      margin: 0;
      animation: float-in linear both;
      animation-timeline: --s4;
      animation-range: cover 26% cover 44%;
    }
    .l4 .f-log,
    .l6 .f-ok {
      position: absolute;
      margin: 0;
      left: -20px;
      bottom: 4%;
      animation: float-in linear both;
      animation-timeline: --s4;
      animation-range: cover 34% cover 50%;
    }
    .l6 .f-ok {
      bottom: 10%;
      animation-timeline: --s6;
      animation-range: cover 34% cover 52%;
    }
    @keyframes float-in {
      from {
        opacity: 0;
        transform: translateY(24px);
      }
    }
    .l6 .screen {
      transform: perspective(1600px) rotateY(10deg) rotateX(4deg);
      transform-origin: right center;
    }
    .l5 .versus {
      grid-template-columns: 1fr 1fr;
      max-width: 540px;
    }
    .l5 .glass {
      padding: 20px;
    }
    .l5 .rows li {
      padding: 12px 0;
      font-size: 13px;
      flex-direction: column;
      gap: 2px;
    }
    .l5 .rows b {
      text-align: left;
    }
    .l5 .bar::after {
      animation-timeline: --s5;
      animation-range: cover 36% cover 54%;
    }
    .l7 .log {
      max-width: 520px;
    }
    .l7 .log li {
      font-size: 13px;
      padding: 12px 14px;
      animation: chip linear both;
      animation-timeline: --s7;
      animation-range: cover 10% cover 30%;
    }
    .l7 .log li:nth-child(2) {
      animation-range: cover 14% cover 34%;
    }
    .l7 .log li:nth-child(3) {
      animation-range: cover 18% cover 38%;
    }
    .l7 .log li:nth-child(4) {
      animation-range: cover 22% cover 42%;
    }
    .l7 .log li:nth-child(5) {
      animation-range: cover 26% cover 46%;
    }
  }
}

/* Section headings wipe in */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .sec-head,
    .examples .h2,
    .msp .h2,
    .trust-s .h2,
    .legacy .ch-text {
      animation: head-in linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
    @keyframes head-in {
      from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(8px);
      }
    }
    .bento .b:nth-child(3n + 2) {
      animation-range: entry 10% cover 34%;
    }
    .bento .b:nth-child(3n) {
      animation-range: entry 20% cover 40%;
    }
    .examples,
    .msp {
      background-position: 0 0;
    }
  }
}

@media (max-width: 560px) {
  .story-s {
    padding: 72px 0 24px;
  }
  .layer {
    padding: 20px;
  }
  .node {
    font-size: 10px;
    padding: 5px 8px;
  }
  .node img {
    height: 12px;
  }
  .marq-in li {
    height: 44px;
    font-size: 13px;
    padding: 0 16px;
  }
}

/* Trust as cards with a moving shine */
.trust.tcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border: 0;
  margin-top: 40px;
}
.trust.tcards li,
.trust.tcards li:not(:nth-child(3n + 1)) {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 24px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.01));
}
.trust.tcards li::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--white), transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  animation: shine 5s ease-in-out infinite;
}
.trust.tcards li:nth-child(2)::before {
  animation-delay: 0.8s;
}
.trust.tcards li:nth-child(3)::before {
  animation-delay: 1.6s;
}
.trust.tcards li:nth-child(4)::before {
  animation-delay: 2.4s;
}
.trust.tcards li:nth-child(5)::before {
  animation-delay: 3.2s;
}
.trust.tcards li:nth-child(6)::before {
  animation-delay: 4s;
}
@keyframes shine {
  from {
    background-position: -100% 0;
  }
  to {
    background-position: 200% 0;
  }
}

/* MSP floating chips */
.msp .stage {
  position: relative;
}
.m-a {
  right: -18px;
  top: 14%;
}
.m-a b {
  display: block;
  font-size: 20px;
}
.m-a small {
  color: var(--soft);
  font-size: 12px;
}
.m-b {
  left: 6%;
  bottom: -22px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.led-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 10px var(--white);
  animation: pulse 1.6s ease-in-out infinite;
}
.bob {
  animation: bob 6s ease-in-out infinite;
}
.m-b.bob {
  animation-delay: -3s;
}
@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 900px) {
  .trust.tcards {
    grid-template-columns: 1fr;
  }
  .m-a {
    right: 8px;
  }
}

/* ===== v7 polish ===== */
/* Sections flow into each other: no hard rules, soft light instead */
.legacy,
.examples,
.msp,
.trust-s {
  border-top: 0;
  position: relative;
}
.examples::before,
.msp::before,
.trust-s::before,
.legacy::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 70vmax;
  height: 40vmax;
  left: 50%;
  top: 0;
  transform: translate(-50%, -30%);
  background: radial-gradient(ellipse at center, rgb(255 255 255 / 0.05), transparent 65%);
  pointer-events: none;
}
.legacy::before {
  left: 75%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.legacy .two {
  grid-template-columns: 0.8fr 1.2fr;
}

/* Bridge: packets travel out, never in */
.pkt {
  animation: pkt 2.4s linear infinite;
  filter: drop-shadow(0 0 4px #fff);
}
.pkt.p2 {
  animation-delay: -0.8s;
}
.pkt.p3 {
  animation-delay: -1.6s;
}
@keyframes pkt {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  10%,
  85% {
    opacity: 1;
  }
  100% {
    transform: translateX(222px);
    opacity: 0;
  }
}

/* Example cards: apps used, lift and glow */
.role {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.via {
  display: flex;
  gap: 6px;
  align-items: center;
}
.via img {
  height: 16px;
  width: auto;
  max-width: 18px;
}
.via img.w {
  max-width: 54px;
  height: 13px;
}
.via .gl {
  font-style: normal;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  border: 1px solid currentColor;
  font:
    700 10px 'Geist',
    sans-serif;
  letter-spacing: 0;
}
.b-light .via img.inv {
  filter: none;
}
.b {
  transition:
    translate 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.4s,
    box-shadow 0.4s;
}
.b:hover {
  translate: 0 -4px;
  border-color: #3a3d46;
  box-shadow:
    0 30px 60px -30px #000,
    0 0 0 1px rgb(255 255 255 / 0.06) inset,
    0 0 60px -20px rgb(255 255 255 / 0.15);
}
.b-light:hover {
  border-color: var(--white);
}

/* Trust icons */
.ti {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgb(255 255 255 / 0.35));
}
.trust.tcards li {
  display: flex;
  flex-direction: column;
}
.trust.tcards b {
  display: block;
}

/* Final: slow light rays behind the gate */
.final {
  position: relative;
  overflow: hidden;
}
.final::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 180px;
  width: 1400px;
  height: 1400px;
  margin-left: -700px;
  margin-top: -700px;
  background: repeating-conic-gradient(
    from 0deg,
    rgb(255 255 255 / 0.05) 0deg 4deg,
    transparent 4deg 18deg
  );
  mask-image: radial-gradient(circle, #000 0%, transparent 55%);
  animation: spin 120s linear infinite;
}

/* Headings settle quickly so sections never look empty */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .sec-head,
    .examples .h2,
    .msp .h2,
    .trust-s .h2,
    .legacy .ch-text {
      animation-name: head-in2;
      animation-range: entry 0% entry 80%;
    }
    @keyframes head-in2 {
      from {
        opacity: 0;
        transform: translateY(24px);
      }
    }
  }
}
@media (max-width: 900px) {
  .legacy .two {
    grid-template-columns: 1fr;
  }
}

/* Keep decorative glows from widening the page on phones */
html,
body {
  overflow-x: clip;
}
.legacy,
.examples,
.msp,
.trust-s,
.story-s,
.band {
  overflow-x: clip;
}
.nav-cta a {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .logo {
    height: 28px;
  }
  .brand-sm .logo {
    height: 24px;
  }
}

/* ===== v8: more scroll motion (CSS scroll timelines only) ===== */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    /* Hero: copy lifts away and the gate scene leans in as you leave it */
    .hero-copy {
      animation: hero-out linear both;
      animation-timeline: scroll(root);
      animation-range: 0 70vh;
    }
    @keyframes hero-out {
      to {
        opacity: 0.15;
        transform: translateY(-80px) scale(0.96);
      }
    }
    .scene svg {
      animation: scene-in linear both;
      animation-timeline: scroll(root);
      animation-range: 0 80vh;
    }
    @keyframes scene-in {
      to {
        scale: 1.12;
        translate: 0 -40px;
      }
    }
    /* Depth: the background grid moves slower than the page */
    .fx-grid {
      translate: 0 0;
      animation:
        grid-drift 14s linear infinite,
        grid-par linear both;
      animation-timeline: auto, scroll(root);
    }
    @keyframes grid-par {
      to {
        translate: 0 -320px;
      }
    }
  }
  @supports (animation-timeline: view()) {
    /* Logo rows slide against each other as they pass */
    .marq {
      animation: band-l linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    .marq-rev {
      animation-name: band-r;
    }
    @keyframes band-l {
      from {
        translate: 8% 0;
      }
      to {
        translate: -8% 0;
      }
    }
    @keyframes band-r {
      from {
        translate: -8% 0;
      }
      to {
        translate: 8% 0;
      }
    }
    /* Legacy: text from the left, drawing grows in from the right */
    .legacy .ch-vis {
      animation: from-right linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
    @keyframes from-right {
      from {
        opacity: 0;
        transform: translateX(80px) scale(0.92);
      }
    }
    /* Example cards fan in from both sides */
    .bento .b {
      animation: fan-l linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    .bento .b:nth-child(even) {
      animation-name: fan-r;
    }
    .bento .b:nth-child(3n) {
      animation-range: entry 10% cover 36%;
    }
    @keyframes fan-l {
      from {
        opacity: 0;
        transform: translateX(-70px) rotate(-4deg) scale(0.94);
      }
    }
    @keyframes fan-r {
      from {
        opacity: 0;
        transform: translateX(70px) rotate(4deg) scale(0.94);
      }
    }
    /* MSP: points slide in one by one beside the console */
    .points li {
      animation: from-right linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
    /* Trust cards flip up */
    .trust.tcards li {
      animation: flip-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
      transform-origin: center bottom;
    }
    .trust.tcards li:nth-child(3n + 2) {
      animation-range: entry 8% cover 36%;
    }
    .trust.tcards li:nth-child(3n) {
      animation-range: entry 16% cover 42%;
    }
    @keyframes flip-up {
      from {
        opacity: 0;
        transform: perspective(800px) rotateX(45deg) translateY(40px);
      }
    }
    /* Final: the gate rises and the headline closes in */
    .final-gate {
      animation: gate-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    @keyframes gate-rise {
      from {
        opacity: 0;
        transform: translateY(80px) scaleY(0.6);
      }
    }
    .final-h {
      animation: close-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
    @keyframes close-in {
      from {
        opacity: 0;
        letter-spacing: 0.04em;
        transform: scale(0.92);
      }
    }
  }
}

/* ===== v8: report story (stage left, one document builds) ===== */
.rep-s {
  padding: 96px 0 40px;
  position: relative;
  overflow-x: clip;
}
.rstory {
  margin-top: 40px;
  display: grid;
  gap: 28px;
}
.rsteps {
  display: grid;
  gap: 18px;
  counter-reset: none;
}
.rstep .n,
.step .n {
  font:
    500 12px 'Geist Mono',
    monospace;
  letter-spacing: 0.14em;
  color: var(--soft);
}
.rstep h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.rstep p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.doc {
  position: relative;
  max-width: 520px;
  border-radius: 20px;
  padding: 26px;
  background: #f4f4f6;
  color: #0b0c0f;
  box-shadow:
    0 60px 120px -40px #000,
    0 0 100px -30px rgb(255 255 255 / 0.25);
  display: grid;
  gap: 18px;
}
.doc-h {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9dae0;
}
.doc-h small,
.dp-h small {
  display: flex;
  align-items: center;
  gap: 6px;
  font:
    500 11px 'Geist Mono',
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6f78;
}
.doc-h b {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.doc-tag {
  font-size: 12px;
  border: 1px solid #0b0c0f;
  border-radius: 999px;
  padding: 2px 10px;
}
.doc-part {
  display: grid;
  gap: 10px;
}
.dp-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dp-h b {
  font-size: 15px;
}
.dp-h img {
  height: 14px;
  width: auto;
  filter: none;
}
.doc .gl {
  font-style: normal;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  border: 1px solid currentColor;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.kpis div {
  background: #e7e8ec;
  border-radius: 10px;
  padding: 10px 12px;
}
.kpis b {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.kpis small {
  color: #6b6f78;
  font-size: 12px;
}
.bars {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 44px;
}
.bars i {
  flex: 1;
  background: #0b0c0f;
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
}
.bars .h3 {
  height: 30%;
}
.bars .h4 {
  height: 40%;
}
.bars .h5 {
  height: 50%;
}
.bars .h6 {
  height: 60%;
}
.bars .h7 {
  height: 70%;
}
.bars .h8 {
  height: 80%;
}
.bars .h9 {
  height: 90%;
}
.meter {
  height: 10px;
  border-radius: 999px;
  background: #e1e2e6;
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: 98.6%;
  background: #0b0c0f;
  border-radius: inherit;
  transform-origin: left;
}
.dp-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #3d4048;
}
.dp-row span:last-child {
  font-weight: 600;
  color: #0b0c0f;
  text-align: right;
}
.dp-row.held s {
  width: 110px;
  height: 12px;
  background: #0b0c0f;
  border-radius: 2px;
  align-self: center;
  transform-origin: left;
}
.doc-f {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #d9dae0;
  font-size: 13px;
}
.doc-f b {
  display: block;
}
.doc-f small {
  color: #6b6f78;
}
.doc-f .tick {
  background: #0b0c0f;
}
.doc-f .tick::after {
  border-color: #f4f4f6;
}

/* ===== v8: automation track ===== */
.auto-s {
  position: relative;
  padding: 96px 0 40px;
  overflow-x: clip;
}
.auto-head {
  max-width: 1240px;
}
.auto-head .h2 {
  margin-top: 14px;
}
.auto-head .p {
  margin-top: 14px;
}
.track-wrap {
  margin-top: 40px;
  padding: 0 32px;
}
.track {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}
.anode {
  display: grid;
  gap: 10px;
}
.anode .k {
  font:
    500 11px 'Geist Mono',
    monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}
.nc {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #121317, #0b0c0f);
  font-size: 14px;
}
.nc b {
  display: block;
  font-size: 15px;
}
.nc small {
  color: var(--soft);
  font-size: 13px;
}
.gl-b {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--white);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.nc .shield {
  flex: none;
  width: 22px;
  height: 26px;
  border-color: var(--white);
}
.nc .tick {
  flex: none;
}
.k3 .nc {
  border-color: var(--white);
  box-shadow: 0 0 50px -10px rgb(255 255 255 / 0.3);
}
.acts {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.acts p {
  display: flex;
  gap: 10px;
  align-items: center;
}
.acts img {
  height: 16px;
  width: auto;
}
.acts .gl {
  font-style: normal;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  border: 1px solid currentColor;
  font-size: 9px;
  font-weight: 700;
}
.doc-ic {
  flex: none;
  width: 22px;
  height: 28px;
  border: 1.5px solid var(--white);
  border-radius: 3px;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 6px,
    rgb(255 255 255 / 0.6) 6px 7.5px
  );
  background-clip: content-box;
  padding: 5px 4px;
}

/* Pinned and moving versions, wide screens with scroll timelines */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  @supports (timeline-scope: --a) and (animation-timeline: view()) {
    /* Report: document pinned on the left, steps scroll on the right */
    .rstory {
      grid-template-columns: 1.1fr 0.9fr;
      gap: 64px;
      timeline-scope: --r1, --r2, --r3, --r4, --r5;
    }
    .rpin {
      position: sticky;
      top: max(80px, calc(50vh - 300px));
      align-self: start;
    }
    .rsteps {
      gap: 0;
    }
    .rstep {
      min-height: 60vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      animation: step-on linear both;
      animation-range: cover 0% cover 100%;
    }
    .rstep h3 {
      font-size: clamp(22px, 2vw, 28px);
    }
    .r1 {
      view-timeline: --r1 block;
      animation-timeline: --r1;
    }
    .r2 {
      view-timeline: --r2 block;
      animation-timeline: --r2;
    }
    .r3 {
      view-timeline: --r3 block;
      animation-timeline: --r3;
    }
    .r4 {
      view-timeline: --r4 block;
      animation-timeline: --r4;
    }
    .r5 {
      view-timeline: --r5 block;
      animation-timeline: --r5;
    }
    .doc {
      animation: doc-in linear both;
      animation-timeline: --r1;
      animation-range: cover 10% cover 45%;
    }
    @keyframes doc-in {
      from {
        opacity: 0;
        transform: perspective(1400px) rotateY(16deg) rotateX(6deg) translateY(40px);
      }
    }
    .doc-part,
    .doc-f {
      animation: part-in linear both;
      animation-range: cover 25% cover 45%;
    }
    .dp2 {
      animation-timeline: --r2;
    }
    .dp3 {
      animation-timeline: --r3;
    }
    .dp4 {
      animation-timeline: --r4;
    }
    .dp5 {
      animation-timeline: --r5;
    }
    @keyframes part-in {
      from {
        opacity: 0.08;
        filter: blur(3px);
        transform: translateY(14px);
      }
    }
    .bars i {
      animation: grow-y linear both;
      animation-timeline: --r2;
      animation-range: cover 30% cover 50%;
    }
    @keyframes grow-y {
      from {
        transform: scaleY(0);
      }
    }
    .meter i {
      animation: grow-x linear both;
      animation-timeline: --r3;
      animation-range: cover 30% cover 50%;
    }
    @keyframes grow-x {
      from {
        transform: scaleX(0);
      }
    }
    .dp-row.held s {
      animation: grow-x linear both;
      animation-timeline: --r4;
      animation-range: cover 40% cover 55%;
    }
    .doc-tag {
      animation: tag-ok linear both;
      animation-timeline: --r5;
      animation-range: cover 35% cover 45%;
    }
    @keyframes tag-ok {
      to {
        background: #0b0c0f;
        color: #f4f4f6;
      }
    }

    /* Automation: the section is tall, the track slides sideways */
    .auto-s {
      height: 320vh;
      padding: 0;
      view-timeline: --auto block;
    }
    .auto-pin {
      position: sticky;
      top: 0;
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow: hidden;
    }
    .track-wrap {
      padding: 0;
    }
    .track {
      display: flex;
      gap: 0;
      width: max-content;
      max-width: none;
      margin: 0;
      padding: 40px max(32px, calc((100vw - 1176px) / 2)) 20px;
      animation: track-go linear both;
      animation-timeline: --auto;
      animation-range: contain 5% contain 95%;
    }
    @keyframes track-go {
      to {
        transform: translateX(calc(-100% + 100vw));
      }
    }
    .anode {
      width: 400px;
      padding-right: 80px;
      position: relative;
    }
    .anode.wide {
      width: 480px;
    }
    .nc {
      min-height: 120px;
      padding: 22px 24px;
    }
    .nc b {
      font-size: 17px;
    }
    /* connector line between cards, drawn as the track moves */
    .anode:not(:last-child)::after {
      content: '';
      position: absolute;
      right: 12px;
      top: calc(50% + 12px);
      width: 56px;
      height: 2px;
      background: var(--white);
      box-shadow: 0 0 10px rgb(255 255 255 / 0.6);
      transform-origin: left;
      animation: grow-x linear both;
      animation-timeline: --auto;
    }
    .anode {
      animation: node-on linear both;
      animation-timeline: --auto;
    }
    @keyframes node-on {
      from {
        opacity: 0.25;
        transform: translateY(20px) scale(0.96);
      }
    }
    .k1 {
      animation-range: contain 0% contain 8%;
    }
    .k2 {
      animation-range: contain 10% contain 26%;
    }
    .k3 {
      animation-range: contain 28% contain 46%;
    }
    .k4 {
      animation-range: contain 48% contain 66%;
    }
    .k5 {
      animation-range: contain 70% contain 88%;
    }
    .k1::after {
      animation-range: contain 6% contain 14%;
    }
    .k2::after {
      animation-range: contain 24% contain 32%;
    }
    .k3::after {
      animation-range: contain 44% contain 52%;
    }
    .k4::after {
      animation-range: contain 64% contain 72%;
    }
    .k3 .nc {
      animation: approve linear both;
      animation-timeline: --auto;
      animation-range: contain 36% contain 46%;
    }
    @keyframes approve {
      from {
        border-color: var(--line-2);
        box-shadow: none;
      }
    }
    .acts p {
      animation: chip linear both;
      animation-timeline: --auto;
    }
    .acts p:nth-child(1) {
      animation-range: contain 52% contain 58%;
    }
    .acts p:nth-child(2) {
      animation-range: contain 56% contain 62%;
    }
    .acts p:nth-child(3) {
      animation-range: contain 60% contain 66%;
    }
  }
}
@media (max-width: 560px) {
  .doc {
    padding: 20px;
  }
  .kpis b {
    font-size: 17px;
  }
  .track-wrap {
    padding: 0 18px;
  }
}
