:root {
  color-scheme: dark;
  --bg: #050608;
  --panel: #07090c;
  --panel-2: #0c0f13;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef1;
  --muted: #8a919b;
  --dim: #5b626c;
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --emerald-deep: #064e3b;
  --red: #f24a4a;
  --light-bg: #d7f5e8;
  --light-text: #06130e;
  --light-muted: #3d5a4e;
  --sans: "Geist", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --max: 1280px;
  --nav-h: 56px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* clip hides sideways overflow without creating a scroll container,
   so position: sticky (the forecast tabs) keeps working everywhere. */
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
canvas { display: block; width: 100%; height: 100%; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--emerald); border-color: var(--emerald); color: #03140d; }
.btn-primary:hover { background: var(--emerald-bright); border-color: var(--emerald-bright); }
.btn-ghost { background: rgba(5, 6, 8, 0.6); color: var(--text); }
.btn-ghost:hover { border-color: var(--emerald); color: var(--emerald-bright); }
.btn-light { background: var(--text); color: #050608; border-color: var(--text); }
.btn-light:hover { background: var(--emerald-bright); border-color: var(--emerald-bright); }
.btn-dark { background: #050608; color: #fff; border-color: #050608; }
.btn-dark:hover { background: var(--emerald-deep); border-color: var(--emerald-deep); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.logo-img { display: block; height: 22px; width: auto; }

.nav-links { display: flex; align-items: stretch; height: 100%; }
.nav-links > a, .nav-links > .dropdown > button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 100%;
  padding: 0 18px;
  font: 500 13px var(--sans);
  color: var(--muted);
  background: none;
  border: 0;
  border-left: 1px solid var(--line);
  cursor: pointer;
  transition: color .2s;
}
.nav-links > a:last-child { border-right: 1px solid var(--line); }
.nav-links > a:hover, .dropdown:hover > button { color: var(--text); }
.dropdown { position: relative; display: flex; }
.dropdown svg { width: 10px; height: 10px; transition: transform .2s; }
.dropdown:hover svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: all .18s;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 8px 10px; border-radius: 4px; font-size: 13px; color: var(--muted); }
.dropdown-menu a:hover { background: var(--emerald-soft); color: var(--text); }
.dropdown-menu small { display: block; font-size: 12px; color: var(--dim); }

.nav-cta { display: flex; gap: 8px; }
.nav-cta .btn { height: 34px; padding: 0 14px; font-size: 12.5px; }

/* ---------- Mobile nav ---------- */
.nav-burger {
  display: none; position: relative; flex: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: rgba(12,15,19,.7);
  cursor: pointer;
  transition: border-color .3s, box-shadow .3s;
}
.nav-burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: top .35s cubic-bezier(.7,0,.2,1), right .35s cubic-bezier(.7,0,.2,1), transform .35s cubic-bezier(.7,0,.2,1);
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 24px; right: 18px; }
.mnav-open .nav-burger { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.15), 0 0 24px rgba(16,185,129,.25); }
.mnav-open .nav-burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.mnav-open .nav-burger span:nth-child(2) { top: 20px; right: 12px; transform: rotate(-45deg); }
html.mnav-open { overflow: hidden; }

.mnav {
  position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; z-index: 49;
  display: flex; flex-direction: column;
  padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  background:
    radial-gradient(120% 55% at 100% 0%, rgba(16,185,129,.18), transparent 60%),
    radial-gradient(90% 40% at 0% 100%, rgba(16,185,129,.10), transparent 60%),
    rgba(5,6,8,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: opacity .3s, clip-path .55s cubic-bezier(.7,0,.2,1), visibility 0s .55s;
}
.mnav::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(90% 45% at 100% 0%, #000, transparent);
  mask-image: radial-gradient(90% 45% at 100% 0%, #000, transparent);
}
.mnav-open .mnav {
  opacity: 1; visibility: visible; clip-path: inset(0);
  transition: opacity .3s, clip-path .55s cubic-bezier(.7,0,.2,1);
}
.mnav-item { position: relative; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s; }
.mnav-open .mnav-item {
  opacity: 1; transform: none;
  transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(.15s + var(--i) * .06s);
}
.mnav-row {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 20px 2px;
  border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--text);
  font: 500 24px var(--sans); letter-spacing: -.02em; text-align: left;
  cursor: pointer;
}
.mnav-num { width: 22px; font: 11px var(--mono); color: var(--emerald-bright); }
.mnav-label { flex: 1; }
.mnav-row svg { width: 16px; height: 16px; color: var(--dim); transition: transform .35s, color .3s; }
.mnav-row:active svg, .mnav-row[aria-current="page"] svg { color: var(--emerald-bright); transform: translateX(3px); }
.mnav-row[aria-current="page"] .mnav-label { color: var(--emerald-bright); }
.mnav-group.open > .mnav-row svg { transform: rotate(45deg); color: var(--emerald-bright); }
.mnav-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
.mnav-sub > div { overflow: hidden; }
.mnav-group.open .mnav-sub { grid-template-rows: 1fr; }
.mnav-sub a {
  display: block; padding: 13px 2px 13px 38px;
  font-size: 16px; color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color .2s, background .2s;
}
.mnav-sub a:active, .mnav-sub a[aria-current="page"] { color: var(--emerald-bright); background: var(--emerald-soft); }
.mnav-sub small { display: block; margin-top: 2px; font: 11.5px var(--mono); color: var(--dim); }

.mnav-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }
.mnav-primary {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; padding: 0 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald) 55%, #0b9467);
  color: #03140d; font: 600 16px var(--sans);
  box-shadow: 0 14px 40px -12px rgba(16,185,129,.7), inset 0 1px 0 rgba(255,255,255,.4);
}
.mnav-primary svg { width: 18px; height: 18px; }
.mnav-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: mnavShine 3.4s ease-in-out 1s infinite;
}
@keyframes mnavShine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.mnav-login {
  display: flex; align-items: center; justify-content: center;
  height: 52px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: rgba(12,15,19,.7);
  font: 500 15px var(--sans); color: var(--text);
}
.mnav-login:active { border-color: var(--emerald); color: var(--emerald-bright); }
.mnav-tag { margin-top: 12px; text-align: center; font: 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-cta { display: none; }
}
@media (min-width: 861px) {
  .mnav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 1000px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero canvas { position: absolute; inset: 0; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(to bottom, rgba(5,6,8,0), rgba(5,6,8,.85) 60%, var(--bg));
  pointer-events: none;
}
.hero-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding-bottom: 56px;
  pointer-events: none;
}
.hero-content .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.hero-copy { flex: 1; min-width: 0; max-width: 860px; }
.hero h1 {
  display: grid;
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.032em;
}
.hero h1 > span {
  grid-area: 1 / 1;
  align-self: end;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .4s ease, transform .4s ease;
}
.hero h1 > span.is-active {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease .45s, transform .6s ease .45s;
}
.hero h1 .br::before {
  content: "\A";
  white-space: pre;
}
@media (max-width: 860px) {
  .hero h1 .br::before { content: " "; white-space: normal; }
}
.hero p {
  margin-top: 22px;
  color: var(--muted);
  max-width: 440px;
}
.hero-actions { display: flex; gap: 10px; pointer-events: auto; flex-shrink: 0; }

/* ---------- Sources marquee ---------- */
.sources { padding: 72px 0 80px; border-bottom: 1px solid var(--line); overflow: hidden; }
.sources-head { text-align: center; margin-bottom: 40px; }
.sources-rows { display: grid; gap: 14px; }
.sources-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.sources-track {
  display: flex;
  width: max-content;
  animation: sourcesScroll var(--dur, 90s) linear infinite;
}
.sources-row.reverse .sources-track { animation-direction: reverse; }
.sources-row:hover .sources-track { animation-play-state: paused; }
.sources-track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.sources-track li {
  display: flex; align-items: center;
  height: 56px;
  padding: 0 26px;
  margin-right: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--dim);
  white-space: nowrap;
  transition: color .25s, border-color .25s;
}
.sources-track li:hover { color: var(--text); border-color: var(--emerald); }
@keyframes sourcesScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .sources-track { animation: none; }
  .sources-row { overflow-x: auto; }
}

/* ---------- Generic section ---------- */
section { position: relative; }
.section { padding: 120px 0; border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  font: 500 11px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--panel);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.display {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.028em;
}
.display .muted { color: var(--dim); }
.lede { color: var(--muted); max-width: 440px; }
mark {
  background: var(--emerald);
  color: #03140d;
  padding: 0 .12em;
}

/* ---------- Unify ---------- */
.unify-head { max-width: 760px; margin-bottom: 80px; }
.unify-head .display { margin-bottom: 26px; }
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.mini-card { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.mini-card:last-child { border-right: 0; }
.mini-visual {
  height: 220px;
  position: relative;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--panel);
}
.mini-label { font: 11px var(--mono); color: var(--dim); letter-spacing: .04em; }
.mini-copy { padding: 22px 20px 28px; color: var(--muted); font-size: 14px; }
.mini-copy strong { color: var(--text); font-weight: 500; }

.lane-list { margin-top: 18px; display: grid; gap: 9px; font: 11.5px var(--mono); color: var(--muted); }
.lane-list div { display: flex; align-items: center; gap: 8px; }
.lane-list span:nth-child(2) { flex: 1; border-bottom: 1px dashed var(--line-strong); height: 0; }
.lane-list .ok { color: var(--emerald-bright); }
.lane-list .warn { color: #e6b450; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); flex-shrink: 0; }

.exposure-list { margin-top: 18px; display: grid; gap: 14px; font: 11px var(--mono); color: var(--muted); }
.exposure-list .bar { margin-top: 6px; height: 6px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.exposure-list .bar i { position: absolute; inset: 0 auto 0 0; background: var(--emerald); animation: breathe 4s ease-in-out infinite; }
.exposure-list .row:nth-child(2) .bar i { animation-delay: -1.3s; }
.exposure-list .row:nth-child(3) .bar i { animation-delay: -2.6s; background: #e6b450; }
@keyframes breathe { 0%,100% { transform: scaleX(1); transform-origin: left; } 50% { transform: scaleX(.8); transform-origin: left; } }

.control-plane {
  position: absolute; inset: 40px 16px 16px;
  background-image: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1.4px);
  background-size: 14px 14px;
  display: grid; place-items: center;
}
.control-plane::before, .control-plane::after {
  content: ""; position: absolute; background: var(--line-strong);
}
.control-plane::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.control-plane::after { top: 50%; left: 0; right: 0; height: 1px; }
.control-plane b {
  position: relative; z-index: 1;
  width: 28px; height: 28px;
  background: var(--emerald);
  box-shadow: 0 0 0 8px rgba(16,185,129,.12), 0 0 30px rgba(16,185,129,.5);
  animation: pulseSq 2.4s ease-in-out infinite;
}
.control-plane i {
  position: absolute; z-index: 1; width: 8px; height: 8px; background: #d8dde6;
}
@keyframes pulseSq { 50% { box-shadow: 0 0 0 16px rgba(16,185,129,.04), 0 0 40px rgba(16,185,129,.6); } }

.usage-num { font-size: 40px; letter-spacing: -0.03em; margin-top: 8px; line-height: 1; }
.usage-bars {
  position: absolute; left: 16px; right: 16px; bottom: 16px; height: 110px;
  display: flex; align-items: flex-end; gap: 5px;
}
.usage-bars i {
  flex: 1; background: rgba(16,185,129,.35);
  transition: height .9s cubic-bezier(.2,.8,.2,1);
}
.usage-bars i:nth-last-child(-n+3) { background: var(--emerald); }

/* ---------- Forecast (steps) ---------- */
.split-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin: 28px 0 64px;
}
.tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg);
  border: 1px solid var(--line);
}
.tabs button {
  height: 48px;
  font: 500 13px var(--sans);
  color: var(--muted);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: color .2s, background .2s;
}
.tabs button:last-child { border-right: 0; }
.tabs button:hover { color: var(--text); }
.tabs button.active { color: var(--text); background: var(--panel-2); }
.tabs button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--emerald);
  transform: scaleX(0); transform-origin: left;
}
.tabs button.done::after { transform: scaleX(1); background: rgba(16,185,129,.35); }
.tabs button.active::after { transform: scaleX(max(var(--p, 1), .04)); background: var(--emerald); }
.steps { border: 1px solid var(--line); border-top: 0; }
.step {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  min-height: 520px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 48px);
}
.step:last-child { border-bottom: 0; }
.step-copy { padding: 56px 40px; display: flex; flex-direction: column; justify-content: center; }
.step-copy h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.step-copy h3 span { display: block; color: var(--dim); }
.step-copy p { margin-top: 16px; color: var(--muted); max-width: 380px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips span { font: 12px var(--mono); padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--muted); }

.step-visual {
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.22) 1px, transparent 1.6px) 0 0 / 7px 7px,
    var(--panel);
  display: grid;
  place-items: center;
  padding: 48px 40px;
}
.step-visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, var(--bg) 20%, rgba(5,6,8,.4) 60%, rgba(5,6,8,.85));
}
.step-visual .accent {
  position: absolute;
  width: 90px; height: 90px;
  background: var(--emerald);
  right: 8%; bottom: 10%;
}
.step-visual .accent.b { width: 48px; height: 48px; left: 12%; top: 14%; right: auto; bottom: auto; opacity: .7; }

.window {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px;
  background: #0d1014;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  overflow: hidden;
  font-size: 13px;
}
.window-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font: 11px var(--mono); color: var(--dim);
}
.window-bar b { color: var(--muted); font-weight: 400; }
.window-body { padding: 18px; }
.window-title { font-size: 16px; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.window-sub { color: var(--dim); font-size: 12px; margin-bottom: 16px; }
.w-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-top: 8px;
  background: rgba(255,255,255,.015);
}
.w-row .meta { color: var(--dim); font-size: 11.5px; font-family: var(--mono); }
.w-row .name { color: var(--text); }
.badge {
  font: 500 10.5px var(--mono);
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--emerald-soft);
  color: var(--emerald-bright);
  border: 1px solid rgba(16,185,129,.3);
  white-space: nowrap;
}
.badge.warn { background: rgba(230,180,80,.12); color: #e6b450; border-color: rgba(230,180,80,.3); }
.badge.red { background: rgba(242,74,74,.12); color: #ff7a7a; border-color: rgba(242,74,74,.3); }
.badge.plain { background: transparent; color: var(--muted); border-color: var(--line-strong); }
.w-btn { font-size: 11.5px; padding: 5px 10px; border-radius: 4px; border: 1px solid var(--line-strong); color: var(--muted); background: transparent; white-space: nowrap; }
.w-btn.on { background: var(--text); color: #050608; border-color: var(--text); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 0; }
.kv > div { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.kv > div:nth-child(even) { text-align: right; color: var(--text); font-family: var(--mono); font-size: 12px; }

/* ---------- Signals ---------- */
.center-head { text-align: center; max-width: 880px; margin: 28px auto 64px; }
.signal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
}
.signal-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  background: var(--panel);
  min-width: 0;
}
.signal-card.c2 { grid-column: span 2; }
.signal-card.c3 { grid-column: span 3; }
.signal-card.c4 { grid-column: span 4; }
.signal-card.no-r { border-right: 0; }
.signal-card.no-b { border-bottom: 0; }
.signal-card .copy { padding: 22px 22px 0; color: var(--muted); font-size: 14px; max-width: 420px; }
.signal-card .copy strong { color: var(--text); font-weight: 500; }
.signal-card .canvas-wrap { flex: 1; min-height: 320px; position: relative; }
.signal-card .canvas-wrap canvas { position: absolute; inset: 0; }

.analytics {
  flex: 1; min-height: 320px;
  padding: 22px;
  display: flex; flex-direction: column;
}
.analytics-top { display: flex; justify-content: space-between; align-items: baseline; font: 11px var(--mono); color: var(--dim); }
.analytics-num { font-size: 34px; letter-spacing: -0.03em; color: var(--text); margin-top: 10px; }
.analytics-num small { font-size: 13px; color: var(--emerald-bright); margin-left: 8px; font-family: var(--mono); }
.spark { flex: 1; margin-top: 16px; position: relative; }
.spark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.prod-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 56px;
}
.prod-strip h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.prod-strip p { color: var(--muted); font-size: 14px; }
.prod-strip .col { border-left: 1px solid var(--line-strong); padding-left: 20px; }

/* ---------- Scale (light) ---------- */
.light {
  background: var(--light-bg);
  color: var(--light-text);
  border-bottom: 0;
}
.light .eyebrow { background: rgba(255,255,255,.5); color: var(--light-text); border-color: rgba(6,19,14,.18); }
.light .lede { color: var(--light-muted); }
.light .split-head { margin-bottom: 96px; }
.light-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.light-cols h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.015em; margin-bottom: 10px; }
.light-cols p { color: var(--light-muted); font-size: 14px; }
.light-cols .ico { width: 28px; height: 28px; margin-bottom: 28px; color: #047857; }

/* ---------- Observe ---------- */
.observe-head { margin: 28px 0 48px; }
.observe-panel {
  height: 480px;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}
.observe-panel canvas { position: absolute; inset: 0; }
.observe-panel .hud {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  font: 11px var(--mono); color: var(--muted);
  padding: 8px 10px; background: rgba(5,7,10,.8); border: 1px solid var(--line-strong); border-radius: 4px;
}
.observe-panel .hud b { color: var(--emerald-bright); font-weight: 400; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.feature-row p { color: var(--muted); font-size: 14px; }
.feature-row strong { color: var(--text); font-weight: 500; }
.feature-row .btn-wrap { display: flex; align-items: flex-start; }

/* ---------- Portal ---------- */
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin: 28px 0 56px; }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.portal-card { border-right: 1px solid var(--line); }
.portal-card:last-child { border-right: 0; }
.portal-art {
  height: 300px;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.portal-art .shape {
  position: absolute; inset: 40px;
  background: radial-gradient(circle, rgba(220,225,230,.55) 1.1px, transparent 1.6px) 0 0 / 7px 7px;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
  transition: background .4s;
}
.portal-card:hover .shape { background-image: radial-gradient(circle, var(--emerald-bright) 1.1px, transparent 1.6px); }
.portal-card .copy { padding: 22px 22px 30px; color: var(--muted); font-size: 14px; }
.portal-card .copy strong { color: var(--text); font-weight: 500; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 140px 0 72px;
  min-height: 560px;
  border-bottom: 1px solid var(--line);
}
.cta-glow {
  position: absolute;
  width: 1100px; height: 520px;
  left: 50%; top: 58%;
  transform: translate(-40%, -30%) rotate(-12deg);
  background: radial-gradient(ellipse at center, rgba(52,211,153,.55), rgba(16,185,129,.25) 35%, rgba(6,78,59,.12) 60%, transparent 72%);
  filter: blur(40px);
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift { to { transform: translate(-55%, -40%) rotate(-4deg) scale(1.1); } }
.cta .container { position: relative; z-index: 1; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; min-height: 348px; }
.cta .btn, .cta .btn-spec { align-self: flex-start; pointer-events: auto; }

/* ---------- Footer ---------- */
footer { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { margin: 0 0 16px; font-size: 13px; font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid li a { color: var(--muted); font-size: 13px; transition: color .2s; }
.footer-grid li a:hover { color: var(--emerald-bright); }
.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 14px; }
.footer-brand small { display: block; margin-top: 8px; color: var(--dim); font-size: 12px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .mini-card:nth-child(2) { border-right: 0; }
  .mini-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal-card.c2, .signal-card.c3, .signal-card.c4 { grid-column: span 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .signal-card.wide-md { grid-column: span 2; }
  .light-cols, .feature-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero-content .container { flex-direction: column; align-items: flex-start; }
  .hero-copy { max-width: none; }
  .split-head { grid-template-columns: 1fr; gap: 20px; }
  .step { grid-template-columns: 1fr; }
  .step-visual { border-left: 0; border-top: 1px solid var(--line); min-height: 380px; padding: 32px 16px; }
  .step-copy { padding: 40px 20px; }
  .tabs button { font-size: 11.5px; }
  .prod-strip { grid-template-columns: 1fr; }
  .portal-head { flex-direction: column; align-items: flex-start; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .portal-card:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
  .mini-grid, .signal-grid, .light-cols, .feature-row { grid-template-columns: 1fr; }
  .mini-card { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .mini-card:last-child { border-bottom: 0; }
  .signal-card, .signal-card.wide-md { grid-column: span 1 !important; border-right: 0 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-wrap: wrap; }
  .observe-panel { height: 380px; }
  .nav-cta .btn-ghost { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================================================================
 * EFFECTS
 * =============================================================== */

/* ---------- Loader ---------- */
html.is-loading { overflow: hidden; }
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  transition: opacity .6s ease, visibility .6s;
  animation: loaderFailsafe .6s ease 6s forwards;
}
.loader.hide { opacity: 0; visibility: hidden; }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.lattice { display: grid; grid-template-columns: repeat(3, 7px); gap: 2.5px; }
.lattice i {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: .15;
  transition: background .3s, opacity .3s, box-shadow .3s;
}
.loader.done .lattice i.on { background: var(--emerald-bright); box-shadow: 0 0 8px rgba(52,211,153,.8); }
.loader-label { font-weight: 500; }
.loader-time { font: 13px var(--mono); color: var(--muted); min-width: 3.5ch; }
.loader.done .loader-time { color: var(--emerald-bright); }

/* ---------- Specular button ---------- */
.btn-spec {
  --a: 0deg; --o: 0; --mx: 50%; --my: 50%;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px;
  border-radius: 14px;
  font: 500 14.5px var(--sans);
  color: #ecfdf5;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(16,185,129,.38), rgba(16,185,129,.06) 60%),
    #06120d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 32px -12px rgba(16,185,129,.55);
  isolation: isolate;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .3s;
}
.btn-spec:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 16px 40px -12px rgba(16,185,129,.8); }
.btn-spec:active { transform: scale(.97); }
.btn-spec::before,
.btn-spec .spec-edge {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.btn-spec::before { background: #1d4a3a; z-index: -1; }
.btn-spec .spec-edge {
  padding: 1.25px;
  opacity: var(--o);
  background: conic-gradient(from calc(var(--a) - 45deg),
    transparent 0deg, rgba(255,255,255,.95) 40deg, #fff 45deg, rgba(255,255,255,.95) 50deg, transparent 90deg,
    transparent 180deg, rgba(52,211,153,.9) 220deg, rgba(52,211,153,.9) 230deg, transparent 270deg);
}
.btn-spec .spec-glow {
  position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(120px circle at var(--mx) var(--my), rgba(110,231,183,.22), transparent 70%);
  opacity: var(--o);
  pointer-events: none;
}
.btn-spec .spec-label { position: relative; }

/* ---------- Target cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  html.has-tc, html.has-tc * { cursor: none !important; }
}
.tc { position: fixed; inset: 0; pointer-events: none; z-index: 2000; opacity: 0; transition: opacity .25s; }
.tc.on { opacity: 1; }
.tc-dot {
  position: absolute; left: -3px; top: -3px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 10px rgba(52,211,153,.8);
  transition: width .2s, height .2s, left .2s, top .2s;
}
.tc.down .tc-dot { width: 4px; height: 4px; left: -2px; top: -2px; }
.tc-c {
  position: absolute; left: 0; top: 0;
  width: 12px; height: 12px;
  border: 0 solid #fff;
  will-change: transform;
  transition: border-color .2s;
}
.tc.locked .tc-c { border-color: var(--emerald-bright); }
.tc-c.tl { border-top-width: 2px; border-left-width: 2px; transform-origin: 0 0; }
.tc-c.tr { border-top-width: 2px; border-right-width: 2px; transform-origin: 100% 0; }
.tc-c.bl { border-bottom-width: 2px; border-left-width: 2px; transform-origin: 0 100%; }
.tc-c.br { border-bottom-width: 2px; border-right-width: 2px; transform-origin: 100% 100%; }
.tc-c { mix-blend-mode: difference; }
.tc.locked .tc-c { mix-blend-mode: normal; }

/* ---------- True focus band ---------- */
.focus-band { padding: 110px 0 100px; border-bottom: 1px solid var(--line); text-align: center; }
.focus-band .eyebrow { margin-bottom: 36px; }
.true-focus {
  position: relative;
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: .1em .45em;
  font-size: clamp(44px, 8.4vw, 124px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  user-select: none;
}
.tf-word {
  filter: blur(6px);
  opacity: .5;
  transition: filter .5s ease, opacity .5s ease, color .5s;
}
.tf-word.active { filter: blur(0); opacity: 1; }
.tf-frame {
  position: absolute; left: 0; top: 0;
  opacity: 0;
  pointer-events: none;
  transition: transform .5s cubic-bezier(.3,.7,.2,1), width .5s cubic-bezier(.3,.7,.2,1), height .5s cubic-bezier(.3,.7,.2,1), opacity .3s;
}
.tf-frame i {
  position: absolute; width: 18px; height: 18px;
  border: 0 solid var(--emerald);
  filter: drop-shadow(0 0 6px rgba(16,185,129,.7));
}
.tf-frame .tl { left: 0; top: 0; border-top-width: 3px; border-left-width: 3px; }
.tf-frame .tr { right: 0; top: 0; border-top-width: 3px; border-right-width: 3px; }
.tf-frame .bl { left: 0; bottom: 0; border-bottom-width: 3px; border-left-width: 3px; }
.tf-frame .br { right: 0; bottom: 0; border-bottom-width: 3px; border-right-width: 3px; }
.focus-band p { margin: 32px auto 0; color: var(--muted); max-width: 520px; }

/* ---------- Scroll expand ---------- */
.sx { position: relative; border-bottom: 1px solid var(--line); }
.sx-stage {
  position: sticky; top: 0;
  height: 100vh;
  display: grid; place-items: center;
  overflow: hidden;
}
.sx-frame {
  position: relative;
  width: 42%; height: 58%;
  border-radius: 24px;
  overflow: hidden;
  will-change: width, height;
  box-shadow: 0 40px 120px -40px rgba(16,185,129,.35);
}
.sx-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  will-change: transform;
}
.sx-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,6,8,.95) 0%, rgba(5,6,8,.78) 45%, rgba(5,6,8,.25) 85%);
  opacity: 0;
}
.sx-title {
  position: absolute; z-index: 2;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-align: center;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
  pointer-events: none;
}
.sx-hint {
  position: absolute; bottom: 7vh; z-index: 2;
  font: 12px var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.sx-hint::after { content: "↓"; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.sx-content {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 0 0 64px;
  opacity: 0;
}
.sx-content .display { max-width: 720px; margin: 20px 0 48px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.stat { padding: 24px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-strong); }
.stat-num {
  display: block;
  font-size: clamp(34px, 4.2vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { display: block; margin-top: 10px; color: var(--muted); font-size: 13.5px; }

/* ---------- Dither veil ---------- */
.veil-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.veil-grid .display { margin: 28px 0 22px; }
.veil-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.veil-points li { display: flex; gap: 12px; color: var(--muted); font-size: 14px; }
.veil-points li::before { content: ""; flex-shrink: 0; margin-top: 7px; width: 7px; height: 7px; background: var(--emerald); }
.veil-points strong { color: var(--text); font-weight: 500; }
.veil {
  position: relative;
  height: 560px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #07090c;
}
.veil canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.veil-hint {
  position: absolute; left: 14px; bottom: 14px;
  font: 11px var(--mono); color: var(--muted);
  padding: 7px 10px; background: rgba(5,7,10,.82); border: 1px solid var(--line-strong); border-radius: 4px;
  pointer-events: none;
}

/* ---------- Magnet lines ---------- */
.magnet-lines {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 55%;
  display: grid;
  place-items: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 60% 50%, #000 30%, transparent 75%);
}
.magnet-lines span {
  width: 24px; height: 2px;
  border-radius: 2px;
  background: var(--emerald-bright);
  opacity: .45;
  transition: opacity .3s;
  will-change: transform;
}

@media (max-width: 860px) {
  .veil-grid { grid-template-columns: 1fr; gap: 40px; }
  .veil { height: 420px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 16px; }
  .magnet-lines { width: 100%; opacity: .28; }
}

/* =================================================================
 * PRICING PAGE
 * =============================================================== */
.nav-links > a[aria-current="page"] { color: var(--text); }

.pricing-hero { padding: calc(var(--nav-h) + 96px) 0 96px; border-bottom: 1px solid var(--line); }
.pricing-title { max-width: 820px; font-size: clamp(34px, 4vw, 54px); }

.pricing-controls {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  margin: 40px 0 56px;
}
.seg {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--panel);
}
.seg button {
  position: relative; z-index: 1;
  min-width: 96px; height: 36px; padding: 0 20px;
  font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  background: none; border: 0; border-radius: 2px;
  cursor: pointer;
  transition: color .25s;
}
.seg button:hover { color: var(--text); }
.seg button.active { color: #03140d; }
.seg-indicator {
  position: absolute; top: 4px; left: 4px; bottom: 4px;
  border-radius: 2px;
  background: var(--emerald);
  box-shadow: 0 0 20px rgba(16,185,129,.35);
  transition: transform .35s cubic-bezier(.3,.7,.2,1), width .35s cubic-bezier(.3,.7,.2,1);
}

.billing { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; }
.billing-label { color: var(--muted); cursor: pointer; transition: color .2s; }
.billing-label.active { color: var(--text); }
.switch {
  position: relative;
  width: 46px; height: 26px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.switch span {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--text);
  transition: transform .3s cubic-bezier(.3,.7,.2,1);
}
.switch[aria-checked="true"] { background: var(--emerald-deep); border-color: var(--emerald); }
.switch[aria-checked="true"] span { transform: translateX(20px); background: var(--emerald-bright); }
.save-badge {
  font: 500 11px var(--mono); letter-spacing: .04em;
  padding: 4px 8px; border-radius: 3px;
  color: var(--emerald-bright);
  background: var(--emerald-soft);
  border: 1px solid rgba(16,185,129,.3);
}

.plan-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.plan-heading p { color: var(--muted); font-size: 14px; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  transition: opacity .16s ease, transform .16s ease;
}
.plans.swap { opacity: 0; transform: translateY(6px); }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}
.plan:last-child { border-right: 0; }
.plan.featured {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(16,185,129,.12), transparent 70%),
    var(--panel-2);
  box-shadow: inset 0 0 0 1px rgba(16,185,129,.35);
}
.plan.enterprise {
  background:
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0 / 9px 9px,
    var(--panel);
}
.plan-badge {
  position: absolute; top: 20px; right: 20px;
  font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 3px;
  color: #03140d; background: var(--emerald);
}
.plan h3 { font-size: 18px; font-weight: 500; }
.plan-desc { margin-top: 8px; color: var(--muted); font-size: 14px; min-height: 44px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 28px; }
.plan-price .amount { font-size: 48px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .per { color: var(--muted); font-size: 15px; }
.plan-note { margin-top: 8px; color: var(--dim); font: 12px var(--mono); min-height: 18px; }
.plan-cta { width: 100%; margin-top: 24px; }
.plan .btn.plan-cta { height: 44px; }
.plan-inc { margin-top: 32px; font-size: 13px; font-weight: 500; }
.plan ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; color: var(--muted); font-size: 14px; }
.plan li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--emerald-bright); }

.bundle {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(16,185,129,.1), transparent 55%),
    var(--panel);
}
.bundle h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.bundle p { color: var(--muted); font-size: 14px; max-width: 460px; }
.bundle ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.bundle li::before { content: "✓"; color: var(--emerald-bright); margin-right: 10px; }

/* Comparison table */
.compare-title { margin: 28px 0 56px; }
.compare { font-size: 14px; }
.cmp-row {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.cmp-top { border-bottom: 1px solid var(--line-strong); position: sticky; top: var(--nav-h); z-index: 5; background: var(--bg); }
.cmp-head { padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.cmp-head strong { font-size: 17px; font-weight: 500; }
.cmp-head span { color: var(--muted); font-size: 13px; }
.cmp-head .btn { margin-top: 12px; height: 36px; }
.cmp-head.featured, .cmp-cell.featured { background: rgba(16,185,129,.06); }
.cmp-label { padding: 16px 0; color: var(--muted); }
.cmp-cell { padding: 16px 18px; color: var(--text); }
.cmp-yes svg { width: 17px; height: 17px; color: var(--emerald-bright); display: block; }
.cmp-no { color: var(--dim); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
.faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font: 400 17px var(--sans); text-align: left;
  color: var(--text);
  background: none; border: 0;
  cursor: pointer;
  transition: color .2s;
}
.faq-item button:hover { color: var(--emerald-bright); }
.faq-item button i { position: relative; width: 14px; height: 14px; flex-shrink: 0; transition: transform .3s ease; }
.faq-item button i::before, .faq-item button i::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor;
}
.faq-item button i::after { transform: rotate(90deg); transition: transform .3s ease; }
.faq-item.open button i { transform: rotate(180deg); color: var(--emerald-bright); }
.faq-item.open button i::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 48px 24px 0; color: var(--muted); max-width: 720px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }
  .bundle { grid-template-columns: 1fr; gap: 20px; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .compare { overflow-x: auto; }
  .cmp-row { min-width: 640px; }
  .cmp-top { position: static; }
}
@media (max-width: 600px) {
  .pricing-hero { padding-top: calc(var(--nav-h) + 56px); }
  .seg button { min-width: 0; padding: 0 16px; }
  .seg-long { display: none; }
  .pricing-controls { flex-direction: column; align-items: flex-start; }
}

/* =================================================================
 * COMING SOON PAGES
 * =============================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.soon {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.soon canvas { position: absolute; inset: 0; }
.soon-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(5,6,8,.92) 38%, rgba(5,6,8,.55) 70%, rgba(5,6,8,.35)),
    linear-gradient(to top, var(--bg), transparent 30%);
}
.soon-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: end;
  pointer-events: none;
}
.soon-inner a, .soon-inner form, .soon-inner button, .soon-inner input { pointer-events: auto; }
.soon-copy { max-width: 620px; }
.soon-status {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--emerald-bright);
}
.lattice.mini { grid-template-columns: repeat(3, 5px); gap: 2px; color: var(--emerald-bright); }
.lattice.mini i { width: 5px; height: 5px; }
.soon-title { margin: 24px 0 22px; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; }
.soon .lede { max-width: 500px; }

.notify { display: flex; gap: 10px; margin-top: 36px; max-width: 480px; }
.notify input {
  flex: 1; min-width: 0;
  height: 48px; padding: 0 16px;
  font: 14px var(--sans); color: var(--text);
  background: rgba(12,15,19,.85);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.notify input::placeholder { color: var(--dim); }
.notify input:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.notify .btn-spec { border: 0; cursor: pointer; }
.notify-msg { min-height: 22px; margin-top: 12px; font: 12.5px var(--mono); color: var(--emerald-bright); }
.notify-msg.error { color: #ff7a7a; }
.soon-back { display: inline-block; margin-top: 28px; font-size: 13px; color: var(--muted); transition: color .2s; }
.soon-back:hover { color: var(--emerald-bright); }

.soon-list {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(7,9,12,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.soon-list li { display: flex; gap: 18px; padding: 22px; border-bottom: 1px solid var(--line); }
.soon-list li:last-child { border-bottom: 0; }
.soon-num { font: 12px var(--mono); color: var(--emerald-bright); padding-top: 2px; }
.soon-list strong { font-weight: 500; font-size: 15px; }
.soon-list p { margin-top: 4px; color: var(--muted); font-size: 13.5px; }

.contact .soon-inner { align-items: center; }
.contact .soon-inner select, .contact .soon-inner textarea, .contact .soon-inner label { pointer-events: auto; }
.contact .soon-list a { color: var(--emerald-bright); }
.contact-form { display: grid; gap: 14px; margin-top: 32px; max-width: 560px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label > span { font: 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; min-width: 0;
  padding: 12px 14px;
  font: 14px var(--sans); color: var(--text);
  background: rgba(12,15,19,.85);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.contact-form .btn-spec { border: 0; cursor: pointer; justify-self: start; margin-top: 6px; }
.contact-form .btn-spec:disabled { opacity: .6; cursor: wait; }

@media (max-width: 900px) {
  .soon-inner { grid-template-columns: 1fr; gap: 40px; }
  .soon-shade { background: linear-gradient(to bottom, rgba(5,6,8,.75), rgba(5,6,8,.92) 50%, var(--bg)); }
}
@media (max-width: 520px) {
  .notify { flex-direction: column; }
  .notify .btn-spec { width: 100%; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-form .btn-spec { justify-self: stretch; }
}

/* =================================================================
 * HERO REEL (scene captions)
 * =============================================================== */
.reel {
  --i: 0;
  --line: clamp(40px, 5.4vw, 84px);
  position: absolute;
  z-index: 1;
  top: calc(var(--nav-h) + 6vh);
  right: 6%;
  pointer-events: none;
  font-family: var(--mono);
}
.reel-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.reel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: rec 1.2s steps(2) infinite; }
@keyframes rec { 50% { opacity: .2; } }
.reel-count { color: var(--text); }
.reel-stack { display: flex; align-items: center; gap: 22px; }
.reel-arrow {
  width: calc(var(--line) * .78);
  flex-shrink: 0;
  color: var(--emerald);
  filter: drop-shadow(0 0 14px rgba(16,185,129,.6));
}
.reel-window {
  height: calc(var(--line) * 5);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.reel-stack .reel-arrow { margin-top: 0; }
.reel-words {
  list-style: none; margin: 0; padding: calc(var(--line) * 2) 0 0;
  transform: translateY(calc(var(--i) * var(--line) * -1));
  transition: transform .5s cubic-bezier(.7,0,.2,1);
}
.reel-words li {
  --d: 2;
  position: relative;
  height: var(--line);
  line-height: var(--line);
  font-size: calc(var(--line) * .78);
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(236,238,241, calc(1 - var(--d) * .38));
  filter: blur(calc(var(--d) * .9px));
  transition: color .4s, filter .4s;
  white-space: nowrap;
}
.reel-words li.active { color: #f1f3f5; filter: none; text-shadow: 0 0 24px rgba(0,0,0,.6); }

/* Glitch on every scene change: RGB split slices on the active word and arrow */
.reel-words li::before, .reel-words li::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  opacity: 0;
}
.reel.glitching li.active::before { animation: glitchA .5s steps(1) both; color: var(--red); }
.reel.glitching li.active::after { animation: glitchB .5s steps(1) both; color: #3b82f6; }
.reel.glitching li.active { animation: shake .5s steps(1) both; }
.reel.glitching .reel-arrow { animation: arrowGlitch .5s steps(1) both; }
@keyframes glitchA {
  0%   { opacity: .9; transform: translate(-6px, 0); clip-path: inset(10% 0 62% 0); }
  20%  { opacity: .9; transform: translate(5px, 0);  clip-path: inset(55% 0 20% 0); }
  40%  { opacity: .9; transform: translate(-3px, 0); clip-path: inset(30% 0 45% 0); }
  60%  { opacity: .9; transform: translate(8px, 0);  clip-path: inset(75% 0 5% 0); }
  80%  { opacity: .6; transform: translate(-2px, 0); clip-path: inset(0 0 80% 0); }
  100% { opacity: 0; }
}
@keyframes glitchB {
  0%   { opacity: .9; transform: translate(6px, 0);  clip-path: inset(60% 0 15% 0); }
  20%  { opacity: .9; transform: translate(-7px, 0); clip-path: inset(5% 0 70% 0); }
  40%  { opacity: .9; transform: translate(4px, 0);  clip-path: inset(40% 0 35% 0); }
  60%  { opacity: .9; transform: translate(-5px, 0); clip-path: inset(85% 0 0 0); }
  80%  { opacity: .6; transform: translate(3px, 0);  clip-path: inset(20% 0 60% 0); }
  100% { opacity: 0; }
}
@keyframes shake {
  0% { transform: translateX(4px) skewX(-8deg); clip-path: inset(0 0 0 12%); }
  25% { transform: translateX(-3px); clip-path: inset(0 18% 0 0); }
  50% { transform: translateX(2px) skewX(4deg); clip-path: none; }
  75% { transform: translateX(-1px); }
  100% { transform: none; }
}
@keyframes arrowGlitch {
  0% { transform: translateX(-10px); opacity: .3; clip-path: inset(0 40% 0 0); }
  30% { transform: translateX(6px); opacity: 1; clip-path: inset(30% 0 20% 0); color: #3b82f6; }
  60% { transform: translateX(-3px); clip-path: none; color: var(--emerald); }
  100% { transform: none; opacity: 1; }
}

@media (max-width: 860px) {
  .reel {
    --line: 32px; right: 16px; top: calc(var(--nav-h) + 20px);
    padding: 12px 14px 4px;
    background: rgba(5,6,8,.62);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .reel-meta { margin-bottom: 8px; font-size: 10px; }
  .reel-stack { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-words { transition: none; }
}

/* =================================================================
 * CINEMATIC PRODUCT PREVIEWS (all screen sizes)
 * Makes the mock UI read as illustration, not content to read:
 * 3D camera drift, rack-focus blur, light sweep, grain, demo cursor.
 * =============================================================== */
@media all {

  /* ---- Forecast step windows ---- */
  .step-visual { perspective: 900px; overflow: hidden; }
  .step-visual .window {
    transform-style: preserve-3d;
    animation: camDrift 9s ease-in-out infinite alternate;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
    box-shadow: 0 50px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(16,185,129,.08);
  }
  .step:nth-child(even) .window { animation-direction: alternate-reverse; animation-duration: 11s; }
  @keyframes camDrift {
    0%   { transform: rotateX(16deg) rotateY(-14deg) rotateZ(3deg) scale(.88) translateY(8px); }
    100% { transform: rotateX(7deg) rotateY(9deg) rotateZ(-1.5deg) scale(.95) translateY(-6px); }
  }

  /* Rack focus: everything soft except the row the "camera" is on */
  .window .window-sub { filter: blur(1.2px); opacity: .7; }
  .window .w-row,
  .window .kv > div {
    filter: blur(1.8px);
    opacity: .5;
    transition: filter .8s ease, opacity .8s ease, transform .8s cubic-bezier(.3,.7,.2,1);
  }
  .window .w-row.focus,
  .window .kv > div.focus {
    filter: blur(0);
    opacity: 1;
    transform: translateZ(22px) scale(1.025);
  }
  .window .w-row.focus { border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.05); }

  /* Light sweep + film grain */
  .window::after {
    content: "";
    position: absolute; inset: -30%;
    background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.08) 50%, transparent 58%);
    transform: translateX(-100%);
    animation: sweep 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
  }
  .window::before {
    content: "";
    position: absolute; inset: 0; z-index: 3;
    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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .14;
    mix-blend-mode: overlay;
    animation: grainShift .5s steps(4) infinite;
    pointer-events: none;
  }
  @keyframes sweep { 0%, 35% { transform: translateX(-100%); } 75%, 100% { transform: translateX(100%); } }
  @keyframes grainShift {
    0% { transform: translate(0, 0); } 25% { transform: translate(-8px, 5px); }
    50% { transform: translate(6px, -7px); } 75% { transform: translate(-4px, -3px); }
  }

  /* Pressed state for the demo cursor's tap */
  .window .w-btn { transition: transform .15s ease, box-shadow .3s; }
  .window .w-btn.pressed { transform: scale(.9); box-shadow: 0 0 0 6px rgba(16,185,129,.25); }

  /* Demo cursor */
  .demo-cursor {
    display: block;
    position: absolute; left: 0; top: 0; z-index: 5;
    width: 22px; height: 22px;
    opacity: 0;
    pointer-events: none;
    transform: translate(var(--x, 0), var(--y, 0));
    transition: transform 1.1s cubic-bezier(.6,0,.2,1), opacity .4s;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.6));
  }
  .demo-cursor svg { width: 100%; height: 100%; }
  .demo-cursor::after {
    content: ""; position: absolute; left: -9px; top: -9px;
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid var(--emerald-bright);
    opacity: 0; transform: scale(.3);
  }
  .demo-cursor.tap::after { animation: tapRing .6s ease-out; }
  @keyframes tapRing { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.2); } }

  /* ---- Unify mini cards ---- */
  .mini-visual::before {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(7,9,12,.85) 100%);
  }
  .lane-list, .exposure-list { perspective: 600px; }
  .lane-list > div,
  .exposure-list .row {
    filter: blur(1.4px);
    opacity: .45;
    transition: filter .8s ease, opacity .8s ease, transform .8s ease;
  }
  .lane-list > div.focus,
  .exposure-list .row.focus { filter: blur(0); opacity: 1; transform: translateX(4px); }
  .lane-list span:nth-child(2) {
    border-bottom: 0; height: 1px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 8px);
    animation: dashFlow .9s linear infinite;
  }
  @keyframes dashFlow { to { background-position: 8px 0; } }
  .exposure-list .bar::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    width: 30%;
    animation: barShimmer 2.4s ease-in-out infinite;
  }
  @keyframes barShimmer { from { transform: translateX(-120%); } to { transform: translateX(420%); } }
  .usage-num { filter: blur(.6px); }
  .usage-bars { transform: perspective(500px) rotateX(22deg); transform-origin: bottom; }
  .control-plane { animation: planeTilt 8s ease-in-out infinite alternate; }
  @keyframes planeTilt { from { transform: perspective(600px) rotateX(20deg) rotateZ(-3deg); } to { transform: perspective(600px) rotateX(8deg) rotateZ(3deg); } }
  .control-plane i { animation: floaty 4s ease-in-out infinite alternate; }
  .control-plane i:nth-of-type(2) { animation-delay: -1s; animation-duration: 5s; }
  .control-plane i:nth-of-type(3) { animation-delay: -2s; animation-duration: 3.5s; }
  .control-plane i:nth-of-type(4) { animation-delay: -3s; animation-duration: 4.5s; }
  @keyframes floaty { from { transform: translate(-6px, 4px); } to { transform: translate(8px, -6px); } }
}

/* Wider screens: gentler camera move, since the window sits beside the copy */
@media (min-width: 861px) {
  .step-visual .window { animation-name: camDriftWide; }
  @keyframes camDriftWide {
    0%   { transform: rotateX(10deg) rotateY(-9deg) rotateZ(1.5deg) scale(.94) translateY(6px); }
    100% { transform: rotateX(4deg) rotateY(6deg) rotateZ(-.8deg) scale(.98) translateY(-4px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .step-visual .window { transform: rotateX(10deg) rotateY(-6deg) scale(.92); }
  .demo-cursor { display: none; }
}
