/* =========================================================
   mintHealth landing page
   Palette: clinical paper, scrub-green ink, surgical mint
   ========================================================= */

@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  src: url(/assets/fonts/mona-sans-latin-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  src: url(/assets/fonts/mona-sans-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F3F6F4;
  --white: #FFFFFF;
  --ink: #10201A;
  --ink-2: #4A5A53;
  --ink-3: #87958F;
  --line: rgba(16, 32, 26, .10);
  --line-2: rgba(16, 32, 26, .06);
  --mint: #12B07A;
  --mint-deep: #0A8C60;
  --mint-glow: #3DE0A2;
  --mint-pale: #E2F5EC;
  --night: #07130F;
  --night-2: #0D1E18;
  --on-night: #E7F1EC;
  --on-night-2: rgba(231, 241, 236, .58);
  --amber: #D9901A;
  --amber-pale: #FBF0DC;
  --red: #D6453D;
  --red-pale: #FBE5E3;

  --pad: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --r-lg: clamp(22px, 2.4vw, 32px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow-card: 0 1px 1px rgba(16,32,26,.04), 0 8px 24px -8px rgba(16,32,26,.10), 0 40px 80px -40px rgba(16,32,26,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "tnum" 0;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--mint-pale); color: var(--ink); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--ink-3); }
.sm { font-size: 13px; }
.mint { color: var(--mint-deep); }

/* ---------- type ---------- */
.h2 {
  font-size: clamp(2.3rem, 4.9vw, 4.6rem);
  font-weight: 330;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.h2--night { color: var(--on-night); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.lede--night { color: var(--on-night-2); }
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 520; letter-spacing: -.005em;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1F342B; }
.btn--ghost { background: rgba(255,255,255,.66); border: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--ghost:hover { background: #fff; }
.btn--mint { background: var(--mint-glow); color: #03140D; }
.btn--mint:hover { background: #6CEBBB; }
.btn--glass { background: rgba(255,255,255,.07); color: var(--on-night); border: 1px solid rgba(255,255,255,.16); }
.btn--glass:hover { background: rgba(255,255,255,.14); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 60; top: 14px; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-inline: clamp(12px, 2vw, 28px);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-l { display: flex; gap: 6px; align-items: center; }
.pill {
  display: flex; align-items: center; gap: 2px;
  padding: 5px; border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(16,32,26,.07);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 1px 2px rgba(16,32,26,.04), 0 10px 30px -14px rgba(16,32,26,.18);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.pill--brand { height: 50px; padding: 0 18px 0 14px; gap: 9px; font-weight: 640; font-size: 16px; letter-spacing: -.02em; }
.pill--brand .mark { width: 21px; height: 21px; color: var(--mint); }
.pill--links a, .nav-home {
  padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.pill--links a:hover, .nav-home:hover { background: rgba(16,32,26,.06); color: var(--ink); }
.pill--links a.is-active { background: var(--ink); color: #fff; }
.nav.on-night .pill { background: rgba(9, 22, 17, .62); border-color: rgba(255,255,255,.09); color: var(--on-night); box-shadow: none; }
.nav.on-night .pill--links a, .nav.on-night .nav-home { color: var(--on-night-2); }
.nav.on-night .pill--links a:hover, .nav.on-night .nav-home:hover { background: rgba(255,255,255,.08); color: var(--on-night); }
.nav.on-night .pill--links a.is-active { background: rgba(255,255,255,.92); color: var(--ink); }
.nav.on-night .btn--dark { background: var(--mint-glow); color: #03140D; }
.mark { flex: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(120px, 17vh, 180px); }
.hero-aura {
  position: absolute; inset: -10% 0 auto 0; height: 130vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(61,224,162,.20), transparent 70%),
    radial-gradient(50% 45% at 12% 60%, rgba(18,176,122,.10), transparent 70%),
    radial-gradient(70% 40% at 50% 100%, rgba(255,255,255,.9), transparent 70%);
}
.hero-by { font-size: 15px; color: var(--ink-2); margin-bottom: clamp(18px, 2.4vh, 28px); display: flex; align-items: center; gap: 10px; }
.hero-by::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(18,176,122,.15); }
.hero-title {
  font-size: clamp(3.1rem, 8.6vw, 9.25rem);
  font-weight: 290;
  line-height: .94;
  letter-spacing: -0.058em;
  margin-left: -.04em;
}
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap;
  margin-top: clamp(28px, 4.4vh, 48px);
}
.hero-sub { max-width: 46ch; font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--ink-2); line-height: 1.55; }

.device-stage {
  position: relative;
  margin-top: clamp(56px, 9vh, 104px);
  padding-inline: var(--pad);
  perspective: 2200px;
  perspective-origin: 50% 0%;
}
.device {
  position: relative;
  max-width: 1240px; margin: 0 auto;
  padding: clamp(7px, 1vw, 13px);
  border-radius: clamp(18px, 2.8vw, 40px);
  background: linear-gradient(160deg, #2A322F 0%, #121715 45%, #1E2522 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 2px 4px rgba(16,32,26,.08),
    0 50px 100px -30px rgba(16,32,26,.35),
    0 120px 160px -80px rgba(10,140,96,.30);
  transform-origin: 50% 0%;
  will-change: transform;
}
.device::after { /* glass sheen */
  content: ""; position: absolute; inset: clamp(7px, 1vw, 13px); border-radius: clamp(12px, 2vw, 28px); pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 28%);
  mix-blend-mode: soft-light;
}
.device-scaler {
  --s: .6;
  position: relative; width: 100%; aspect-ratio: 1200 / 760;
  border-radius: clamp(12px, 2vw, 28px); overflow: hidden; background: #F7FAF8;
}
.screen { position: absolute; left: 0; top: 0; width: 1200px; height: 760px; transform: scale(var(--s)); transform-origin: 0 0; }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 2px rgba(16,32,26,.06), 0 18px 40px -16px rgba(16,32,26,.28);
  font-size: 14px; color: var(--ink-2); white-space: nowrap;
}
.chip b { color: var(--ink); font-weight: 600; }
.chip-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: #fff; font-style: normal; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.chip-dot { width: 10px; height: 10px; margin: 0 4px 0 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(18,176,122,.18); }
.chip--a { left: max(var(--pad), 3%); top: 22%; }
.chip--b { right: max(var(--pad), 4%); top: -3%; }
.chip--c { right: max(calc(var(--pad) + 2%), 7%); top: 58%; }

/* console (fixed 1200x760 coordinate space) */
.con { display: flex; height: 100%; font-size: 14px; color: var(--ink); background: linear-gradient(180deg, #FBFDFC 0%, #F2F6F4 100%); }
.con-side { width: 72px; flex: none; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 26px; background: rgba(255,255,255,.6); }
.con-side svg { width: 26px; height: 26px; color: var(--mint); margin-bottom: 14px; }
.con-side i { width: 34px; height: 34px; border-radius: 11px; background: rgba(16,32,26,.05); }
.con-side i.on { background: var(--ink); }
.con-main { flex: 1; padding: 26px 30px 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.con-top { display: flex; justify-content: space-between; align-items: flex-end; }
.con-org { font-size: 13px; color: var(--ink-3); margin-bottom: 4px; }
.con-h { font-size: 26px; font-weight: 450; letter-spacing: -.03em; }
.seg { display: flex; background: rgba(16,32,26,.05); border-radius: 999px; padding: 4px; font-size: 13px; }
.seg span { padding: 7px 14px; border-radius: 999px; color: var(--ink-2); }
.seg span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,32,26,.12); }
.con-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 0; }
.tile { background: #fff; border-radius: 20px; padding: 18px 20px; border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgba(16,32,26,.03); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.tile-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); gap: 10px; }
.tile--gantt { grid-column: 1 / 3; }
.tile--chart { grid-column: 1 / 3; }
.big { font-size: 54px; font-weight: 300; letter-spacing: -.05em; line-height: 1; margin-top: auto; font-variant-numeric: tabular-nums; }
.big small { font-size: .45em; letter-spacing: 0; margin-left: 2px; color: var(--ink-2); }
.spark { width: 100%; height: 44px; margin-top: 14px; color: var(--mint); }
.ring-wrap { position: relative; margin: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; }
.ring { width: 96px; height: 96px; transform: rotate(-90deg); order: 2; }
.ring circle { fill: none; stroke-width: 7; }
.ring-bg { stroke: rgba(16,32,26,.07); }
.ring-fg { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); }
.big--ring { font-size: 46px; }
.gantt { position: relative; margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-bottom: 6px; }
.g-row { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 8px; }
.g-or { font-size: 12px; color: var(--ink-3); }
.g-track { position: relative; height: 30px; border-radius: 9px; background: rgba(16,32,26,.035); }
.g-track b { position: absolute; top: 3px; bottom: 3px; left: calc(var(--x) * 1%); width: calc(var(--w) * 1% - 4px); border-radius: 7px; background: #CDE9DC; }
.g-track b.hl { background: var(--mint); }
.g-now { position: absolute; top: -6px; bottom: 0; left: calc(54px + (100% - 54px) * var(--x) / 100); width: 2px; background: var(--ink); border-radius: 2px; }
.g-now::before { content: ""; position: absolute; top: -4px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.legend i { width: 10px; height: 3px; border-radius: 2px; display: inline-block; margin-left: 8px; }
.legend .l1 { background: var(--mint); }
.legend .l2 { background: repeating-linear-gradient(90deg, var(--ink-3) 0 3px, transparent 3px 5px); }
.chart { width: 100%; flex: 1; margin-top: 14px; min-height: 0; }
.chart .grid line { stroke: rgba(16,32,26,.06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .budget { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.chart .area { fill: rgba(18,176,122,.08); }
.chart .line { fill: none; stroke: var(--mint); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.badge { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--amber-pale); color: #9A6208; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.rv { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.rv li { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 14px; background: #F7FAF8; border: 1px solid var(--line-2); }
.rv b { display: block; font-weight: 560; font-size: 13.5px; }
.rv span { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.4; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-top: 6px; display: inline-block; }
.dot--amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(217,144,26,.15); }
.deliv-t { margin-top: auto; font-size: 30px; font-weight: 350; letter-spacing: -.04em; }
.track { height: 6px; border-radius: 6px; background: rgba(16,32,26,.07); margin: 14px 0 10px; overflow: hidden; }
.track i { display: block; height: 100%; width: calc(var(--p) * 1%); background: var(--mint); border-radius: 6px; }

/* ---------- statement ---------- */
.statement { padding-top: clamp(140px, 22vh, 260px); padding-bottom: clamp(110px, 16vh, 200px); }
.scrub {
  font-size: clamp(1.9rem, 4.5vw, 4.4rem);
  font-weight: 340;
  line-height: 1.1;
  letter-spacing: -0.042em;
  max-width: 21em;
  text-wrap: pretty;
}
.scrub .w { display: inline; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: clamp(80px, 12vh, 140px);
}
.stat { border-top: 1px solid var(--line); padding-top: 22px; }
.stat-n { font-size: clamp(2.8rem, 5.6vw, 5.2rem); font-weight: 280; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-l { margin-top: 14px; color: var(--ink-2); max-width: 24ch; }

/* ---------- problems ---------- */
.problems { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(40px, 6vw, 120px); padding-bottom: clamp(120px, 18vh, 220px); }
.problems .h2 { position: sticky; top: 120px; align-self: start; max-width: 11ch; }
.prob-list { display: flex; flex-direction: column; }
.prob { display: grid; grid-template-columns: 72px 1fr; gap: 6px 28px; padding: 34px 0 38px; border-top: 1px solid var(--line); }
.prob:last-child { border-bottom: 1px solid var(--line); }
.prob-ic { width: 60px; height: 60px; grid-row: span 2; }
.prob-ic .d { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.prob-ic .d--mint { stroke: var(--mint); stroke-width: 2.2; }
.prob h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 470; letter-spacing: -.025em; line-height: 1.2; }
.prob p { color: var(--ink-2); max-width: 48ch; margin-top: 6px; }

/* ---------- night panels ---------- */
.night { padding-inline: clamp(6px, 1vw, 14px); }
.night-in {
  position: relative; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 0%, #0F241C 0%, var(--night) 60%);
  color: var(--on-night);
  border-radius: clamp(26px, 3.4vw, 52px);
  padding-block: clamp(100px, 15vh, 190px);
  transform-origin: 50% 0%;
}

/* agents */
.agents-head { display: grid; grid-template-columns: 7fr 5fr; align-items: end; gap: 32px 64px; }
.net-wrap { margin-top: clamp(40px, 7vh, 90px); }
.net { width: 100%; height: auto; overflow: visible; }
.net-paths path { fill: none; stroke: rgba(61,224,162,.26); stroke-width: 1.5; }
.pulses circle { fill: var(--mint-glow); filter: drop-shadow(0 0 6px rgba(61,224,162,.9)); }
.pulses .pulse-b { fill: #fff; }
.core-ring { fill: none; stroke: rgba(61,224,162,.45); stroke-width: 1.5; }
.core-dot { fill: var(--mint); }
.core-plus { stroke: #fff; stroke-width: 6; stroke-linecap: round; fill: none; }
.core-glow { animation: breathe 5s ease-in-out infinite; transform-origin: 600px 310px; }
@keyframes breathe { 50% { opacity: .55; transform: scale(.9); } }
.agent circle { fill: var(--night); stroke: var(--mint-glow); stroke-width: 2.5; }
.agent text { fill: var(--on-night); font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.agent .t2 { fill: var(--on-night-2); font-size: 15px; font-weight: 400; }
.sys rect { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.16); }
.sys text { fill: var(--on-night); font-size: 15px; }
.net-list { display: none; }

/* ---------- how it works (pinned) ---------- */
.how { position: relative; }
.how-pin { padding-block: clamp(110px, 14vh, 150px) clamp(60px, 8vh, 100px); }
.anim .how-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 92px 28px; }
.how-top { position: relative; }
.rail { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(26px, 4vh, 44px); }
.rail-i { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; color: var(--ink-3); transition: color .5s var(--ease); font-size: 15px; }
.rail-n { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); font-size: 13px; font-variant-numeric: tabular-nums; background: var(--paper); transition: all .5s var(--ease); flex: none; }
.rail-i.is-on, .rail-i.is-done { color: var(--ink); }
.rail-i.is-on .rail-n { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail-i.is-done .rail-n { background: var(--mint); border-color: var(--mint); color: #fff; }
.rail-line { height: 1px; background: var(--line); position: relative; }
.rail-line i { position: absolute; inset: 0; background: var(--mint); transform: scaleX(1); transform-origin: 0 50%; }
.how-body { display: grid; grid-template-columns: 4fr 7fr; gap: 32px clamp(32px, 5vw, 88px); margin-top: clamp(28px, 5vh, 56px); align-items: center; }
.how-copy { display: grid; gap: 36px; }
.how-k { font-size: 14px; color: var(--mint-deep); margin-bottom: 10px; font-weight: 520; }
.how-step h3 { font-size: clamp(1.9rem, 3.2vw, 3.1rem); font-weight: 320; letter-spacing: -.045em; line-height: 1.04; }
.how-step p:last-child { color: var(--ink-2); margin-top: 14px; max-width: 38ch; font-size: clamp(1rem, 1.2vw, 1.12rem); }

.stage {
  --sw: 36%;
  background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; overflow: hidden;
  height: clamp(380px, 56vh, 540px);
}
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line-2); }
.stage-title { font-size: 15px; font-weight: 560; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.ex { font-size: 11px; font-weight: 500; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.kpis { display: flex; gap: 18px; }
.kpi { display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.3; transition: opacity .4s var(--ease); }
.kpi span { color: var(--ink-3); }
.kpi b { font-size: 15px; font-weight: 560; font-variant-numeric: tabular-nums; }
.stage-view { position: relative; flex: 1; overflow: hidden; }
.sched { position: absolute; left: 0; top: 0; bottom: 0; width: var(--sw); border-right: 1px solid var(--line-2); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; background: #FAFCFB; }
.sched-r { display: grid; grid-template-columns: 46px 1fr auto; gap: 8px; align-items: center; padding: 10px 10px; border-radius: 12px; font-size: 13.5px; }
.sched-r .t { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sched-r .p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched-r .n { font-size: 12px; color: var(--mint-deep); background: var(--mint-pale); padding: 2px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.lines { position: absolute; top: 0; bottom: 0; left: var(--sw); width: calc(100% - var(--sw)); padding: 6px 18px; }
.ln-h, .ln-r { display: grid; grid-template-columns: minmax(0, 1fr) 34px 168px 92px; gap: 12px; align-items: center; }
.ln-h { font-size: 11.5px; color: var(--ink-3); padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.ln-r { font-size: 13.5px; padding: 11px 0; border-bottom: 1px solid var(--line-2); position: relative; }
.ln-r .it { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-r .q { color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; }
.ln-r .c-con { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ln-r s { color: var(--ink-3); font-size: 12px; }
.ln-r .c-con b { font-weight: 600; color: var(--mint-deep); }
.ln-r .c-con b.amber { color: #A86A04; }
.ln-r em { font-style: normal; font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.ln-r.is-flag::before { content: ""; position: absolute; inset: 2px -10px; background: var(--amber-pale); border-radius: 10px; z-index: -1; opacity: var(--flag, 1); }
.ln-r { isolation: isolate; }
.c-chk { display: flex; gap: 6px; }
.c-chk i { width: 18px; height: 18px; border-radius: 50%; background: var(--mint); position: relative; }
.c-chk i::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ln-more { font-size: 12.5px; color: var(--ink-3); padding: 12px 0; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 90px; transform: translateY(-120%); pointer-events: none;
  background: linear-gradient(180deg, rgba(61,224,162,0) 0%, rgba(61,224,162,.16) 85%, rgba(18,176,122,.9) 100%); opacity: 0; }
.po {
  position: absolute; left: 50%; top: 50%; width: min(440px, 88%);
  transform: translate(-50%, -50%);
  background: #fff; border-radius: 24px; padding: 24px;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(16,32,26,.28), 0 0 0 8px rgba(18,176,122,.06);
  display: none;
}
.po-h { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.po-k { font-size: 12.5px; color: var(--ink-3); }
.po-id { font-size: 26px; font-weight: 400; letter-spacing: -.035em; grid-row: 2; }
.po-ok { grid-row: span 2; display: inline-flex; align-items: center; gap: 6px; background: var(--mint-pale); color: var(--mint-deep); font-weight: 600; font-size: 14px; padding: 8px 14px 8px 10px; border-radius: 999px; }
.po-ok svg { width: 18px; height: 18px; }
.po-g { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.po-g dt { font-size: 12px; color: var(--ink-3); }
.po-g dd { font-size: 16px; font-weight: 520; }
.po-track { position: relative; margin-top: 22px; height: 4px; border-radius: 4px; background: rgba(16,32,26,.07); display: flex; justify-content: space-between; }
.po-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--mint); border-radius: 4px; }
.po-track span { position: relative; top: 14px; font-size: 11.5px; color: var(--ink-3); }
.po-ex { margin-top: 38px; font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }

/* static (no JS animation) fallbacks for the pinned scene */
html:not(.anim) .how-step .how-k { color: var(--mint-deep); }
html:not(.anim) .rail-line i { transform: scaleX(1); }

/* animated mode for the pinned scene */
.anim .how-copy { display: block; position: relative; min-height: 15.5em; }
.anim .how-step { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.anim .how-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.anim .rail-line i { transform: scaleX(0); }
.anim .kpi { opacity: .28; }
.anim .kpi.is-on { opacity: 1; }
.anim .kpi.is-cur b { color: var(--mint-deep); }
.anim .po { display: block; opacity: 0; }

/* ---------- safety ---------- */
.safety { display: grid; grid-template-columns: 6fr 5fr; gap: 64px clamp(40px, 6vw, 110px); align-items: center; padding-block: clamp(120px, 18vh, 220px); }
.safety .lede { margin-top: 22px; }
.guards { margin-top: clamp(36px, 6vh, 56px); }
.guards li { padding: 22px 0 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.guards li::before { content: ""; grid-row: span 2; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--mint-pale); box-shadow: inset 0 0 0 6px var(--mint-pale), inset 0 0 0 11px var(--mint); }
.guards h3 { font-size: 1.15rem; font-weight: 540; letter-spacing: -.015em; }
.guards p { color: var(--ink-2); margin-top: 4px; }
.passports { position: relative; padding-top: 70px; }
.pass { position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
.pass--blocked { position: absolute; left: 6%; right: -2%; top: 0; transform: rotate(-3deg); padding: 20px 22px; background: #FFFCFB; z-index: 0; }
.pass:not(.pass--blocked) { z-index: 1; margin-top: 30px; }
.pass-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pass-n { font-weight: 560; font-size: 16px; letter-spacing: -.01em; }
.pass-m { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; max-width: 40ch; }
.tag { font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.tag--mint { background: var(--mint-pale); color: var(--mint-deep); }
.tag--red { background: var(--red-pale); color: var(--red); }
.barcode { width: 100%; height: 54px; margin-top: 22px; color: var(--ink); }
.udi { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; margin-top: 8px; font-variant-numeric: tabular-nums; word-break: break-all; }
.checks { margin-top: 18px; border-top: 1px solid var(--line-2); }
.checks li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.checks b { font-weight: 560; }
.ck { width: 20px; height: 20px; border-radius: 50%; background: var(--mint); position: relative; transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.ck::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: opacity .3s var(--ease); }
.anim .checks li:not(.is-ok) .ck { background: rgba(16,32,26,.08); }
.anim .checks li:not(.is-ok) .ck::after { opacity: 0; }
.anim .checks li:not(.is-ok) b { color: var(--ink-3); }
.cost { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.cost > div { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.cost-x { background: var(--amber-pale); color: #8A5605; }
.cost-t { font-weight: 600; border-top: 1px solid var(--line-2); border-radius: 0; margin-top: 4px; padding-top: 12px; }

/* ---------- who ---------- */
.who { padding-bottom: clamp(120px, 18vh, 220px); }
.who .h2 { max-width: 15ch; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(24px, 3vw, 48px); margin-top: clamp(48px, 8vh, 88px); }
.role { border-top: 1px solid var(--ink); padding-top: 22px; }
.role h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); font-weight: 450; letter-spacing: -.03em; }
.role p { color: var(--ink-2); margin-top: 10px; max-width: 34ch; }

/* ---------- engine ---------- */
.engine .h2 { max-width: none; }
.engine .lede { margin-top: 24px; }
.eng { margin-top: clamp(56px, 9vh, 100px); border-top: 1px solid rgba(255,255,255,.12); }
.eng-r { display: grid; grid-template-columns: 200px minmax(0, 1fr) 200px; gap: 24px clamp(24px, 4vw, 64px); align-items: center; padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.eng-l { position: relative; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 20px; font-weight: 400; color: var(--on-night); }
.beam { position: absolute; left: 50%; top: calc(50% + 24px); height: calc(100% + 24px); width: 1px; background: rgba(255,255,255,.18); overflow: hidden; }
.beam::before { content: ""; position: absolute; left: -1px; width: 3px; height: 40%; top: -40%; border-radius: 3px; background: linear-gradient(180deg, transparent, var(--mint-glow), transparent); box-shadow: 0 0 12px 2px rgba(61,224,162,.6); animation: beam 2.8s cubic-bezier(.5,0,.3,1) infinite; }
.eng-r:nth-child(2) .beam::before { animation-delay: 1.4s; }
@keyframes beam { to { top: 100%; } }
.eng-c h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 470; letter-spacing: -.02em; }
.eng-c p { color: var(--on-night-2); margin-top: 8px; max-width: 54ch; }
.eng-v { display: flex; justify-content: flex-end; }
.eng-v svg { width: 160px; height: 100px; overflow: visible; }
.twin circle { fill: var(--mint-glow); }
.twin .tw-b circle { fill: none; stroke: var(--mint-glow); stroke-width: 1.2; }
.twin circle { animation: twinkle 3s ease-in-out infinite; animation-delay: calc(var(--d) * 1s); }
@keyframes twinkle { 50% { opacity: .25; } }
.tree path { fill: none; stroke: rgba(231,241,236,.55); stroke-width: 1.5; }
.tree .pr { stroke: var(--mint-glow); stroke-dasharray: 3 5; animation: prune 4s ease-in-out infinite; }
@keyframes prune { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
.tree circle { fill: var(--mint-glow); }
.lock rect, .lock path { fill: none; stroke: rgba(231,241,236,.7); stroke-width: 1.8; }
.lock circle:not(.halo) { fill: var(--mint-glow); }
.lock .halo { fill: none; stroke: rgba(61,224,162,.4); stroke-width: 1; transform-origin: 80px 60px; animation: halo 3.2s ease-out infinite; }
@keyframes halo { from { transform: scale(.55); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }

/* ---------- targets ---------- */
.targets { padding-block: clamp(120px, 18vh, 220px) clamp(60px, 10vh, 120px); }
.targets-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 48px; flex-wrap: wrap; }
.targets-head .muted { max-width: 36ch; color: var(--ink-2); }
.tg { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 7vh, 72px); border-top: 1px solid var(--line); }
.tg-i { padding: 26px 24px 8px 0; }
.tg-i + .tg-i { padding-left: 24px; border-left: 1px solid var(--line); }
.tg-n { font-size: clamp(2.4rem, 4.4vw, 4.2rem); font-weight: 280; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tg-i p:last-child { color: var(--ink-2); margin-top: 12px; max-width: 20ch; }

/* ---------- faq ---------- */
.faq { padding-block: clamp(60px, 10vh, 120px) clamp(120px, 18vh, 220px); display: grid; grid-template-columns: 4fr 7fr; gap: 40px clamp(40px, 6vw, 120px); }
.faq .h2 { max-width: 10ch; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa h3 { font-weight: inherit; }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; padding: 26px 0; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 450; letter-spacing: -.02em; }
.qa button i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .35s var(--ease), border-color .35s var(--ease); }
.qa button i::before, .qa button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .45s var(--ease), background-color .35s; }
.qa button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa button:hover i { border-color: var(--ink); }
.qa.is-open button i { background: var(--ink); border-color: var(--ink); }
.qa.is-open button i::before, .qa.is-open button i::after { background: #fff; }
.qa.is-open button i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa-a > div { overflow: hidden; }
.qa-a p { color: var(--ink-2); padding-bottom: 28px; max-width: 60ch; opacity: 0; transition: opacity .4s var(--ease); }
.qa.is-open .qa-a { grid-template-rows: 1fr; }
.qa.is-open .qa-a p { opacity: 1; transition-delay: .1s; }

/* ---------- final ---------- */
.final .night-in { padding-block: clamp(140px, 24vh, 280px); text-align: center; }
.final-aura { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 100%, rgba(61,224,162,.30), transparent 70%),
    radial-gradient(35% 45% at 72% 0%, rgba(18,176,122,.25), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(4%, -3%, 0) scale(1.08); } }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-h { font-size: clamp(2.6rem, 7.2vw, 7.6rem); font-weight: 290; line-height: .98; letter-spacing: -.055em; color: var(--on-night); }
.final .lede { margin-top: 28px; max-width: 44ch; }
.final .cta-row { margin-top: 40px; justify-content: center; }

/* ---------- footer ---------- */
.foot { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding-block: clamp(72px, 10vh, 110px) 32px; }
.foot-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 640; font-size: 20px; letter-spacing: -.02em; }
.foot-logo .mark { width: 24px; height: 24px; color: var(--mint); }
.foot-brand p { color: var(--ink-2); margin-top: 14px; max-width: 34ch; font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: end; gap: 24px clamp(32px, 5vw, 80px); }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-h { color: var(--ink-3); font-size: 13px; margin-bottom: 4px; }
.foot-cols a { color: var(--ink-2); transition: color .2s; }
.foot-cols a:hover { color: var(--ink); }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pill--links a { padding: 9px 11px; }
  .kpis { gap: 12px; }
  .kpi[data-k="0"]:first-child { display: none; }
}
@media (max-width: 980px) {
  .pill--links { display: none; }
  .problems, .safety, .faq, .foot { grid-template-columns: 1fr; }
  .problems .h2 { position: static; max-width: 16ch; }
  .agents-head { grid-template-columns: 1fr; }
  .how-body { grid-template-columns: 1fr; }
  .anim .how-copy { min-height: 9.5em; }
  .how-step h3 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
  .how-step p:last-child { margin-top: 8px; }
  .stage { height: clamp(330px, 46vh, 460px); }
  .passports { max-width: 520px; }
  .foot-cols { justify-content: start; }
  .eng-r { grid-template-columns: 120px minmax(0, 1fr); }
  .eng-v { display: none; }
  .tg { grid-template-columns: 1fr 1fr; }
  .tg-i:nth-child(3) { padding-left: 0; border-left: 0; }
  .tg-i:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .chip { display: none; }
  .who-grid { grid-template-columns: 1fr; }
  .po { padding: 16px 18px; width: 92%; border-radius: 18px; }
  .po-id { font-size: 21px; }
  .po-g { margin-top: 12px; padding-top: 12px; gap: 8px 16px; }
  .po-g dd { font-size: 14.5px; }
  .po-track { margin-top: 14px; }
  .po-ex { display: none; }
  .nav-home { display: none; }
  .pill--brand { height: 46px; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stat { padding-block: 22px; }
  .stat-l { margin-top: 8px; }
  .prob { grid-template-columns: 1fr; padding: 28px 0; }
  .prob-ic { grid-row: auto; width: 48px; height: 48px; margin-bottom: 14px; }
  .net { display: none; }
  .net-list { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.12); }
  .net-list li { padding: 18px 0 18px 28px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
  .net-list li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--mint-glow); box-shadow: 0 0 10px rgba(61,224,162,.6); }
  .net-list b { display: block; font-weight: 520; }
  .net-list span { color: var(--on-night-2); font-size: 15px; }
  .rail { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .rail-t { display: none; }
  .rail-i { padding-bottom: 12px; }
  .stage { --sw: 100%; }
  .stage-bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .kpis { width: 100%; justify-content: space-between; gap: 6px; }
  .kpi[data-k="0"]:first-child { display: flex; }
  .kpi span { font-size: 10.5px; }
  .kpi b { font-size: 13.5px; }
  .ln-h, .ln-r { grid-template-columns: minmax(0, 1fr) 70px 64px; gap: 8px; }
  .ln-h span:nth-child(2), .ln-r .q { display: none; }
  .ln-r { font-size: 12.5px; padding: 10px 0; }
  .ln-r s, .ln-r em { display: none; }
  .c-chk { gap: 3px; }
  .c-chk i { width: 16px; height: 16px; }
  .c-chk i::after { left: 5px; top: 3px; width: 4px; height: 7px; }
  .lines { padding: 4px 14px; }
  .ln-h .c-chk { font-size: 0; }
  .ln-h .c-chk::after { content: "Checks"; font-size: 11px; }
  .ln-h .c-con { font-size: 0; }
  .ln-h .c-con::after { content: "Price"; font-size: 11px; }
  .eng-r { grid-template-columns: 1fr; padding: 28px 0; }
  .eng-l { align-items: flex-start; font-size: 15px; color: var(--mint-glow); }
  .beam { display: none; }
  .tg-i { padding-right: 12px; }
  .tg-i + .tg-i { padding-left: 16px; }
  .tg-i:nth-child(3) { padding-left: 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; }
  .pass { padding: 20px; }
  .final .cta-row { flex-direction: column; width: 100%; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
