/* ═══════════════════════════════════════════════════════════
   Business OS — premium dark, soft-glow, glassmorphism
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #05070d;
  --ink: #e9edf6;
  --muted: #98a1b6;
  --faint: #6b7387;
  --cyan: #67e8f9;
  --teal: #5eead4;
  --violet: #a78bfa;
  --amber: #fcd34d;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.035);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(103, 232, 249, 0.25); }

a { color: inherit; }
em { font-style: normal; }

/* ── Backdrop layers ────────────────────────────────────── */
#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.glow--a {
  width: 55vw; height: 55vw;
  top: -20vw; right: -18vw;
  background: radial-gradient(circle, #22d3ee 0%, transparent 65%);
}
.glow--b {
  width: 60vw; height: 60vw;
  bottom: -25vw; left: -20vw;
  background: radial-gradient(circle, #7c3aed 0%, transparent 65%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  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.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

main { position: relative; z-index: 2; }

/* ── Typography helpers ─────────────────────────────────── */
.grad {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-warm {
  background: linear-gradient(100deg, var(--amber) 0%, #fb923c 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.2rem;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
.lede {
  max-width: 42rem;
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: var(--muted);
}
.lede a, .statement__sub a, .closer__sub a { color: var(--cyan); text-decoration: none; }

/* ── Glass primitive ────────────────────────────────────── */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.78em 1.6em;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, background 0.35s, border-color 0.35s;
  will-change: transform;
}
.btn--primary {
  color: #04121a;
  background: linear-gradient(115deg, #7dedff, #9d8bfa);
  box-shadow: 0 0 32px rgba(103, 232, 249, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 44px rgba(125, 211, 252, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.btn--lg { padding: 1em 2.1em; font-size: 1.05rem; }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: 0.6rem 0.7rem 0.6rem 1.3rem;
  border-radius: 100px;
  background: rgba(10, 13, 22, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transition: background 0.4s, box-shadow 0.4s;
  white-space: nowrap;
}
.nav.is-scrolled {
  background: rgba(8, 10, 18, 0.8);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav__mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  position: relative;
  flex: none;
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.5);
}
.nav__mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
}
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}
.nav__links a:hover, .nav__links a[aria-current] { color: var(--ink); }
.nav__cta { padding: 0.55em 1.2em; font-size: 0.88rem; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 1.5rem 6rem;
  position: relative;
}
.hero--services { min-height: 88svh; }
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.5em 1.2em;
  border-radius: 100px;
  border: 1px solid rgba(94, 234, 212, 0.25);
  background: rgba(94, 234, 212, 0.06);
  margin-bottom: 2.2rem;
}
.hero__title {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.0;
  text-wrap: balance;
}
.hero__sub {
  max-width: 40rem;
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 300;
  color: var(--muted);
  text-wrap: balance;
}
.hero__sub em { color: var(--ink); }
.hero__actions { display: flex; gap: 1rem; margin-top: 2.6rem; flex-wrap: wrap; justify-content: center; }
.hero__proof {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 3.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--faint);
  flex-wrap: wrap;
  justify-content: center;
}
.hero__proof i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--cyan);
  animation: scrollhint 2.2s ease-in-out infinite;
}
@keyframes scrollhint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
}

/* ── Statement ──────────────────────────────────────────── */
.statement {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22vh 1.5rem;
  text-align: center;
}
.statement__text {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.statement__sub {
  max-width: 44rem;
  margin: 2.2rem auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: var(--muted);
}

/* ── Generic section ────────────────────────────────────── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14vh 1.5rem;
}
.section__head { max-width: 46rem; }

/* ── Pillars ────────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 4rem;
}
.card {
  padding: 2rem 1.8rem;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, background 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 232, 249, 0.3);
  background: rgba(255, 255, 255, 0.055);
}
.card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.2);
  box-shadow: 0 0 22px rgba(103, 232, 249, 0.12);
  margin-bottom: 1.3rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.94rem; color: var(--muted); font-weight: 300; }

/* ── Code card ──────────────────────────────────────────── */
.codecard {
  margin-top: 3.4rem;
  border-radius: 20px;
  background: rgba(8, 11, 19, 0.75);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.codecard__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.9rem 1.3rem;
  border-bottom: 1px solid var(--line);
}
.codecard__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.codecard__bar i:nth-child(1) { background: rgba(255, 95, 87, 0.55); }
.codecard__bar i:nth-child(2) { background: rgba(254, 188, 46, 0.55); }
.codecard__bar i:nth-child(3) { background: rgba(40, 200, 64, 0.55); }
.codecard__bar span { margin-left: 0.8rem; font-family: var(--mono); font-size: 0.72rem; color: var(--faint); }
.codecard pre {
  padding: 1.6rem 1.6rem 1.2rem;
  font-family: var(--mono);
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  line-height: 1.75;
  overflow-x: auto;
}
.codecard .k { color: var(--cyan); }
.codecard .s { color: var(--amber); }
.codecard .c { color: var(--faint); font-style: italic; }
.codecard__note {
  padding: 0 1.6rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 46rem;
}

/* ── Story (pinned café reflex) ─────────────────────────── */
.story { position: relative; height: 440svh; }
.story__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6.5rem 1.5rem 2rem;
  overflow: hidden;
}
.story__head h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); margin-top: 0.4rem; }
.story__grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
  flex: 1;
  min-height: 0;
}
.story__steps { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.story__steps li {
  padding: 0.9rem 1.2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  opacity: 0.32;
  transition: opacity 0.5s, border-color 0.5s, background 0.5s;
  border-radius: 0 12px 12px 0;
}
.story__steps li.is-active {
  opacity: 1;
  border-color: var(--cyan);
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.07), transparent 70%);
}
.story__steps b { display: block; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }
.story__steps span { font-size: 0.88rem; color: var(--muted); font-weight: 300; }

/* stage */
.stage { position: relative; height: 100%; min-height: 420px; }
.stage__item { position: absolute; opacity: 0; }

.st-pulse { top: 6%; left: 8%; display: flex; align-items: center; gap: 0.8rem; }
.pulse {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.5), 0 0 18px rgba(94, 234, 212, 0.8);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.45), 0 0 18px rgba(94, 234, 212, 0.8); }
  100% { box-shadow: 0 0 0 22px rgba(94, 234, 212, 0), 0 0 18px rgba(94, 234, 212, 0.8); }
}
.st-pulse__label { font-family: var(--mono); font-size: 0.78rem; color: var(--teal); }

.st-stock { top: 16%; left: 8%; width: min(330px, 70%); padding: 1.2rem 1.3rem; }
.st-stock__row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.st-stock__row em { font-family: var(--mono); font-size: 0.7rem; color: var(--faint); }
.st-stock__bar {
  position: relative;
  height: 10px;
  margin: 0.9rem 0 0.7rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  overflow: visible;
}
.st-stock__fill {
  display: block;
  height: 100%;
  width: 80%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transform-origin: left;
}
.st-stock__thresh {
  position: absolute;
  top: -5px; bottom: -5px;
  left: 50%;
  width: 2px;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}
.st-stock__meta { font-size: 0.78rem; font-weight: 400; color: var(--muted); font-family: var(--mono); }
.st-stock__meta .warn { color: var(--amber); }

.st-task {
  top: 52%; left: 8%;
  padding: 0.7rem 1.1rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.8rem;
  border-radius: 100px;
}
.st-task__state { color: var(--cyan); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot--amber { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

.st-gate { top: 38%; right: 26%; text-align: center; }
.st-gate__ring {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(252, 211, 77, 0.7);
  box-shadow: 0 0 40px rgba(252, 211, 77, 0.25), inset 0 0 40px rgba(252, 211, 77, 0.12);
  position: relative;
}
.st-gate__ring::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(252, 211, 77, 0.2);
}
.st-gate__label {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}

.st-brief { top: 8%; right: 2%; width: min(330px, 74%); padding: 1.3rem 1.4rem; border-color: rgba(252, 211, 77, 0.3); }
.st-brief__head {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 0.92rem;
  margin-bottom: 0.7rem;
  color: var(--amber);
}
.st-brief p { font-size: 0.9rem; font-weight: 300; color: var(--ink); font-style: italic; }
.st-brief__actions { display: flex; align-items: center; gap: 0.9rem; margin-top: 1rem; }
.st-brief__actions span { font-size: 0.78rem; color: var(--faint); }
.st-approve {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #051512;
  padding: 0.5em 1.4em;
  border: none;
  border-radius: 100px;
  background: linear-gradient(115deg, var(--teal), var(--cyan));
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.35);
  cursor: default;
}

.st-receipt { bottom: 2%; right: 6%; width: min(300px, 70%); }
.st-receipt__paper {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.3rem 1.4rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  background: rgba(10, 13, 22, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px 14px 4px 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent);
}
.st-receipt__paper b { color: var(--ink); letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.st-receipt__paper span { display: flex; justify-content: space-between; gap: 1rem; }
.st-receipt__paper i { color: var(--ink); font-style: normal; text-align: right; }
.st-receipt__paper .ok { color: var(--teal); margin-top: 0.4rem; }

/* ── Features grid ──────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 4rem;
}
.feature {
  padding: 1.8rem 1.7rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(252, 211, 77, 0.28); }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.55rem; }
.feature p { font-size: 0.92rem; color: var(--muted); font-weight: 300; }
.feature p em { color: var(--ink); }

.oath {
  margin-top: 3.2rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
}
.oath b { color: var(--amber); font-weight: 600; }
.oath a { color: var(--cyan); text-decoration: none; }
.oath code { font-family: var(--mono); font-size: 0.9em; color: var(--ink); }

/* ── Governance: decision trace ─────────────────────────── */
.trace {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) 1fr;
  gap: 1.4rem;
  align-items: start;
  margin-top: 4rem;
}
.trace__card {
  border-radius: 20px;
  background: rgba(8, 11, 19, 0.78);
  border: 1px solid rgba(252, 211, 77, 0.18);
  backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(252, 211, 77, 0.05);
  position: sticky;
  top: 96px;
}
.trace__body {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  padding: 1.5rem 1.6rem 1.7rem;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.trace__body > b { color: var(--amber); letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.trace__body span { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; align-items: baseline; }
.trace__body em { color: var(--faint); font-style: normal; text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.12em; }
.trace__body i { color: var(--ink); font-style: normal; }
.trace__final { padding-top: 0.7rem; border-top: 1px dashed rgba(255, 255, 255, 0.12); }
.trace__final i { color: var(--teal); }
.trace__features { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.trace__features .feature { padding: 1.5rem 1.6rem; }

/* ── Governance: the driver slot ────────────────────────── */
.driver {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 3.6rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-color: rgba(167, 139, 250, 0.22);
  box-shadow: 0 0 90px rgba(167, 139, 250, 0.07);
}
.driver__text h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  background: linear-gradient(100deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.driver__text p { color: var(--muted); font-weight: 300; font-size: 1rem; }
.driver__text p b { color: var(--ink); font-weight: 600; }
.driver__slots { display: flex; flex-direction: column; gap: 0.7rem; align-items: stretch; }
.driver__slots .chip { justify-content: space-between; border-radius: 14px; }
.chip--gate {
  border-color: rgba(252, 211, 77, 0.35);
  background: rgba(252, 211, 77, 0.05);
}
.chip--gate b { color: var(--amber); }

/* ── Governance suite: the stack ────────────────────────── */
.stack {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 860px;
  margin: 4rem auto 0;
}
.stack__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.stack__card {
  padding: 1.8rem 1.8rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s;
}
.stack__card:hover { transform: translateY(-4px); }
.stack__card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.stack__card p { font-size: 0.92rem; color: var(--muted); font-weight: 300; }
.stack__card--gov { border-color: rgba(167, 139, 250, 0.28); }
.stack__card--gov .eco-tag { color: var(--violet); border-color: rgba(167, 139, 250, 0.3); background: rgba(167, 139, 250, 0.06); }
.stack__card--aud { border-color: rgba(103, 232, 249, 0.28); }
.stack__card--aud .eco-tag { color: var(--cyan); border-color: rgba(103, 232, 249, 0.3); background: rgba(103, 232, 249, 0.06); }
.stack__card--os { border-color: rgba(94, 234, 212, 0.22); }
.stack__gate {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.4rem 0;
}
.stack__gate i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252, 211, 77, 0.55));
}
.stack__gate i:last-child { background: linear-gradient(90deg, rgba(252, 211, 77, 0.55), transparent); }
.stack__gate b {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  text-shadow: 0 0 18px rgba(252, 211, 77, 0.5);
  white-space: nowrap;
}

/* status chip in kickers */
.status {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.9em;
  padding: 0.35em 1em;
  border-radius: 100px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.07);
  color: var(--violet);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

/* ── Governance suite: the orbit diagram ────────────────── */
.orbit { max-width: 900px; margin: 4rem auto 0; }
.orbit__stage { position: relative; }
.orbit__svg { display: block; width: 100%; height: auto; overflow: visible; }
.orbit__line {
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 1.5;
  stroke-dasharray: 3 9;
  animation: lineflow 1.6s linear infinite;
}
@keyframes lineflow {
  to { stroke-dashoffset: -12; }
}
.orbit__gatering {
  stroke: rgba(252, 211, 77, 0.75);
  stroke-width: 2;
  filter: drop-shadow(0 0 12px rgba(252, 211, 77, 0.45));
}
.orbit__gatering--outer {
  stroke: rgba(252, 211, 77, 0.22);
  stroke-width: 1;
  filter: none;
}
.orbit__gatelabel, .orbit__owner, .pkt__label {
  font-family: var(--mono);
  text-anchor: middle;
}
.orbit__gatelabel {
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  fill: var(--amber);
}
.orbit__owner {
  font-size: 15px;
  fill: var(--teal);
  opacity: 0;
}
.pkt__label { font-size: 15px; fill: var(--ink); }
.pkt__halo { opacity: 0.18; }
.pkt--violet .pkt__core, .pkt--violet .pkt__halo { fill: var(--violet); }
.pkt--cyan .pkt__core, .pkt--cyan .pkt__halo { fill: var(--cyan); }
.pkt--teal .pkt__core, .pkt--teal .pkt__halo { fill: var(--teal); }
.pkt--amber .pkt__core, .pkt--amber .pkt__halo { fill: var(--amber); }
.pkt__core { filter: drop-shadow(0 0 8px currentColor); }

.orbit__node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.9rem 1.6rem 1rem;
  text-align: center;
  border-radius: 16px;
  will-change: filter;
}
.orbit__node .eco-tag { margin-bottom: 0.3rem; }
.orbit__node b { font-size: 1rem; letter-spacing: -0.01em; }
.orbit__node--gov { left: 20%; top: 21%; border-color: rgba(167, 139, 250, 0.3); }
.orbit__node--gov .eco-tag { color: var(--violet); border-color: rgba(167, 139, 250, 0.3); background: rgba(167, 139, 250, 0.06); }
.orbit__node--aud { left: 80%; top: 21%; border-color: rgba(103, 232, 249, 0.3); }
.orbit__node--aud .eco-tag { color: var(--cyan); border-color: rgba(103, 232, 249, 0.3); background: rgba(103, 232, 249, 0.06); }
.orbit__node--os { left: 50%; top: 79%; border-color: rgba(94, 234, 212, 0.28); }

.orbit__beat {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(94, 234, 212, 0.45);
  animation: nodebeat 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes nodebeat {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.22); opacity: 0; }
}

.orbit__caption {
  margin-top: 1.4rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  min-height: 1.4em;
}

/* flow list becomes the caption track when the orbit is live */
.flow--live li { opacity: 0.42; transition: opacity 0.45s; cursor: pointer; }
.flow--live li:hover { opacity: 0.75; }
.flow--live li.is-active { opacity: 1; }

/* ── Governance suite: the flow ─────────────────────────── */
.flow {
  list-style: none;
  max-width: 800px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
}
.flow li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1.4rem;
  align-items: start;
  padding: 1.6rem 0;
}
.flow li + li { border-top: 1px solid var(--line); }
.flow__num {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--faint);
  padding-top: 0.15rem;
}
.flow b { display: block; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 0.35rem; }
.flow p { font-size: 0.93rem; color: var(--muted); font-weight: 300; max-width: 34rem; }
.flow__actor {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45em 1em;
  border-radius: 100px;
  border: 1px solid var(--line);
  white-space: nowrap;
  margin-top: 0.2rem;
}
.flow__actor--gov { color: var(--violet); border-color: rgba(167, 139, 250, 0.3); }
.flow__actor--os { color: var(--teal); border-color: rgba(94, 234, 212, 0.3); }
.flow__actor--aud { color: var(--cyan); border-color: rgba(103, 232, 249, 0.3); }
.flow__actor--gate { color: var(--amber); border-color: rgba(252, 211, 77, 0.35); }

.driver__more { margin-top: 1.4rem; }

/* ── Ecosystem surfaces ─────────────────────────────────── */
.surfaces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 4rem;
}
.eco-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.4em 0.9em;
  border-radius: 100px;
  border: 1px solid rgba(94, 234, 212, 0.22);
  background: rgba(94, 234, 212, 0.05);
  margin-bottom: 1.2rem;
}
.surfaces .card h3 { font-size: 1.08rem; }
.eco__note {
  margin: 3rem auto 0;
  max-width: 46rem;
  text-align: center;
  font-size: 0.98rem;
  color: var(--muted);
  font-weight: 300;
}
.eco__note a { color: var(--cyan); text-decoration: none; }
.eco__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
}
.eco__chips span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
  padding: 0.45em 1em;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.eco__chips-you { color: var(--violet) !important; border-color: rgba(167, 139, 250, 0.35) !important; }

/* ── Lexicon ────────────────────────────────────────────── */
.lexicon {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14vh 1.5rem;
  text-align: center;
}
.lexicon__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3rem;
}
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  padding: 0.7em 1.3em;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
  transition: border-color 0.35s, transform 0.35s, color 0.35s;
}
.chip b { color: var(--ink); font-weight: 600; }
.chip:hover { border-color: rgba(103, 232, 249, 0.4); transform: translateY(-3px); color: var(--ink); }
.lexicon__ask {
  margin: 2.6rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
}
.lexicon__ask em { color: var(--cyan); font-style: italic; }

/* ── Closer ─────────────────────────────────────────────── */
.closer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20vh 1.5rem;
  text-align: center;
}
.closer__title {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.closer__sub {
  max-width: 42rem;
  margin: 2rem auto 0;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--muted);
  font-weight: 300;
}
.closer__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.8rem;
  flex-wrap: wrap;
}
.closer__quick { margin-top: 3.2rem; }
.closer__quick code {
  display: inline-block;
  padding: 0.9em 1.6em;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8, 11, 19, 0.7);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--teal);
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

/* ── Services: guarantee ────────────────────────────────── */
.guarantee {
  padding: clamp(2rem, 5vw, 4rem);
  border-color: rgba(252, 211, 77, 0.22);
  box-shadow: 0 0 90px rgba(252, 211, 77, 0.06);
}
.guarantee h2 { margin-bottom: 1.4rem; }
.guarantee p { max-width: 50rem; color: var(--muted); font-weight: 300; font-size: 1.05rem; }
.guarantee p b { color: var(--ink); font-weight: 600; }
.guarantee blockquote {
  margin-top: 2rem;
  padding: 1.4rem 1.8rem;
  border-left: 2px solid var(--amber);
  border-radius: 0 14px 14px 0;
  background: rgba(252, 211, 77, 0.05);
  color: var(--ink);
  font-weight: 300;
  max-width: 50rem;
}
.guarantee blockquote em { font-style: italic; color: var(--amber); }

/* ── Services: offers ───────────────────────────────────── */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 4rem;
}
.offer {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, background 0.4s;
}
.offer:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 232, 249, 0.3);
  background: rgba(255, 255, 255, 0.055);
}
.offer__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--violet);
  background: rgba(167, 139, 250, 0.09);
  border: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow: 0 0 22px rgba(167, 139, 250, 0.12);
  margin-bottom: 1.3rem;
}
.offer__icon svg { width: 22px; height: 22px; }
.offer h3 { font-size: 1.12rem; margin-bottom: 0.6rem; }
.offer p { font-size: 0.93rem; color: var(--muted); font-weight: 300; flex: 1; }
.offer__why {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--faint);
  font-weight: 300;
}
.offer__why em { color: var(--muted); font-style: italic; }

/* ── Services: boundary columns ─────────────────────────── */
.boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 3.6rem;
}
.boundary__col { padding: 2.2rem 2rem; }
.boundary__col > b {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.4rem;
}
.boundary__col--paid > b { color: var(--violet); }
.boundary__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.boundary__col li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 300;
}
.boundary__col li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
}
.boundary__col--paid li::before { content: "◆"; color: var(--violet); font-size: 0.6rem; top: 0.35em; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(6, 8, 14, 0.7);
  backdrop-filter: blur(18px);
  padding: 4.5rem 1.5rem 2rem;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 3rem;
}
.footer__brand { display: flex; gap: 1rem; align-items: flex-start; max-width: 22rem; }
.footer__brand b { font-size: 1.05rem; }
.footer__brand p { font-size: 0.85rem; color: var(--faint); font-weight: 300; margin-top: 0.4rem; }
.footer__cols { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.footer__cols > div { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__cols b {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.4rem;
}
.footer__cols a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}
.footer__cols a:hover { color: var(--ink); }
.footer__legal {
  max-width: var(--max);
  margin: 3.5rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--faint);
}

/* ── Reveal defaults (JS animates in) ───────────────────── */
[data-reveal] { opacity: 0; transform: translateY(34px); will-change: transform, opacity; }
.no-motion [data-reveal] { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .pillars, .features, .surfaces, .offers { grid-template-columns: 1fr 1fr; }
  .trace { grid-template-columns: 1fr; }
  .trace__card { position: static; }
  .driver { grid-template-columns: 1fr; gap: 1.8rem; }
  .stack__row { grid-template-columns: 1fr; }
  .stack__gate b { white-space: normal; text-align: center; }
  .flow li { grid-template-columns: 40px 1fr; }
  .flow__actor { grid-column: 2; justify-self: start; }
  .story__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .story { height: 520svh; }
  .story__steps { flex-direction: column; gap: 0.5rem; }
  .story__steps li { padding: 0.55rem 1rem; }
  .story__steps span { display: none; }
  .stage { min-height: 340px; }
}
@media (max-width: 720px) {
  .nav { gap: 1rem; padding-right: 0.55rem; }
  .nav__links { display: none; }
  .pillars, .features, .surfaces, .offers, .boundary { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .st-gate { right: 8%; }
  .st-gate__ring { width: 90px; height: 90px; }
  .hero__proof { gap: 0.7rem; }
  .orbit__node { padding: 0.5rem 0.8rem 0.6rem; border-radius: 12px; }
  .orbit__node b { font-size: 0.78rem; }
  .orbit__node .eco-tag { font-size: 0.55rem; padding: 0.3em 0.7em; margin-bottom: 0.15rem; }
  .orbit__caption { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
