:root {
  /* light page chrome — dark product islands re-scope these tokens at the
     bottom of this file, so product mockups render as dark screenshots */
  --bg: #fafafa;
  --bg-deep: #f0f1f4;
  --surface: rgba(23,23,28,0.027);
  --surface-2: rgba(23,23,28,0.05);
  --border: rgba(23,23,28,0.10);
  --border-strong: rgba(23,23,28,0.17);
  --text: #17171c;
  --muted: rgba(23,23,28,0.64);
  --faint: rgba(23,23,28,0.46);
  --dim: rgba(23,23,28,0.30);

  /* brand blue, tuned for white */
  --accent: #3d5bd6;
  --accent-strong: #2b44ac;
  --accent-deep: #6c89e8;
  --accent-rgb: 61,91,214;
  --accent-glow: rgba(var(--accent-rgb),0.25);
  --accent-line: rgba(var(--accent-rgb),0.30);

  /* aurora companions — violet + cyan, used at low alpha only */
  --aurora-violet: rgba(142,125,240,0.11);
  --aurora-cyan: rgba(110,208,224,0.09);

  /* semantic — overcharge flagged vs credit owed back */
  --flag: #b54a2b;
  --flag-bg: rgba(181,74,43,0.08);
  --flag-line: rgba(181,74,43,0.30);
  --good: #157a52;
  --good-bg: rgba(21,122,82,0.08);
  --good-line: rgba(21,122,82,0.30);

  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Geist", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-feature-settings: "ss01", "cv01";
  line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: var(--accent-line); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

/* ambient page glow */
.page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 50% -10%, rgba(var(--accent-rgb),0.14), transparent 70%),
    radial-gradient(800px 700px at 90% 6%, var(--aurora-violet), transparent 70%),
    radial-gradient(900px 800px at 6% 32%, var(--aurora-cyan), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
/* fine grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.shell { position: relative; z-index: 2; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled="true"] {
  background: rgba(250,250,250,0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 26px; height: 26px; display: block; }
.brand__name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }

.nav__menu { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.nav[data-scrolled="true"] .nav__menu { background: rgba(23,23,28,0.03); }
.nav__menu-link {
  font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap;
  padding: 7px 15px; border-radius: 999px; position: relative;
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.nav__menu-link:hover { color: var(--accent-strong); background: rgba(var(--accent-rgb),0.10); box-shadow: 0 0 0 1px var(--accent-line) inset; }
.nav__menu-link[data-current="true"] {
  color: var(--text);
  background: rgba(var(--accent-rgb),0.12);
  box-shadow: 0 0 0 1px var(--accent-line) inset, 0 0 20px -8px var(--accent-glow);
}
.nav__menu-link[data-current="true"]::after { display: none; }

.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__link {
  font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.nav__link:hover { color: var(--accent-strong); border-color: var(--accent-line); background: rgba(var(--accent-rgb),0.10); box-shadow: 0 0 0 1px var(--accent-line) inset; }
.nav__signin { font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap; transition: color .2s var(--ease); }
.nav__signin:hover { color: var(--accent-strong); }

.nav__burger { display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text); align-items: center; justify-content: center; }
.nav__burger svg { width: 18px; height: 18px; }
.nav__mobile { display: none; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint);
}
.badge {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 6px 13px 6px 11px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 12.5px; color: var(--muted); backdrop-filter: blur(8px);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb),0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),0); }
}

.headline {
  font-weight: 600; letter-spacing: -0.04em; line-height: 1.0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  text-wrap: balance;
}
.headline .soft { color: var(--muted); }
.subcopy {
  color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55; text-wrap: pretty;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 11px; font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
  padding: 12px 20px; border: 1px solid transparent;
  position: relative; overflow: hidden;
  transition: transform .2s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn--sm { padding: 9px 15px; font-size: 13px; border-radius: 9px; }
.btn--primary {
  background: linear-gradient(180deg, #23232a, #131318);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 26px rgba(20,20,30,0.25);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 12px 32px rgba(20,20,30,0.3); }
.btn--accent {
  background: linear-gradient(180deg, #5571e0, var(--accent));
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.5) inset, 0 10px 30px rgba(var(--accent-rgb),0.28);
}
.btn--accent:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.7) inset, 0 14px 36px rgba(var(--accent-rgb),0.36); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { color: var(--accent-strong); border-color: var(--accent-line); background: rgba(var(--accent-rgb),0.10); box-shadow: 0 0 0 1px var(--accent-line) inset, 0 0 22px -10px var(--accent-glow); transform: translateY(-1px); }
.btn--ghost:hover .arr { color: var(--accent-strong); }
.btn .arr { transition: transform .25s var(--ease); display: inline-flex; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- video frame ---------- */
.vframe {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.22);
  background: var(--bg-deep);
  padding: 0;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 0 0 6px rgba(255,255,255,0.03),
    0 40px 120px -30px rgba(0,0,0,0.8),
    0 0 80px -20px var(--accent-glow);
}
.vframe::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.vframe__media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vframe__media video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.vframe__media video::-webkit-media-controls,
.vframe__media video::-webkit-media-controls-enclosure,
.vframe__media video::-webkit-media-controls-panel { display: none !important; -webkit-appearance: none; }
.vframe__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,20,22,0.0) 60%, rgba(20,20,22,0.35));
}
.vframe__sound {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--text);
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(8,8,10,0.62);
  backdrop-filter: blur(12px);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.vframe__sound svg { width: 15px; height: 15px; }
.vframe__sound:hover { background: rgba(8,8,10,0.8); border-color: var(--accent-line); color: var(--accent-strong); transform: translateY(-1px); }
.glow-pad { position: relative; }
.glow-pad::before {
  content: ""; position: absolute; left: 50%; top: 46%; translate: -50% -50%;
  width: 78%; height: 70%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
  filter: blur(60px); opacity: .55; z-index: -1;
}

/* ---------- hero (landing) ---------- */
.hero { position: relative; padding-top: 132px; }
.hero__pre { display: flex; justify-content: center; margin-bottom: 26px; }
.heroA { text-align: center; }
.heroA .headline { margin-bottom: 22px; font-size: clamp(2.3rem, 4.9vw, 4.1rem); }
.heroA .subcopy { max-width: 600px; margin: 0 auto 30px; }
.heroA__media { margin: 40px auto 44px; }

/* ---------- waitlist ---------- */
.waitlist { width: 100%; max-width: 440px; }
.waitlist--center { margin: 0 auto; }
.wl__row { display: flex; gap: 9px; }
.wl__input {
  flex: 1; min-width: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 11px; padding: 12px 15px; color: var(--text); font-size: 14px;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.wl__input::placeholder { color: var(--faint); }
.wl__input:focus { outline: none; border-color: var(--accent-line); background: var(--surface); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.12); }
.wl__note { margin-top: 10px; font-size: 12px; color: var(--faint); display: flex; align-items: center; gap: 7px; }
.waitlist--center .wl__note { justify-content: center; font-size: 14px; margin-top: 13px; }
.wl__success {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  border: 1px solid var(--accent-line); background: rgba(var(--accent-rgb),0.06);
  border-radius: 14px; padding: 18px 20px;
}
.waitlist--center .wl__success { align-items: center; text-align: center; }
.wl__success-title { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 9px; }
.wl__success-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }
.wl__err { margin-top: 9px; font-size: 12.5px; color: #f3a3a3; }

/* ---------- marquee / capability strip ---------- */
.strip {
  position: relative; margin-top: 120px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(var(--accent-rgb),0.06), transparent 62%),
    linear-gradient(180deg, rgba(23,23,28,0.015), rgba(23,23,28,0));
}
.strip__rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.strip__track { display: flex; gap: 0; width: max-content; animation: scroll 42s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }
.strip__item {
  display: flex; align-items: center; gap: 11px;
  padding: 18px 32px; font-size: 14px; font-weight: 700;
  color: var(--text); letter-spacing: -0.01em; white-space: nowrap;
  border-right: 1px solid var(--border);
}
.strip__ico {
  width: 30px; height: 30px; flex: none; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); border: 1px solid var(--accent-line);
  background: rgba(var(--accent-rgb),0.08);
  box-shadow: 0 0 18px -6px var(--accent-glow);
}
.strip__ico svg { width: 15px; height: 15px; }

/* ---------- section ---------- */
.section { padding: 116px 0; }
.section--tight { padding: 80px 0; }
.section__head { max-width: 640px; margin-bottom: 60px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; margin-top: 16px; }
.section__sub { color: var(--muted); margin-top: 16px; font-size: 1.125rem; line-height: 1.55; }

/* features — grouped by product area */
.fgroup { margin-top: 52px; }
.fgroup:first-of-type { margin-top: 0; }
.fgroup__head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.fgroup__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.fgroup__rule { flex: 1; height: 1px; background: var(--border); }
.fgroup__link { font-family: var(--mono); font-size: 11.5px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: gap .2s var(--ease); }
.fgroup__link:hover { gap: 9px; }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fgrid--3 { grid-template-columns: repeat(3, 1fr); }
.fcard {
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  padding: 22px 20px 24px; display: block;
  position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fcard:hover {
  border-color: var(--accent-line); background: var(--surface-2); transform: translateY(-3px);
  box-shadow: 0 18px 44px -22px rgba(20,20,40,0.22), 0 0 40px -18px var(--accent-glow);
}
a.fcard { position: relative; }
a.fcard .fcard__go { position: absolute; top: 20px; right: 18px; color: var(--faint); opacity: 0; transform: translateX(-3px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
a.fcard:hover .fcard__go { opacity: 1; transform: none; color: var(--accent); }
.fcard__ico {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent-line); background: rgba(var(--accent-rgb),0.06);
  color: var(--accent); margin-bottom: 16px;
}
.fcard__ico svg { width: 18px; height: 18px; }
.fcard__title { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 7px; }
.fcard__desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- value: catch overcharges + credits ---------- */
.guard__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 60px; align-items: center; }
.guard__copy .section__title { margin-top: 16px; }
.guard__copy .section__sub { max-width: 480px; }
.guard__kicker { margin-top: 20px; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.025em; color: var(--text); }
.guard__kicker span { color: var(--accent); }
.guard__points { display: flex; flex-direction: column; gap: 20px; margin-top: 34px; }
.gpoint { display: flex; gap: 15px; }
.gpoint__ico {
  flex: none; width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--accent-line); background: rgba(var(--accent-rgb),0.06);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
}
.gpoint__ico svg { width: 16px; height: 16px; }
.gpoint__t { font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; margin-bottom: 4px; }
.gpoint__d { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- generic product panel (reused across pages) ---------- */
.panel {
  border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.006));
  box-shadow: 0 40px 110px -40px rgba(0,0,0,0.85), 0 0 70px -28px var(--accent-glow);
}
.panel__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.panel__title b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.panel__title span { display: block; font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 4px; letter-spacing: 0.02em; }
.panel__chip { flex: none; font-family: var(--mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--border); color: var(--muted); }
.panel__chip--flag { background: var(--flag-bg); color: var(--flag); border-color: var(--flag-line); }
.panel__chip--good { background: var(--good-bg); color: var(--good); border-color: var(--good-line); }
.panel__chip--accent { background: rgba(var(--accent-rgb),0.08); color: var(--accent); border-color: var(--accent-line); }
.panel__sec { padding: 9px 18px 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.panel__sec--div { border-top: 1px solid var(--border); margin-top: 4px; }
.panel__body { padding: 16px 18px; }

/* ledger / row list (reused) */
.ledger { border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.006)); box-shadow: 0 40px 110px -40px rgba(0,0,0,0.85), 0 0 70px -28px var(--accent-glow); }
.ledger__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 17px 18px; border-bottom: 1px solid var(--border); }
.ledger__title b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.ledger__title span { display: block; font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 4px; letter-spacing: 0.02em; }
.ledger__chip { flex: none; font-family: var(--mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; background: var(--flag-bg); color: var(--flag); border: 1px solid var(--flag-line); white-space: nowrap; }
.ledger__sec { padding: 9px 18px 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.ledger__sec--top { border: none; }
.ledger__sec--credit { border-top: 1px solid var(--border); margin-top: 4px; }
.lrow { display: flex; align-items: center; gap: 14px; padding: 10px 18px; }
.lrow + .lrow { border-top: 1px solid rgba(255,255,255,0.045); }
.lrow__dot { flex: none; width: 6px; height: 6px; border-radius: 999px; }
.lrow__dot--ok { background: var(--dim); }
.lrow__dot--flag { background: var(--flag); box-shadow: 0 0 0 3px var(--flag-bg); }
.lrow__dot--good { background: var(--good); box-shadow: 0 0 0 3px var(--good-bg); }
.lrow__dot--accent { background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.12); }
.lrow__main { flex: 1; min-width: 0; }
.lrow__t { font-size: 13.5px; font-weight: 500; }
.lrow__s { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.ltag { flex: none; font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 7px; white-space: nowrap; }
.ltag--ok { color: var(--faint); }
.ltag--flag { color: var(--flag); background: var(--flag-bg); border: 1px solid var(--flag-line); }
.ltag--good { color: var(--good); background: var(--good-bg); border: 1px solid var(--good-line); }
.ltag--accent { color: var(--accent); background: rgba(var(--accent-rgb),0.08); border: 1px solid var(--accent-line); }
.ltag--lock { color: var(--accent); background: rgba(var(--accent-rgb),0.07); border: 1px solid var(--accent-line); display: inline-flex; align-items: center; }
.ltag--lock svg { width: 11px; height: 11px; }
.ledger__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border-top: 1px solid var(--good-line); background: var(--good-bg); }
.ledger__foot span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.ledger__foot b { font-size: 25px; font-weight: 600; color: var(--good); letter-spacing: -0.025em; line-height: 1.1; margin-top: 3px; display: block; }
.ledger__foot small { font-size: 11px; color: var(--faint); white-space: nowrap; }

/* ---------- AI impartial verdict ---------- */
.verdict { border: 1px solid var(--accent-line); border-radius: 14px; background: linear-gradient(180deg, rgba(var(--accent-rgb),0.08), rgba(var(--accent-rgb),0.02)); padding: 16px 17px; }
.verdict--in-panel { border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; }
.verdict__head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.verdict__ai { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-line); padding: 4px 8px 4px 6px; border-radius: 7px; }
.verdict__ai svg { width: 12px; height: 12px; }
.verdict__tag { font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.verdict__title { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; margin-bottom: 6px; }
.verdict__body { font-size: 13px; color: var(--muted); line-height: 1.6; }
.verdict__body strong { color: var(--text); font-weight: 600; }

/* ---------- AI mark (animated dot cluster) ---------- */
.aimark { display: inline-flex; align-items: center; justify-content: center; }

/* ---------- deep-dive page hero ---------- */
.phero { position: relative; padding-top: 150px; padding-bottom: 12px; }
.phero__crumb { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-bottom: 26px; }
.phero__crumb a:hover { color: var(--text); }
.phero__crumb span { color: var(--dim); }
.phero__inner { max-width: 760px; }
.phero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.phero__ico { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--accent-line); background: rgba(var(--accent-rgb),0.07); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.phero__ico svg { width: 20px; height: 20px; }
.phero__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.phero__title { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.03; text-wrap: balance; }
.phero__title .soft { color: var(--muted); }
.phero__sub { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 600px; margin-top: 22px; text-wrap: pretty; }
.phero__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.phero__pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.pill { font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--border); background: var(--surface); padding: 7px 13px; border-radius: 999px; white-space: nowrap; }

/* ---------- deep row (alternating feature blocks) ---------- */
.deep { padding: 50px 0; }
.drow { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.drow--rev .drow__visual { order: -1; }
.drow + .drow { margin-top: 30px; }
.drow__kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; white-space: nowrap; }
.drow__kicker .dot { width: 5px; height: 5px; border-radius: 999px; background: var(--accent); }
.drow__title { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 16px; text-wrap: balance; }
.drow__desc { font-size: 16px; color: var(--muted); line-height: 1.6; max-width: 500px; }
.blist { display: flex; flex-direction: column; gap: 13px; margin-top: 24px; }
.bitem { display: flex; gap: 12px; align-items: flex-start; }
.bitem__ico { flex: none; width: 22px; height: 22px; border-radius: 6px; background: rgba(var(--accent-rgb),0.09); border: 1px solid var(--accent-line); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.bitem__ico svg { width: 13px; height: 13px; }
.bitem__t { font-size: 15px; color: var(--text); line-height: 1.5; }
.bitem__t b { font-weight: 600; }
.bitem__t span { color: var(--muted); }

/* section divider band */
.band { border-top: 1px solid var(--border); }

/* ---------- flow / stepper (tender) ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: f; position: relative; }
.fstep { position: relative; padding: 0 18px; }
.fstep:first-child { padding-left: 0; }
.fstep__n { width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--accent); border: 1px solid var(--accent-line); background: rgba(var(--accent-rgb),0.07); margin-bottom: 18px; position: relative; z-index: 2; }
.fstep__line { position: absolute; top: 17px; left: 34px; right: 0; height: 1px; background: linear-gradient(90deg, var(--accent-line), var(--border)); }
.fstep:last-child .fstep__line { display: none; }
.fstep__t { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; margin-bottom: 8px; }
.fstep__d { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- compare grid (quotes / tender) ---------- */
.cmp { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 13px; overflow: hidden; }
.cmp__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; background: var(--bg); }
.cmp__row--head { background: rgba(255,255,255,0.02); }
.cmp__cell { padding: 12px 15px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.cmp__cell--label { color: var(--muted); }
.cmp__cell--head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--faint); text-transform: uppercase; }
.cmp__cell b { font-weight: 600; color: var(--text); }
.cmp__win { color: var(--good); }
.cmp__lose { color: var(--flag); }

/* ---------- capex chart ---------- */
.capex { display: flex; align-items: flex-end; gap: 12px; height: 200px; padding: 8px 4px 0; }
.cxcol { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; justify-content: flex-end; }
.cxbar { width: 100%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent), var(--accent-deep)); opacity: .85; position: relative; }
.cxbar--ghost { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 5px, transparent 5px, transparent 10px); border: 1px solid var(--border); }
.cxbar--flag { background: linear-gradient(180deg, var(--flag), #9a4f3c); }
.cxyr { font-family: var(--mono); font-size: 11px; color: var(--faint); }

/* ---------- audiences ---------- */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud__card {
  border: 1px solid var(--border); border-radius: 16px; padding: 30px 28px 34px;
  background: var(--surface); position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.aud__card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.aud__num { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 22px; letter-spacing: 0.05em; }
.aud__title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 11px; }
.aud__desc { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* steps / how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  border: 1px solid var(--border); border-radius: 16px; padding: 30px 26px; background: var(--surface);
  position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.step:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.step__n {
  width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  border: 1px solid var(--accent-line); background: rgba(var(--accent-rgb),0.06); margin-bottom: 20px;
}
.step__title { font-weight: 600; font-size: 16px; margin-bottom: 9px; letter-spacing: -0.01em; }
.step__desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* cta */
.cta { position: relative; border: 1px solid var(--border); border-radius: 24px; padding: 70px 40px; text-align: center; overflow: hidden; background: linear-gradient(180deg, var(--surface), rgba(23,23,28,0.012)); }
.cta::before {
  content: ""; position: absolute; left: 50%; top: -40%; translate: -50% 0;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb),0.16), transparent);
  filter: blur(40px); pointer-events: none;
}
.cta__inner { position: relative; max-width: 540px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 54px 0 46px; margin-top: 40px; }
.footer__row { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer__col a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 9px; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 12px; color: var(--dim); }

/* reveal — JS adds .reveal then .in; without JS nothing is ever hidden.
   Entrance uses a fill-backwards animation (not a transition) so it never
   hijacks the element's own hover transitions once it has played. */
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: reveal-in .85s var(--ease) var(--d, 0ms) backwards; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- about page ---------- */
.belief { padding: 96px 0; text-align: center; }
.belief__q { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.18; max-width: 880px; margin: 0 auto; text-wrap: balance; }
.belief__q em { font-style: normal; color: var(--accent); }
.belief__by { margin-top: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* founder */
.founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.founder__portrait { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1 / 1; border-radius: 999px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 30px 90px -30px rgba(0,0,0,0.8), 0 0 70px -22px var(--accent-glow); }
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; }
.founder__meta { margin-top: 22px; }
.founder__name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.founder__role { font-size: 14px; color: var(--accent); margin-top: 4px; }
.founder__loc { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 9px; letter-spacing: 0.03em; }

/* career timeline */
.tl { margin-top: 26px; border-left: 1px solid var(--border-strong); padding-left: 24px; display: flex; flex-direction: column; gap: 22px; }
.tlitem { position: relative; }
.tlitem::before { content: ""; position: absolute; left: -29px; top: 4px; width: 9px; height: 9px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--accent-line); }
.tlitem--past::before { background: var(--dim); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--border); }
.tlitem__yr { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.04em; }
.tlitem__role { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-top: 3px; }
.tlitem__desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 4px; }

/* stat band */
.statband { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(23,23,28,0.02), transparent); }
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 26px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat__n { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.stat__n span { color: var(--accent); }
.stat__l { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.45; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; border: 1px solid var(--border); border-radius: 24px; padding: 54px 48px; background: linear-gradient(180deg, var(--surface), rgba(23,23,28,0.012)); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -10%; top: -50%; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb),0.16), transparent); filter: blur(40px); pointer-events: none; }
.contact__l { position: relative; min-width: 0; }
.contact__methods { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cmethod { display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); border-radius: 13px; padding: 15px 17px; background: var(--surface); position: relative; overflow: hidden; min-width: 0; transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.cmethod:hover { border-color: var(--accent-line); background: rgba(var(--accent-rgb),0.06); transform: translateY(-2px); }
.cmethod__ico { width: 38px; height: 38px; flex: none; border-radius: 10px; border: 1px solid var(--accent-line); background: rgba(var(--accent-rgb),0.08); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.cmethod > span { min-width: 0; }
.cmethod__k { display: block; font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; }
.cmethod__v { display: block; font-size: 15px; font-weight: 500; margin-top: 2px; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; gap: 32px; }
  .founder__card { max-width: 360px; }
  .statgrid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--border); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 40px 28px; }
}
@media (max-width: 600px) {
  .statgrid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav__right .nav__signin { display: none; }
  .drow { grid-template-columns: 1fr; gap: 36px; }
  .drow--rev .drow__visual { order: 0; }
  .flow { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .fstep { padding: 0; }
  .fstep__line { display: none; }
}
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .fgrid, .fgrid--3 { grid-template-columns: 1fr 1fr; }
  .guard__grid { grid-template-columns: 1fr; gap: 44px; }
  .aud, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 13px 20px; }
  .fgrid, .fgrid--3 { grid-template-columns: 1fr; }
  .wl__row { flex-direction: column; }
  .section { padding: 80px 0; }
  .hero { padding-top: 116px; }
  .phero { padding-top: 124px; }
  .heroA__media { margin: 32px auto 36px; }
  .flow { grid-template-columns: 1fr; }
  .cmp__row { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer__cols { gap: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
  .badge__dot { animation: none; }
}

/* ---------- mobile menu panel ---------- */
.nav__mobile.open { display: block; }
.nav__mobile {
  position: fixed; top: 64px; left: 14px; right: 14px; z-index: 59;
  background: rgba(252,252,253,0.97); backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong); border-radius: 16px; padding: 10px;
  box-shadow: 0 30px 70px -20px rgba(20,20,30,0.25);
}
.nav__mobile a { display: block; padding: 12px 14px; border-radius: 10px; font-size: 15px; color: var(--muted); }
.nav__mobile a:hover { background: var(--surface); color: var(--text); }
.nav__mobile .nav__mobile-cta { margin-top: 6px; }

/* ============================================================
   WOW layer — aurora, cinematic entrances, cursor glows, scans
   ============================================================ */

/* ---------- aurora: slow drifting colour fields behind everything ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.aurora i:nth-child(1) { width: 58vw; height: 58vw; left: 2%; top: -20%; background: radial-gradient(closest-side, rgba(var(--accent-rgb),0.10), transparent 70%); animation: drift-a 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 46vw; height: 46vw; right: -10%; top: 0%; background: radial-gradient(closest-side, rgba(142,125,240,0.09), transparent 70%); animation: drift-b 34s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 42vw; height: 42vw; left: 34%; top: 28%; background: radial-gradient(closest-side, rgba(110,208,224,0.08), transparent 70%); animation: drift-c 40s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(9vw, 7vh, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-7vw, 11vh, 0) scale(0.9); } }
@keyframes drift-c { to { transform: translate3d(-10vw, -6vh, 0) scale(1.2); } }

/* ---------- hero: blueprint grid fading out around the headline ---------- */
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 760px;
  background:
    linear-gradient(to right, rgba(23,23,28,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,23,28,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(960px 520px at 50% 10%, #000, transparent 78%);
  mask-image: radial-gradient(960px 520px at 50% 10%, #000, transparent 78%);
  pointer-events: none; z-index: -1;
}

/* ---------- hero entrance: word-by-word headline, rising blocks ---------- */
.hw { display: inline-block; animation: hword 1s var(--ease) both; will-change: transform, filter; }
@keyframes hword {
  from { opacity: 0; transform: translateY(0.55em); filter: blur(12px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.headline .hw {
  background: linear-gradient(180deg, #17171c 30%, rgba(23,23,28,0.78));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.headline .grad .hw {
  background: linear-gradient(100deg, var(--accent-strong) 0%, var(--accent-deep) 45%, var(--accent) 70%, var(--accent-strong) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hword 1s var(--ease) both, headline-sheen 7s linear 1.4s infinite;
}
@keyframes headline-sheen { to { background-position: -250% 0; } }
.rise { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* gradient ink for section + page titles */
.section__title, .phero__title {
  background: linear-gradient(180deg, #17171c 30%, rgba(23,23,28,0.76));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.phero__title .soft, .section__title .soft { color: var(--muted); }

/* ---------- scroll-tilt media (flattens, then drops its transform for crisp text) ---------- */
.tilt { transform-origin: 50% 0%; }

/* ---------- cursor-tracked glow on cards ---------- */
.fcard::before, .aud__card::before, .step::before, .cmethod::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb),0.13), transparent 65%);
}
.fcard:hover::before, .aud__card:hover::before, .step:hover::before, .cmethod:hover::before { opacity: 1; }
.fcard > *, .aud__card > *, .step > *, .cmethod > * { position: relative; z-index: 1; }
.aud__card:hover { border-color: var(--accent-line); box-shadow: 0 18px 44px -22px rgba(20,20,40,0.22), 0 0 40px -18px var(--accent-glow); }

/* ---------- buttons: sheen sweep ---------- */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%;
  transform: skewX(-20deg); pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.30), transparent);
}
.btn:hover::after { animation: btn-sheen .8s var(--ease); }
@keyframes btn-sheen { from { left: -80%; opacity: 1; } to { left: 130%; opacity: 1; } }

/* ---------- ledger: staggered rows + AI scan beam + glowing total ---------- */
.ledger { position: relative; }
.ledger.in .lrow { animation: row-in .6s var(--ease) backwards; }
.ledger.in .ledger__rows .lrow:nth-child(1) { animation-delay: .35s; }
.ledger.in .ledger__rows .lrow:nth-child(2) { animation-delay: .50s; }
.ledger.in .ledger__rows .lrow:nth-child(3) { animation-delay: .65s; }
.ledger.in .ledger__rows .lrow:nth-child(4) { animation-delay: .80s; }
.ledger.in .ledger__foot { animation: row-in .7s var(--ease) 1.0s backwards; }
@keyframes row-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.ledger.in::after {
  content: ""; position: absolute; left: 0; right: 0; top: -80px; height: 80px;
  background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb),0.12), transparent);
  border-bottom: 1px solid rgba(var(--accent-rgb),0.35);
  animation: ledger-scan 1.5s var(--ease) .25s 1 both; pointer-events: none;
}
@keyframes ledger-scan {
  0% { top: -80px; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- marquee: pause on hover ---------- */
.strip__rail:hover .strip__track { animation-play-state: paused; }

/* ---------- CTA: rotating conic border ---------- */
@property --cta-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cta::after {
  content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1px;
  background: conic-gradient(from var(--cta-angle),
    transparent 0deg, transparent 250deg,
    rgba(var(--accent-rgb),0.65) 305deg, rgba(164,189,250,0.9) 320deg, rgba(var(--accent-rgb),0.65) 335deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cta-spin 7s linear infinite; pointer-events: none;
}
@keyframes cta-spin { to { --cta-angle: 360deg; } }

/* ---------- hero product demo (animated dashboard) ---------- */
.pd {
  position: relative; border-radius: 18px; overflow: hidden; text-align: left;
  border: 1px solid rgba(255,255,255,0.22);
  background: var(--bg-deep);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 0 0 6px rgba(255,255,255,0.03),
    0 40px 120px -30px rgba(0,0,0,0.8),
    0 0 80px -20px var(--accent-glow);
}
.pd::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.pd__sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 70%, rgba(13,13,15,0.30)); }
.pd__bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.pd__dots { display: flex; gap: 6px; }
.pd__dots i { width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.pd__url { flex: 1; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.pd__live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--accent); border: 1px solid var(--accent-line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pd__live i { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); animation: pulse 2.4s var(--ease) infinite; }

.pd__body { display: grid; grid-template-columns: 188px 1fr; }
.pd__side { border-right: 1px solid var(--border); padding: 10px; display: flex; flex-direction: column; background: rgba(255,255,255,0.012); }
.pd__sgroup { display: flex; flex-direction: column; gap: 1px; }
.pd__slabel { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); padding: 11px 11px 5px; white-space: nowrap; }
.pd__sitem { display: flex; align-items: center; gap: 10px; padding: 6px 11px; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--faint); white-space: nowrap; }
.pd__sitem svg { width: 14px; height: 14px; flex: none; }
.pd__sitem--on { color: var(--accent-strong); background: rgba(var(--accent-rgb),0.10); box-shadow: 0 0 0 1px var(--accent-line) inset; }

.pd__main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pd__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pd__kpi { border: 1px solid var(--border); border-radius: 11px; padding: 11px 14px 12px; background: var(--surface); }
.pd__kpi span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.pd__kpi b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-top: 5px; font-variant-numeric: tabular-nums; }
.pd__kpi--hot b { color: var(--good); }

.pd__cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; align-items: stretch; }
.pd__feed, .pd__cx { border: 1px solid var(--border); border-radius: 11px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.pd__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.pd__title b { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }
.pd__title span { display: block; font-family: var(--mono); font-size: 10px; color: var(--faint); margin-top: 3px; }
.pd__chip { flex: none; font-family: var(--mono); font-size: 10px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--accent-line); color: var(--accent); background: rgba(var(--accent-rgb),0.08); white-space: nowrap; }
.pd__chip--flag { border-color: var(--flag-line); color: var(--flag); background: var(--flag-bg); }

.pd__rows { display: flex; flex-direction: column; }
.pdrow { display: flex; align-items: center; gap: 11px; padding: 9px 14px; transition: opacity .4s var(--ease), background .4s var(--ease); }
.pdrow + .pdrow { border-top: 1px solid rgba(255,255,255,0.045); }
.pdrow__main { flex: 1; min-width: 0; }
.pdrow__t { font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdrow__s { font-size: 10.5px; color: var(--faint); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdrow--queued { opacity: 0.38; }
.pdrow--scan {
  background: linear-gradient(90deg, transparent 20%, rgba(var(--accent-rgb),0.09) 50%, transparent 80%);
  background-size: 200% 100%;
  animation: pd-scan 1.1s linear infinite;
}
@keyframes pd-scan { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.pdrow .ltag { font-size: 11px; padding: 3px 8px; }

.pd__sum { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--border); font-size: 11.5px; color: var(--faint); opacity: 0.55; transition: all .5s var(--ease); }
.pd__sum b { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pd__sum--on { border-top-color: var(--good-line); background: var(--good-bg); color: var(--muted); opacity: 1; }
.pd__sum--on b { color: var(--good); }

.pd__bars { flex: 1; display: flex; align-items: stretch; gap: 9px; padding: 14px 14px 8px; min-height: 120px; }
.pd__bcol { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.pd__b { width: 100%; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--accent), var(--accent-deep)); opacity: .85; transition: height .6s var(--ease); }
.pd__b--flag { background: linear-gradient(180deg, var(--flag), #9a4f3c); }
.pd__bcol span { font-family: var(--mono); font-size: 9.5px; color: var(--faint); }
.pd__note { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); }

@media (max-width: 940px) {
  .pd__body { grid-template-columns: 1fr; }
  .pd__side { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); padding: 8px 10px; }
  .pd__sgroup { flex-direction: row; }
  .pd__slabel { display: none; }
}
@media (max-width: 640px) {
  .pd__cols { grid-template-columns: 1fr; }
  .pd__kpis { gap: 7px; }
  .pd__kpi b { font-size: 17px; }
  .pd__url { display: none; }
}

/* ---------- hero demo player (scripted walkthrough) ---------- */
.dp { max-width: 880px; margin: 0 auto; }
.dp__stagearea {
  height: 326px; overflow: hidden; display: flex; flex-direction: column;
  animation: scene-in .55s var(--ease);
  background: linear-gradient(180deg, rgba(255,255,255,0.014), transparent 40%);
}
@keyframes scene-in { from { opacity: 0; transform: translateY(12px); } }
.dpscene { display: flex; flex-direction: column; height: 100%; }
.dpscene .pd__rows { flex: 1; }
.dpscene .pdrow { animation: row-in .5s var(--ease) backwards; padding: 11px 16px; }
.dpscene .pd__head { padding: 13px 16px; }
.dpscene .pd__sum { padding: 12px 16px; }
.dpscene .pd__sum--warn { border-top-color: var(--flag-line); background: var(--flag-bg); }
.dpscene .pd__sum--warn b { color: var(--flag); }
.dpx__bars { padding: 18px 18px 10px; min-height: 0; }
.dpx__bars .pd__b { animation: bar-grow .8s var(--ease) backwards; transform-origin: bottom; }
@keyframes bar-grow { from { transform: scaleY(0); } }

.dp__caption {
  display: flex; align-items: center; gap: 13px;
  min-height: 66px; padding: 13px 18px;
  border-top: 1px solid var(--accent-line);
  background: linear-gradient(180deg, rgba(var(--accent-rgb),0.06), rgba(var(--accent-rgb),0.015));
}
.dp__vo {
  font-size: 14.5px; line-height: 1.45; color: var(--text); letter-spacing: -0.005em;
  padding-left: 13px; border-left: 2px solid var(--accent);
  animation: cap-in .45s var(--ease) backwards;
}
@keyframes cap-in { from { opacity: 0; transform: translateY(7px); } }

.dp__chapters { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: rgba(255,255,255,0.012); }
.dp__chap {
  flex: 1; min-width: 0; text-align: left; background: none; border: none;
  padding: 8px 10px 9px; border-radius: 9px; color: var(--faint);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.dp__chap:hover { background: var(--surface); color: var(--muted); }
.dp__chap--on { color: var(--text); }
.dp__chap-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp__chap-bar { display: block; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.dp__chap-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transform: scaleX(0); transform-origin: left; }
.dp__chap--on .dp__chap-bar i { animation: chap-fill linear forwards; }
@keyframes chap-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dp__pp {
  flex: none; width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.dp__pp:hover { color: var(--accent-strong); border-color: var(--accent-line); }
.dp__pp svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .dp__chap-label { font-size: 10.5px; }
  .dp__vo { font-size: 13px; }
  .dp__stagearea { height: 348px; }
}

/* ---------- parallax stage + cursor spotlight (hero, showcase) ---------- */
.showcase { position: relative; }
.hero::after, .showcase::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(560px circle at var(--hx, 50%) var(--hy, 30%), rgba(var(--accent-rgb),0.08), transparent 70%);
}
.stage { position: relative; }
.stage__tilt {
  transform: perspective(1300px) rotateY(calc(var(--px, 0) * 4deg)) rotateX(calc(var(--py, 0) * -3deg));
  transition: transform .35s ease-out; will-change: transform;
}
.float {
  position: absolute; z-index: 3; width: 252px; text-align: left;
  transform: translate3d(calc(var(--px, 0) * var(--dx, 16) * 1px), calc(var(--py, 0) * var(--dy, 12) * 1px), 0);
  transition: transform .45s ease-out;
}
.float__in {
  display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px;
  border-radius: 14px; border: 1px solid var(--border-strong);
  background: rgba(20,20,25,0.88); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 24px 56px -20px rgba(20,20,40,0.4), 0 0 44px -22px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.07);
  animation: float-bob 7s ease-in-out infinite alternate;
}
/* entrance is anchored to the stage scrolling into view, not page load */
.stage.in .float__in {
  animation: float-pop .7s var(--ease) var(--pop, .9s) backwards, float-bob 7s ease-in-out calc(var(--pop, .9s) + .7s) infinite alternate;
}
@keyframes float-pop { from { opacity: 0; transform: translateY(16px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes float-bob { from { transform: translateY(-4px); } to { transform: translateY(5px); } }
.float__ico { flex: none; width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.float__ico svg { width: 15px; height: 15px; }
.float__ico--flag { color: var(--flag); background: var(--flag-bg); border: 1px solid var(--flag-line); }
.float__ico--good { color: var(--good); background: var(--good-bg); border: 1px solid var(--good-line); }
.float__t { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.float__t .ltag { font-size: 10.5px; padding: 2px 7px; }
.float__s { font-size: 11.5px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.float--flag { top: -28px; right: -38px; --dx: 24; --dy: 16; --pop: .9s; }
.float--good { bottom: 16%; left: -48px; --dx: 34; --dy: 22; --pop: 1.1s; }
.float--lola { bottom: -34px; right: -26px; width: 274px; --dx: 18; --dy: 28; --pop: 1.3s; }
.float__in--col { flex-direction: column; gap: 8px; }
.float__lola { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.float__live { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); animation: pulse 2.4s var(--ease) infinite; }
.float__q { font-size: 12px; color: var(--faint); font-style: italic; }
.float__a { font-size: 12.5px; color: var(--text); line-height: 1.5; padding: 9px 11px; border-radius: 10px 10px 10px 4px; background: rgba(var(--accent-rgb),0.08); border: 1px solid var(--accent-line); }
.float__a b { color: var(--accent-strong); font-weight: 600; }
@media (max-width: 1080px) { .float { display: none; } }

/* ---------- footer: horizon glow ---------- */
.footer { background: radial-gradient(640px 220px at 50% 0%, rgba(var(--accent-rgb),0.06), transparent 70%); }

/* ---------- reduced motion: everything settles, nothing hides ---------- */
@media (prefers-reduced-motion: reduce) {
  .aurora i, .hw, .rise, .cta::after { animation: none; }
  .reveal { opacity: 1; }
  .reveal.in, .ledger.in .lrow, .ledger.in .ledger__foot { animation: none; }
  .ledger.in::after { display: none; }
  .btn:hover::after { animation: none; opacity: 0; }
  .float__in, .float__live, .pd__live i, .pdrow--scan { animation: none; }
  .dp__stagearea, .dpscene .pdrow, .dp__vo, .dpx__bars .pd__b, .dp__chap--on .dp__chap-bar i { animation: none; }
}

/* ============================================================
   Dark product islands — mockups render as dark screenshots
   inside the light page. Tokens re-scoped to the dark palette.
   ============================================================ */
.pd, .ledger, .panel, .vframe, .cmp, .float__in {
  --bg: #101015;
  --bg-deep: #0a0a0d;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text: #f4f4f5;
  --muted: rgba(244,244,245,0.58);
  --faint: rgba(244,244,245,0.36);
  --dim: rgba(244,244,245,0.22);
  --accent: #84a6f6;
  --accent-strong: #a4bdfa;
  --accent-deep: #4f6dad;
  --accent-rgb: 132,166,246;
  --accent-glow: rgba(132,166,246,0.35);
  --accent-line: rgba(132,166,246,0.26);
  --flag: #e3856a;
  --flag-bg: rgba(227,133,106,0.10);
  --flag-line: rgba(227,133,106,0.26);
  --good: #6fc59a;
  --good-bg: rgba(111,197,154,0.09);
  --good-line: rgba(111,197,154,0.26);
  color: var(--text);
  color-scheme: dark;
}
/* islands previously inherited the dark page behind their translucent fills */
.pd, .vframe { background-color: var(--bg-deep); }
.ledger, .panel { background-color: #101015; }
/* heavy dark-page shadows soften on white */
.ledger, .panel { box-shadow: 0 32px 80px -36px rgba(20,20,40,0.45), 0 0 60px -28px var(--accent-glow); }
.pd { box-shadow: 0 0 0 1px rgba(20,20,30,0.25), 0 32px 90px -32px rgba(20,20,40,0.45), 0 0 70px -24px var(--accent-glow); }
.vframe { box-shadow: 0 0 0 1px rgba(20,20,30,0.25), 0 32px 90px -32px rgba(20,20,40,0.45), 0 0 70px -24px var(--accent-glow); }
