/* ─────────────────────────────────────────────────────────────────────────
   TRLLN — Landing page
   Dark-primary. Indigo Dye is the dominant surface; light sections are the
   contrast breaks. Spring Green is accent ONLY. Geist throughout.

   Colors
     --indigo       #1F4E6F   primary brand surface (hero, CTA, footer)
     --indigo-deep  #163A55   deeper panels
     --indigo-ink   #0E2D45   deepest — the product / mesh moment
     --green        #57FF8F   accent only (CTAs, key numbers, pin, mesh links)
     --white        #FFFFFF
     --paper        #F4F6F7   light contrast-break sections
   Tertiary neutrals (sparingly): ink / mist / slate / stone
   Type: Geist (H1/H2 bold · H3 medium · body regular) · Geist Mono for labels
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --indigo: #1F4E6F;
  --indigo-deep: #163A55;
  --indigo-ink: #0E2D45;
  --indigo-elev: #25597D;   /* elevated card on dark */
  --green: #57FF8F;
  --green-bright: #6BFFA0;
  --green-ink: #2DBF63;
  --bleu: #3886D8;
  --amber: #F2BB05;
  --silver: #B8BAB8;

  --white: #FFFFFF;
  --paper: #F4F6F7;          /* cool light section */
  --stone: #EEEFEA;          /* warm light variant */
  --mist: #DCE2E6;
  --slate: #5C6B77;

  /* On-dark text + lines (the page default) */
  --tx:        rgba(255,255,255,0.95);
  --tx-body:   rgba(255,255,255,0.70);
  --tx-faint:  rgba(255,255,255,0.48);
  --line:      rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.20);
  --hairline:  rgba(255,255,255,0.08);

  /* On-light text + lines (inside .section--light) */
  --ink:       #0E2D45;
  --ink-body:  rgba(14,45,69,0.66);
  --ink-faint: rgba(14,45,69,0.44);
  --ink-line:  rgba(14,45,69,0.12);
  --ink-line-strong: rgba(14,45,69,0.20);
  --ink-hairline: rgba(14,45,69,0.07);

  --max: 1280px;
  --pad: 88px;
  --section-y: 132px;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--indigo-ink);
  color: var(--tx);
  font-family: var(--font);
  font-feature-settings: 'ss01' on, 'cv01' on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ── Layout primitives ──────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section--tight { padding: 96px 0; }
/* First section on a sub-page (e.g. /privacy) — extra top padding so its
   content clears the fixed site header (position:fixed, ~74px tall). */
.section--doc { padding-top: clamp(112px, 12vw, 152px); }

.section--indigo      { background: var(--indigo); }
.section--deep        { background: var(--indigo-deep); }
.section--ink         { background: var(--indigo-ink); }

/* Light contrast-break section — flips text + line tokens */
.section--light {
  background: var(--paper);
  --tx:        var(--ink);
  --tx-body:   var(--ink-body);
  --tx-faint:  var(--ink-faint);
  --line:      var(--ink-line);
  --line-strong: var(--ink-line-strong);
  --hairline:  var(--ink-hairline);
  color: var(--ink);
}
.section--stone { background: var(--stone); }

/* ── Eyebrow / label ────────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.section--light .eyebrow { color: var(--green-ink); }
.section--indigo .eyebrow,
.section--deep .eyebrow,
.section--ink .eyebrow { color: var(--green); }
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(87,255,143,0.14);
}

/* ── Type scale ─────────────────────────────────────────────────────── */

h1, h2, h3, h4, p { margin: 0; color: inherit; }

.h1 {
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: 0.97;
  letter-spacing: -0.038em;
  font-weight: 700;
  color: var(--tx);
  text-wrap: balance;
}
.h2 {
  font-size: clamp(34px, 4.3vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--tx);
  text-wrap: balance;
}
.h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.014em;
  font-weight: 500;
  color: var(--tx);
}
.body-lg {
  font-size: 19px;
  line-height: 1.55;
  color: var(--tx-body);
  letter-spacing: -0.006em;
  max-width: 56ch;
  text-wrap: pretty;
}
.body {
  font-size: 16px;
  line-height: 1.58;
  color: var(--tx-body);
}
.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.accent { color: var(--green); }
.section--light .accent { color: var(--green-ink); }
.em-light { color: var(--tx); font-weight: 600; }
.lnk { color: var(--green); }
.section--light .lnk { color: var(--green-ink); }

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.006em;
  transition: transform 130ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--green);
  color: var(--indigo-ink);
}
.btn--primary:hover { background: var(--green-bright); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--tx);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.section--light .btn--ghost { color: var(--ink); border-color: var(--ink-line-strong); }
.section--light .btn--ghost:hover { color: var(--green-ink); border-color: var(--green-ink); }

.btn--text {
  background: transparent;
  border: none;
  padding: 14px 2px;
  color: var(--tx);
}
.btn--text:hover { color: var(--green); }

.btn--sm { padding: 10px 18px; font-size: 14px; }

.arrow { display: inline-block; transition: transform 160ms ease; }
.btn:hover .arrow, a:hover .arrow { transform: translateX(3px); }
.btn:hover .arrow--down, a:hover .arrow--down { transform: translateY(3px); }

/* ── Logo / Pin mark ────────────────────────────────────────────────── */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.logo img { display: block; width: auto; }

.pin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.8px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.pin::before {
  content: '';
  width: 0; height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 6px solid currentColor;
  margin-top: 1px;
}

/* ── Header / Nav ───────────────────────────────────────────────────── */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  background: rgba(14,45,69,0.78);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--hairline);
  padding: 13px 0;
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__item {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease;
}
.nav__item:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.nav__item--active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.nav__item:focus { outline: none; }
.nav__item:focus-visible { outline: 2px solid rgba(87,255,143,0.5); outline-offset: 2px; }
.nav__caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0.65;
  transition: transform 180ms ease;
}
.nav__item--active .nav__caret { transform: rotate(-135deg) translate(-1px, -1px); }

.nav-desktop { display: flex; }
.nav-burger { display: none; }

/* ── Mega menu (dark) ───────────────────────────────────────────────── */

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(1080px, calc(100vw - 48px));
  background: rgba(20,52,76,0.96);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 30px 70px -28px rgba(0,0,0,0.7);
  border: 1px solid var(--line);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, transform 220ms cubic-bezier(.2,.7,.2,1);
}
.mega--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 6px);
}
.mega__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 12px 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
}
.mega__title { font-size: 13px; color: var(--tx-body); }
.mega__title b { color: var(--white); font-weight: 600; }
.mega__hint {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--tx-faint);
  letter-spacing: 0.08em;
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.mega__tile {
  display: block;
  padding: 18px 18px 20px;
  border-radius: 12px;
  transition: background 150ms ease;
  position: relative;
}
.mega__tile:hover { background: rgba(255,255,255,0.05); }
.mega__tile:hover .mega__arrow { transform: translate(3px,-3px); color: var(--green); }
.mega__tile-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}
.mega__tile-t {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.008em;
}
.mega__tile-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--green);
  display: block;
  margin-bottom: 12px;
}
.mega__arrow {
  font-size: 14px;
  color: var(--tx-faint);
  transition: transform 180ms ease, color 180ms ease;
}
.mega__tile-d {
  font-size: 13px;
  color: var(--tx-body);
  line-height: 1.45;
}
.mega__foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 6px;
  padding: 16px 12px 8px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
}
.mega__foot a { color: var(--green); font-weight: 600; }

/* ── Mobile full-screen nav ─────────────────────────────────────────── */

.mnav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--indigo-ink);
  display: flex;
  flex-direction: column;
  padding: 22px;
  transform: translateY(-100%);
  transition: transform 320ms cubic-bezier(.3,.8,.3,1);
  overflow-y: auto;
}
.mnav--open { transform: translateY(0); }
.mnav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.mnav__close {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.mnav__list { display: flex; flex-direction: column; gap: 2px; }
.mnav__link {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
}
.mnav__group-h {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  font-family: inherit;
  white-space: nowrap;
}
.mnav__group-h .nav__caret { width: 11px; height: 11px; }
.mnav__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}
.mnav__sub.mnav__sub--open { max-height: 520px; }
.mnav__sub-inner { overflow: hidden; }
.mnav__sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  color: var(--tx-body);
  padding: 13px 0 13px 4px;
  border-bottom: 1px solid var(--hairline);
}
.mnav__sub a .mono { color: var(--green); font-size: 10px; }
.mnav__cta { margin-top: 28px; }
.mnav__cta .btn { width: 100%; justify-content: center; font-size: 17px; padding: 17px; }

/* Persistent mobile demo bar */
.mobilebar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(14,45,69,0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--hairline);
}
.mobilebar .btn { width: 100%; justify-content: center; }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  background: var(--indigo);
  padding: 184px 0 116px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 72% 42%, rgba(87,255,143,0.07), transparent 60%);
  pointer-events: none;
}
.hero__row {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; position: relative; z-index: 2; max-width: 600px; }
.hero__copy .h1 { margin-top: 6px; }
.hero__copy .h1 .accent { color: var(--green); }
.hero__ctas { display: flex; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.hero__trust {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--tx-body);
  font-weight: 500;
}
.hero__trust-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.hero__trust-sep { width: 1px; height: 14px; background: var(--line); }

.hero__visual {
  position: absolute;
  top: 50%;
  right: -12%;
  transform: translateY(-50%);
  width: min(74vw, 1040px);
  aspect-ratio: 1 / 1;
  z-index: 1;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 62% 50%, #000 44%, rgba(0,0,0,0.55) 64%, transparent 82%);
  mask-image: radial-gradient(ellipse 60% 60% at 62% 50%, #000 44%, rgba(0,0,0,0.55) 64%, transparent 82%);
}
.hero__globe-chip {
  position: absolute;
  top: 15%;
  right: 13%;
  left: auto;
  z-index: 3;
}
.globe-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(14,45,69,0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.mesh-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

/* ── Proof (light) ──────────────────────────────────────────────────── */

.proof__intro {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 88px;
  align-items: start;
  margin-bottom: 84px;
}
.proof__intro .body-lg b, .proof__intro .body-lg .em-light { color: var(--ink); font-weight: 600; }
.proof__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.stat {
  padding: 52px 36px 48px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat:last-child { border-right: none; padding-right: 0; }
.stat:not(:first-child) { padding-left: 36px; }
.stat__num {
  font-size: clamp(64px, 7.4vw, 112px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}
.stat__num sup {
  font-size: 0.36em;
  vertical-align: super;
  font-weight: 600;
  margin-left: 4px;
  color: var(--green-ink);
}
.stat__label { font-size: 14.5px; color: var(--ink-body); margin-top: 2px; max-width: 26ch; text-wrap: balance; }

/* ── Problem (dark) ─────────────────────────────────────────────────── */

.problem__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-bottom: 88px;
}
.problem__block { display: flex; flex-direction: column; gap: 20px; }
.problem__fig {
  font-size: clamp(80px, 11vw, 152px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}
.problem__fig .accent { color: var(--green); }
.problem__fig sub {
  font-size: 0.2em;
  vertical-align: baseline;
  margin-left: 0.06em;
  font-weight: 600;
  color: var(--tx-faint);
  align-self: flex-start;
  margin-top: 0.2em;
}
.problem__fig-cap {
  font-size: 17px;
  color: var(--tx-body);
  line-height: 1.45;
  max-width: 30ch;
  font-weight: 500;
}
.problem__body { font-size: 16.5px; color: var(--tx-body); line-height: 1.6; max-width: 46ch; }
.problem__body b { color: var(--white); font-weight: 600; }
.problem__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; max-width: 46ch; }
.problem__list li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--tx-body); line-height: 1.5; }
.problem__list li::before { content: ''; position: absolute; left: 3px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.problem__list b { color: var(--white); font-weight: 600; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pain {
  padding: 38px 36px 0 0;
  border-right: 1px solid var(--line);
}
.pain:last-child { border-right: none; padding-right: 0; }
.pain:not(:first-child) { padding-left: 36px; }
.pain__index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  display: block;
}
.pain__h {
  font-size: 18.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--white);
  line-height: 1.32;
  text-wrap: pretty;
}

/* ── Problem on a light surface (--stone) ────────────────────────────
   Flip the dark-only colors. Mirrors the Proof stat treatment on the
   same stone ground: dark indigo figures + a green accent. Scoped to
   .section--light; every selector here lives only in the Problem section
   (so the dark default elsewhere is untouched). */
.section--light .problem__fig .accent { color: var(--indigo); }
.section--light .problem__fig sub { color: var(--green-ink); }
.section--light .problem__body b { color: var(--ink); }
.section--light .problem__list li::before { background: var(--green-ink); }
.section--light .problem__list b { color: var(--ink); }
.section--light .pain__index { color: var(--green-ink); }
.section--light .pain__h { color: var(--ink); }

/* ── Solution (dark) — copy that introduces the centerpiece ─────────── */

.section--solution { background: var(--indigo-ink); padding-bottom: 64px; }
.solution__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}
.solution__head .h2 { max-width: 18ch; }
.solution__head .body-lg b { color: var(--white); font-weight: 600; }
.solution__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.sstep {
  padding: 32px 36px 0 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sstep:last-child { border-right: none; padding-right: 0; }
.sstep:not(:first-child) { padding-left: 36px; }
.sstep__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.sstep__h { font-size: 20px; font-weight: 600; color: var(--white); letter-spacing: -0.014em; }
.sstep__b { font-size: 15px; color: var(--tx-body); line-height: 1.55; }

/* ── Centerpiece ("The mesh") — hub-and-spoke hardware mesh ───── */

/* ── Section + header ───────────────────────────────────────────────────── */

.section--centerpiece {
  background: var(--indigo-ink);
  padding-top: 40px;
  padding-bottom: 132px;
  overflow: hidden;
}
.cp__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.cp__head-l { max-width: 46ch; }
.cp__head .h2 { font-size: clamp(30px, 3.4vw, 46px); }
.cp__head-r {
  font-size: 16px;
  color: var(--tx-body);
  line-height: 1.55;
  max-width: 38ch;
  padding-bottom: 6px;
}

/* ── Stage ──────────────────────────────────────────────────────────────── */

.cp-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 54%, rgba(31,78,111,0.55), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, #12354F 0%, #0B2034 70%, #081A2B 100%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.04) inset;
}
.cp-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.042) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 80% 84% at 50% 50%, #000 26%, transparent 82%);
  mask-image: radial-gradient(ellipse 80% 84% at 50% 50%, #000 26%, transparent 82%);
}
.cp-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }

/* edge vignette so the field reads as "continuing beyond the frame" */
.cp-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,26,43,0.9), transparent 14%, transparent 86%, rgba(8,26,43,0.9)),
    linear-gradient(0deg, rgba(8,26,43,0.85), transparent 18%, transparent 84%, rgba(8,26,43,0.55));
}

/* ── Travelling data dots ───────────────────────────────────────────────────
   Inbound (cp-tx) and outbound (cp-tx--out) ride the per-link --fx/--fy → --tx/
   --ty endpoints set inline by the JS. Per-link duration + delay are also set
   inline (randomized), so the mesh never pulses in unison. */
.cp-tx {
  transform: translate(var(--fx), var(--fy));
  animation: cp-tx-in 2.2s linear infinite;
  filter: drop-shadow(0 0 1px rgba(87,255,143,0.9));
}
.cp-tx--out { animation-name: cp-tx-out; }
.cp-tx--far { opacity: 0.6; }
@keyframes cp-tx-in {
  0%   { transform: translate(var(--fx), var(--fy)); opacity: 0; }
  12%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
}
@keyframes cp-tx-out {
  0%   { transform: translate(var(--tx), var(--ty)); opacity: 0; }
  14%  { opacity: 0.65; }
  82%  { opacity: 0.65; }
  100% { transform: translate(var(--fx), var(--fy)); opacity: 0; }
}

/* ── Hardware layer ─────────────────────────────────────────────────────── */

.cp-hw { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.cp-unit {
  position: absolute;
  transform: translate(-50%, -50%);
}
.cp-unit img { display: block; width: 100%; height: auto; }

/* super node — the hub */
.cp-super { width: 30%; left: 50%; top: 52%; z-index: 6; }
.cp-super::before {                       /* soft, steady ambient hub glow */
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 168%; height: 168%;
  transform: translate(-50%,-50%);
  background: radial-gradient(ellipse at center, rgba(87,255,143,0.16), rgba(87,255,143,0.05) 42%, transparent 70%);
  z-index: -2;
}
/* Heartbeat CORE — pulses right on the green TRLLN pin. Both the heartbeat and
   the sonar radiate from this point (left 20.5% / top 47% = the pin). */
.cp-super-core {
  position: absolute;
  left: 20.5%; top: 47%;
  width: 40%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%,-50%) scale(0.84);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,255,143,0.46) 0%, rgba(70,210,130,0.16) 36%, rgba(70,210,130,0) 66%);
  pointer-events: none;
  z-index: 2;
  opacity: 0.4;
  animation: cp-core-beat 2.2s ease-in-out infinite;
}
@keyframes cp-core-beat {
  0%   { opacity: 0.6;  transform: translate(-50%,-50%) scale(1.08); }   /* lub */
  14%  { opacity: 0.34; transform: translate(-50%,-50%) scale(0.9); }
  26%  { opacity: 0.46; transform: translate(-50%,-50%) scale(1.0); }    /* dub */
  40%  { opacity: 0.26; transform: translate(-50%,-50%) scale(0.84); }
  90%  { opacity: 0.26; transform: translate(-50%,-50%) scale(0.84); }   /* rest */
  100% { opacity: 0.6;  transform: translate(-50%,-50%) scale(1.08); }   /* attack back to the beat */
}
.cp-super::after {                         /* lighter inset riser beneath */
  content: '';
  position: absolute;
  left: 50%; top: 60%;
  width: 116%; height: 66%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(58,107,150,0.42), transparent 68%);
  z-index: -1;
  filter: blur(6px);
}
.cp-super img {
  filter: drop-shadow(0 30px 44px rgba(0,0,0,0.6)) drop-shadow(0 0 1px rgba(87,255,143,0.5));
  border-radius: 14px;
}
.cp-super-tag {
  position: absolute;
  left: 50%; bottom: -34px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.cp-node { z-index: 5; }
.cp-node img { filter: drop-shadow(0 18px 30px rgba(0,0,0,0.5)); }

/* receding background nodes — depth. Layered ABOVE the link lines (z-index 2)
   but below the foreground hardware (z-index 4). */
.cp-far { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.cp-far-unit {
  position: absolute;
  transform: translate(-50%, -50%);
  opacity: 0.38;
  filter: blur(1.3px) brightness(0.8) saturate(0.9);
}
.cp-far-unit img { width: 100%; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.55)); }

/* ── Tags / chip / legend ───────────────────────────────────────────────── */

.cp-unit-tag {
  position: absolute;
  left: 50%; bottom: -22px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.cp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  background: rgba(8,26,43,0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cp-tag--super { color: var(--green); border-color: rgba(87,255,143,0.3); }
/* live dot inside the "MESH · LIVE" chip */
.cp-tag .chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: cp-chip-dot 2s ease-in-out infinite;
}
@keyframes cp-chip-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.cp-chip {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 7;
}
.cp-legend {
  position: absolute;
  bottom: 18px; right: 22px;
  z-index: 7;
  display: flex;
  gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}
.cp-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cp-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.cp-legend .i-super { background: #0B0B0B; border: 1px solid rgba(255,255,255,0.4); border-radius: 2px; }
.cp-legend .i-node { background: #fff; border-radius: 2px; }
.cp-legend .i-link { width: 14px; height: 2px; border-radius: 2px; background: var(--green); }

/* ── Sonar rings + node ping ────────────────────────────────────────────── */

/* Sonar acknowledgment rings — radiate from the green TRLLN pin (left 20.5% /
   top 47%), drawn ON TOP of the device face so they read as emanating from it. */
.cp-ack {
  position: absolute;
  left: 20.5%; top: 47%;
  width: 50%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid var(--green);
  box-shadow: 0 0 12px rgba(87,255,143,0.5), inset 0 0 8px rgba(87,255,143,0.22);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.35);
  animation: cp-ack 4.8s ease-out infinite;
}
@keyframes cp-ack {
  0%   { transform: translate(-50%, -50%) scale(0.35);  opacity: 0; }
  18%  { opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(3.0);  opacity: 0; }
}

/* "Heartbeat" blip on each node — fires on the green pin as the node emits its
   data dot. Duration + delay are set inline (per-node, randomized). */
.cp-ping {
  position: absolute;
  left: 52%; top: 47%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,255,143,0.9), rgba(87,255,143,0) 70%);
  opacity: 0;
  pointer-events: none;
  animation: cp-ping 2.2s ease-out infinite;
}
@keyframes cp-ping {
  0%   { transform: scale(0.4); opacity: 0; }
  9%   { opacity: 0.85; }
  40%  { transform: scale(1.9); opacity: 0; }
  100% { opacity: 0; }
}

/* ── Assemble-on-scroll choreography (entrance only) ────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .cp-stage .cp-grid { opacity: 0; }
  .cp-stage .cp-unit { opacity: 0; }
  .cp-stage .cp-super { transform: translate(-50%,-50%) scale(0.84); }
  .cp-stage .cp-node  { transform: translate(-50%,-50%) scale(0.8); }
  .cp-stage .cp-far-unit { opacity: 0; }
  .cp-stage .cp-links line { stroke-dasharray: 300; stroke-dashoffset: 300; }

  .cp-stage.cp--live .cp-grid { opacity: 1; transition: opacity 800ms ease 150ms; }
  .cp-stage.cp--live .cp-super {
    opacity: 1; transform: translate(-50%,-50%) scale(1);
    transition: opacity 600ms ease, transform 720ms cubic-bezier(.2,.85,.25,1);
  }
  .cp-stage.cp--live .cp-node {
    opacity: 1; transform: translate(-50%,-50%) scale(1);
    transition: opacity 550ms ease, transform 660ms cubic-bezier(.2,.85,.25,1);
  }
  .cp-stage.cp--live .cp-links line { stroke-dashoffset: 0; transition: stroke-dashoffset 820ms ease; }
  .cp-stage.cp--live .cp-far-unit { opacity: 0.38; transition: opacity 700ms ease; }
}

/* ── Reduced motion: show the final state, no looping animations ────────── */

@media (prefers-reduced-motion: reduce) {
  .cp-ack, .cp-ping { animation: none; opacity: 0; }
  .cp-super-core { animation: none; opacity: 0.5; }
  .cp-tx { animation: none; opacity: 0; }
  .cp-tag .chip-dot { animation: none; }
}

/* ── Mobile: portrait recompose (square-ish stage, tighter cluster) ─────── */

@media (max-width: 860px) {
  .cp__head { display: block; }
  .cp__head-r { margin-top: 14px; }
  .cp-stage { aspect-ratio: 4 / 5; }
  .cp-super { width: 46%; top: 50%; }
  .cp-legend { display: none; }
}

/* ── Outcome (light) ────────────────────────────────────────────────── */

.outcome__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 64px;
}
.outcome__head .h2 { max-width: 14ch; }
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.outcome {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.outcome:nth-child(4n) { border-right: none; padding-right: 0; }   /* rightmost column */
.outcome:nth-child(4n+1) { padding-left: 0; }                      /* leftmost column */
.outcome:nth-child(n+5) { border-top: 1px solid var(--line); }     /* second row gets a divider */
.outcome__icon { width: 28px; height: 28px; fill: var(--green-ink); flex-shrink: 0; }
.outcome__h { font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -0.016em; line-height: 1.18; }
.outcome__b { font-size: 14.5px; color: var(--ink-body); line-height: 1.5; }

/* ── Difference (dark, 2×2) ─────────────────────────────────────────── */

.diff__head { margin-bottom: 64px; max-width: 760px; }
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.diff {
  padding: 48px 48px 48px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  position: relative;
}
.diff--accent { background: rgba(87,255,143,0.04); }
.diff__mark { font-family: var(--mono); font-size: 12px; color: var(--green); letter-spacing: 0.08em; }
.diff__h { font-size: 25px; font-weight: 600; color: var(--white); letter-spacing: -0.02em; line-height: 1.14; text-wrap: balance; }
.diff__b { font-size: 15.5px; line-height: 1.58; color: var(--tx-body); max-width: 46ch; }

/* ── Video (dark) ───────────────────────────────────────────────────── */

.section--video { background: var(--indigo-deep); }
.video__head { margin-bottom: 44px; max-width: 720px; }
.video__poster {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--indigo-ink);
  cursor: pointer;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,0.7);
}
.video__poster-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.video__poster--live { cursor: default; }
.video__poster--live::after { display: none; }
.video__embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; z-index: 2; }

/* ── Subtle node-dot texture (quiet dark sections) ──────────────── */
.section--dotted { position: relative; isolation: isolate; }
.section--dotted::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1.1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.video__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,45,69,0.1), rgba(8,26,43,0.55));
  z-index: 1;
}
.video__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms ease;
  box-shadow: 0 0 0 0 rgba(87,255,143,0.5);
}
.video__poster:hover .video__play { transform: translate(-50%,-50%) scale(1.06); box-shadow: 0 0 0 14px rgba(87,255,143,0); }
.video__play::before {
  content: '';
  width: 0; height: 0;
  border-left: 26px solid var(--indigo-ink);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  margin-left: 7px;
}
.video__meta {
  position: absolute;
  left: 24px; bottom: 22px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.video__meta-t { font-size: 19px; font-weight: 600; color: var(--white); letter-spacing: -0.01em; }
.video__meta-s { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; }

/* ── Use cases (light) — doorways ───────────────────────────────────── */

.uses__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 48px;
}
.uses__head .body-lg { max-width: 46ch; }

.uses-featured { display: grid; grid-template-columns: 1.42fr 1fr; gap: 28px; scroll-margin-top: 96px; }
.use--featured {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 56px -32px rgba(14,45,69,0.3);
  position: relative;
  animation: use-panel-in 320ms cubic-bezier(.2,.7,.2,1);
}
.use__badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  background: var(--indigo);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.use__badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(87,255,143,0.22), 0 0 10px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
.use--featured .use__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--mist);
  border-bottom: 1px solid var(--ink-line);
  position: relative;
  overflow: hidden;
}
.use__thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.use__featured-copy { padding: 32px 36px 36px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.use__featured-copy .use__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.use__h--lg { font-size: 32px; font-weight: 600; letter-spacing: -0.024em; line-height: 1.05; color: var(--ink); }
.use--featured .use__b { font-size: 15.5px; line-height: 1.55; color: var(--ink-body); max-width: 54ch; }
.use__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--indigo);
  padding-top: 8px;
}
.use--featured:hover .use__cta { color: var(--green-ink); }
.use--featured:hover .use__cta .arrow { transform: translateX(4px); }

.uses-featured__rest {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
}
.use-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 22px 26px;
  border: none;
  border-bottom: 1px solid var(--ink-line);
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background 160ms ease, padding 220ms cubic-bezier(.2,.7,.2,1);
  position: relative;
}
.use-row:last-child { border-bottom: none; }
.use-row:hover { background: var(--paper); padding-left: 32px; }
.use-row:hover .use-row__arrow { transform: translateX(3px); color: var(--green-ink); }
.use-row__num { font-family: var(--mono); font-size: 11px; color: var(--green-ink); letter-spacing: 0.04em; }
.use-row__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.use-row__h { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.012em; }
.use-row__d { font-size: 13px; color: var(--ink-body); line-height: 1.4; }
.use-row__arrow { font-size: 17px; color: var(--ink-faint); transition: transform 200ms ease, color 200ms ease; justify-self: end; }

/* Interactive use cases — active tab + panel crossfade + image placeholder */
.use-row--active { background: var(--paper); }
.use-row--active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--green);
}
.use-row--active .use-row__h { color: var(--indigo); }
.use-row--active .use-row__arrow { color: var(--green-ink); transform: translateX(3px); }

.use__thumb-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,0.06) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--indigo) 0%, var(--indigo-ink) 100%);
}
.use__thumb-ph-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(64px, 9vw, 120px);
  color: rgba(255,255,255,0.16);
  letter-spacing: -0.02em;
}

@keyframes use-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .use--featured { animation: none; }
}

.uses__foot { margin-top: 28px; display: flex; justify-content: flex-end; align-items: center; }

/* ── Demo CTA (dark) ────────────────────────────────────────────────── */

.section--cta { background: var(--indigo); padding: 132px 0; }
.cta__card {
  position: relative;
  border-radius: 28px;
  padding: 104px 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 120% at 84% 16%, rgba(87,255,143,0.12), transparent 55%),
    var(--indigo-ink);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.7);
}
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg svg { width: 100%; height: 100%; display: block; }
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta__inner .h2 { color: var(--white); max-width: 18ch; }
.cta__inner .body-lg { color: var(--tx-body); max-width: 54ch; margin: 0 auto; }
.cta__ctas { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }

/* ── Footer (dark) ──────────────────────────────────────────────────── */

.footer { background: var(--indigo-ink); padding: 104px 0 48px; border-top: 1px solid var(--hairline); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 84px;
}
.footer__brand .logo { margin-bottom: 22px; }
.footer__brand p { color: var(--tx-body); font-size: 14.5px; line-height: 1.55; margin-bottom: 16px; max-width: 30ch; }
.footer__brand .contact { font-family: var(--mono); font-size: 12px; color: var(--tx-faint); letter-spacing: 0.03em; line-height: 1.8; }
.footer__brand .contact a { color: inherit; text-decoration: none; transition: color 140ms ease; }
.footer__brand .contact a:hover { color: var(--green); }
.footer__brand .contact__office { margin-top: 14px; line-height: 1.7; }
.footer__brand .contact__office-label {
  display: block;
  color: var(--tx-body);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.footer__col a { color: var(--tx-body); font-size: 14.5px; transition: color 140ms ease; }
.footer__col a:hover { color: var(--green); }
.footer__acc-h { display: none; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--tx-faint);
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom-l { display: flex; gap: 22px; }
.footer__bottom-l a:hover { color: var(--white); }

/* ── Modal ──────────────────────────────────────────────────────────── */

.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(8,26,43,0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 0s linear 240ms;
}
.modal-back--open { opacity: 1; visibility: visible; transition: opacity 240ms ease; }
.modal {
  background: var(--white);
  color: var(--ink);
  width: 100%;
  max-width: 560px;
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 40px 90px -24px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
  max-height: 92vh;
  overflow-y: auto;
}
.modal-back--open .modal { transform: translateY(0); }
.modal__head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 16px; }
.modal__title { font-size: 28px; font-weight: 700; letter-spacing: -0.024em; line-height: 1.05; max-width: 14ch; color: var(--ink); }
.modal__close {
  appearance: none;
  border: 1px solid var(--ink-line);
  background: var(--white);
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 19px;
  color: var(--ink-body);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal__close:hover { background: var(--paper); color: var(--ink); }
.modal__sub { color: var(--ink-body); font-size: 15px; line-height: 1.5; margin-bottom: 26px; max-width: 44ch; }
.modal__form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; font-weight: 500; color: var(--ink-body); font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field select {
  font-family: var(--font);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--ink-line);
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field input:focus, .field select:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(31,78,111,0.12); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.modal__submit { margin-top: 12px; align-self: flex-start; }
.modal__success { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 0 8px; text-align: center; }
.modal__success-pin {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo-ink);
}

/* ── Flag (mega-menu open hint) ─────────────────────────────────────── */

.flag {
  position: absolute;
  top: -7px; right: -8px;
  background: var(--green);
  color: var(--indigo-ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 6px;
  border-radius: 5px;
  pointer-events: none;
  white-space: nowrap;
}

/* ── Image placeholder ──────────────────────────────────────────────── */

.placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 11px),
    var(--indigo-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--tx-faint);
  text-transform: uppercase;
}

/* ── Scroll-in helpers ──────────────────────────────────────────────── */

.hl {
  background-image: linear-gradient(transparent 74%, var(--green) 74%, var(--green) 93%, transparent 93%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 1000ms cubic-bezier(.6,.04,.35,1) 200ms;
  padding: 0 0.04em;
  color: var(--white);
}
.section--light .hl { color: var(--ink); }
.is-in-view .hl { background-size: 100% 100%; }

.proof__stats .stat, .outcome-grid .outcome, .diff-grid .diff, .pain-grid .pain, .solution__steps .sstep {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(.2,.7,.2,1);
}
.is-in-view .stat, .is-in-view .outcome, .is-in-view .diff, .is-in-view .pain, .is-in-view .sstep {
  opacity: 1; transform: translateY(0);
}
.is-in-view .stat:nth-child(2), .is-in-view .outcome:nth-child(2), .is-in-view .pain:nth-child(2), .is-in-view .sstep:nth-child(2) { transition-delay: 100ms; }
.is-in-view .stat:nth-child(3), .is-in-view .outcome:nth-child(3), .is-in-view .pain:nth-child(3), .is-in-view .sstep:nth-child(3) { transition-delay: 200ms; }
.is-in-view .outcome:nth-child(4) { transition-delay: 300ms; }
.is-in-view .diff:nth-child(2) { transition-delay: 90ms; }
.is-in-view .diff:nth-child(3) { transition-delay: 180ms; }
.is-in-view .diff:nth-child(4) { transition-delay: 270ms; }

/* CTA breathing halo — scoped to conversion actions only */
.hero .btn--primary, .cta__inner .btn--primary {
  animation: cta-halo 4.4s ease-out infinite;
}
@keyframes cta-halo {
  0%   { box-shadow: 0 0 0 0 rgba(87,255,143,0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(87,255,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(87,255,143,0); }
}
.hero .btn--primary:hover, .cta__inner .btn--primary:hover { animation-play-state: paused; }

@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stat, .outcome, .diff, .pain, .sstep { transition: none; transform: none; opacity: 1; }
  .hero .btn--primary, .cta__inner .btn--primary { animation: none; }
  .hl { transition: none; background-size: 100% 100%; }
  .chip-dot, .use__badge-dot { animation: none; }
}

/* ── Static doc pages (privacy, legal) ──────────────────────────────── */

.header-static {
  background: var(--indigo-ink);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
}
.header-static .header__row { align-items: center; }
.back-link {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 140ms ease, color 140ms ease;
}
.back-link:hover { background: rgba(255,255,255,0.07); color: var(--white); }

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 56px;
}
.doc__title {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--tx);
  margin: 22px 0 14px;
  text-wrap: balance;
}
.doc__updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--tx-faint);
  text-transform: uppercase;
  margin-bottom: 56px;
}
.doc h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.014em;
  margin: 56px 0 16px;
  color: var(--tx);
}
.doc h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 10px;
  color: var(--tx);
}
.doc p, .doc li {
  color: var(--tx-body);
  font-size: 16px;
  line-height: 1.65;
}
.doc p { margin: 0 0 14px; }
.doc ul {
  list-style: disc;
  padding-left: 22px;
  margin: 6px 0 14px;
}
.doc ul li { margin-bottom: 8px; }
.doc strong { color: var(--tx); font-weight: 600; }
.doc code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--tx);
  word-break: break-all;
}
.doc a {
  color: var(--green);
  transition: opacity 140ms ease;
}
.doc a:hover { opacity: 0.8; text-decoration: underline; }

/* Callout box (warnings / disclosures within doc pages) */
.doc__callout {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 28px 0 32px;
}
.doc__callout p { margin: 0 0 10px; }
.doc__callout p:last-child { margin-bottom: 0; }
.doc__callout-h {
  font-weight: 600;
  color: var(--tx);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Condensed footer for doc pages */
.footer-mini {
  background: var(--indigo-ink);
  padding: 56px 0 32px;
  border-top: 1px solid var(--hairline);
}
.footer-mini__brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-mini__brand p {
  color: var(--tx-body);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 16px;
  max-width: 30ch;
}
.footer-mini__brand .contact {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--tx-faint);
  letter-spacing: 0.03em;
  line-height: 1.8;
}
.footer-mini__brand .contact a { color: inherit; transition: color 140ms ease; }
.footer-mini__brand .contact a:hover { color: var(--green); }
.footer-mini__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--tx-faint);
  font-size: 13px;
}
.footer-mini__bottom-l { display: flex; gap: 22px; }
.footer-mini__bottom-l a { color: var(--tx-faint); transition: color 140ms ease; }
.footer-mini__bottom-l a:hover { color: var(--white); }

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE — tablet (~768) + mobile (~390), recomposed not just shrunk
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 1080px) {
  :root { --pad: 56px; --section-y: 104px; }
  .hero__row { gap: 40px; }
  .proof__intro { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .solution__head, .outcome__head, .uses__head, .problem__top { grid-template-columns: 1fr; }
  .solution__head, .outcome__head, .uses__head { gap: 28px; align-items: start; }
  .uses-featured { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-burger { display: inline-flex; }
  .header__cta-desktop { display: none; }

  /* Hero: large globe sits faded BEHIND the copy (not anchored at the bottom) */
  .hero { padding: 128px 0 64px; }
  .hero__row { display: block; position: relative; min-height: 0; }
  .hero__copy { max-width: 100%; position: relative; z-index: 2; }
  .hero__visual {
    position: absolute;
    top: 47%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150%; max-width: none; aspect-ratio: 1 / 1;
    margin: 0;
    z-index: 0;
    opacity: 0.72;
    -webkit-mask-image:
      radial-gradient(ellipse 62% 62% at 50% 50%, #000 42%, transparent 82%),
      linear-gradient(to bottom, #000 58%, transparent 88%);
    -webkit-mask-composite: source-in;
    mask-image:
      radial-gradient(ellipse 62% 62% at 50% 50%, #000 42%, transparent 82%),
      linear-gradient(to bottom, #000 58%, transparent 88%);
    mask-composite: intersect;
  }

  /* Proof / problem / solution / outcome — single column stacks */
  .proof__stats, .pain-grid, .solution__steps, .outcome-grid {
    grid-template-columns: 1fr;
  }
  .stat, .pain, .sstep, .outcome {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
  }
  .stat:not(:first-child), .pain:not(:first-child), .sstep:not(:first-child), .outcome:not(:first-child) { padding-left: 0; }
  .stat:last-child, .outcome:last-child { border-bottom: none; }
  .outcome { min-height: 0; }
  .outcome:nth-child(n+5) { border-top: none; }  /* single-column stack uses bottom dividers only */
  /* Proof stats: number beside caption on mobile — fills the width, ~half the height */
  .stat { flex-direction: row; align-items: center; gap: 18px; padding: 36px 0; }
  .stat__num { flex: 0 0 auto; min-width: 112px; font-size: clamp(42px, 12.5vw, 54px); }
  .stat__label { margin-top: 0; flex: 1 1 auto; }

  .problem__top { gap: 40px; }
  .problem__fig { font-size: clamp(72px, 22vw, 120px); }

  /* Difference 2×2 → single column */
  .diff-grid { grid-template-columns: 1fr; border-left: none; }
  .diff { min-height: 0; padding: 36px 0; border-left: none; border-right: none; }
  .diff--accent { margin: 0; }

  /* Footer → accordions */
  .footer { padding: 72px 0 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 40px; }
  .footer__brand { margin-bottom: 28px; }
  .footer__col { border-top: 1px solid var(--hairline); }
  .footer__acc-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 0;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 500;
  }
  .footer__col h4 { display: none; }
  .footer__col ul {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
    gap: 0;
  }
  .footer__col--open ul { max-height: 360px; padding-bottom: 18px; }
  .footer__col ul li { padding: 7px 0; }
  .footer__acc-caret {
    width: 9px; height: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 200ms ease;
  }
  .footer__col--open .footer__acc-caret { transform: rotate(-135deg); }

  .cta__card { padding: 64px 28px; border-radius: 22px; }
  .video__play { width: 72px; height: 72px; }
  .video__play::before { border-left-width: 20px; border-top-width: 13px; border-bottom-width: 13px; }
}

@media (max-width: 480px) {
  :root { --pad: 22px; --section-y: 80px; }
  .hero .h1 { font-size: clamp(40px, 12vw, 54px); }
  .hero__trust { gap: 12px; }
  .hero__trust-sep { display: none; }
  .modal { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}


/* ═══════════════════════════════════════════════════════════════════════
   PLATFORM SECTION — header + diagram carousel (platform.jsx)
   Sits directly under the mesh centerpiece; the stage card keeps the
   centerpiece card's radius (24px) + shadow so the two read as one region.
   Frame content is always fully visible in the base state — the ambient
   motion below is additive only, gated on [data-pc-active] (the active
   slide) and prefers-reduced-motion. Don't add entrance animations that
   hide content (they export blank to screenshot/PDF capture).
   ═══════════════════════════════════════════════════════════════════════ */

.section--platform { overflow: hidden; background: var(--indigo-ink); padding-top: 56px; }

.pc__head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 44px;
}
.pc__head .h2 { font-size: clamp(30px, 3.4vw, 46px); max-width: 16ch; }
.pc__head-r {
  font-size: 16px;
  color: var(--tx-body);
  line-height: 1.55;
  max-width: 40ch;
  padding-bottom: 6px;
}
.pc__head-r b { color: var(--white); font-weight: 600; }

/* ── Carousel shell ─────────────────────────────────────────────────── */

.pc-carousel { position: relative; }

/* The framed card — geometry + shadow deliberately match the centerpiece
   card above so the two sections read as one continuous region. */
.pc-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #0B2236;
  box-shadow:
    0 40px 90px -50px rgba(0,0,0,0.8),
    0 1px 0 rgba(255,255,255,0.04) inset;
}

/* The 1280×720 frame, scaled into the stage (transform set inline by JS) */
.pc-device--dg {
  position: absolute;
  top: 0; left: 0;
  width: 1280px;
  height: 720px;
  transform-origin: top left;
}
.pc-frame--dg { position: relative; z-index: 1; width: 1280px; height: 720px; background: #0B2236; }
.pc-dgwrap { width: 1280px; height: 720px; }

/* Auto-advance progress bar (under the stage) */
.pc-progress {
  position: relative;
  height: 2px;
  margin-top: 18px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.pc-progress__fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  border-radius: 999px;
}
@keyframes pc-progress-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pc-progress__fill--run { animation: pc-progress-fill linear forwards; }
@media (prefers-reduced-motion: reduce) { .pc-progress { display: none; } }

/* ── Foot: caption + navigation ─────────────────────────────────────── */

.pc-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}
.pc-caption { min-width: 0; }
.pc-caption__index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  color: var(--tx-faint);
  display: block;
  margin-bottom: 10px;
}
.pc-caption__title {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--tx);
  line-height: 1.1;
  margin-bottom: 10px;
}
.pc-caption__line {
  font-size: 16px;
  line-height: 1.5;
  color: var(--tx-body);
  max-width: 52ch;
  display: inline;
}

.pc-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.pc-nav__row { display: flex; align-items: center; gap: 10px; }
.pc-nav__count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--tx-faint);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}
.pc-nav__count b { color: var(--tx); font-weight: 600; }
.pc-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--tx);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.pc-arrow:hover { border-color: var(--green); color: var(--green); }
.pc-arrow:active { transform: scale(0.94); }
.pc-arrow:focus-visible { outline: 2px solid rgba(87,255,143,0.5); outline-offset: 2px; }
.pc-arrow svg { width: 17px; height: 17px; }

.pc-dots { display: flex; align-items: center; gap: 9px; }
.pc-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.22);
  padding: 0;
  transition: width 260ms cubic-bezier(.2,.7,.2,1), background 200ms ease;
}
.pc-dot:hover { background: rgba(255,255,255,0.4); }
.pc-dot--active { width: 26px; background: var(--green); }
.pc-dot:focus-visible { outline: 2px solid rgba(87,255,143,0.5); outline-offset: 3px; }

/* ── Diagram frames — shared visual language ────────────────────────── */

.dg {
  --dg-bg-0:   #0B2236;
  --dg-bg-1:   #081A2C;
  --dg-panel:  #102C42;
  --dg-panel-2:#16374F;
  --dg-line:   rgba(255,255,255,0.10);
  --dg-line-2: rgba(255,255,255,0.17);
  --dg-tx:     #EAF1F4;
  --dg-mid:    rgba(234,241,244,0.62);
  --dg-faint:  rgba(234,241,244,0.40);
  --dg-green:  #57FF8F;
  --dg-green-2:#6BFFA0;
  --dg-amber:  #F2BB05;
  --dg-alert:  #F2705A;
  --dg-bleu:   #54A6F0;
  /* canonical-world additions: true red + categorical asset-type scale */
  --dg-crit:   #FF4438;
  --dg-crate:  #2FC8A6;
  --dg-cage:   #A88BF0;
  --dg-pallet: #EC8FB8;

  position: relative;
  width: 1280px;
  height: 720px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -8%, rgba(31,78,111,0.55), transparent 58%),
    linear-gradient(180deg, var(--dg-bg-0) 0%, var(--dg-bg-1) 100%);
  color: var(--dg-tx);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* faint engineering grid + vignette so the canvas reads "instrument", not slide */
.dg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 78% 82% at 50% 46%, #000 30%, transparent 86%);
  mask-image: radial-gradient(ellipse 78% 82% at 50% 46%, #000 30%, transparent 86%);
  pointer-events: none;
}

/* Shared chrome: corner eyebrow + system tag */
.dg__head {
  position: absolute;
  top: 46px; left: 56px; right: 56px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 5;
}
.dg__eyebrow { display: flex; align-items: center; gap: 12px; }
.dg__idx {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dg-green);
}
.dg__cap {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dg-mid);
}
.dg__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--dg-faint);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dg__tag i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dg-green);
  box-shadow: 0 0 8px var(--dg-green);
}

.dg__stage { position: absolute; inset: 0; z-index: 2; }

/* shared annotation chip used across frames */
.dg-note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(8,24,40,0.82);
  border: 1px solid var(--dg-line-2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--dg-tx);
  white-space: nowrap;
  box-shadow: 0 14px 30px -18px rgba(0,0,0,0.7);
}
.dg-note__k { color: var(--dg-faint); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; }
.dg-note--alert { border-color: rgba(255,68,56,0.5); }
.dg-note--alert b { color: #FF6B61; }
.dg-note--amber  { border-color: rgba(242,187,5,0.5); }
.dg-note--amber b { color: var(--dg-amber); }

.dg-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 1 · Zones — site boundary, nested sub-zones, map cues, region inset */
.dgz__leash { stroke: var(--dg-crit); }
.dgz__stray-ring { stroke: var(--dg-crit); }
.dgz__site {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 7px; white-space: nowrap; z-index: 4;
  color: var(--dg-green); background: var(--dg-bg-0); border: 1px solid rgba(87,255,143,0.42);
}
.dgz__site i { width: 8px; height: 8px; border-radius: 2px; background: var(--dg-green); }
.dgz__sub {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--dg-mid);
  background: rgba(8,24,40,0.66); padding: 3px 9px; border-radius: 6px; white-space: nowrap; z-index: 4;
}
.dgz__sub i { width: 9px; height: 9px; border-radius: 2px; }
.dgz__sub b { color: var(--dg-tx); font-weight: 700; margin-left: 3px; font-variant-numeric: tabular-nums; }
.dgz__ctrl { position: absolute; right: 56px; top: 300px; display: flex; flex-direction: column; gap: 8px; align-items: center; z-index: 4; }
.dgz__ctrl-grp { display: flex; flex-direction: column; background: rgba(8,24,40,0.82); border: 1px solid var(--dg-line-2); border-radius: 9px; overflow: hidden; }
.dgz__ctrl-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--dg-mid); }
.dgz__ctrl-btn + .dgz__ctrl-btn { border-top: 1px solid var(--dg-line); }
.dgz__ctrl-btn svg { width: 15px; height: 15px; }
.dgz__scale { position: absolute; left: 56px; bottom: 52px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.dgz__scale-bar { display: flex; }
.dgz__scale-bar i { width: 34px; height: 6px; border: 1px solid rgba(255,255,255,0.5); }
.dgz__scale-bar i + i { border-left: none; }
.dgz__scale-bar i.on { background: rgba(255,255,255,0.45); }
.dgz__scale-lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; color: var(--dg-faint); }
.dgz__legend { position: absolute; right: 56px; bottom: 52px; display: flex; flex-direction: column; gap: 8px; z-index: 3; background: rgba(8,24,40,0.66); border: 1px solid var(--dg-line); border-radius: 10px; padding: 11px 13px; }
.dgz__legend span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--dg-mid); }
.dgz__legend i { width: 9px; height: 9px; border-radius: 2px; }
.dgz__road-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; fill: rgba(234,241,244,0.22); }
.dgz__inset { position: absolute; right: 16px; top: 72px; width: 252px; border-radius: 12px; overflow: hidden; background: rgba(8,24,40,0.92); border: 1px solid var(--dg-line-2); box-shadow: 0 18px 40px -22px rgba(0,0,0,0.8); z-index: 5; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dgz__inset-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--dg-line); }
.dgz__inset-t { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dg-mid); }
.dgz__inset-d { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--dg-bleu); }
.dgz__inset-map { position: relative; height: 138px; background: #091F31; }
.dgz__inset-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dgz__inset-lab { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.04em; fill: var(--dg-faint); }
.dgz__inset-km { font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; fill: var(--dg-mid); }

/* 2 · Inventory per zone — stacked asset-type segments + legend */
.dgi {
  position: absolute;
  left: 56px; right: 56px; bottom: 96px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.dgi__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0; }
.dgi__num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--dg-tx);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.dgi__stack {
  width: 100%;
  max-width: 132px;
  display: flex;
  flex-direction: column-reverse;
  gap: 5px;
  margin: 18px 0 16px;
}
.dgi__unit {
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(87,255,143,0.85), rgba(87,255,143,0.4));
  transform-origin: bottom;
}
.dgi__unit--ghost { background: rgba(255,255,255,0.06); }
.dgi__seg { height: 13px; border-radius: 4px; transform-origin: bottom; }
.dgi__zone { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--dg-mid); text-transform: uppercase; white-space: nowrap; }
.dgi__type { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--dg-faint); margin-top: 4px; white-space: nowrap; }
.dgi__axis {
  position: absolute;
  left: 56px; right: 56px; bottom: 88px;
  height: 1px; background: var(--dg-line);
}
.dgi__legend { position: absolute; right: 56px; top: 116px; display: flex; gap: 18px; align-items: center; z-index: 4; }
.dgi__legend span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dg-mid); }
.dgi__legend i { width: 10px; height: 10px; border-radius: 3px; }
/* per-type drill-down under each column */
.dgi__bd { margin-top: 16px; width: 100%; max-width: 132px; display: flex; flex-direction: column; gap: 6px; }
.dgi__bd-row { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.dgi__bd-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.dgi__bd-k { color: var(--dg-mid); text-transform: uppercase; }
.dgi__bd-v { margin-left: auto; color: var(--dg-faint); font-variant-numeric: tabular-nums; }

/* 3 · Alerts · Triage — hero breach (red) + allowed band + fleet list */
.dgal { position: absolute; left: 80px; right: 80px; top: 126px; bottom: 86px; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.dgal__hero { display: flex; flex-direction: column; }
.dgal__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #FF6B61; font-weight: 600; }
.dgal__eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--dg-crit); box-shadow: 0 0 0 4px rgba(255,68,56,0.18); }
.dgal__idrow { display: flex; align-items: center; gap: 16px; margin: 16px 0 5px; }
.dgal__thumb {
  width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0;
  position: relative; overflow: hidden; border: 1px solid var(--dg-line-2);
  background: radial-gradient(120% 100% at 30% 20%, #F2D9AC, #C98E52 68%, #A86E3A);
  color: rgba(60,30,10,0.5); display: flex; align-items: center; justify-content: center;
}
.dgal__thumb svg { width: 26px; height: 26px; }
/* icon/cutout treatment — neutral panel instead of the faux-photo gradient */
.dgal__thumb--photo { background: var(--dg-panel-2); border-color: var(--dg-line-2); }
.dgal__thumb-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff; background: rgba(40,18,6,0.45); padding: 2px 3px; text-align: center;
}
.dgal__id { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--dg-tx); }
.dgal__loc { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--dg-mid); }
.dgal__content { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em; color: var(--dg-mid); }
.dgal__content i { width: 10px; height: 10px; border-radius: 2px; background: var(--dg-crate); }
.dgal__big { font-size: 84px; font-weight: 700; letter-spacing: -0.04em; color: #FF6B61; font-variant-numeric: tabular-nums; line-height: 0.9; margin: 26px 0 6px; display: inline-flex; align-items: flex-start; gap: 10px; }
.dgal__big small { font-size: 30px; font-weight: 600; margin-top: 8px; }
.dgal__big svg { width: 28px; height: 28px; margin-top: 9px; }
.dgal__delta { font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em; color: #FF6B61; }
.dgal__delta b { color: #FF6B61; }
.dgal__gauge { margin-top: 42px; }
.dgal__track { position: relative; height: 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.dgal__limit { position: absolute; top: -8px; bottom: -8px; width: 2px; background: var(--dg-tx); transform: translateX(-50%); }
.dgal__limit span { position: absolute; top: -19px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--dg-faint); white-space: nowrap; }
.dgal__pin { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: var(--dg-crit); transform: translate(-50%,-50%); border: 2px solid #0B2236; box-shadow: 0 0 0 4px rgba(255,68,56,0.25), 0 0 16px 2px rgba(255,68,56,0.6); }
.dgal__allowed { position: relative; height: 13px; margin-top: 7px; border: 1px solid rgba(87,255,143,0.5); border-top: none; border-radius: 0 0 5px 5px; }
.dgal__allowed span { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: #6FE6A0; white-space: nowrap; }
.dgal__scale { display: flex; justify-content: space-between; margin-top: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--dg-faint); }
.dgal__list { display: flex; flex-direction: column; }
.dgal__list-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dg-faint); padding-bottom: 4px; }
.dgal__list-head b { color: var(--dg-tx); }
.dgal__pill { color: #FF6B61; border: 1px solid rgba(255,68,56,0.42); border-radius: 999px; padding: 4px 11px; font-size: 9.5px; letter-spacing: 0.08em; }
.dgal__row { display: flex; align-items: center; gap: 15px; padding: 15px 2px; border-top: 1px solid var(--dg-line); }
.dgal__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dgal__dot--ok { background: var(--dg-green); }
.dgal__dot--warn { background: var(--dg-amber); }
.dgal__dot--crit { background: var(--dg-crit); box-shadow: 0 0 0 4px rgba(255,68,56,0.16); }
.dgal__rmeta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dgal__rid { font-family: var(--mono); font-size: 14px; letter-spacing: 0.03em; color: var(--dg-tx); white-space: nowrap; display: inline-flex; align-items: center; }
.dgal__tydot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; margin-right: 9px; display: inline-block; vertical-align: middle; }
.dgal__rloc { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--dg-faint); white-space: nowrap; }
.dgal__rv { margin-left: auto; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--dg-mid); white-space: nowrap; }
.dgal__rs { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.dgal__rs--ok { color: var(--dg-green); background: rgba(87,255,143,0.10); }
.dgal__rs--warn { color: var(--dg-amber); background: rgba(242,187,5,0.12); }
.dgal__rs--crit { color: #FF6B61; background: rgba(255,68,56,0.14); }

/* 4 · Routing — route traced along the streets */
.dgr__node-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; fill: var(--dg-mid); }
.dgr__node-sub   { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; fill: var(--dg-faint); }
.dgr__corridor { fill: none; stroke: var(--dg-green); stroke-width: 13; opacity: 0.12; stroke-linecap: round; }
.dgr__leg-done { fill: none; stroke: var(--dg-green); stroke-width: 3; stroke-linecap: round; }

/* 5 · Condition — envelope chart, out-of-range in red */
.dgc__band-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; fill: var(--dg-faint); }
.dgc__axis { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; fill: var(--dg-faint); }
.dgc__ylabel { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; fill: var(--dg-faint); }
.dgc__grid { stroke: rgba(255,255,255,0.05); stroke-width: 1; }
.dgc__envelope { fill: rgba(87,255,143,0.10); }
.dgc__excursion { fill: rgba(255,68,56,0.13); }
.dgc__env-line { fill: none; stroke: rgba(87,255,143,0.4); stroke-width: 1.4; }
.dgc__trace-hot { fill: none; stroke: var(--dg-crit); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.dgc__dev { stroke: var(--dg-crit); }
.dgc__alertnote { flex-direction: column; align-items: flex-start; gap: 5px; }
.dgc__alertnote-id { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #FF6B61; letter-spacing: 0.04em; }
.dgc__alertnote-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dg-crit); box-shadow: 0 0 0 3px rgba(255,68,56,0.22); flex-shrink: 0; }
.dgc__alertnote-rd { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--dg-mid); }

/* 6 · Digital Product Passport — full record card */
.dgp2 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 3; padding: 0 56px; }
.dgp2__card { position: relative; width: 884px; border-radius: 20px; background: linear-gradient(180deg, var(--dg-panel) 0%, #0E2840 100%); border: 1px solid var(--dg-line-2); box-shadow: 0 44px 90px -40px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05); overflow: hidden; }
.dgp2__card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(180deg, rgba(87,255,143,0.16), transparent); opacity: 0; pointer-events: none; }
.dgp2__top { display: flex; align-items: center; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--dg-line); }
.dgp2__mark { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: linear-gradient(140deg,#1F4E6F,#0E2D45); border: 1px solid var(--dg-line-2); display: flex; align-items: center; justify-content: center; }
.dgp2__mark span { width: 15px; height: 15px; border-radius: 5px; background: var(--dg-green); box-shadow: 0 0 12px rgba(87,255,143,0.6); }
.dgp2__id { font-family: var(--mono); font-size: 19px; font-weight: 600; letter-spacing: 0.04em; color: var(--dg-tx); }
.dgp2__kind { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dg-faint); margin-top: 3px; }
.dgp2__verified { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dg-green); padding: 6px 11px; border-radius: 999px; background: rgba(87,255,143,0.10); border: 1px solid rgba(87,255,143,0.3); }
.dgp2__verified svg { width: 13px; height: 13px; }
.dgp2__body { display: grid; grid-template-columns: 232px 1fr; }
.dgp2__media { padding: 20px 22px; border-right: 1px solid var(--dg-line); display: flex; flex-direction: column; gap: 12px; }
.dgp2__photo { position: relative; height: 112px; border-radius: 12px; overflow: hidden; border: 1px solid var(--dg-line-2); display: flex; align-items: center; justify-content: center; }
.dgp2__photo svg { width: 32px; height: 32px; }
.dgp2__photo-cap { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.4); padding: 3px 7px; }
.dgp2__photo--asset { background: rgba(255,255,255,0.03); color: var(--dg-faint); }
.dgp2__photo--product { background: rgba(255,255,255,0.03); color: var(--dg-faint); }
.dgp2__grid { padding: 20px 26px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px 24px; align-content: start; }
.dgp2__f-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dg-faint); margin-bottom: 6px; }
.dgp2__f-v { font-size: 15px; font-weight: 600; color: var(--dg-tx); letter-spacing: -0.01em; }
.dgp2__foot { display: flex; align-items: center; gap: 14px; padding: 14px 26px; border-top: 1px solid var(--dg-line); background: rgba(0,0,0,0.16); font-family: var(--mono); font-size: 11px; color: var(--dg-faint); }
.dgp2__journey { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.dgp2__stamp { width: 9px; height: 9px; border-radius: 50%; background: var(--dg-green); }
.dgp2__stamp--ghost { background: rgba(255,255,255,0.14); }
.dgp2__leg { height: 2px; width: 24px; background: rgba(87,255,143,0.4); border-radius: 2px; }
.dgp2__leg--ghost { background: rgba(255,255,255,0.1); }

/* 7 · Agent (single Q→A) — reasoning trace + bar answer + suggestions */
.dga2 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 56px;
}
.dga2__q {
  align-self: flex-start;
  max-width: 620px;
  margin-left: 60px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  border-radius: 16px 16px 16px 4px;
  background: var(--dg-panel-2);
  border: 1px solid var(--dg-line-2);
  font-size: 21px; font-weight: 500; color: var(--dg-tx); letter-spacing: -0.01em;
}
.dga2__q-av {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(140deg,#1F4E6F,#0E2D45); border: 1px solid var(--dg-line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--dg-mid);
}
.dga2__steps { display: flex; align-items: center; gap: 9px; align-self: flex-start; margin: 12px 0 12px 78px; flex-wrap: wrap; }
.dga2__step { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: var(--dg-mid); padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--dg-line); }
.dga2__step svg { width: 11px; height: 11px; color: var(--dg-green); }
.dga2__step-arrow { color: var(--dg-faint); font-family: var(--mono); font-size: 12px; }
.dga2__a {
  align-self: stretch;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  border-radius: 4px 18px 18px 18px;
  background: linear-gradient(180deg, rgba(87,255,143,0.07), rgba(87,255,143,0.02));
  border: 1px solid rgba(87,255,143,0.3);
  box-shadow: 0 30px 70px -36px rgba(0,0,0,0.7);
  overflow: hidden;
}
.dga2__a-lead { padding: 22px 26px 16px; font-size: 22px; font-weight: 600; color: var(--dg-tx); letter-spacing: -0.015em; line-height: 1.25; }
.dga2__a-lead b { color: var(--dg-green); }
.dga2__a-bot { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(87,255,143,0.12); border: 1px solid rgba(87,255,143,0.25); margin-right: 12px; font-size: 16px; line-height: 1; vertical-align: middle; transform: translateY(-2px); }
.dga2__bars { display: flex; flex-direction: column; gap: 11px; padding: 6px 26px 16px; }
.dga2__bar-row { display: grid; grid-template-columns: 150px 1fr 92px; align-items: center; gap: 16px; }
.dga2__bar-row--top { background: rgba(87,255,143,0.06); border-radius: 8px; }
.dga2__bar-site { display: flex; flex-direction: column; gap: 1px; line-height: 1.18; font-size: 15px; font-weight: 600; color: var(--dg-tx); }
.dga2__bar-sitesub { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.03em; color: var(--dg-faint); }
.dga2__bar-track { height: 11px; border-radius: 6px; background: rgba(255,255,255,0.06); overflow: hidden; }
.dga2__bar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, rgba(47,200,166,0.65), var(--dg-crate)); }
.dga2__bar-n { font-family: var(--mono); font-size: 13px; color: var(--dg-mid); text-align: right; font-variant-numeric: tabular-nums; }
.dga2__bar-n b { color: var(--dg-amber); }
.dga2__foot {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-top: 1px solid var(--dg-line);
  background: rgba(0,0,0,0.16);
}
.dga2__src { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--dg-green); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; margin-right: auto; }
.dga2__src i { width: 6px; height: 6px; border-radius: 50%; background: var(--dg-green); box-shadow: 0 0 8px var(--dg-green); }
.dga2__conf { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--dg-green); padding: 5px 11px; border-radius: 999px; background: rgba(87,255,143,0.10); border: 1px solid rgba(87,255,143,0.28); }
.dga2__chip { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--dg-mid); padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--dg-line); white-space: nowrap; }
.dga2__suggest { display: flex; gap: 10px; padding: 14px 26px 0; flex-wrap: wrap; }
.dga2__sugg { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--dg-mid); padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--dg-line); }
.dga2__sugg b { color: var(--dg-green); font-weight: 600; }

/* ── Ambient motion — additive only, never gates legibility ─────────── */
@media (prefers-reduced-motion: no-preference) {

  /* 1 · Zones — strayed asset pulses, leash drifts */
  [data-pc-active] .dgz__stray-ring { transform-box: fill-box; transform-origin: center; animation: dg-ring 2.4s ease-out infinite 0.4s; }
  [data-pc-active] .dgz__leash { animation: dg-dash 14s linear infinite; }

  /* 3 · Alerts — the limit pin pulses its glow */
  [data-pc-active] .dgal__pin { animation: dgal-pin 1.8s ease-in-out infinite; }

  /* 4 · Routing — asset dot travels the route, destination pulses */
  [data-pc-active] .dgr__mover { animation: dg-travel 5s cubic-bezier(.5,0,.5,1) infinite; }
  [data-pc-active] .dgr__pulse { transform-box: fill-box; transform-origin: center; animation: dg-ring 2.6s ease-out infinite; }

  /* 5 · Condition — deviation pulses, a highlight rides the trace */
  [data-pc-active] .dgc__dev   { transform-box: fill-box; transform-origin: center; animation: dg-ring 2.4s ease-out infinite; }
  /* .dgc__spark travel + red/green colour is JS-driven in DgCondition (synced to the out-of-range window) */

  /* 6 · Passport — scan sweep over the record card */
  [data-pc-active] .dgp2__card::after { animation: dg-scan 3.6s ease-in-out infinite 0.6s; }

  /* 7 · Agent — answer source dot pulses */
  [data-pc-active] .dga2__src i { animation: dg-pulse 2.2s ease-in-out infinite; }
}

@keyframes dg-dash   { to { stroke-dashoffset: -200; } }
@keyframes dg-ring   { 0% { opacity: 0.85; transform: scale(0.55); } 70% { opacity: 0; transform: scale(2.4); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes dg-scan   { 0% { opacity: 0; transform: translateY(-100%); } 18% { opacity: 1; } 50%,100% { opacity: 0; transform: translateY(260%); } }
@keyframes dg-travel { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes dg-pulse  { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes dgal-pin  { 0%,100% { box-shadow: 0 0 0 4px rgba(255,68,56,0.25), 0 0 16px 2px rgba(255,68,56,0.6); } 50% { box-shadow: 0 0 0 9px rgba(255,68,56,0.05), 0 0 22px 4px rgba(255,68,56,0.5); } }

/* ── Platform section responsive ────────────────────────────────────── */

@media (max-width: 1080px) {
  .pc__head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
}

@media (max-width: 860px) {
  /* Tighten the seam to the centerpiece — desktop's 132+56px of padding
     reads as a void on a phone. */
  .section--centerpiece { padding-bottom: 56px; }
  .section--platform { padding-top: 24px; }
  .pc__head { margin-bottom: 28px; }

  /* The stage stays 16:9 (the complete frame scales like an image) and goes
     full-bleed for every px of width. */
  .pc-stage { width: auto; margin: 0 calc(-1 * var(--pad)); border-radius: 0; }

  .pc-foot { grid-template-columns: 1fr; gap: 20px; }
  .pc-nav { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .pc-nav__row { order: 2; }
  .pc-dots { order: 1; }
  .pc-caption__title { font-size: 21px; }
  .pc-caption__line { font-size: 14.5px; }

  /* ── Mobile frame generalisation ──
     At phone widths the 1280-wide frame renders at ~0.29 scale, so 10-13px
     annotations become ~3px — unreadable. Like a map at a far zoom: enlarge
     each frame's primary content and drop tertiary chrome/micro-labels. The
     !important overrides beat per-instance inline styles in platform.jsx. */

  /* shared frame chrome */
  .dg__head { top: 36px; left: 48px; right: 48px; }
  .dg__idx { font-size: 30px; }
  .dg__cap { font-size: 26px; letter-spacing: 0.16em; }
  .dg__tag { display: none; }
  .dg-note { font-size: 26px; padding: 14px 22px; border-radius: 14px; gap: 12px; }
  .dg-note__k { font-size: 19px; }

  /* 1 · Zones — keep the boundary + sub-zone labels; drop map chrome */
  .dgz__inset, .dgz__ctrl, .dgz__scale, .dgz__legend, .dgz__road-label { display: none; }
  .dgz__site { font-size: 22px; gap: 12px; padding: 7px 16px; }
  .dgz__site i { width: 16px; height: 16px; }
  .dgz__sub { font-size: 22px; gap: 12px; padding: 7px 14px; }
  .dgz__sub i { width: 18px; height: 18px; }

  /* 2 · Inventory — big numbers + zone names; legend enlarged, stage hidden */
  .dgi__num { font-size: 52px; }
  .dgi__zone { font-size: 24px; }
  .dgi__type { display: none; }
  .dgi__legend span { font-size: 22px; }
  .dgi__legend i { width: 18px; height: 18px; }
  .dgi__bd { display: none; }  /* per-type drill-down is desktop detail */

  /* 3 · Alerts · Triage — hero only, centred; the fleet list is desktop detail */
  .dgal { grid-template-columns: 1fr; justify-items: center; top: 128px; bottom: 56px; }
  .dgal__list { display: none; }
  .dgal__hero { align-items: center; text-align: center; width: 100%; max-width: 940px; }
  .dgal__idrow { justify-content: center; gap: 24px; margin: 22px 0 8px; }
  .dgal__thumb { width: 104px; height: 104px; border-radius: 18px; }
  .dgal__thumb svg { width: 44px; height: 44px; }
  /* alert thumb photo fills the tile via object-fit:cover — no size override needed */
  .dgal__thumb-cap { font-size: 13px; }
  .dgal__eyebrow { font-size: 24px; gap: 14px; }
  .dgal__eyebrow i { width: 16px; height: 16px; }
  .dgal__id { font-size: 50px; }
  .dgal__loc { font-size: 22px; }
  .dgal__content { font-size: 24px; justify-content: center; margin-top: 18px; gap: 12px; }
  .dgal__content i { width: 18px; height: 18px; }
  .dgal__big { font-size: 138px; margin: 30px 0 12px; }
  .dgal__big small { font-size: 52px; margin-top: 16px; }
  .dgal__big svg { width: 50px; height: 50px; margin-top: 20px; }
  .dgal__delta { font-size: 25px; }
  .dgal__gauge { margin-top: 56px; width: 100%; max-width: 900px; }
  .dgal__track { height: 26px; border-radius: 14px; }
  .dgal__limit { top: -12px; bottom: -12px; }
  .dgal__limit span { font-size: 19px; top: -36px; }
  .dgal__pin { width: 36px; height: 36px; border-width: 3px; }
  .dgal__allowed { height: 26px; }
  .dgal__allowed span { font-size: 19px; top: 28px; }
  .dgal__scale { font-size: 22px; margin-top: 34px; }

  /* 4 · Routing — node labels enlarged; sub-labels + street names dropped */
  .dgr__node-label { font-size: 26px; }
  .dgr__node-sub { display: none; }
  .dgr__note-eta { left: 50% !important; top: 104px !important; transform: translateX(-50%); }
  .dgr__note-transit { left: 50% !important; top: 600px !important; transform: translateX(-50%); }

  /* 5 · Condition — band label enlarged; axes hidden; deviation chip up top */
  .dgc__band-label { font-size: 24px; }
  .dgc__axis, .dgc__ylabel { display: none; }
  .dgc__dev-note { left: auto !important; right: 48px !important; top: 46px !important; }
  .dgc__alertnote-id { font-size: 24px; gap: 12px; }
  .dgc__alertnote-dot { width: 15px; height: 15px; }
  .dgc__alertnote-rd { font-size: 20px; gap: 10px; }

  /* 6 · Passport — wider card, bigger fields; drop media column + foot detail */
  .dgp2__card { width: 1120px !important; }
  .dgp2__body { grid-template-columns: 1fr !important; }
  .dgp2__media { display: none !important; }
  .dgp2__foot { display: none !important; }
  .dgp2__grid { gap: 28px 32px; padding: 30px 34px; }
  .dgp2__id { font-size: 40px; }
  .dgp2__kind { font-size: 22px; }
  .dgp2__verified { font-size: 21px; }
  .dgp2__f-k { font-size: 20px; }
  .dgp2__f-v { font-size: 30px; }

  /* 7 · Agent — enlarge question, answer lead + bars; drop steps + suggestions */
  .dga2__steps, .dga2__suggest { display: none; }
  .dga2__q { font-size: 34px; max-width: 920px; margin-left: 40px; }
  .dga2__q-av { width: 52px; height: 52px; font-size: 18px; border-radius: 12px; }
  .dga2__a-lead { font-size: 34px; }
  .dga2__a-bot { width: 46px; height: 46px; font-size: 24px; border-radius: 12px; }
  .dga2__bar-row { grid-template-columns: 240px 1fr 130px; gap: 22px; }
  .dga2__bar-site { font-size: 26px; }
  .dga2__bar-sitesub { font-size: 15px; }
  .dga2__bar-track { height: 18px; }
  .dga2__bar-n { font-size: 24px; }
  .dga2__src { font-size: 21px; }
  .dga2__conf { font-size: 19px; }
  .dga2__chip { display: none; }  /* tertiary CTA — drop on mobile so the foot doesn't overflow */
}
