/* Blacklight Network homepage
   One page, two modes.
   html[data-mode="light"] = Commercial
   html[data-mode="dark"]  = National security
   Elements tagged data-m="light|dark" only render in that mode. */

:root {
  --font-d: "Cabinet Grotesk", "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-b: "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --wrap: 1320px;
  --pad: clamp(20px, 4vw, 48px);
}

html[data-mode="light"] {
  color-scheme: light;
  --bg: #f6f5f9;
  --bg-2: #eceaf3;
  --surface: #ffffff;
  --surface-2: #f2f0f8;
  --ink: #15111f;
  --ink-2: #3a3449;
  --muted: #5e586b;
  --faint: #767083;
  --line: rgba(21, 17, 31, 0.1);
  --line-2: rgba(21, 17, 31, 0.2);
  --accent: #5f33e6;
  --accent-hover: #4b22c9;
  --on-accent: #ffffff;
  --accent-soft: #ebe5fd;
  --live: #0b7f52;
  --shadow: 0 1px 2px rgba(21, 17, 31, 0.05), 0 18px 40px -18px rgba(21, 17, 31, 0.18);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-btn: 999px;
  --c-bg: #15111f;
  --c-ink: #ffffff;
  --c-muted: #b9b3c9;
  --c-line: rgba(255, 255, 255, 0.22);
  --c-btn-bg: #8f6bff;
  --c-btn-ink: #0b0714;
}

html[data-mode="dark"] {
  color-scheme: dark;
  --bg: #07060b;
  --bg-2: #0d0b13;
  --surface: #100e17;
  --surface-2: #181520;
  --ink: #f1eef8;
  --ink-2: #cfc9dc;
  --muted: #9a94a8;
  --faint: #7f798d;
  --line: rgba(241, 238, 248, 0.1);
  --line-2: rgba(241, 238, 248, 0.2);
  --accent: #8f6bff;
  --accent-hover: #a88dff;
  --on-accent: #0b0714;
  --accent-soft: rgba(143, 107, 255, 0.14);
  --live: #3ddc97;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --r-btn: 10px;
  --c-bg: #8f6bff;
  --c-ink: #0b0714;
  --c-muted: #140b30;
  --c-line: rgba(11, 7, 20, 0.3);
  --c-btn-bg: #0b0714;
  --c-btn-ink: #ffffff;
}

html[data-mode="light"] [data-m="dark"],
html[data-mode="dark"] [data-m="light"] {
  display: none !important;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  transition: top 0.15s;
}
.skip:focus {
  top: 12px;
}
.ic {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  flex: none;
  font-style: normal;
}
.ic svg {
  width: 100%;
  height: 100%;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  height: 72px;
}
.brand {
  display: inline-flex;
  flex: none;
}
.brand img {
  height: 30px;
  width: auto;
}
html[data-mode="light"] .brand-white,
html[data-mode="dark"] .brand-ink {
  display: none;
}
.nav-links {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-links a {
  padding: 8px 0;
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-menu {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--r-btn);
  border: 1px solid var(--line-2);
}
.nav-menu .ic {
  width: 20px;
  height: 20px;
}

/* Mode switch */
.mode {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.15s, background-color 0.15s;
}
.mode-btn:hover {
  color: var(--ink);
}
.mode-btn .ic {
  width: 17px;
  height: 17px;
}
.mode-txt {
  display: grid;
  text-align: left;
  line-height: 1.12;
}
.mode-txt b {
  font-size: 0.84rem;
  font-weight: 600;
}
.mode-txt small {
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
}
.mode-btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(21, 17, 31, 0.12), 0 0 0 1px var(--line);
}
html[data-mode="dark"] .mode-btn[aria-pressed="true"] {
  background: var(--surface-2);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent);
}
html[data-mode="dark"] .mode-btn[aria-pressed="true"] .ic {
  color: var(--accent);
}
html[data-mode="light"] .mode-btn[aria-pressed="true"] .ic {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 0.94rem;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 1rem;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 104px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -72px 0 0;
  z-index: -1;
  pointer-events: none;
}
html[data-mode="light"] .hero::before {
  background: radial-gradient(60% 70% at 86% 18%, rgba(95, 51, 230, 0.09), transparent 70%);
}
html[data-mode="dark"] .hero::before {
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(75% 80% at 72% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(75% 80% at 72% 30%, #000 0%, transparent 78%);
  opacity: 0.7;
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
  gap: clamp(32px, 4.4vw, 64px);
  align-items: center;
}
.hero-copy {
  container-type: inline-size;
}
.tag {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font: 500 0.72rem/1.4 var(--font-m);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.tag-sep {
  color: var(--faint);
}
.h1 {
  margin: clamp(18px, 2.4vw, 28px) 0 clamp(20px, 2.6vw, 30px);
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-size: clamp(2.5rem, 9.9cqi, 6rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.h1-art {
  display: block;
}
.h1-l {
  display: block;
}
.nb {
  display: inline-block;
  white-space: nowrap;
}
.h1-acc {
  color: var(--accent);
}
html[data-mode="dark"] .h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  font-size: clamp(2.5rem, 9.5cqi, 5.8rem);
}
.w-chaotic b,
.w-siloed b {
  display: inline-block;
  font-weight: inherit;
}
.w-chaotic b:nth-child(1) {
  transform: translateY(0.03em) rotate(-6deg);
}
.w-chaotic b:nth-child(2) {
  transform: translateY(-0.05em) rotate(5deg);
}
.w-chaotic b:nth-child(3) {
  transform: translateY(0.045em) rotate(-4deg);
}
.w-chaotic b:nth-child(4) {
  transform: translateY(-0.02em) rotate(7deg);
}
.w-chaotic b:nth-child(5) {
  transform: translateY(0.04em) rotate(-8deg);
}
.w-chaotic b:nth-child(6) {
  transform: translateY(-0.06em) rotate(6deg);
}
.w-chaotic b:nth-child(7) {
  transform: translateY(0.03em) rotate(-5deg);
}
.w-alone {
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  color: color-mix(in srgb, var(--ink) 48%, var(--bg));
}
.w-siloed {
  display: inline-flex;
  gap: 0.045em;
  vertical-align: baseline;
  letter-spacing: 0;
}
.w-siloed b {
  padding: 0 0.05em;
  border: 0.028em dashed color-mix(in srgb, var(--ink) 42%, transparent);
  border-radius: 0.12em;
  line-height: 1.02;
  color: color-mix(in srgb, var(--ink) 62%, var(--bg));
}
.lede {
  max-width: 35em;
  font-size: clamp(1.06rem, 1.3vw, 1.22rem);
  line-height: 1.5;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 36px);
}
.hero-notes {
  display: grid;
  gap: 8px;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 36em;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-notes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.hero-notes .ic {
  margin-top: 0.18em;
  color: var(--accent);
}
.built-for {
  display: grid;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.built-k {
  font: 500 0.7rem var(--font-m);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.built-for ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.built-for li {
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}

/* ---------- Hero stage ---------- */
.stage-panel {
  position: relative;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.stage-head {
  display: flex;
  justify-content: center;
}
.stage-toggle {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 0.78rem;
  font-weight: 500;
}
.stage-toggle button {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s, background-color 0.2s;
}
.stage-toggle button:hover {
  color: var(--ink);
}
.stage-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
  overflow: hidden;
  margin-top: 10px;
  border-radius: calc(var(--r-lg) - 8px);
  background: var(--surface-2);
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(var(--line-2) 1px, transparent 1.5px) 0 0 / 5cqw 5cqw;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 78%);
  opacity: 0.8;
}
html[data-mode="dark"] .stage {
  background: var(--bg-2);
}
.stage-cap {
  display: grid;
  place-items: center;
  min-height: 3.2em;
  padding: 10px 8px 2px;
  text-align: center;
  font: 500 0.74rem/1.4 var(--font-m);
  color: var(--muted);
}
.stage-cap span {
  grid-area: 1 / 1;
  transition: opacity 0.4s ease;
}
.stage-panel[data-state="chaos"] [data-cap="order"],
.stage-panel[data-state="order"] [data-cap="chaos"] {
  opacity: 0;
}
.stage-panel[data-state="order"] [data-cap="order"] {
  color: var(--ink);
}

.wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wires * {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.wires .orb {
  stroke: var(--line-2);
  stroke-width: 1;
  stroke-dasharray: 2 5;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.wires .w {
  stroke: color-mix(in srgb, var(--accent) 45%, transparent);
  stroke-width: 1.25;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
  transition: stroke-dashoffset 0.9s var(--ease), opacity 0.3s ease;
}
.wires .fl {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1.2 13.8;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: flow 2.6s linear infinite;
}
.stage-panel[data-state="order"] .orb {
  opacity: 1;
  transition-delay: 0.35s;
}
.stage-panel[data-state="order"] .w {
  stroke-dashoffset: 0;
  opacity: 1;
  transition-delay: 0.3s;
}
.stage-panel[data-state="order"] .fl {
  opacity: 1;
  transition-delay: 1.1s;
}
@keyframes flow {
  to {
    stroke-dashoffset: -30;
  }
}

.n {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  display: grid;
  place-items: center;
  transition:
    translate 0.95s var(--ease),
    rotate 0.95s var(--ease),
    scale 0.95s var(--ease),
    opacity 0.55s ease;
  transition-delay: calc(var(--i, 0) * 26ms);
}
.stage-panel[data-state="chaos"] .n {
  translate: calc(var(--cx) * 1cqw) calc(var(--cy) * 1cqw);
  rotate: var(--cr, 0deg);
  scale: var(--cs, 1);
  opacity: var(--co, 1);
}
.stage-panel[data-state="order"] .n {
  translate: calc(var(--ox) * 1cqw) calc(var(--oy) * 1cqw);
  rotate: 0deg;
  scale: var(--os, 1);
  opacity: var(--oo, 1);
}
.n-tool {
  --s: 12cqw;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28%;
  box-shadow: 0 0.4cqw 1.6cqw -0.4cqw rgba(21, 17, 31, 0.22);
}
.n-tool img {
  width: 56%;
  height: 56%;
}
.n-mem {
  --s: 8.4cqw;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
}
.n-mem.alt {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
}
.n-mem.ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.n-mem svg {
  width: 52%;
  height: 52%;
}
.n-you {
  --s: 17cqw;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font: 800 4.6cqw/1 var(--font-d);
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 1.4cqw color-mix(in srgb, var(--accent) 16%, transparent);
  z-index: 2;
}
.n-chip,
.n-lab {
  width: max-content;
  height: auto;
  margin: 0;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.n-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  font: 500 clamp(9.5px, 2.5cqw, 12.5px) / 1.2 var(--font-b);
  color: var(--ink-2);
  box-shadow: 0 0.3cqw 1.2cqw -0.4cqw rgba(21, 17, 31, 0.2);
}
.n-chip.good {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.n-chip svg {
  width: 1.1em;
  height: 1.1em;
}
.n-lab {
  font: 500 clamp(9px, 2.3cqw, 11.5px) / 1 var(--font-m);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.n-dv {
  --s: 10.6cqw;
  color: var(--ink);
}
.n-dv .nb2 {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 24%;
}
.n-dv svg {
  width: 50%;
  height: 50%;
}
.n-dv.is-ppl .nb2 {
  border-radius: 50%;
}
.n-dv.is-ai {
  color: var(--accent);
}
.n-dv.is-ai .nb2 {
  rotate: 45deg;
  scale: 0.84;
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  background: var(--accent-soft);
}
.n-dv.is-ai svg {
  rotate: -45deg;
  width: 56%;
  height: 56%;
}
.n-x {
  --s: 6cqw;
  color: var(--faint);
}
.n-x svg {
  width: 70%;
  height: 70%;
}
.n-hub {
  --s: 23cqw;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  align-content: center;
  gap: 0.6cqw;
  font: 800 3.1cqw/1 var(--font-d);
  letter-spacing: -0.01em;
  box-shadow: 0 0 0 1.6cqw color-mix(in srgb, var(--accent) 18%, transparent), 0 0 0 4cqw color-mix(in srgb, var(--accent) 7%, transparent);
  z-index: 2;
}
.n-hub svg {
  width: 6.4cqw;
  height: 6.4cqw;
}
.n-hub small {
  font: 500 clamp(7px, 1.7cqw, 9px) / 1 var(--font-m);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}
@container (max-width: 400px) {
  .n-hub small {
    display: none;
  }
  .n-hub {
    font-size: 3.4cqw;
  }
}
.silo {
  position: absolute;
  border: 1.5px dashed var(--line-2);
  border-radius: 3cqw;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  transition: opacity 0.5s ease, scale 0.8s var(--ease);
}
.stage-panel[data-state="order"] .silo {
  opacity: 0;
  scale: 0.94;
}

/* ---------- Sections ---------- */
.sec {
  padding: clamp(72px, 9vw, 132px) 0;
}
.sec-head {
  max-width: 900px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.eyebrow {
  margin-bottom: 16px;
  font: 500 0.74rem/1.3 var(--font-m);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
h2 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(2rem, 4.3vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2 .ln {
  display: block;
}
.sec-sub {
  margin-top: 22px;
  max-width: 44em;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  color: var(--muted);
}

/* Ledger */
.ledger-sec {
  border-top: 1px solid var(--line);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.ledger {
  border-top: 1px solid var(--line-2);
}
.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: baseline;
  padding: clamp(18px, 2vw, 26px) 0;
  border-bottom: 1px solid var(--line);
}
.ledger-top {
  padding: 14px 0;
  font: 500 0.7rem var(--font-m);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ledger-on {
  color: var(--accent);
}
.ledger-from {
  color: var(--muted);
  font-size: 1.04rem;
}
.ledger-to {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font: 700 clamp(1.14rem, 1.75vw, 1.5rem) / 1.2 var(--font-d);
  letter-spacing: -0.012em;
}
.ledger-to .ic {
  color: var(--accent);
  transform: translateY(0.14em);
}

/* Steps */
.step {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: center;
  padding: clamp(36px, 5vw, 68px) 0;
  border-top: 1px solid var(--line);
}
.step:last-child {
  padding-bottom: 0;
}
.step-flip .step-copy {
  order: 2;
}
.step-n {
  font: 500 0.8rem var(--font-m);
  letter-spacing: 0.1em;
  color: var(--accent);
}
.step h3 {
  margin: 12px 0 14px;
  font: 800 clamp(1.7rem, 2.8vw, 2.5rem) / 1.04 var(--font-d);
  letter-spacing: -0.025em;
}
.step-copy > p:not(.step-n) {
  max-width: 33em;
  color: var(--muted);
}
.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: 0.94rem;
  font-weight: 500;
}
.ticks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ticks .ic {
  color: var(--accent);
}
.vig {
  padding: clamp(18px, 2vw, 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.vig-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.vig-title {
  font: 700 1.1rem var(--font-d);
}
.vig-note {
  font: 500 0.62rem var(--font-m);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.src-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.src-row + .src-row {
  margin-top: 10px;
}
.src-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--surface-2);
}
.src-ic img {
  width: 24px;
  height: 24px;
}
.src-txt {
  min-width: 0;
}
.src-txt strong {
  display: block;
  font-weight: 600;
}
.src-txt > span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}
.src-txt .src-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.lg img {
  width: 15px;
  height: 15px;
}
.pill-on {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--live);
  white-space: nowrap;
}
.pill-on span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.tabs {
  display: flex;
  gap: 2px;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.tabs span {
  padding: 6px 13px;
  border-radius: 999px;
}
.tabs .on {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(21, 17, 31, 0.12);
}
.focus-bar {
  display: flex;
  gap: 3px;
  height: 14px;
  margin: 20px 0 14px;
}
.focus-bar.sm {
  height: 9px;
  margin: 0;
}
.focus-bar i {
  flex: var(--w) 1 0;
  border-radius: 4px;
  background: var(--accent);
}
.focus-bar i:nth-child(2) {
  background: color-mix(in srgb, var(--accent) 72%, var(--surface));
}
.focus-bar i:nth-child(3) {
  background: color-mix(in srgb, var(--accent) 50%, var(--surface));
}
.focus-bar i:nth-child(4) {
  background: color-mix(in srgb, var(--accent) 32%, var(--surface));
}
.focus-bar i:nth-child(5) {
  background: color-mix(in srgb, var(--accent) 18%, var(--surface));
}
.focus-list li {
  display: grid;
  grid-template-columns: 20px 86px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  font-size: 0.88rem;
  font-weight: 500;
}
.focus-list img {
  width: 18px;
  height: 18px;
}
.focus-list b {
  display: block;
  width: calc(var(--w) * 1%);
  height: 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 70%, var(--surface));
}
.vig-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.soc-id {
  display: flex;
  align-items: center;
  gap: 12px;
}
.soc-av {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.soc-av .ic {
  width: 24px;
  height: 24px;
}
.soc-av.sm {
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--bg);
}
.soc-av.sm .ic {
  width: 17px;
  height: 17px;
}
.soc-lines {
  display: grid;
  gap: 8px;
  flex: 1;
}
.sk {
  display: block;
  height: 9px;
  width: 62%;
  border-radius: 5px;
  background: var(--bg-2);
}
.sk-lg {
  height: 12px;
  width: 44%;
  background: var(--line-2);
}
.sk-sm {
  width: 34%;
}
.soc-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 500 0.66rem var(--font-m);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.soc-label {
  margin: 20px 0 9px;
  font: 500 0.66rem var(--font-m);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.soc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.soc-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 3;
  padding: 10px;
  border-radius: var(--r-sm);
  color: #ffffff;
}
.soc-tile .ic {
  width: 20px;
  height: 20px;
  opacity: 0.9;
}
.soc-tile.t3 {
  color: var(--accent);
}
.soc-tile .sk {
  width: 70%;
  height: 7px;
  background: rgba(255, 255, 255, 0.55);
}
.soc-tile.t1 {
  background: var(--accent);
}
.soc-tile.t2 {
  background: var(--ink);
}
.soc-tile.t3 {
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent) 0 2px, transparent 2px 10px),
    var(--accent-soft);
}
.soc-tile.t3 .sk {
  background: color-mix(in srgb, var(--accent) 45%, transparent);
}
.cmp-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 4px 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.soc-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.bubble {
  display: grid;
  gap: 6px;
  flex: 1;
  max-width: 56%;
  padding: 11px 13px;
  border-radius: 14px 14px 14px 4px;
  background: var(--surface-2);
}
.soc-msg-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* Teams and plans */
.social-profile-image {
  display: block;
  width: 100%;
  height: auto;
}

.teams-sec {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.teams-in {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: start;
}
.teams-copy > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  max-width: 33em;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-weight: 600;
  color: var(--accent);
}
.link-arrow .ic {
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover .ic {
  transform: translateX(4px);
}
.plans {
  border-top: 1px solid var(--line-2);
}
.plans li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.plans h3 {
  font: 800 1.45rem/1.1 var(--font-d);
  letter-spacing: -0.02em;
}
.plan-main p {
  margin-top: 6px;
  color: var(--ink-2);
}
.plan-meta {
  display: block;
  margin-top: 12px;
  font: 500 0.7rem/1.5 var(--font-m);
  letter-spacing: 0.04em;
  color: var(--muted);
}
.plan-meta span {
  margin: 0 6px;
  color: var(--faint);
}
.plan-price {
  flex: none;
  text-align: right;
  white-space: nowrap;
}
.plan-price b {
  font: 800 1.7rem/1 var(--font-d);
  letter-spacing: -0.02em;
}
.plan-price span {
  margin-left: 2px;
  font-size: 0.86rem;
  color: var(--muted);
}
.plans .plans-note {
  padding: 16px 0 0;
  border-bottom: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Dark: network bus ---------- */
.net-sec {
  border-top: 1px solid var(--line);
}
.bus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px 56px minmax(0, 270px);
  align-items: stretch;
}
.lanes {
  display: grid;
  gap: 14px;
  padding-right: 56px;
}
.lane {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-areas: "k p" "k c";
  gap: 12px 24px;
  align-items: start;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.lane-k {
  grid-area: k;
  display: grid;
  gap: 12px;
}
.lane-k .ic {
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.lane-k h3 {
  font: 800 1.5rem/1 var(--font-d);
  letter-spacing: -0.02em;
}
.lane > p {
  grid-area: p;
  color: var(--muted);
  font-size: 0.98rem;
}
.chips {
  grid-area: c;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips li {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: 500 0.7rem var(--font-m);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.lane-line,
.bus-join {
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 14px);
  background-size: 14px 2px;
  animation: dash 0.9s linear infinite;
}
.lane-line {
  position: absolute;
  left: 100%;
  top: 50%;
  width: 57px;
  height: 2px;
}
.bus-join {
  align-self: center;
  height: 2px;
}
@keyframes dash {
  to {
    background-position: 14px 0;
  }
}
.gate {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px 16px;
  text-align: center;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: var(--r-md);
}
.gate .ic {
  width: 34px;
  height: 34px;
  color: var(--accent);
}
.gate-k {
  font: 800 1.1rem/1.1 var(--font-d);
}
.gate ul {
  display: grid;
  gap: 6px;
  font: 500 0.7rem var(--font-m);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.op {
  align-self: center;
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
}
.op-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 0.7rem var(--font-m);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--live);
}
.op-live span,
.live-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent);
  }
  100% {
    box-shadow: 0 0 0 9px transparent;
  }
}
.op strong {
  display: block;
  margin: 10px 0 16px;
  font: 800 2rem/1 var(--font-d);
  letter-spacing: -0.025em;
}
.op ul {
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink-2);
}
.op li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.op li .ic {
  color: var(--accent);
}

/* ---------- Dark: OpsWatch ---------- */
.ops-sec {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.ops-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  max-width: none;
}
.ops-head .sec-sub {
  margin-top: 0;
}
.ow {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.ow-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.ow-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 1.05rem var(--font-d);
}
.ow-name .ic {
  color: var(--accent);
}
.ow-op {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 0.68rem var(--font-m);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.ow-who {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.who {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
}
.ow-body {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr) minmax(0, 310px);
  min-height: 400px;
}
.ow-pane {
  position: relative;
  padding: 16px;
}
.ow-board {
  border-right: 1px solid var(--line);
}
.ow-chat {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}
.pane-k {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font: 500 0.66rem var(--font-m);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pane-k span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--live);
  letter-spacing: 0.06em;
}
.tasks {
  display: grid;
  gap: 8px;
}
.tasks li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.86rem;
  font-weight: 500;
}
.st {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--faint);
}
.st-live {
  background: var(--live);
  border-color: var(--live);
}
.st-done {
  background: var(--faint);
}
.as {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
}
.as .ic {
  width: 13px;
  height: 13px;
}
.ow-map {
  padding: 0;
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg);
}
.ow-map .pane-k {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  margin: 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
}
.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-svg * {
  vector-effect: non-scaling-stroke;
}
.map-roads path {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-zone {
  fill: color-mix(in srgb, var(--accent) 10%, transparent);
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
}
.map-cone {
  fill: color-mix(in srgb, var(--live) 13%, transparent);
}
.map-link path {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 80%, transparent);
  stroke-width: 1.3;
  stroke-dasharray: 3 7;
  animation: maplink 1.4s linear infinite;
}
@keyframes maplink {
  to {
    stroke-dashoffset: -20;
  }
}
.mk {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1.5px solid var(--ink-2);
  color: var(--ink);
}
.mk .ic {
  width: 17px;
  height: 17px;
}
.mk em {
  position: absolute;
  top: 100%;
  margin-top: 5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  font: 500 0.62rem/1.2 var(--font-m);
  font-style: normal;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--ink-2);
}
.mk-dev {
  border-radius: 9px;
}
.mk-op {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 20%, transparent);
}
.mk-op .ic {
  width: 22px;
  height: 22px;
}
.feed {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: clamp(110px, 24%, 150px);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(61, 220, 151, 0.07) 0 1px, transparent 1px 4px),
    #050508;
  color: var(--live);
}
.feed > .ic {
  width: 26px;
  height: 26px;
  opacity: 0.8;
}
.feed-k {
  position: absolute;
  left: 8px;
  top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 0.56rem var(--font-m);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f1eef8;
}
.feed-k .live-dot {
  width: 6px;
  height: 6px;
}
.chat {
  display: grid;
  gap: 14px;
  align-content: start;
  flex: 1;
}
.chat li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
}
.av {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
}
.av .ic {
  width: 15px;
  height: 15px;
}
.is-dev .av {
  border-radius: 8px;
}
.is-ai .av {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  background: var(--accent-soft);
}
.chat b {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
}
.is-ai b {
  color: var(--accent);
}
.chat p {
  margin-top: 1px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink-2);
}
.chat-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.84rem;
  color: var(--faint);
}
.ow figcaption {
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  font: 500 0.66rem var(--font-m);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 60px);
  border-top: 1px solid var(--line-2);
}
.feats li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.feats .ic {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--accent);
}
.feats h3 {
  font: 700 1.14rem/1.2 var(--font-d);
}
.feats p {
  margin-top: 4px;
  font-size: 0.94rem;
  color: var(--muted);
}

/* Security regimes */
.reg-in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: start;
}
.reg-copy > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  max-width: 30em;
}
.reg-list dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  border-top: 1px solid var(--line-2);
}
.reg-list dl > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.reg-list dt {
  font: 800 clamp(1.2rem, 1.9vw, 1.6rem) / 1.1 var(--font-d);
  letter-spacing: -0.02em;
}
.reg-list dd {
  margin-top: 8px;
  font: 500 0.66rem/1.4 var(--font-m);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.reg-note {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- Podcast ---------- */
.pod-sec {
  border-top: 1px solid var(--line);
}
html[data-mode="light"] .pod-sec {
  border-top: 0;
}
.pod-in {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: center;
}
.pod-copy h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
}
.pod-copy > p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 34em;
  color: var(--muted);
}
.pod-player {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.pod-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font: 500 0.7rem var(--font-m);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pod-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pod-meta .ic {
  color: var(--accent);
}
.pod-player audio {
  display: block;
  width: 100%;
  height: 44px;
}

/* ---------- CTA ---------- */
.cta-sec {
  padding: clamp(72px, 9vw, 140px) 0;
  background: var(--c-bg);
  color: var(--c-ink);
}
.cta-sec h2 {
  max-width: 14em;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 48px);
}
.cta-sec .btn-primary {
  background: var(--c-btn-bg);
  color: var(--c-btn-ink);
}
.cta-sec .btn-primary:hover {
  filter: brightness(1.12);
}
.cta-sec .btn-ghost {
  border-color: var(--c-line);
  color: var(--c-ink);
}
.cta-sec .btn-ghost:hover {
  border-color: var(--c-ink);
}
.cta-sec :focus-visible {
  outline-color: var(--c-ink);
}
.cross {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  width: 100%;
  text-align: left;
  font-size: 0.96rem;
  color: var(--c-muted);
}
.cross b {
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.cross:hover b {
  text-decoration-thickness: 2.5px;
}

/* ---------- Footer ---------- */
.foot {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: start;
}
.foot-brand p {
  margin-top: 14px;
  max-width: 34em;
  color: var(--muted);
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-weight: 500;
  padding-top: 6px;
}
.foot-nav a:hover {
  color: var(--accent);
}
.foot-co {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font: 500 0.7rem var(--font-m);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.js [data-reveal].in {
  opacity: 1;
}

/* ---------- Mode transition ---------- */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) {
  z-index: 1;
}
::view-transition-new(root) {
  z-index: 2;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .mode-txt small {
    display: none;
  }
  .mode-btn {
    padding: 8px 14px 8px 11px;
  }
  .bus {
    grid-template-columns: minmax(0, 1fr) 150px 36px minmax(0, 230px);
  }
  .lanes {
    padding-right: 36px;
  }
  .lane-line {
    width: 37px;
  }
  .lane {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px 18px;
    padding: 20px;
  }
  .ow-body {
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr) minmax(0, 270px);
  }
}
@media (max-width: 1020px) {
  .nav-menu {
    display: grid;
  }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--pad) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line-2);
    font-size: 1.05rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child {
    border-bottom: 0;
  }
  .hero-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    max-width: 780px;
  }
  .stage-panel {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }
  .ops-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .ow-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .ow-map {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 360px;
    border-bottom: 1px solid var(--line);
  }
  .bus {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }
  .lanes {
    padding-right: 0;
  }
  .lane-line {
    display: none;
  }
  .gate {
    position: relative;
    grid-auto-flow: column;
    justify-content: center;
    align-items: center;
    gap: 16px 24px;
    margin-top: 40px;
    padding: 18px;
  }
  .gate::before,
  .bus-join {
    content: "";
    width: 2px;
    height: 40px;
    justify-self: center;
    background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 14px);
    background-size: 2px 14px;
    animation: dashv 0.9s linear infinite;
  }
  .gate::before {
    position: absolute;
    left: 50%;
    bottom: 100%;
    margin-left: -1px;
  }
  .gate ul {
    grid-auto-flow: column;
    gap: 14px;
  }
  .op {
    align-self: stretch;
  }
  .op ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@keyframes dashv {
  to {
    background-position: 0 14px;
  }
}
@media (max-width: 860px) {
  .step,
  .teams-in,
  .reg-in,
  .pod-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .step-flip .step-copy {
    order: 0;
  }
  .feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  body {
    font-size: 1rem;
  }
  .nav-in {
    height: 64px;
    gap: 10px;
  }
  .brand img {
    height: 25px;
  }
  .nav-cta {
    display: none;
  }
  .mode-btn {
    padding: 8px 11px 8px 9px;
    gap: 6px;
  }
  .h1 {
    font-size: clamp(2.3rem, 11.6vw, 3.4rem);
    font-size: clamp(2.3rem, 12.4cqi, 3.4rem);
    line-height: 1.02;
  }
  html[data-mode="dark"] .h1 {
    font-size: clamp(2.3rem, 11.6vw, 3.4rem);
    font-size: clamp(2.3rem, 12.4cqi, 3.4rem);
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .stage-panel {
    padding: 10px;
  }
  .stage-toggle button {
    padding: 7px 11px;
  }
  .ledger-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .ledger-top span:first-child {
    display: none;
  }
  .ledger-from {
    font-size: 0.96rem;
  }
  .plans li {
    flex-direction: column;
    gap: 14px;
  }
  .plan-price {
    text-align: left;
  }
  .src-row {
    flex-wrap: wrap;
  }
  .src-txt {
    flex: 1 1 60%;
  }
  .pill-on {
    order: 3;
    margin-left: 58px;
    flex: 1 1 100%;
  }
  .lane {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "k" "p" "c";
  }
  .lane-k {
    display: flex;
    align-items: center;
  }
  .gate {
    grid-auto-flow: row;
    justify-items: center;
  }
  .ow-bar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .ow-who {
    margin-left: 0;
    flex: 1 1 100%;
  }
  .ow-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .ow-map {
    min-height: 300px;
  }
  .ow-board {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .ow-chat {
    border-left: 0;
  }
  .feats,
  .reg-list dl {
    grid-template-columns: minmax(0, 1fr);
  }
  .reg-list dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-actions .btn {
    flex: 1 1 100%;
  }
}
@media (max-width: 700px) {
  .foot-nav {
    gap: 0 16px;
    font-size: 0.88rem;
  }
  .foot-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .mode-btn,
  .stage-toggle button {
    min-height: 40px;
  }
}
@media (max-width: 400px) {
  .mode-txt b {
    font-size: 0.8rem;
  }
  .brand img {
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal] {
    opacity: 1;
  }
}
