/* build.live — BROADCAST: sports-graphics package x trading terminal.
   Flat panels, hairline rules, hard edges, chamfered chips, condensed
   uppercase display type, one signal color in solid blocks. No glow,
   no glass, no gradients. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/barlow-condensed-latin-900-normal.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0e13;
  --panel: #10151d;
  --panel-2: #161c26;
  --line: #232c39;
  --line-hi: #354254;
  --text: #d5dde8;
  --bright: #ffffff;
  --dim: #8a97a8;
  --dimmer: #5c6979;
  --signal: #1fbaed;
  --signal-ink: #02141d;
  --red: #ff4747;
  --amber: #ffb224;
  --teal: #2dd4a7;
  --blue: #1fbaed;
  /* legacy aliases (admin + shared components) */
  --green: #1fbaed;
  --green-dark: rgba(31, 186, 237, 0.35);
  --gold: #1fbaed;
  --cyan: #2dd4a7;
  --glass: #10151d;
  --glass-hi: #161c26;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Segoe UI', sans-serif;
  --chamfer: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  --lift: transform 0.16s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--signal); text-decoration: none; }
a:hover { text-decoration: underline; }

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 64px;
  position: relative;
  z-index: 1;
  counter-reset: sec;
}

/* ---------- backdrop: camera viewfinder frame + ghost signage ---------- */

.orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.orbs i {
  display: block;
  position: absolute;
  font-style: normal;
}

/* viewfinder corner brackets — the whole viewport is the broadcast frame */
.orbs .o1, .orbs .o2 { inset: 12px; }
.orbs .o1::before, .orbs .o1::after,
.orbs .o2::before, .orbs .o2::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 0 solid rgba(31, 186, 237, 0.3);
}
.orbs .o1::before { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.orbs .o1::after { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.orbs .o2::before { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.orbs .o2::after { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* drifting mist layers */
.orbs .m1, .orbs .m2 {
  inset: -25%;
  background:
    radial-gradient(42% 34% at 22% 28%, rgba(120, 160, 210, 0.075), transparent 70%),
    radial-gradient(46% 38% at 78% 18%, rgba(31, 186, 237, 0.055), transparent 70%),
    radial-gradient(52% 44% at 62% 78%, rgba(123, 97, 255, 0.05), transparent 70%);
  will-change: transform;
}
.orbs .m1 { animation: mist1 70s ease-in-out infinite alternate; }
.orbs .m2 {
  background:
    radial-gradient(38% 30% at 34% 76%, rgba(140, 170, 210, 0.06), transparent 70%),
    radial-gradient(44% 36% at 86% 62%, rgba(31, 186, 237, 0.045), transparent 70%),
    radial-gradient(40% 32% at 12% 52%, rgba(120, 160, 210, 0.05), transparent 70%);
  animation: mist2 95s ease-in-out infinite alternate;
}
@keyframes mist1 { to { transform: translate(6%, 4%) scale(1.12) rotate(2deg); } }
@keyframes mist2 { to { transform: translate(-7%, -5%) scale(1.18) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) {
  .orbs .m1, .orbs .m2 { animation: none; }
}

/* ghost signage running down the right edge */
.orbs .o3 {
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--display);
  font-weight: 900;
  font-size: min(19vh, 150px);
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(138, 151, 168, 0.05);
  -webkit-text-stroke: 1px rgba(138, 151, 168, 0.09);
}
.orbs .o3::before { content: "BUILD.LIVE"; }
@media (max-width: 900px) {
  .orbs .o3 { font-size: 13vh; right: 2px; color: rgba(138, 151, 168, 0.04); -webkit-text-stroke-color: rgba(138, 151, 168, 0.06); }
}

header.site-head, .live-banner, .site-foot { position: relative; z-index: 1; }

/* ---------- flat panel recipe ---------- */

.glassy, .card, .funnel, .log-entry, .wall-form, .episode, .board {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
}

/* ---------- entrance + hover motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  main > section, main > a.callout {
    animation: rise 0.4s ease-out both;
  }
  main > *:nth-child(2) { animation-delay: 0.04s; }
  main > *:nth-child(3) { animation-delay: 0.08s; }
  main > *:nth-child(4) { animation-delay: 0.12s; }
  main > *:nth-child(5) { animation-delay: 0.16s; }
  main > *:nth-child(6) { animation-delay: 0.20s; }
  main > *:nth-child(7) { animation-delay: 0.24s; }
  main > *:nth-child(8) { animation-delay: 0.28s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot, .proc-track .pt.now { animation: none !important; }
}

/* ---------- live banner ---------- */

.live-banner {
  display: flex;
  align-items: stretch;
  gap: 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--dim);
  background: #070a0e;
  border-bottom: 1px solid var(--line);
}
.live-banner strong { color: var(--bright); font-weight: 600; }
.lb-bug {
  display: flex;
  align-items: center;
  padding: 7px 14px;
  background: var(--panel-2);
  color: var(--dimmer);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
  flex-shrink: 0;
}
.lb-bug.live { background: var(--red); color: #fff; }
.lb-bug .pulse-dot { margin-right: 6px; background: #fff; }
.lb-text { align-self: center; padding: 7px 0; }
.lb-tag {
  margin-left: auto;
  align-self: center;
  padding: 7px 16px 7px 0;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--dimmer);
}
@media (max-width: 680px) { .lb-tag { display: none; } }
.live-banner.is-live {
  color: #ffd9d9;
  background: #1c0808;
  border-bottom: 2px solid var(--red);
  text-decoration: none;
  font-weight: 700;
}
.live-banner.is-live:hover { background: #2b0b0b; text-decoration: none; }
.live-banner.is-live .lb-tag { color: rgba(255, 217, 217, 0.5); }

/* ---------- header / nav ---------- */

.site-head {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bright);
  padding-bottom: 12px;
}
.wordmark:hover { text-decoration: none; }
.dot-green { color: var(--signal); }
.site-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 10px 16px 12px;
  border-bottom: 3px solid transparent;
}
/* phones: the five items must fit a 360–390px viewport with no overflow */
@media (max-width: 520px) {
  .site-nav { gap: 0; }
  .site-nav a { font-size: 13px; letter-spacing: 0.08em; padding: 10px 9px 12px; }
}
.site-nav a:hover { color: var(--bright); text-decoration: none; }
.site-nav a.on {
  color: var(--bright);
  border-bottom-color: var(--signal);
  background: linear-gradient(180deg, transparent 60%, rgba(31, 186, 237, 0.08));
}

/* ---------- pulsing dots ---------- */

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  vertical-align: 1px;
  animation: pulse 1.4s steps(2, jump-none) infinite;
}
.pulse-dot.green { background: var(--signal); }
.pulse-dot.red { background: var(--red); }
.pulse-dot.amber { background: var(--amber); }
.pulse-dot.gray { background: var(--dim); animation-duration: 2.2s; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ---------- news ticker ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  margin: 0 -16px;
  border-bottom: 1px solid var(--line);
  background: #070a0e;
  padding-left: 96px;
}
.ticker::before {
  content: "LOG";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: var(--signal);
  color: var(--signal-ink);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  z-index: 1;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  padding: 9px 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--dim);
  will-change: transform;
  animation: tick 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker.static { overflow-x: auto; }
.ticker.static .ticker-track { animation: none; }
.ticker .tk {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border: 1px solid;
  flex-shrink: 0;
}
.ticker .tk-sep { color: var(--dimmer); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- v2 stream-first homepage ---------- */

.stream-wrap { padding: 40px 0 8px; }
.stream-h {
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0 0 18px;
}
.stream-h .hl {
  display: inline-block;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 0 10px 2px;
  clip-path: var(--chamfer);
  transform: skewX(-4deg);
}
.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #05070b;
  border: 1px solid var(--line);
  overflow: hidden;
  display: block;
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-badge {
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 4px 14px 5px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.player.standby {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: var(--text);
}
a.player.standby:hover { text-decoration: none; border-color: var(--signal); }
.stby-chip {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--dimmer);
  border: 1px solid var(--line-hi);
  padding: 4px 14px;
}
.stby-chip.on { color: #fff; background: var(--red); border-color: var(--red); }
.stby-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bright);
}
.stby-sub { font-family: var(--mono); font-size: 13.5px; color: var(--dim); max-width: 52ch; }

.control-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-top: none;
  background: var(--panel);
  padding: 10px 14px;
}
.cb-chip {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  background: var(--panel-2);
  color: var(--dimmer);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
  flex-shrink: 0;
}
.cb-chip.on { background: var(--red); color: #fff; }
.cb-chip.on .pulse-dot { background: #fff; }
.cb-chip.replay { background: var(--signal); color: var(--signal-ink); }
.cb-text { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.cb-text strong { color: var(--bright); }
.cb-form { margin-left: auto; max-width: 400px; min-width: 260px; }
.cb-form .form-msg { margin-top: 4px; }
@media (max-width: 780px) {
  .cb-form { margin-left: 0; width: 100%; max-width: none; }
}

/* ---------- live streamers grid (v2) ---------- */

.lg-count {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  border: 1px solid rgba(255, 71, 71, 0.45);
  padding: 3px 9px;
  margin-left: 4px;
}

/* ---------- founders grid ---------- */

.founders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 900px) { .founders { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .founders { grid-template-columns: 1fr; } }
.founder {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-hi);
  transition: var(--lift);
}
.founder:hover {
  border-color: var(--signal);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(31, 186, 237, 0.25);
}
.founder.is-live { border-top-color: var(--red); }
.f-live {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--red);
  padding: 2px 9px 3px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
}
.f-live .pulse-dot { background: #fff; width: 6px; height: 6px; margin-right: 5px; }
.f-name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0;
}
.f-building { margin: 0; font-size: 13.5px; color: var(--dim); }
.f-watch { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--signal); margin-top: 4px; }

.pitch-cta { font-size: 14px; color: var(--dim); margin: 16px 2px 0; }

/* ---------- AI kit ---------- */

.kit-featured-wrap { margin-top: 26px; }
.tools {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 720px) { .tools { grid-template-columns: 1fr; } }
.tool {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: var(--lift);
}
.tool:hover {
  border-color: var(--signal);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(31, 186, 237, 0.25);
}
.tool-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--dimmer);
  border: 1px solid var(--line-hi);
  padding: 2px 8px;
}
.tool-name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0;
}
.tool-blurb { margin: 0; font-size: 13.5px; color: var(--dim); max-width: 52ch; }
.tool-name { display: flex; align-items: center; gap: 10px; }
.tool-logo { width: 22px; height: 22px; flex-shrink: 0; }
.tool-mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 900;
}
.tool-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: 10px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px 9px;
  clip-path: var(--chamfer);
  transition: var(--lift), filter 0.15s ease;
}
.tool-btn:hover { text-decoration: none; filter: brightness(1.1); transform: translate(-1px, -1px); }
.show-card .tool-btn { margin-top: 0; white-space: nowrap; }
.show-title { display: flex; align-items: center; gap: 10px; }
.kit-disclosure { margin-top: 18px; }

/* ---------- hero + transmission slate ---------- */

.hero {
  padding: 56px 0 8px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 44px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; }
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--signal);
  margin: 0 0 18px;
}
.hero h1, .hero .bz-h, .page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8.5vw, 4.4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0 0 20px;
}
.hero h1 .hl, .hero .bz-h .hl, .page-hero h1 .hl, .bx-claim .hl {
  display: inline-block;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 0 14px 2px;
  margin-top: 6px;
  clip-path: var(--chamfer);
  transform: skewX(-4deg);
}
.hero .sub, .page-hero .sub {
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  color: var(--dim);
  max-width: 640px;
  margin: 0 0 28px;
}

/* ---------- forms ---------- */

input[type="email"], input[type="text"], input[type="password"],
input[type="url"], input[type="date"], input[type="number"], textarea, select {
  width: 100%;
  background: #0d1118;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(31, 186, 237, 0.16);
}
textarea { resize: vertical; }
::placeholder { color: var(--dimmer); }

/* Crisp keyboard focus rings everywhere — pointer clicks stay clean. */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
summary:focus-visible, .react:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 3px;
}
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; }

.btn-green {
  display: inline-block;
  position: relative;
  background: var(--signal);
  color: var(--signal-ink);
  border: none;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 22px 13px;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  clip-path: var(--chamfer);
  transition: var(--lift), background 0.15s ease;
}
.btn-green:hover {
  background: #4ecdf7;
  text-decoration: none;
  transform: translate(-1px, -1px);
}
.btn-green:active { transform: translate(1px, 1px); }
.btn-green:disabled { opacity: 0.5; cursor: wait; }

/* Secondary action in the same display voice as .btn-green — hairline
   instead of fill, so one green button per view stays the rule. */
.btn-secondary {
  display: inline-block;
  position: relative;
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--line-hi);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 22px 12px;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  clip-path: var(--chamfer);
  transition: var(--lift), color 0.15s ease, border-color 0.15s ease;
}
.btn-secondary:hover {
  color: var(--bright);
  border-color: var(--signal);
  text-decoration: none;
  transform: translate(-1px, -1px);
}
.btn-secondary:active { transform: translate(1px, 1px); }

/* The accent dot that ends a display headline — one rule, sitewide. */
.hl-dot { color: var(--signal); }
/* Full-width primary that still reads as one control when stacked in a card. */
.btn-green.btn-block { display: flex; align-items: center; justify-content: center; width: 100%; padding: 15px 22px; }

.signup-form { max-width: 560px; }
/* Field + action read as one unit: same height, aligned. */
.signup-form .row { display: flex; gap: 8px; align-items: stretch; }
.signup-form .row .btn-green { display: inline-flex; align-items: center; }
.signup-form .row input { flex: 1; }
@media (max-width: 440px) {
  .signup-form .row { flex-direction: column; }
}
.signup-form textarea { margin: 8px 0; }
.fine { font-size: 12.5px; color: var(--dimmer); margin: 10px 0 0; }
.form-msg { font-family: var(--mono); font-size: 13.5px; margin: 10px 0 0; min-height: 1em; }
.form-msg.ok { color: var(--signal); }
.form-msg.err { color: var(--red); }

.hero-secondary {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--dim);
  border-bottom: 1px dotted var(--dimmer);
}
.hero-secondary:hover { color: var(--signal); text-decoration: none; border-bottom-color: var(--signal); }

.flash-strip {
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 12px 16px;
  margin: 18px 0 0;
  border: 1px solid var(--signal);
  border-left-width: 4px;
  background: rgba(31, 186, 237, 0.07);
  color: var(--signal);
}
.flash-strip.err { border-color: var(--red); background: rgba(255, 71, 71, 0.07); color: #ff9c9c; }

/* ---------- funnel strip ---------- */

.funnel {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  overflow-x: auto;
  border-top: 3px solid var(--line-hi);
}
.funnel-stage {
  flex: 1;
  min-width: 130px;
  padding: 18px 18px 16px;
  border-left: 1px solid var(--line);
  position: relative;
}
.funnel-stage:first-child { border-left: none; }
.funnel-stage .fv {
  display: block;
  font-variant-numeric: tabular-nums;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--bright);
  white-space: nowrap;
}
.funnel-stage .fl {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
  margin-top: 8px;
  white-space: nowrap;
}
/* The live dot rides the label, sized to it — never beside the numeral,
   where an 8px dot at baseline reads as a decimal point. */
.funnel-stage .fl .pulse-dot {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  vertical-align: 1px;
}
.funnel-stage .fl-note {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-top: 4px;
}
.funnel-stage.active::before {
  content: "";
  position: absolute;
  top: -3px; left: -1px; right: 0;
  height: 3px;
  background: var(--signal);
}
.funnel-stage.active .fv, .funnel-stage.active .fl { color: var(--signal); }
.funnel-arrow { display: none; }

@media (max-width: 720px) {
  .funnel { flex-direction: column; overflow: visible; border-top: none; border-left: 3px solid var(--line-hi); }
  .funnel-stage {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .funnel-stage:first-child { border-top: none; }
  .funnel-stage.active::before { top: 0; bottom: 0; left: -3px; right: auto; width: 3px; height: auto; }
  .funnel-stage .fv, .funnel-stage .fl { white-space: normal; overflow-wrap: anywhere; }
}

/* ---------- the rules ---------- */

.rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 720px) { .rules { grid-template-columns: 1fr; } }
.rule {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: var(--lift);
}
.rule:hover {
  border-color: var(--signal);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(31, 186, 237, 0.25);
}
.rule-n {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  color: var(--signal);
  line-height: 1.2;
  flex-shrink: 0;
  border-bottom: 3px solid var(--signal);
  transform: skewX(-4deg);
}
.rule p { margin: 0; font-size: 14px; color: var(--dim); }
.rule strong { color: var(--bright); display: block; font-size: 15px; margin-bottom: 2px; }

/* ---------- locked segment teaser ---------- */

.locked-wrap { margin-top: 26px; }
.locked-seg {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 22px 20px 36px;
  border: 1px dashed var(--line-hi);
  background: var(--panel);
  overflow: hidden;
}
.locked-seg::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 12px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(31, 186, 237, 0.35) 0 8px,
    transparent 8px 16px
  );
}
.locked-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--signal);
  border: 1px solid rgba(31, 186, 237, 0.45);
  padding: 4px 10px;
  flex-shrink: 0;
}
.locked-body { flex: 1; min-width: 240px; }
.locked-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0 0 2px;
}
.locked-sub { margin: 0; font-size: 13.5px; color: var(--dim); max-width: 60ch; }

/* ---------- now showing card ---------- */

.show-card {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--signal);
  color: var(--text);
  transition: var(--lift);
}
.show-card:hover {
  text-decoration: none;
  border-color: var(--signal);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(31, 186, 237, 0.25);
}
.show-tag {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.14em;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 4px 12px 5px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
  transform: skewX(-4deg);
  flex-shrink: 0;
}
.show-body { flex: 1; min-width: 240px; }
.show-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0 0 2px;
}
.show-sub { margin: 0; font-size: 14px; color: var(--dim); max-width: 62ch; }
.show-cta {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--signal);
  white-space: nowrap;
}

.steps-lead { font-size: 14.5px; color: var(--dim); max-width: 720px; margin: -6px 0 16px; }

/* ---------- callout ---------- */

.callout {
  display: block;
  margin: 22px 0 0;
  padding: 13px 18px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--signal);
  transition: var(--lift);
}
.callout:hover {
  text-decoration: none;
  border-color: var(--line-hi);
  border-left-color: var(--signal);
  background: var(--panel-2);
}
.callout-cta { color: var(--signal); font-weight: 700; white-space: nowrap; }

/* ---------- sections ---------- */

.section-title {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 56px 0 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.section-title::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 6px 10px;
  margin-right: 14px;
  align-self: stretch;
  display: flex;
  align-items: center;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
  transform: skewX(-4deg);
}
.section-title::after { content: none; }

.scanlines { position: relative; }
.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(255, 255, 255, 0.012) 3px 4px
  );
}

/* ---------- the board ---------- */

.board-scroll { overflow-x: auto; }

.board { width: 100%; border-collapse: collapse; }
.board th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: left;
  padding: 11px 14px;
  border-bottom: 2px solid var(--line-hi);
  background: var(--panel-2);
}
.board td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.board tbody tr:last-child td { border-bottom: none; }
.board tbody tr { transition: background 0.15s ease; }
.board tbody tr:hover { background: var(--panel-2); }
.board td.num {
  font-family: var(--mono);
  font-size: 14.5px;
  color: var(--text);
  white-space: nowrap;
}
.board td.num:first-child {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  color: var(--signal);
}
.board .idea-name { font-weight: 600; color: var(--bright); display: block; margin-bottom: 6px; }
.board .idea-name.dim { color: var(--dimmer); font-weight: 400; font-style: italic; }
.board-caption {
  font-size: 13px;
  color: var(--dimmer);
  margin: 12px 2px 0;
  max-width: 640px;
}

@media (max-width: 860px) {
  .board-scroll { overflow: visible; }
  .board, .board tbody, .board tr, .board td { display: block; }
  .board { background: none; border: none; }
  .board thead { display: none; }
  .board tr {
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 3px solid var(--line-hi);
    margin-bottom: 10px;
    padding: 4px 0;
  }
  .board td { border-bottom: none; padding: 8px 15px; }
  .board td.num, .board td.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .board td[data-l]::before {
    content: attr(data-l);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dimmer);
  }
  .board td.idea { display: block; }
  .board td.idea::before { display: block; margin-bottom: 4px; }
}

/* ---------- status pills ---------- */

.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border: 1px solid;
  border-radius: 0;
  white-space: nowrap;
}
.st-selecting { color: #a6b2c1; border-color: var(--line-hi); background: var(--panel-2); }
.st-queued { color: var(--dimmer); border-color: var(--line); background: transparent; }
.st-testing { color: var(--amber); border-color: rgba(255, 178, 36, 0.45); background: rgba(255, 178, 36, 0.08); }
.st-killed { color: var(--red); border-color: rgba(255, 71, 71, 0.45); background: rgba(255, 71, 71, 0.08); }
.st-advanced { color: var(--teal); border-color: rgba(45, 212, 167, 0.45); background: rgba(45, 212, 167, 0.08); }
.st-building { color: var(--signal); border-color: rgba(31, 186, 237, 0.45); background: rgba(31, 186, 237, 0.08); }
.st-live { color: var(--signal-ink); border-color: var(--signal); background: var(--signal); }

/* ---------- reactions ---------- */

.reactions { display: flex; gap: 6px; flex-wrap: wrap; }
.react {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 3px 9px;
  cursor: pointer;
  line-height: 1.4;
  transition: var(--lift);
}
.react:hover { border-color: var(--line-hi); background: var(--panel-2); }
.react:active { transform: scale(0.92); }
.react.on {
  border-color: var(--signal);
  color: var(--signal);
  background: rgba(31, 186, 237, 0.1);
}
.react .rc { min-width: 0; font-size: 12px; }
.react .rc:empty { display: none; }

/* ---------- decision log ---------- */

.log { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.log-entry {
  padding: 15px 16px;
  border: none;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--line-hi);
  margin: 0;
}
.log-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.log-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border: 1px solid;
}
.lt-kill { color: var(--red); border-color: rgba(255, 71, 71, 0.45); background: rgba(255, 71, 71, 0.08); }
.lt-advance { color: var(--teal); border-color: rgba(45, 212, 167, 0.45); background: rgba(45, 212, 167, 0.08); }
.lt-milestone { color: var(--signal); border-color: rgba(31, 186, 237, 0.45); background: rgba(31, 186, 237, 0.08); }
.lt-note { color: var(--dim); border-color: var(--line-hi); background: var(--panel-2); }
.log-time { font-family: var(--mono); font-size: 12px; color: var(--dimmer); }
.log-msg { font-family: var(--mono); font-size: 14px; line-height: 1.55; margin: 0 0 10px; overflow-wrap: anywhere; }

/* ---------- cards ---------- */

.card { padding: 24px; }
.card-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0 0 4px;
}
.card-sub { font-size: 14px; color: var(--dim); margin: 0 0 16px; }
.card form .row { display: flex; gap: 8px; margin-top: 8px; }
.card form .row input { flex: 1; }
.card textarea { margin-bottom: 0; }
.card-feature { border-top: 3px solid var(--signal); }

.ask-wrap { margin-top: 56px; }

/* ---------- the wall ---------- */

.wall-wrap { margin-top: 8px; }
.wall-sub { font-size: 14px; color: var(--dim); margin: -8px 0 16px; }
.wall-form {
  padding: 16px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wall-form .btn-green { align-self: flex-start; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }
.wall-posts { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.wall-post {
  border-bottom: 1px solid var(--line);
  padding: 13px 2px;
}
.wp-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.wp-name { font-family: var(--mono); font-size: 13.5px; font-weight: 700; color: var(--signal); }
.wp-time { font-family: var(--mono); font-size: 12px; color: var(--dimmer); }
.wp-msg { margin: 0; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.wall-empty { color: var(--dimmer); font-family: var(--mono); font-size: 13.5px; padding: 16px 2px; }

/* ---------- subpage heroes ---------- */

.page-hero { padding: 48px 0 8px; }
.mono-num { color: var(--signal); }

/* ---------- ideas page ---------- */

.vault-list { margin-bottom: 32px; }
.ideas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  counter-reset: idea;
}
@media (max-width: 720px) { .ideas { grid-template-columns: 1fr; } }
.idea-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px 16px 58px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: var(--lift);
}
.idea-row::before {
  counter-increment: idea;
  content: counter(idea, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 17px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
  color: var(--dimmer);
}
.idea-row:hover {
  border-color: var(--signal);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(31, 186, 237, 0.25);
}
.idea-nm { font-family: var(--mono); font-size: 14.5px; font-weight: 700; color: var(--bright); }
.idea-bl { font-size: 14px; color: var(--dim); }
.btn-dl { margin-top: 4px; }

/* ---------- show page ---------- */

.episodes { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.episode { padding: 24px; }
.episode .ep-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ep-num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--signal-ink);
  background: var(--signal);
  padding: 2px 10px 3px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
}
.ep-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0;
}
.ep-date { font-family: var(--mono); font-size: 12px; color: var(--dimmer); }
.ep-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #070a0e;
  border: 1px solid var(--line);
  overflow: hidden;
}
.ep-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ep-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--dimmer);
}
.ep-notes { margin: 14px 0 0; padding-left: 20px; font-size: 14px; color: var(--dim); }
.ep-notes li { margin-bottom: 4px; }
.ep-empty { font-family: var(--mono); font-size: 13px; color: var(--dimmer); text-align: center; padding: 8px 0; }

/* ---------- bizmax page ---------- */

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 720px) { .step-list { grid-template-columns: 1fr; } }
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-hi);
  overflow: hidden;
  transition: var(--lift);
}
.step:hover {
  border-color: var(--signal);
  border-top-color: var(--signal);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(31, 186, 237, 0.25);
}
.step:last-child { grid-column: 1 / -1; }
@media (max-width: 720px) { .step:last-child { grid-column: auto; } }
.step-n {
  position: absolute;
  top: -12px;
  right: 8px;
  font-family: var(--display);
  font-size: 84px;
  font-weight: 900;
  color: rgba(138, 151, 168, 0.08);
  line-height: 1;
  pointer-events: none;
}
.step-nm { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--signal); }
.step-bl { font-size: 14px; color: var(--dim); max-width: 46ch; }
.early-access { margin-top: 40px; }
.early-access form { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.early-access .btn-green { align-self: flex-start; }

/* ---------- 404 ---------- */

.page-404 {
  display: grid;
  place-items: center;
  min-height: 100vh;
  font-family: var(--mono);
  text-align: center;
}
.page-404 h1 { color: var(--signal); font-size: 56px; margin: 0 0 8px; }

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding: 34px 16px 46px;
  text-align: center;
  background: #070a0e;
}
.foot-mark {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0 0 14px;
}
.foot-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.foot-links a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.foot-links a:hover { color: var(--signal); }
.foot-line { font-family: var(--mono); font-size: 12.5px; color: var(--dimmer); margin: 0; }

/* ================= LIQUID PASS =================
   Sleek liquid frames over the mist: rounded glass panels with gradient
   borders. Later in the file so it overrides the flat panel recipe. */

:root { --radius: 16px; }

.glassy, .card, .funnel, .log-entry, .wall-form, .episode,
.rule, .tool, .step, .idea-row, .founder, .locked-seg,
.show-card, .player, .control-bar {
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(15, 20, 28, 0.78), rgba(15, 20, 28, 0.78)) padding-box,
    linear-gradient(155deg,
      rgba(31, 186, 237, 0.35),
      rgba(140, 170, 210, 0.10) 34%,
      rgba(123, 97, 255, 0.18) 68%,
      rgba(31, 186, 237, 0.24)) border-box;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glassy, .card, .funnel, .log-entry, .wall-form, .episode,
  .rule, .tool, .step, .idea-row, .founder, .locked-seg,
  .show-card, .player, .control-bar {
    background:
      linear-gradient(rgba(15, 20, 28, 0.96), rgba(15, 20, 28, 0.96)) padding-box,
      linear-gradient(155deg,
        rgba(31, 186, 237, 0.35),
        rgba(140, 170, 210, 0.10) 34%,
        rgba(123, 97, 255, 0.18) 68%,
        rgba(31, 186, 237, 0.24)) border-box;
  }
}

/* hovers glow instead of flipping border-color (border is the gradient) */
.card:hover, .log-entry:hover, .episode:hover,
.rule:hover, .tool:hover, .step:hover, .idea-row:hover,
.show-card:hover, .callout:hover {
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(31, 186, 237, 0.5),
    0 0 34px rgba(31, 186, 237, 0.12),
    0 20px 50px rgba(0, 0, 0, 0.5);
}

/* containers that clip their children's corners */
.player, .locked-seg, .board-scroll { overflow: hidden; }
.player { border-radius: var(--radius) var(--radius) 6px 6px; }
.control-bar {
  margin-top: 8px;
  border-radius: 6px 6px var(--radius) var(--radius);
}
.player-badge { border-top-left-radius: var(--radius); }

.board-scroll {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(15, 20, 28, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.board th { background: rgba(255, 255, 255, 0.03); }
@media (max-width: 860px) {
  .board-scroll { border: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; overflow: visible; }
  .board tr {
    border: 1px solid transparent;
    border-radius: var(--radius);
    background:
      linear-gradient(rgba(15, 20, 28, 0.82), rgba(15, 20, 28, 0.82)) padding-box,
      linear-gradient(155deg, rgba(31, 186, 237, 0.3), rgba(140, 170, 210, 0.1) 40%, rgba(123, 97, 255, 0.16)) border-box;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

/* softer edges on the small hardware */
.pill, .log-badge, .tool-tag, .lg-count, .locked-tag { border-radius: 8px; }
input[type="email"], input[type="text"], input[type="password"],
input[type="url"], input[type="date"], input[type="number"], textarea, select { border-radius: 10px; }
.react { border-radius: 999px; }
.ticker { border-radius: 0; }
.founder.is-live { border-top: none; }
.step:hover { border-top-color: transparent; }

/* ================= BOARD REMAKE =================
   Reactions retired; the board reads like a sleek liquid leaderboard. */

.board-scroll {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(15, 20, 28, 0.78), rgba(15, 20, 28, 0.78)) padding-box,
    linear-gradient(155deg,
      rgba(31, 186, 237, 0.35),
      rgba(140, 170, 210, 0.10) 34%,
      rgba(123, 97, 255, 0.18) 68%,
      rgba(31, 186, 237, 0.24)) border-box;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.board td { padding: 16px 14px; vertical-align: middle; }
.board .idea-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bright);
  margin-bottom: 0;
}
.board td.num:first-child {
  font-size: 22px;
  background: linear-gradient(160deg, #1fbaed, #7b61ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.board tbody tr { transition: background 0.2s ease, box-shadow 0.2s ease; }
.board tbody tr:hover {
  background: linear-gradient(90deg, rgba(31, 186, 237, 0.09), transparent 55%);
  box-shadow: inset 3px 0 0 var(--signal);
}
@media (max-width: 860px) {
  .board td.num:first-child { -webkit-text-fill-color: initial; background: none; color: var(--signal); }
  .board .idea-name { font-size: 20px; }
}

/* Process tracker — each row's position in the pipeline */
.board td.proc { white-space: nowrap; }
.proc-track { display: inline-flex; align-items: center; gap: 4px; }
.proc-track .pt {
  display: block;
  width: 15px;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}
.proc-track .pt.done { background: rgba(31, 186, 237, 0.55); }
.proc-track .pt.now {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(255, 178, 36, 0.5);
  animation: procpulse 1.8s ease-in-out infinite;
}
.proc-track.cut .pt { background: rgba(255, 71, 71, 0.22); }
.proc-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
  margin-left: 8px;
}
.proc-track.cut .proc-n { color: var(--red); margin-left: 8px; }
@keyframes procpulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@media (max-width: 860px) {
  .board td.proc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
}

.bizmax-card-wrap { padding: 40px 0 8px; }
.bizmax-card-wrap .eyebrow { margin-bottom: 14px; }

/* ================= SIGNAL PANEL =================
   Replaces the transmission slate: an animated broadcast signal with a
   route to the stream. */

.signal {
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(15, 20, 28, 0.78), rgba(15, 20, 28, 0.78)) padding-box,
    linear-gradient(155deg,
      rgba(31, 186, 237, 0.35),
      rgba(140, 170, 210, 0.10) 34%,
      rgba(123, 97, 255, 0.18) 68%,
      rgba(31, 186, 237, 0.24)) border-box;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-top: 34px;
}
@media (max-width: 900px) { .signal { margin-top: 0; max-width: 380px; } }
.sig-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 54px;
  margin-bottom: 6px;
}
.sig-bars i {
  width: 7px;
  height: 30%;
  border-radius: 4px;
  background: linear-gradient(180deg, #1fbaed, #7b61ff);
  animation: eq 2.4s ease-in-out infinite;
  transform-origin: bottom;
}
.sig-bars i:nth-child(1) { animation-delay: 0s; height: 34%; }
.sig-bars i:nth-child(2) { animation-delay: 0.25s; height: 58%; }
.sig-bars i:nth-child(3) { animation-delay: 0.5s; height: 42%; }
.sig-bars i:nth-child(4) { animation-delay: 0.12s; height: 72%; }
.sig-bars i:nth-child(5) { animation-delay: 0.4s; height: 48%; }
.sig-bars i:nth-child(6) { animation-delay: 0.65s; height: 62%; }
.sig-bars i:nth-child(7) { animation-delay: 0.3s; height: 38%; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.55); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}
.signal.is-live .sig-bars i {
  background: linear-gradient(180deg, #ff6b6b, #ff4747);
  animation-duration: 0.9s;
}
.sig-status {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--dim);
  margin: 0;
}
.signal.is-live .sig-status { color: var(--red); }
.sig-next { font-family: var(--mono); font-size: 12.5px; color: var(--dimmer); margin: 0; }
.sig-btn { margin-top: 8px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .sig-bars i { animation: none; } }

/* ================= PIPELINE STATUSES ================= */
.st-ideas { color: var(--dimmer); border-color: var(--line); background: transparent; }
.st-research { color: #a6b2c1; border-color: var(--line-hi); background: rgba(140, 170, 210, 0.06); }
.st-briefs { color: #a6b2c1; border-color: var(--line-hi); background: rgba(140, 170, 210, 0.09); }
.st-mvp { color: var(--bright); border-color: rgba(213, 221, 232, 0.4); background: rgba(213, 221, 232, 0.07); }
.st-campaigns { color: var(--amber); border-color: rgba(255, 178, 36, 0.45); background: rgba(255, 178, 36, 0.09); }
.st-signals { color: var(--teal); border-color: rgba(45, 212, 167, 0.45); background: rgba(45, 212, 167, 0.09); }
.st-discovery { color: #a78bfa; border-color: rgba(123, 97, 255, 0.45); background: rgba(123, 97, 255, 0.1); }
.st-phases { color: var(--signal); border-color: rgba(31, 186, 237, 0.45); background: rgba(31, 186, 237, 0.09); }
.st-launch { color: var(--signal-ink); border-color: var(--signal); background: var(--signal); }

/* BizMax block embedded on the homepage (NOW SHOWING) */
.hero.bz-embed { padding: 8px 0 4px; }
.hero.bz-embed .bz-h { margin: 0 0 16px; }
.hero.bz-embed .show-cta { display: inline-block; margin-top: 4px; }
.showing-wrap .funnel { margin-top: 18px; }

/* ================= WORKSPACES =================
   Members-only chrome: sign-in, invite claims, and the mission-control
   dashboard with live BizMax numbers. Reuses the funnel tiles and pills. */

/* Auth: one job per screen — a calm, vertically-balanced single column. */
.auth-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 320px);
  padding: 48px 0 72px;
}
.auth-inner { width: 100%; max-width: 400px; text-align: center; }
/* Nudge left by the trailing letter-spacing so the eyebrow optically centers. */
.auth-screen .eyebrow { margin: 0 0 14px -0.3em; }
.auth-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.3rem, 5.5vw, 3rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0 0 12px;
}

.auth-lead {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--dim);
  max-width: 320px;
  margin: 0 auto 26px;
}
.auth-card { padding: 26px 24px; text-align: left; }
.auth-card .flash-strip { margin: 0 0 16px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .btn-green { margin-top: 4px; }
.af-l {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.af-top { display: flex; align-items: baseline; gap: 8px; }
.af-hint { color: var(--dimmer); text-transform: none; letter-spacing: 0.02em; }
.auth-alt { margin: 20px 0 0; font-size: 13.5px; color: var(--dim); }
.auth-alt a { color: var(--signal); }
.wl-head { margin: 0 0 10px; }

.btn-ghost {
  font-family: var(--mono);
  font-size: 12px;
  padding: 7px 12px;
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--line-hi);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.btn-ghost:hover { color: var(--bright); border-color: var(--signal); }
.btn-ghost.btn-danger:hover { color: #ff9c9c; border-color: var(--red); }


.dash-sub a { color: var(--signal); }
.dash-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dash-sub-row .dash-sub { margin: 0; }

.dash-live { margin-bottom: 46px; }
.dash-stats { margin-top: 4px; }
.dash-note {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  border: 1px dashed var(--line-hi);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 16px;
}
.dash-note-err { color: #ff9c9c; border-color: rgba(255, 71, 71, 0.5); }

/* Per-app metrics health line under the BIZMAX LIVE tiles. */
.dash-metrics-health {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--dim);
  margin: 12px 0 0;
}
.dash-metrics-health .pulse-dot { position: relative; top: 3px; flex: none; }
.dash-metrics-health strong { color: var(--bright); font-weight: 600; }
.dash-metrics-health.on strong { color: var(--signal); }
.dash-metrics-health code {
  font-size: 11.5px;
  color: var(--signal);
  background: rgba(31, 186, 237, 0.09);
  padding: 1px 5px;
  border-radius: 5px;
}
.dash-metrics-health a { color: var(--signal); }

.dash-h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--dim);
  margin: 22px 0 10px;
}
.dash-apps { list-style: none; margin: 0; padding: 0; }
.da-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  margin-bottom: 8px;
}
.da-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bright);
  margin-right: auto;
}
.da-when { font-family: var(--mono); font-size: 11px; color: var(--dimmer); }
.da-open {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--signal);
  border: 1px solid rgba(31, 186, 237, 0.45);
  border-radius: 8px;
  padding: 5px 10px;
  text-decoration: none;
}
.da-open:hover { background: rgba(31, 186, 237, 0.12); }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 70px;
}
@media (max-width: 860px) { .dash-grid { grid-template-columns: 1fr; } }

.crew { list-style: none; margin: 0 0 16px; padding: 0; }
.crew-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.crew-row:last-child { border-bottom: none; }
.crew-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crew-email { font-family: var(--mono); font-size: 13px; color: var(--text); margin-right: auto; overflow-wrap: anywhere; }
.crew-you { color: var(--dimmer); }
.crew-actions { display: flex; gap: 6px; }
.crew-actions form { display: inline; }
.crew-invite { display: flex; gap: 8px; margin-top: 8px; }
.crew-invite input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
}
.crew-add { display: flex; gap: 8px; margin-bottom: 8px; }
.crew-add input { flex: 1; min-width: 0; }

.connect-state { margin: 0 0 14px; }
.connect-form { display: flex; gap: 8px; margin-bottom: 10px; }
.connect-form input { flex: 1; min-width: 0; }
.connect-off { margin-bottom: 8px; }
.dash-live .lg-count { color: var(--signal); border-color: rgba(31, 186, 237, 0.45); background: rgba(31, 186, 237, 0.08); }

/* Google sign-in button */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-hi);
  background: #fff;
  color: #1f1f1f;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: box-shadow 0.15s ease, transform 0.05s ease;
}
.google-btn:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.google-btn:active { transform: translateY(1px); }
.google-btn .gicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(from -45deg, #ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  font-family: var(--display);
}
.auth-note { margin-top: 14px; }

/* Dashboard: change-password strip */
.dash-account { max-width: 520px; margin: 0 0 70px; }
.pw-form { display: flex; align-items: flex-end; gap: 10px; margin-top: 4px; }
.pw-form .af-l { flex: 1; }
.pw-form .btn-green { white-space: nowrap; }

/* Board tally — teal when everyone's alive, red once kills land */
.board-tally { color: var(--teal); border-color: rgba(45, 212, 167, 0.4); white-space: nowrap; }
@media (max-width: 480px) {
  .board-tally { display: block; float: none; margin: 8px 0 0; width: fit-content; }
}
.board-tally.has-kills { color: var(--red); border-color: rgba(255, 71, 71, 0.45); }

/* Public-sync toggle + the "synced from the factory" funnel ribbon */
.sync-toggle { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.sync-toggle .card-sub { margin: 4px 0 12px; }
.funnel-sync {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--teal);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
}
.funnel-sync .pulse-dot { background: var(--teal); }

/* A hero without an aside uses the full row (the slate card is retired). */
.hero > .hero-main:only-child { grid-column: 1 / -1; }
.hero > .hero-main:only-child .sub { max-width: 720px; }

/* Board idea names that link out to the live app */
a.idea-name { text-decoration: none; }
a.idea-name:hover { color: var(--signal); text-decoration: none; }
.idea-ext {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--signal);
  margin-left: 8px;
  vertical-align: 3px;
}

/* /ideas: the ten kept apps link out; stage pill rides right */
.idea-row .idea-out { color: var(--bright); text-decoration: none; }
.idea-row .idea-out:hover { color: var(--signal); text-decoration: none; }
.idea-row .idea-bl .pill { vertical-align: 1px; }
.vault-note { font-size: 13px; color: var(--dimmer); margin: 12px 2px 0; }

/* ---------- powered by bizmax.io ---------- */

.pb-badge {
  --pb-cut: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 23px 13px 15px;
  margin: 2px 0 18px;
  text-decoration: none;
  clip-path: polygon(var(--pb-cut) 0, 100% 0, 100% calc(100% - var(--pb-cut)), calc(100% - var(--pb-cut)) 100%, 0 100%, 0 var(--pb-cut));
  background: linear-gradient(120deg, #45d2f9, rgba(31, 186, 237, .28) 35%, rgba(123, 97, 255, .5) 70%, #1fbaed);
  transition: transform .18s ease;
}
.pb-badge > * { position: relative; z-index: 1; }
/* the plate, inset inside the gradient rim (clip-path would cut a real border
   off at the chamfers, so the rim is the element and the plate sits on top) */
.pb-badge::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  clip-path: polygon(var(--pb-cut) 0, 100% 0, 100% calc(100% - var(--pb-cut)), calc(100% - var(--pb-cut)) 100%, 0 100%, 0 var(--pb-cut));
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 4px),
    linear-gradient(165deg, #101823, #0a0e14 48%, #0d1826);
}
.pb-badge::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  z-index: 1;
  background: linear-gradient(105deg, transparent, rgba(127, 225, 255, .10) 45%, rgba(255, 255, 255, .16) 50%, rgba(127, 225, 255, .10) 55%, transparent);
  transform: skewX(-18deg);
  animation: pb-sweep 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pb-sweep {
  0%, 62% { left: -60%; }
  86%, 100% { left: 120%; }
}
.pb-badge:hover { transform: translateY(-1px); }
.pb-core { position: relative; width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 8px rgba(31, 186, 237, .55)); }
.pb-core .pb-hex {
  position: absolute; inset: 0;
  clip-path: polygon(25% 3%, 75% 3%, 98% 50%, 75% 97%, 25% 97%, 2% 50%);
  background: linear-gradient(205deg, #5adcff 0%, #1fbaed 40%, #0a4763 100%);
  animation: pb-pulse 3.2s ease-in-out infinite;
}
.pb-core .pb-hex::before {
  content: "";
  position: absolute; inset: 2px;
  clip-path: polygon(25% 3%, 75% 3%, 98% 50%, 75% 97%, 25% 97%, 2% 50%);
  background: linear-gradient(160deg, #08131d 20%, #0c2233 100%);
}
@keyframes pb-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .78; }
}
.pb-core .pb-bolt {
  position: absolute; inset: 7px 9px;
  clip-path: polygon(58% 0, 0 58%, 38% 58%, 30% 100%, 100% 36%, 52% 36%);
  background: linear-gradient(180deg, #f2fcff 0%, #7fe1ff 45%, #1fbaed 100%);
}
.pb-words { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.pb-kicker {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .46em;
  color: #8fdcf8;
  line-height: 1;
}
.pb-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  letter-spacing: .015em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 28%, #cfeffc 52%, #1fbaed 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pb-chev { display: flex; gap: 4px; margin-left: 6px; }
.pb-chev i {
  width: 9px; height: 22px;
  clip-path: polygon(0 0, 52% 0, 100% 50%, 52% 100%, 0 100%, 48% 50%);
  background: var(--signal);
}
.pb-chev i:nth-child(1) { opacity: .92; }
.pb-chev i:nth-child(2) { opacity: .5; }
.pb-chev i:nth-child(3) { opacity: .22; }

/* ---------- /press ---------- */

.press-lead {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.press-kit-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px; }
.press-kit-card .btn-dl { align-self: flex-start; }
.press-badge-demo { margin: 16px 0 0; }
.press-badge-demo .pb-badge { margin: 0; }
.press-dl-stack { display: flex; gap: 10px; flex-wrap: wrap; }
.press-dl {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--signal);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  text-decoration: none;
}
.press-dl { transition: border-color 0.15s ease, color 0.15s ease; }
.press-dl:hover { border-color: var(--signal); }
.press-wrap { max-width: 1060px; margin: 34px auto 0; }
.press-grid {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.press-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.press-card:hover { border-color: var(--signal); }
.press-thumb img { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.press-card:hover .press-thumb img { transform: scale(1.04); }
.press-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #070a0e;
  border-bottom: 1px solid var(--line);
}
.press-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.press-thumb-dark { background: repeating-conic-gradient(#0d131c 0% 25%, #070a0e 0% 50%) 0 0 / 22px 22px; }
.press-meta { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.press-name { font-family: var(--display); font-weight: 900; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--bright); margin: 0; }
.press-dims { font-family: var(--mono); font-size: 11.5px; color: var(--dimmer); margin: 0; letter-spacing: .08em; }
.press-note { font-size: 13px; color: var(--dim); margin: 2px 0 10px; }
.press-dl { align-self: flex-start; }
.press-fine { margin-top: 20px; text-align: center; }

@media (max-width: 760px) {
  .press-lead { grid-template-columns: 1fr; }
  .pb-badge { --pb-cut: 10px; gap: 11px; padding: 8px 16px 10px 11px; }
  .pb-name { font-size: 20px; }
  .pb-core { width: 28px; height: 28px; }
  .pb-core .pb-bolt { inset: 6px 7px; }
}
.steps-badge { text-align: center; margin: 26px 0 0; }
.steps-badge .pb-badge { margin: 0; }

/* ---------- dashboard quick links + board ---------- */

.dash-quick { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.dash-quick a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px 8px;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
.dash-quick a:hover { color: var(--signal); border-color: var(--signal); }
.dash-quick { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

/* hidden must win over the funnel's display:flex — otherwise the empty
   stat tiles flash as a row of zeros before the poll hides them. */
[hidden] { display: none !important; }

/* operator tag in the dashboard hero */
.op-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--amber);
  border: 1px solid rgba(255, 178, 36, 0.4);
  background: rgba(255, 178, 36, 0.08);
  border-radius: 5px;
  padding: 1px 7px;
  vertical-align: 1px;
}

/* ---------- operator command center ---------- */

.cmd-center {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 6px 0 30px;
}
.cmd-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 14px);
  background: var(--panel);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.1s ease;
}
a.cmd-tile:hover { border-color: var(--signal); transform: translateY(-2px); }
.cmd-l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--dim); }
.cmd-n { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 0.9; color: var(--bright); }
.cmd-go { font-family: var(--mono); font-size: 12px; color: var(--signal); letter-spacing: 0.04em; margin-top: auto; }
.cmd-sub { font-size: 12.5px; color: var(--dimmer); line-height: 1.4; }
.cmd-tile.urgent { border-color: rgba(255, 71, 71, 0.5); }
.cmd-tile.urgent .cmd-n { color: var(--red); }
.cmd-tile.urgent .cmd-go { color: var(--red); }
.cmd-broadcast .cmd-status {
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 9px;
}
.cmd-broadcast.on { border-color: rgba(255, 71, 71, 0.6); background: rgba(255, 71, 71, 0.06); }
.cmd-broadcast.on .cmd-status { color: var(--red); }
.cmd-broadcast form { margin-top: 8px; }
.cmd-admin { justify-content: space-between; }
.cmd-admin .cmd-l { color: var(--signal); }

/* ---------- dashboard portfolio (quick-launch) ---------- */

.dash-portfolio { margin: 4px 0 34px; }
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.pf-app {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.pf-app.is-live:hover { border-color: var(--signal); background: rgba(31, 186, 237, 0.06); }
.pf-no { font-family: var(--mono); font-size: 12px; color: var(--dimmer); }
.pf-nm { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 0.02em; color: var(--text); margin-right: auto; }
a.pf-app.is-live .pf-nm { color: var(--bright); }
.pf-open { color: var(--signal); font-size: 14px; }
.pf-app .pill { transform: scale(0.9); }
.press-apps-lead { font-size: 14px; color: var(--dim); margin: 12px 0 16px; max-width: 640px; }
.press-apps { display: flex; flex-wrap: wrap; gap: 10px; }
.press-dl-hero { color: var(--signal-ink); background: var(--signal); border-color: var(--signal); font-weight: 600; }
.press-dl-hero:hover { filter: brightness(1.08); }

/* ---------- discord button ---------- */

.foot-join {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--dim);
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}
.dc-btn {
  --blurple: #5865f2;
  --blurple-lo: #4752c4;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 22px 13px 20px;
  margin: 0 auto 20px;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(150deg, #6b76ff, var(--blurple) 45%, var(--blurple-lo));
  box-shadow: 0 12px 30px -12px rgba(88, 101, 242, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}
.dc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -12px rgba(88, 101, 242, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-decoration: none;
}
.dc-btn:active { transform: translateY(0); }
/* glossy top-light + shimmer sweep */
.dc-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 50% -20%, rgba(255, 255, 255, 0.35), transparent 60%);
}
.dc-btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35) 50%, transparent);
  transform: skewX(-18deg);
  animation: dc-sweep 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dc-sweep {
  0%, 55% { left: -70%; }
  85%, 100% { left: 140%; }
}
.dc-mark {
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.dc-txt {
  font-family: var(--display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.dc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(67, 232, 138, 0.7);
  animation: dc-pulse 2s ease-out infinite;
}
@keyframes dc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(67, 232, 138, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(67, 232, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(67, 232, 138, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .dc-btn::after, .dc-dot, .pb-badge::after, .pb-core .pb-hex, .bxf-dot, .bxf-fill { animation: none; transition: none; }
}

/* ================= LIQUID STACK (/kit) ================= */

.kit-liquid {
  position: relative;
  max-width: 1080px;
  margin: 26px auto 0;
  padding: 0 16px 20px;
}
/* soft aurora wash behind the grid */
.kit-aurora {
  position: absolute;
  inset: -40px 0 40% 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 320px at 12% 0%, rgba(31, 186, 237, 0.14), transparent 60%),
    radial-gradient(620px 340px at 92% 18%, rgba(123, 97, 255, 0.12), transparent 62%);
  filter: blur(6px);
}
.kit-liquid > * { position: relative; z-index: 1; }
.kit-lineup-title { margin-top: 30px; }

/* ---- featured hero tile ---- */
.tk-hero {
  --tc: #1fbaed;
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 30px 34px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(16, 21, 29, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.tk-hero::before {
  content: "";
  position: absolute;
  top: -60%; left: -10%;
  width: 55%; height: 180%;
  z-index: -1;
  background: radial-gradient(circle, var(--tc), transparent 62%);
  opacity: 0.22;
  filter: blur(30px);
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.tk-hero:hover {
  transform: translateY(-3px);
  border-color: var(--tc);
  box-shadow: 0 34px 70px -30px var(--tc);
  text-decoration: none;
}
.tk-hero:hover::before { opacity: 0.4; }
.tk-hero-body { flex: 1; min-width: 240px; }
.tk-hero-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--tc);
}
.tk-hero-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 36px;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 6px 0 7px;
}
.tk-hero-sub { margin: 0; font-size: 14.5px; color: var(--dim); max-width: 60ch; }
.tk-hero-cta {
  font-family: var(--display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tc);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tk-hero:hover .tk-hero-cta { text-shadow: 0 0 20px var(--tc); }
.tk-hero:hover .tk-arrow { transform: translateX(4px); }

/* ---- grid of glass tiles ---- */
.tk-grid {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
}
.tk-card {
  --tc: #1fbaed;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 22px 22px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(16, 21, 29, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
/* brand-colour bloom, low at rest, blooms on hover */
.tk-card::before {
  content: "";
  position: absolute;
  top: -45%; left: -20%;
  width: 70%; height: 100%;
  z-index: -1;
  background: radial-gradient(circle, var(--tc), transparent 65%);
  opacity: 0.13;
  filter: blur(26px);
  transition: opacity 0.32s ease;
  pointer-events: none;
}
.tk-card:hover {
  transform: translateY(-5px);
  border-color: var(--tc);
  box-shadow: 0 22px 48px -24px var(--tc);
}
.tk-card:hover::before { opacity: 0.34; }

/* diagonal sheen sweep on hover (both hero + card) */
.tk-sheen {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.1) 48%, rgba(255, 255, 255, 0.02) 52%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.tk-card:hover .tk-sheen, .tk-hero:hover .tk-sheen { transform: translateX(130%); }
.tk-card > *:not(.tk-sheen), .tk-hero > *:not(.tk-sheen) { position: relative; z-index: 1; }

.tk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tk-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 20px -10px var(--tc);
}
.tk-mark-lg { width: 66px; height: 66px; border-radius: 18px; }
.tk-letter {
  font-family: var(--display);
  font-weight: 900;
  font-size: 23px;
  color: var(--tc);
  text-shadow: 0 0 14px var(--tc);
}
.tk-mark-lg .tk-letter { font-size: 34px; }
.tk-logo { width: 26px; height: 26px; }
.tk-mark-lg .tk-logo { width: 34px; height: 34px; }
.tk-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--dim);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 11px;
}
.tk-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 23px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 4px 0 0;
}
.tk-blurb { margin: 0 0 4px; font-size: 13.5px; line-height: 1.5; color: var(--dim); }
.tk-btn {
  --ink: #04141c;
  margin-top: auto;
  align-self: flex-start;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tc);
  padding: 9px 17px;
  border-radius: 10px;
  border: 1px solid var(--tc);
  text-decoration: none;
  transition: color 0.25s ease;
}
.tk-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--tc);
  transform: translateY(102%);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tk-btn:hover { color: var(--ink); text-decoration: none; }
.tk-btn:hover::before { transform: translateY(0); }
.tk-arrow { transition: transform 0.25s ease; display: inline-block; }
.tk-btn:hover .tk-arrow { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .tk-sheen { display: none; }
  .tk-card, .tk-hero, .tk-btn::before, .tk-arrow { transition: none; }
}
@media (max-width: 560px) {
  .tk-grid { grid-template-columns: 1fr; }
  .tk-hero-name { font-size: 30px; }
}

/* ================= CRAFT LAYER =================
   The small physical details: selection, scrollbar, film grain, reveal. */

::selection { background: rgba(31, 186, 237, 0.35); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: var(--line-hi) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--line-hi); }

/* broadcast film grain — fixed, faint, and off for reduced-motion users */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0.026;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
@media (prefers-reduced-motion: reduce) { body::after { display: none; } }

/* scroll reveal — classes are added by JS only, so no-JS renders instantly */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv-in { opacity: 1; transform: none; }

/* ================= /bizmax — THE $1,000/DAY EXPERIMENT ================= */

/* hero claim */
.bx-hero { max-width: 1060px; margin: 0 auto; padding: 64px 0 30px; text-align: center; }
.bx-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.3em;
  color: var(--teal);
  border: 1px solid rgba(45, 212, 167, 0.35);
  border-radius: 999px;
  padding: 8px 18px;
  margin: 0 0 26px;
}
.bx-claim {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 7.2vw, 84px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0 0 18px;
}
.bx-sub { max-width: 62ch; margin: 0 auto 26px; font-size: 17px; }
.bx-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bx-ctas a { min-height: 44px; display: inline-flex; align-items: center; }

/* fleet ticker */
.bx-ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 21, 29, 0.6);
  padding: 12px 0;
  margin: 26px 0 0;
}
.bx-tk-track { display: inline-flex; align-items: center; white-space: nowrap; width: max-content; animation: bx-tk 40s linear infinite; }
.bx-ticker:hover .bx-tk-track { animation-play-state: paused; }
@keyframes bx-tk { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bx-tk-item {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 18px;
}
.bx-tk-sep { color: var(--signal); font-size: 9px; }
@media (prefers-reduced-motion: reduce) {
  .bx-tk-track { animation: none; }
  .bx-ticker { overflow-x: auto; }
}

/* scoreboard */
.bx-board { max-width: 1060px; margin: 34px auto 0; }
.bx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius, 16px);
  overflow: hidden;
  background: var(--panel);
}
.bx-stat { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px 22px; border-left: 1px solid var(--line); }
.bx-stat:first-child { border-left: none; }
.bx-n {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(38px, 4.6vw, 56px);
  line-height: 0.95;
  color: var(--bright);
  font-variant-numeric: tabular-nums;
}
.bx-stat:first-child .bx-n { color: var(--signal); }
.bx-l { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; color: var(--dim); }
.bx-s { font-family: var(--mono); font-size: 11px; color: var(--dimmer); }
.bx-fine { font-family: var(--mono); font-size: 12px; color: var(--dimmer); margin: 12px 2px 0; }
@media (max-width: 860px) {
  .bx-stats { grid-template-columns: 1fr 1fr; }
  .bx-stat:nth-child(3) { border-left: none; }
  .bx-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .bx-stats { grid-template-columns: 1fr; }
  .bx-stat { border-left: none !important; border-top: 1px solid var(--line); }
  .bx-stat:first-child { border-top: none; }
}

.bx-funnel-wrap { max-width: 1060px; margin: 40px auto 0; }

/* the fleet */
.bx-fleet { max-width: 1060px; margin: 44px auto 0; }
.bx-fleet-grid {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}
.bx-app {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 20px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.bx-app:hover { border-color: var(--signal); transform: translateY(-2px); }
.bx-app-top { display: flex; align-items: center; justify-content: space-between; }
.bx-app-no { font-family: var(--mono); font-size: 12px; color: var(--dimmer); }
.bx-app-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--dim);
  border: 1px solid var(--line-hi);
  border-radius: 999px;
  padding: 3px 10px;
}
.bx-app-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 23px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0;
}
.bx-app-pitch { margin: 0 0 6px; font-size: 16px; line-height: 1.5; color: var(--dim); }
.bx-app-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bx-app-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--amber, #ffb224);
}
.bx-app-visit {
  font-family: var(--display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
  padding: 10px 6px;
  text-decoration: none;
}
.bx-app-visit:hover { text-decoration: none; text-shadow: 0 0 16px var(--signal); }
.bx-app-visit.dim { color: var(--dimmer); }
.bx-fleet-note { margin-top: 16px; text-align: center; }

/* the machine — vertical conveyor */
.bx-machine { max-width: 820px; margin: 52px auto 0; }
.bx-rail { list-style: none; margin: 18px 0 0; padding: 0; position: relative; }
.bx-rail::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--signal), var(--line) 30%, var(--line) 70%, var(--signal));
  opacity: 0.55;
}
.bx-node { position: relative; display: flex; gap: 20px; padding: 15px 0; }
.bx-node-icon {
  position: relative;
  z-index: 1;
  flex: none;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-hi);
  background: var(--panel);
  color: var(--signal);
}
.bx-node-icon svg { width: 24px; height: 24px; }
.bx-node-body { padding-top: 5px; }
.bx-node-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0 0 4px;
}
.bx-node-no { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--signal); margin-right: 10px; vertical-align: 3px; }
.bx-node-blurb { margin: 0; font-size: 16px; line-height: 1.55; color: var(--dim); max-width: 58ch; }
.bx-kicker {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--bright);
  text-align: center;
  margin: 34px auto 0;
  max-width: 30ch;
}

/* how a startup gets born */
.bx-born { max-width: 1060px; margin: 52px auto 0; }
.bx-born-line { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.bx-born-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 18px 16px 16px;
}
.bx-born-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--signal-ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 10px;
}
.bx-born-t { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.02em; color: var(--bright); }
.bx-born-s { margin: 0; font-family: var(--mono); font-size: 11.5px; color: var(--dimmer); letter-spacing: 0.04em; }
@media (max-width: 900px) { .bx-born-line { grid-template-columns: 1fr; } }

/* why this matters */
.bx-why { max-width: 1060px; margin: 52px auto 0 56px; }
.bx-why-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.bx-why-col { border-left: 3px solid var(--signal); padding: 4px 0 4px 18px; }
.bx-why-h { margin: 0 0 6px; font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bright); }
.bx-why-b { margin: 0; font-size: 16px; line-height: 1.6; color: var(--dim); }
@media (max-width: 820px) { .bx-why-cols { grid-template-columns: 1fr; } }

/* follow the experiment + fleet links */
.bx-follow-claim {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--bright);
  margin: 0 0 12px;
}
.bx-fleet-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  max-width: 900px;
  margin: 50px auto 0;
  font-family: var(--mono);
  font-size: 12.5px;
}
.bx-fleet-links a { color: var(--dim); padding: 6px 2px; }
.bx-fleet-links a:hover { color: var(--signal); text-decoration: none; }
.bx-fleet-links span { color: var(--dimmer); padding: 6px 2px; }
.bx-fl-sep { padding: 6px 0 !important; }
.bx-powered { text-align: center; font-family: var(--mono); font-size: 12px; color: var(--dimmer); margin: 10px 0 24px; }
/* per-app usage funnel on fleet cards (renders only when BizMax reports it) */
.bx-funnel {
  display: grid;
  gap: 8px;
  margin: 4px 0 10px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.bxf-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dimmer);
}
.bxf-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px rgba(45, 212, 167, 0.55);
  animation: bxfPulse 2.6s ease-out infinite;
}
@keyframes bxfPulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 167, 0.5); }
  70%, 100% { box-shadow: 0 0 0 6px rgba(45, 212, 167, 0); }
}
.bxf-row {
  display: grid;
  grid-template-columns: 4.7em minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}
.bxf-lab {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.bxf-track {
  position: relative;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.bxf-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(31, 186, 237, 0.45), var(--signal));
}
.bxf-fill.f2 { background: linear-gradient(90deg, rgba(31, 186, 237, 0.3), rgba(31, 186, 237, 0.82)); }
.bxf-fill.f3 { background: linear-gradient(90deg, rgba(45, 212, 167, 0.4), var(--teal)); }
.bxf-val {
  min-width: 2.2em;
  text-align: right;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--bright);
  font-variant-numeric: tabular-nums;
}
.bxf-val.ok { color: var(--teal); }
/* Bars grow in as the card reveals, cascading top-to-bottom. Without JS or
   with reduced motion the reveal class is never added → bars render full. */
@media (prefers-reduced-motion: no-preference) {
  .bx-app.rv .bxf-fill { width: 0; }
  .bx-app.rv-in .bxf-fill { width: var(--w); transition: width 0.85s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .bx-app.rv-in .bxf-row:nth-of-type(1) .bxf-fill { transition-delay: 0.12s; }
  .bx-app.rv-in .bxf-row:nth-of-type(2) .bxf-fill { transition-delay: 0.22s; }
  .bx-app.rv-in .bxf-row:nth-of-type(3) .bxf-fill { transition-delay: 0.32s; }
}
/* pipeline stage row on fleet cards (replaces the standalone board table) */
.bx-app-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 2px 0 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.bx-funnel + .bx-app-stage { border-top: 0; padding-top: 2px; }
.bx-app-chip.chip-dead { color: var(--dimmer); text-decoration: line-through; }

/* ---------- operator dashboard: site traffic ---------- */

.dash-traffic { margin: 4px 0 30px; }
.dtr-switch { float: right; display: inline-flex; gap: 6px; }
.dtr-range {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--dim);
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 11px; text-decoration: none;
}
.dtr-range:hover { border-color: var(--signal); color: var(--signal); text-decoration: none; }
.dtr-range.on { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); font-weight: 700; }

.dtr-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 6px 0 16px; }
.dtr-tile { display: flex; flex-direction: column; gap: 3px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.dtr-n { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 0.95; color: var(--bright); font-variant-numeric: tabular-nums; }
.dtr-tile:first-child .dtr-n { color: var(--teal); }
.dtr-l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--dim); }

.dtr-chart { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding: 0 2px 20px; border: 1px solid var(--line); border-radius: 12px; padding-top: 16px; background: var(--panel); }
.dtr-col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.dtr-bar { width: 100%; max-width: 30px; min-height: 2px; background: linear-gradient(180deg, var(--signal), rgba(31, 186, 237, 0.35)); border-radius: 3px 3px 0 0; }
.dtr-bar[data-empty] { background: var(--line); }
.dtr-col:hover .dtr-bar { filter: brightness(1.25); }
.dtr-x { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; color: var(--dimmer); white-space: nowrap; }
.dtr-empty { margin: 8px 2px; }

.dtr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 720px) { .dtr-cols { grid-template-columns: 1fr; } }
.dtr-block { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 14px 16px 16px; }
.dtr-h { font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bright); margin: 0 0 10px; }
.dtr-h span { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.08em; color: var(--dimmer); text-transform: none; margin-left: 6px; }
.dtr-table { width: 100%; border-collapse: collapse; }
.dtr-table th { text-align: left; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dimmer); padding: 0 0 7px; border-bottom: 1px solid var(--line); }
.dtr-table td { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text); }
.dtr-table tr:last-child td { border-bottom: none; }
.dtr-table .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.dtr-table td.dim { color: var(--dimmer); }
.dtr-table .mono { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.dtr-conv { margin: 12px 0 0; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.dtr-conv b { color: var(--bright); font-weight: 400; }
.dtr-foot { margin-top: 14px; }

/* traffic heatmap — when visitors come, weekday × hour (ET) */
.dhm-wrap { margin: 22px 0 2px; }
.dhm-scroll { overflow-x: auto; padding-bottom: 4px; }
.dhm-grid {
  display: grid;
  grid-template-columns: 32px repeat(24, minmax(10px, 1fr));
  gap: 3px;
  min-width: 360px;
  align-items: center;
}
.dhm-hl {
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--dimmer);
  text-align: left;
  white-space: nowrap;
}
.dhm-dl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  padding-right: 4px;
}
.dhm-c {
  height: 15px;
  border-radius: 2px;
  transition: transform 0.1s ease;
}
.dhm-c:hover { transform: scale(1.25); box-shadow: 0 0 0 1px var(--signal); }
.dhm-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.dhm-cap { margin: 0; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.dhm-cap b { color: var(--signal); font-weight: 600; }
.dhm-legend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--dimmer);
}
.dhm-legend i { width: 12px; height: 12px; border-radius: 2px; }

/* where visitors are — country breakdown (edge-resolved codes, no IPs) */
.dgeo-wrap { margin: 22px 0 2px; }
.dgeo-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.dgeo-row {
  display: grid;
  grid-template-columns: 20px minmax(74px, 1.2fr) 2.4fr auto;
  align-items: center;
  gap: 10px;
}
.dgeo-flag { font-size: 15px; line-height: 1; }
.dgeo-name {
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dgeo-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.dgeo-fill { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, rgba(31, 186, 237, 0.4), var(--signal)); }
.dgeo-v { font-family: var(--mono); font-size: 12px; color: var(--bright); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.dgeo-v i { color: var(--dim); font-style: normal; margin-left: 6px; }
.dgeo-foot { margin: 12px 0 0; font-family: var(--mono); font-size: 10.5px; color: var(--dimmer); }

/* A lone last card in a 3-up row spans it — no orphan in a broken row. */
@media (min-width: 940px) {
  .bx-fleet-grid > li:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    column-gap: 28px;
    align-items: center;
  }
  .bx-fleet-grid > li:last-child:nth-child(3n + 1) .bx-app-top,
  .bx-fleet-grid > li:last-child:nth-child(3n + 1) .bx-app-name,
  .bx-fleet-grid > li:last-child:nth-child(3n + 1) .bx-app-pitch { grid-column: 1; }
  .bx-fleet-grid > li:last-child:nth-child(3n + 1) .bx-funnel,
  .bx-fleet-grid > li:last-child:nth-child(3n + 1) .bx-app-stage,
  .bx-fleet-grid > li:last-child:nth-child(3n + 1) .bx-app-foot { grid-column: 2; }
  .tk-grid > .tk-card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}

/* TODAY'S STANDINGS — the horse race strip on the homepage. */
.standings {
  margin: 26px auto 0;
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px 20px 14px;
}
.st-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dim);
}
.st-tally {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--teal);
  border: 1px solid rgba(45, 212, 167, 0.4);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.st-tally.has-kills { color: var(--red); border-color: rgba(255, 71, 71, 0.45); }
.st-row {
  display: grid;
  grid-template-columns: 2em minmax(90px, 0.9fr) 2fr auto;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  text-decoration: none;
  color: inherit;
}
.st-row:hover { text-decoration: none; }
.st-row:hover .st-name { color: var(--signal); }
.st-rank { font-family: var(--mono); font-size: 11px; color: var(--dimmer); }
.st-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bright);
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-track { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.st-fill { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, rgba(31, 186, 237, 0.4), var(--signal)); }
.st-n { font-family: var(--mono); font-size: 13px; color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-n i { font-style: normal; color: var(--dimmer); font-size: 10.5px; margin-left: 5px; letter-spacing: 0.08em; }
.st-more {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
}
.st-more:hover { color: var(--signal); text-decoration: none; }

/* Discord door in the off-air banner + on the wall. */
.lb-discord {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #a5b3ff;
  white-space: nowrap;
}
.lb-discord:hover { color: #c3ccff; text-decoration: none; }
.wall-discord { margin: -6px 0 18px; }

/* Crowd verdict on the fleet cards. */
.bx-verdict-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--dimmer);
  margin: 10px 0 4px;
}
.bx-app .reactions { margin: 0 0 2px; }
@keyframes react-pop { 40% { transform: scale(1.3); } }
.react.on .re { display: inline-block; animation: react-pop 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (prefers-reduced-motion: reduce) { .react.on .re { animation: none; } }

/* THE GRAVEYARD — tombstones for killed apps. Desaturated, red top rule,
   one chamfered corner; the frozen numbers are the last real report. */
.bx-grave { max-width: 1060px; margin: 52px auto 0; }
.bx-grave-sub { font-family: var(--mono); font-size: 12.5px; color: var(--dimmer); margin: 6px 0 16px; }
.bx-grave-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.bx-grave-card {
  position: relative;
  border: 1px solid var(--line);
  border-top: 2px solid rgba(255, 71, 71, 0.55);
  background: color-mix(in srgb, var(--panel) 86%, black);
  padding: 16px 18px 14px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.bx-grave-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 71, 71, 0.6);
  text-decoration-thickness: 2px;
}
.bx-grave-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--dimmer); text-decoration: none; }
.bx-grave-pitch { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--dimmer); }
.bx-grave-frozen { margin: 0 0 10px; font-family: var(--mono); font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.bx-grave-foot { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mono); font-size: 10.5px; color: var(--dimmer); }
.bx-grave-pill {
  color: var(--red);
  border: 1px solid rgba(255, 71, 71, 0.45);
  border-radius: 999px;
  padding: 2px 9px;
  letter-spacing: 0.12em;
  font-size: 10px;
}

/* The odometer holds width; cents tick in tabular figures. */
.bx-odo { font-variant-numeric: tabular-nums; }

/* Broadcast tile: where the ON AIR switch will point, or why it's locked. */
.cmd-stream {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dimmer);
  margin: 2px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmd-noturl { text-align: center; margin-top: 6px; }

/* ---------- YOUR GEM — one per account, revealed by hand ---------- */

.dash-gem { margin: 4px 0 30px; }
.gem-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 8px 26px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 130% at 12% 0%, color-mix(in srgb, var(--gem, #3a4556) 16%, transparent), transparent 60%),
    var(--panel);
  padding: 22px 24px;
}
@media (max-width: 640px) { .gem-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.gem-fig { width: 230px; max-width: 100%; position: relative; }
.gm-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45)); }
.gm-q {
  font-family: var(--display);
  font-weight: 900;
  font-size: 64px;
  fill: var(--dim);
}
.gm-spark { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .gm-spark { animation: gmTwinkle 2.8s ease-in-out infinite; }
  @keyframes gmTwinkle { 0%, 100% { opacity: 0; } 45% { opacity: 0.95; } }
  .gem-mystery .gm-svg { animation: gmBreathe 3.2s ease-in-out infinite; }
  @keyframes gmBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
  /* ---------- THE OPENING — loot-drop grade ----------
     Timeline: blackout veil → charge-up shake → burst (flash, ring, rays,
     shards) → the stone lands → rarity beam holds → tier stamp → meters
     slam in. Everything is server-stamped classes + CSS; one play only. */
  .gem-stage { position: relative; z-index: 60; }
  .gem-stage::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(120% 120% at 50% 40%, rgba(5, 8, 13, 0.9), rgba(3, 5, 8, 0.97));
    z-index: -1;
    pointer-events: none;
    animation: gemVeil 5.6s ease forwards;
  }
  @keyframes gemVeil {
    0% { opacity: 0; }
    12%, 72% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
  }
  .gem-flash { box-shadow: 0 0 0 1px color-mix(in srgb, var(--tier, #1fbaed) 45%, transparent), 0 20px 80px rgba(0, 0, 0, 0.6); }
  /* 1 — the rock fights back */
  .gem-flash .gem-fig { --go: 0.55s; animation: gemShake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; }
  @keyframes gemShake {
    0% { transform: translate(0, 0) rotate(0); }
    20% { transform: translate(-2px, 1px) rotate(-1deg); }
    40% { transform: translate(3px, -2px) rotate(1.4deg); }
    60% { transform: translate(-4px, 2px) rotate(-2deg); }
    80% { transform: translate(5px, -3px) rotate(2.4deg); }
    100% { transform: translate(0, 0) rotate(0); }
  }
  /* 2 — the burst: the stone lands out of a white-hot flash */
  .gem-flash .gem-fig > svg,
  .gem-flash .gem-fig > canvas { animation: gemLand 0.75s cubic-bezier(0.2, 0.9, 0.25, 1.2) var(--go, 0.55s) both; }
  @keyframes gemLand {
    0% { transform: scale(0.25); filter: brightness(6) saturate(0.2); opacity: 0; }
    45% { transform: scale(1.12); filter: brightness(2.2); opacity: 1; }
    100% { transform: scale(1); filter: brightness(1); }
  }
  .gem-ring {
    position: absolute;
    inset: 8%;
    border: 2px solid var(--tier, #1fbaed);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: gemRing 0.75s cubic-bezier(0.2, 0.7, 0.3, 1) calc(var(--go, 0.55s) + 0.03s) both;
  }
  @keyframes gemRing {
    0% { transform: scale(0.25); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: scale(2.7); opacity: 0; }
  }
  .gem-rays {
    position: absolute;
    inset: -30%;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg,
      color-mix(in srgb, var(--tier, #1fbaed) 55%, transparent) 0deg 7deg,
      transparent 7deg 30deg);
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.9) 20%, transparent 68%);
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.9) 20%, transparent 68%);
    opacity: 0;
    pointer-events: none;
    animation: gemRays 2.6s ease var(--go, 0.55s) both;
  }
  @keyframes gemRays {
    0% { opacity: 0; transform: scale(0.4) rotate(0deg); }
    18% { opacity: 0.9; transform: scale(1) rotate(24deg); }
    70% { opacity: 0.45; transform: scale(1.08) rotate(60deg); }
    100% { opacity: 0; transform: scale(1.12) rotate(80deg); }
  }
  /* 3 — the rarity beam holds under the floating stone */
  .gem-beam {
    position: absolute;
    left: 50%;
    top: -46px;
    width: 88px;
    height: calc(100% + 92px);
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--tier, #1fbaed) 55%, transparent) 30%, color-mix(in srgb, var(--tier, #1fbaed) 55%, transparent) 70%, transparent);
    filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    animation: gemBeam 3.4s ease calc(var(--go, 0.55s) + 0.15s) both;
  }
  @keyframes gemBeam {
    0% { opacity: 0; transform: translateX(-50%) scaleY(0.1); }
    16% { opacity: 0.95; transform: translateX(-50%) scaleY(1.04); }
    55% { opacity: 0.5; transform: translateX(-50%) scaleY(1); }
    100% { opacity: 0.22; transform: translateX(-50%) scaleY(1); }
  }
  .gem-shard {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    background: var(--tier, #1fbaed);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    opacity: 0;
    pointer-events: none;
    animation: gemShard 0.85s cubic-bezier(0.2, 0.8, 0.4, 1) calc(var(--go, 0.55s) + 0.05s + var(--sd, 0ms)) both;
  }
  @keyframes gemShard {
    0% { transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateX(6px) scale(1.2); opacity: 0; }
    8% { opacity: 1; }
    100% { transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateX(var(--d, 90px)) scale(0.15); opacity: 0; }
  }
  /* 4 — the paperwork lands: name, stamp, meters in sequence */
  .gem-flash .gem-name { animation: gemRise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--go, 0.55s) + 0.4s) both; }
  @keyframes gemRise {
    0% { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: none; }
  }
  .gem-stage .gem-tier { animation: gemStamp 0.4s cubic-bezier(0.2, 2.1, 0.4, 1) calc(var(--go, 0.55s) + 1s) both; }
  @keyframes gemStamp {
    0% { opacity: 0; transform: scale(2.6) rotate(-6deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
  }
  .gem-flash .gem-stat { animation: gemRise 0.45s ease both; }
  .gem-flash .gem-stat:nth-of-type(1) { animation-delay: calc(var(--go, 0.55s) + 0.55s); }
  .gem-flash .gem-stat:nth-of-type(2) { animation-delay: calc(var(--go, 0.55s) + 0.7s); }
  .gem-flash .gem-stat:nth-of-type(3) { animation-delay: calc(var(--go, 0.55s) + 0.85s); }
  .gem-flash .gem-meter i.on { animation: gemNotch 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.4) both; }
  .gem-flash .gem-stat:nth-of-type(1) .gem-meter i.on { animation-delay: calc(var(--go, 0.55s) + 0.65s + var(--ni, 0) * 0.04s); }
  .gem-flash .gem-stat:nth-of-type(2) .gem-meter i.on { animation-delay: calc(var(--go, 0.55s) + 0.8s + var(--ni, 0) * 0.04s); }
  .gem-flash .gem-stat:nth-of-type(3) .gem-meter i.on { animation-delay: calc(var(--go, 0.55s) + 0.95s + var(--ni, 0) * 0.04s); }
  @keyframes gemNotch {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
  }
}
.gem-name {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bright);
}
.gem-hue { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--dim); margin-top: 2px; text-transform: uppercase; }
.gem-sub { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--dim); max-width: 52ch; }
.gem-stat {
  display: grid;
  grid-template-columns: 4.6em minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 7px 0;
}
@media (max-width: 640px) { .gem-stat { width: 100%; max-width: 340px; } }
.gem-stat-l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--dim); }
.gem-meter { display: flex; gap: 3px; }
.gem-meter i {
  flex: 1 1 0;
  max-width: 16px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
}
.gem-meter i.on { background: linear-gradient(180deg, color-mix(in srgb, var(--gem, var(--signal)) 88%, white), var(--gem, var(--signal))); }
.gem-stat-v { font-family: var(--mono); font-size: 12.5px; color: var(--bright); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gem-stat-v i { font-style: normal; color: var(--dimmer); font-size: 10.5px; }
.gem-fine { margin-top: 12px; }
.gem-tier { color: var(--amber); border-color: rgba(255, 178, 36, 0.4); }
.gem-mystery .gem-body form { margin: 0 0 8px; }

/* 3D gem: the WebGL canvas replaces the SVG when it mounts; drag to spin. */
.gem-3d { position: relative; }
.gm-canvas { display: block; width: 100%; height: auto; cursor: grab; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.5)); }
.gm-canvas:active { cursor: grabbing; }
.gem-3d.is-3d > .gm-svg { display: none; } /* only the fallback — roulette frames keep theirs */

/* gem operator preview controls */
.gem-preview { color: var(--signal); border-color: rgba(31, 186, 237, 0.4); margin-left: 6px; }
.gem-reroll { margin-top: 12px; }

/* gem DNA line — the machine-readable identity */
.gem-dna {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 11px;
}
.gem-dna-l { letter-spacing: 0.18em; color: var(--dimmer); }
.gem-dna code {
  color: var(--bright);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.06em;
  user-select: all;
}
.gem-dna-json { color: var(--signal); }

/* homepage FREE GIFT card — the gem as the signup hook */
.gift-wrap { margin: 46px 0 0; }
.gift-card {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 10px 28px;
  align-items: center;
  border: 1px solid var(--line-hi);
  border-radius: var(--radius);
  padding: 26px 30px;
  background:
    radial-gradient(80% 140% at 8% 0%, rgba(31, 186, 237, 0.12), transparent 60%),
    radial-gradient(70% 120% at 96% 100%, rgba(45, 212, 167, 0.08), transparent 55%),
    var(--panel);
  overflow: hidden;
}
@media (max-width: 640px) { .gift-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.gift-fig { position: relative; width: 190px; max-width: 100%; }
.gift-fig .gm-svg { filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.5)); }
.gift-spark {
  position: absolute;
  color: var(--signal);
  font-style: normal;
  font-size: 14px;
  opacity: 0;
}
.gs1 { top: 8%; right: 12%; }
.gs2 { bottom: 18%; left: 4%; font-size: 10px; }
.gs3 { top: 30%; left: -4%; font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .gift-spark { animation: gmTwinkle 2.6s ease-in-out infinite; }
  .gs2 { animation-delay: 0.9s; }
  .gs3 { animation-delay: 1.7s; }
}
.gift-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--teal);
}
.gift-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bright);
}
.gift-title .hl {
  display: inline-block;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 0 10px 2px;
  clip-path: var(--chamfer);
}
.gift-sub { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--dim); max-width: 60ch; }
.gift-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gift-odds { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--dimmer); }

/* operator gem inventory — the shelf of past test rolls */
.gem-inv { margin: 22px 0 0; }
.gem-inv-grid {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
}
.gem-inv-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 12px 12px 10px;
  text-align: center;
}
.gem-inv-sealed { opacity: 0.6; }
.gem-inv-fig { width: 84px; margin: 0 auto 6px; }
.gem-inv-fig .gm-svg { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)); }
.gem-inv-fig .gm-spark { display: none; }
.gem-inv-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bright);
}
.gem-inv-tier { display: block; font-size: 9px; letter-spacing: 0.14em; margin-top: 1px; }
.gem-inv-meta { margin: 3px 0 0; font-family: var(--mono); font-size: 10.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.gem-inv-dna { margin: 5px 0 0; }
.gem-inv-dna code { font-family: var(--mono); font-size: 8.5px; color: var(--dimmer); letter-spacing: 0.02em; user-select: all; }

/* THE ROULETTE — item-box spin before the stone lands */
.gem-roulette { position: absolute; inset: 0; display: none; z-index: 3; }
.gem-roulette.rl-run { display: block; }
.gem-roulette .rl-f {
  position: absolute;
  inset: 4%;
  opacity: 0;
  transform: scale(0.9);
}
.gem-roulette .rl-f .gm-svg { filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.5)) brightness(1.15); }
.gem-roulette .rl-f .gm-spark { display: none; }
.gem-roulette .rl-f.on { opacity: 1; animation: rlPop 0.12s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
@keyframes rlPop {
  0% { transform: scale(0.82); }
  100% { transform: scale(1); }
}
.gem-roulette.rl-out { animation: rlOut 0.2s ease both; }
@keyframes rlOut {
  0% { opacity: 1; filter: brightness(1.6); transform: scale(1); }
  100% { opacity: 0; filter: brightness(3); transform: scale(1.25); }
}
@media (prefers-reduced-motion: reduce) { .gem-roulette { display: none !important; } }

/* ---------- the easter egg: the wordmark dot is a gem ---------- */
.dot-green.egg-live { cursor: pointer; display: inline-block; position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .dot-green.egg-live { animation: eggGlint 7s ease-in-out infinite; }
  @keyframes eggGlint {
    0%, 92%, 100% { text-shadow: none; transform: none; filter: none; }
    94% { text-shadow: 0 0 10px var(--signal), 0 0 22px var(--signal); transform: scale(1.35) rotate(8deg); filter: brightness(1.6); }
    97% { text-shadow: 0 0 4px var(--signal); transform: scale(1.05); }
  }
}
.dot-green.egg-live:hover { text-shadow: 0 0 10px var(--signal); }

.egg { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.egg-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  cursor: default;
  background: rgba(4, 6, 10, 0.86);
  backdrop-filter: blur(3px);
}
.egg-card {
  position: relative;
  max-width: 430px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--line-hi);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(31, 186, 237, 0.14), transparent 60%),
    var(--panel);
  padding: 30px 28px 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}
.egg-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 0;
  color: var(--dimmer);
  font-size: 15px;
  cursor: pointer;
  padding: 6px;
}
.egg-close:hover { color: var(--bright); }
.egg-fig { width: 150px; margin: 0 auto 6px; }
.egg-kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--teal);
}
.egg-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bright);
}
.egg-title .hl {
  display: inline-block;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 0 9px 2px;
  clip-path: var(--chamfer);
}
.egg-sub { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: var(--dim); }
.egg-fine { margin-top: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .egg.egg-on .egg-card { animation: eggPop 0.45s cubic-bezier(0.2, 1.4, 0.3, 1) both; }
  @keyframes eggPop {
    0% { transform: scale(0.5) translateY(30px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
  }
  .egg.egg-on .egg-fig { animation: gmBreathe 3.2s ease-in-out 0.4s infinite; }
}

/* ── THE REALM — homepage discovery card ─────────────────────────────── */
.realm-wrap { max-width: 1080px; margin: 0 auto; padding: 56px 24px 8px; }
.realm-card { display: grid; grid-template-columns: 300px 1fr; gap: 0; overflow: hidden; text-decoration: none;
  border: 1px solid #2b3a52; border-radius: 16px; background: #0d1219; transition: border-color 0.25s ease, transform 0.25s ease; }
.realm-card:hover { border-color: #d9955c; transform: translateY(-2px); }
.realm-art { position: relative; min-height: 210px; overflow: hidden;
  background: linear-gradient(180deg, #2c3a55 0%, #d9955c 78%, #4a6741 78%, #3a5334 100%); }
.ra-sun { position: absolute; left: 50%; top: 34%; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%;
  background: #ffe9c0; box-shadow: 0 0 40px 14px rgba(255, 233, 192, 0.55); }
.ra-peak { position: absolute; bottom: 22%; width: 0; height: 0; border-style: solid; border-color: transparent; }
.ra-p1 { left: -6%; border-width: 0 70px 110px 70px; border-bottom-color: #22314a; }
.ra-p2 { left: 30%; border-width: 0 55px 84px 55px; border-bottom-color: #2b3a52; }
.ra-p3 { right: -4%; border-width: 0 78px 122px 78px; border-bottom-color: #1d2b40; }
.ra-road { position: absolute; left: 12%; bottom: 0; width: 76%; height: 22%;
  background: linear-gradient(180deg, transparent 44%, #8a7a5c 44%, #8a7a5c 56%, transparent 56%);
  transform: perspective(60px) rotateX(28deg); }
.ra-node { position: absolute; bottom: 9%; width: 10px; height: 10px; border-radius: 50%; }
.ra-n1 { left: 18%; background: #ff6a1a; box-shadow: 0 0 12px 3px rgba(255, 106, 26, 0.7); }
.ra-n2 { left: 42%; background: #64d98c; box-shadow: 0 0 12px 3px rgba(100, 217, 140, 0.7); }
.ra-n3 { left: 64%; background: #9f7bff; box-shadow: 0 0 12px 3px rgba(159, 123, 255, 0.7); }
.ra-n4 { left: 84%; background: #ffd24a; box-shadow: 0 0 12px 3px rgba(255, 210, 74, 0.7); }
.realm-body { padding: 26px 28px 24px; }
.realm-tag { font: 700 10px var(--mono, ui-monospace, monospace); letter-spacing: 0.22em; color: #d9955c; }
.realm-name { margin: 8px 0 8px; font: 900 clamp(26px, 4vw, 38px)/1.02 "Barlow Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase; color: #f4ead7; }
.realm-sub { margin: 0 0 16px; font-size: 14.5px; line-height: 1.65; color: #9aa7bd; max-width: 60ch; }
.realm-cta { display: inline-block; padding: 11px 18px; font: 700 13px "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em; text-transform: uppercase; color: #1c1206; border-radius: 9px;
  background: linear-gradient(180deg, #f0b96a, #d9955c); }
@media (max-width: 760px) { .realm-card { grid-template-columns: 1fr; } .realm-art { min-height: 150px; } }
