/* betspread marketing UI kit — shared styles */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap");

:root {
  --bg: #08090a;
  --fg: #ffffff;
  --fg-1: #d6d8dd;
  --fg-2: #b0b3b8;
  --fg-3: #7e828a;
  --border-soft: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.10);
  --border-hover: rgba(255,255,255,0.22);
  --surface-1: rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.05);
  --surface-3: rgba(255,255,255,0.06);
  --ink: rgba(0,0,0,0.30);
  --ink-strong: rgba(0,0,0,0.40);
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --accent: #3b82f6;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --amber-200: #fde68a;
  --red-300: #fca5a5;
  --red-400: #f87171;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body { background: transparent; color: var(--fg); font-family: "Geist", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }

.bs-mono { font-family: "Geist Mono", ui-monospace, Menlo, monospace; }
.bs-fg-3 { color: var(--fg-3); }

.bs-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--fg-3); font-weight: 400; }
.bs-h2 { font-size: 36px; font-weight: 300; letter-spacing: -0.025em; line-height: 1.1; color: var(--fg); margin-top: 14px; max-width: 720px; text-wrap: pretty; }
.bs-sec-sub { font-size: 16px; color: var(--fg-2); font-weight: 300; line-height: 1.625; max-width: 640px; margin-top: 18px; }
.bs-sec { padding: 80px 32px; max-width: 1200px; margin: 0 auto; border-top: 1px solid #2e2e32; }
.bs-hero + .bs-sec { border-top: 0; }
.bs-sec-head { margin-bottom: 36px; }

/* Pills */
.bs-pill { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 40px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: -0.005em; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s ease; border: 1px solid transparent; }
.bs-pill:hover { transform: translateY(-1px); }
.bs-pill:active { transform: translateY(0); transition-duration: .05s; }
.bs-pill svg { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.bs-pill:hover svg { transform: translateX(3px); }
.bs-pill-primary { background: #fff; color: #08090a; }
.bs-pill-primary:hover { background: #e9eaee; box-shadow: 0 10px 28px rgba(255,255,255,0.10); }
.bs-pill-ghost { color: var(--fg-1); border-color: var(--border); background: var(--surface-1); }
.bs-pill-ghost:hover { background: var(--surface-3); border-color: var(--border-hover); color: var(--fg); box-shadow: 0 8px 24px rgba(0,0,0,0.30); }

/* Header */
.bs-mhdr { position: sticky; top: 0; z-index: 50; background: rgba(15,17,21,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-soft); height: 64px; display: flex; align-items: center; }
.bs-mhdr-inner { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 32px; }
.bs-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 400; letter-spacing: -0.01em; color: var(--fg); }
.bs-brand svg { color: var(--fg); }
.bs-mnav { display: flex; gap: 22px; font-size: 13px; color: var(--fg-2); font-weight: 400; }
.bs-mnav a { position: relative; transition: color .18s ease; }
.bs-mnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.7,.2,1); opacity: .6; }
.bs-mnav a:hover { color: var(--fg); }
.bs-mnav a:hover::after { transform: scaleX(1); }
.bs-mnav a.active { color: var(--fg); }
.bs-mhdr-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.bs-mlink { font-size: 13px; color: var(--fg-1); }

/* Hero */
.bs-hero { position: relative; padding: 56px 32px 96px; max-width: 1200px; margin: 0 auto; min-height: 100vh; display: flex; align-items: center; overflow: visible; }
.bs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.bs-hero .bs-hero-grid { position: relative; z-index: 1; width: 100%; }
.bs-hero-unicorn { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 100vw; z-index: -1; pointer-events: none; filter: hue-rotate(15deg) saturate(1.5); mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%); }
.bs-hero-unicorn > div { position: absolute; inset: 0; width: 100%; height: 100%; }
.bs-hero-glow { position: absolute; top: -100px; left: 0; right: 0; height: 620px; background: radial-gradient(circle at top, rgba(59,130,246,0.16), transparent 58%); pointer-events: none; z-index: -1; }
.bs-hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.bs-hero-h1 { font-size: 64px; font-weight: var(--h1-weight, 300); line-height: 1.05; letter-spacing: -0.025em; margin-top: 18px; text-wrap: pretty; }
.bs-hero-announce {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 11px 0 7px;
  border-radius: 999px;
  color: var(--fg-1);
  font-size: 13px;
  line-height: 1;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .18s cubic-bezier(.2,.7,.2,1), color .18s ease;
}
.bs-hero-announce::before,
.bs-hero-announce::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.bs-hero-announce::before {
  z-index: -2;
  background: conic-gradient(from var(--bs-tile-rotation), #330f1f 0%, #c83228 12.56%, #fb8841 25.06%, var(--accent) 38%, var(--emerald-400) 50%, #00143d 74%, var(--blue-300) 97%);
  opacity: .78;
  animation: bs-tile-spin 4s linear infinite;
}
.bs-hero-announce::after {
  z-index: -1;
  inset: 1px;
  background: rgba(13,15,20,0.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.bs-hero-announce:hover {
  color: var(--fg);
  transform: translateY(-1px);
}
.bs-hero-announce:hover::before { opacity: 1; }
.bs-hero-announce > * { position: relative; z-index: 1; }
.bs-hero-announce svg { color: var(--fg-3); transition: color .18s ease, transform .22s cubic-bezier(.2,.7,.2,1); }
.bs-hero-announce:hover svg { color: var(--fg); transform: translateX(2px); }
.bs-hero-announce-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.bs-hero-accent {
  display: inline;
  color: var(--blue-300);
  background: linear-gradient(135deg, var(--blue-400), var(--emerald-400), var(--blue-300));
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bs-hero-shimmer 8s ease-in-out infinite;
}
@keyframes bs-hero-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.bs-hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 24px;
}
.bs-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-3);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  line-height: 1.4;
}
.bs-hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--fg-3);
  opacity: .7;
  flex-shrink: 0;
}
.bs-hero-trust-sep { color: var(--border-hover); }
.bs-hero-corner {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  color: rgba(255,255,255,0.08);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}
.bs-hero-corner-tl { top: 96px; left: 32px; }
.bs-hero-corner-tr { top: 96px; right: 32px; }
.bs-hero-corner-bl { bottom: 72px; left: 32px; }
.bs-hero-corner-br { bottom: 72px; right: 32px; }

html[data-motion="lively"] .bs-hero-trust-item {
  opacity: 0;
  transform: translateY(8px);
  animation: bs-hero-trust-in .55s cubic-bezier(.2,.7,.2,1) forwards;
}
html[data-motion="lively"] .bs-hero-trust-item:nth-of-type(2) { animation-delay: .1s; }
html[data-motion="lively"] .bs-hero-trust-item:nth-of-type(3) { animation-delay: .2s; }
html[data-motion="lively"] .bs-hero-corner {
  opacity: 0;
  animation: bs-hero-corner-in .65s ease 1s forwards;
}
@keyframes bs-hero-trust-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bs-hero-corner-in {
  to { opacity: 1; }
}

/* Motion intensity controls */
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { transition-duration: 0.001s !important; animation: none !important; }
html[data-motion="off"] *:hover { transform: none !important; }
html[data-motion="lively"] .bs-pill:hover { transform: translateY(-2px) scale(1.02); }

/* Background toggle */
html[data-bg="off"] .bs-hero-unicorn { display: none; }

/* Accent override */
.bs-pill-primary { background: #fff; color: #08090a; }
.bs-hero-sub { font-size: 17px; color: var(--fg-2); font-weight: 300; line-height: 1.7; margin-top: 22px; max-width: 580px; text-wrap: pretty; }
.bs-hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.bs-hero-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12px; color: var(--fg-3); }

/* Dots & badges */
.bs-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.bs-dot-live { background: var(--emerald-400); box-shadow: 0 0 0 3px rgba(52,211,153,0.18); animation: bs-dot-pulse 2.4s ease-in-out infinite; }
@keyframes bs-dot-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,0.18); } 50% { box-shadow: 0 0 0 5px rgba(52,211,153,0.06); } }
.bs-dot-idle { background: var(--fg-3); }
.bs-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 11px; font-weight: 500; border-radius: 999px; border: 1px solid transparent; }
.bs-badge-info { background: rgba(59,130,246,0.12); color: var(--blue-300); border-color: rgba(59,130,246,0.28); }

/* ===== THE PROBLEM section (Speakeasy-style, dark-adapted) ===== */
@property --bs-tile-rotation { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* AI-Lights: registered custom properties for smooth keyframe interpolation */
@property --deg-start { syntax: "<angle>"; inherits: false; initial-value: 200deg; }
@property --stop-2 { syntax: "<angle>"; inherits: false; initial-value: 15deg; }
@property --stop-3 { syntax: "<angle>"; inherits: false; initial-value: 29deg; }
@property --stop-4 { syntax: "<angle>"; inherits: false; initial-value: 43deg; }
@property --stop-5 { syntax: "<angle>"; inherits: false; initial-value: 58deg; }
@property --stop-6 { syntax: "<angle>"; inherits: false; initial-value: 72deg; }
@property --stop-7 { syntax: "<angle>"; inherits: false; initial-value: 84deg; }
@keyframes bs-tile-spin { 100% { --bs-tile-rotation: 360deg; } }
.bs-problem { padding: 128px 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: visible; }
.bs-problem-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 32px; position: relative; overflow: visible; padding: 32px 0 48px; }
.bs-problem-badge { display: inline-flex; align-items: center; justify-content: center; font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.04em; text-transform: none; color: var(--fg-3); border: 1px solid #2e2e32; border-radius: 999px; padding: 5px 14px; line-height: 1; background: #0c0d10; white-space: nowrap; }
.bs-problem-h2 { font-size: clamp(36px, 5.5vw, 67px); font-weight: 100; letter-spacing: -0.04em; line-height: 1.2; color: var(--fg); text-align: center; max-width: 900px; text-wrap: balance; margin: 0; }
.bs-problem-sub { font-size: 18px; color: var(--fg-3); font-weight: 300; line-height: 1.75; max-width: 720px; text-align: center; text-wrap: balance; margin: 0; }
.bs-problem-frame { position: relative; width: 100%; max-width: 1100px; margin-top: 16px; }
.bs-problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.bs-problem-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px; text-align: center; border: 1px solid var(--border); background: var(--bg); }
.bs-problem-card + .bs-problem-card { margin-left: -1px; }
/* Rotating conic-gradient border on hover (Speakeasy beam effect) */
.bs-problem-card::before, .bs-problem-card::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; z-index: 0; }
.bs-problem-card::before { inset: 0; background: conic-gradient(from var(--bs-tile-rotation), #330f1f 0%, #c83228 12.56%, #fb8841 25.06%, #3b82f6 37.56%, #6ee7b7 50.06%, #002414 62.06%, #00143d 74.06%, #2874d7 86.06%, #93c5fd 97.06%); opacity: 0; transition: opacity 0.3s ease; animation: bs-tile-spin 3s linear infinite; }
.bs-problem-card::after { inset: 1px; background: var(--bg); }
.bs-problem-card:hover::before { opacity: 1; }
.bs-problem-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); color: var(--amber-200); position: relative; z-index: 1; }
.bs-problem-title { font-size: clamp(18px, 2vw, 23px); font-weight: 300; color: var(--fg); letter-spacing: -0.01em; position: relative; z-index: 1; }
.bs-problem-body { font-size: clamp(14px, 1.5vw, 18px); color: var(--fg-3); font-weight: 300; line-height: 1.75; position: relative; z-index: 1; }
/* Corner dots + gradient lines (Speakeasy signature) */
.bs-problem-corner { position: absolute; width: 7px; height: 7px; background: var(--bg); border: 1px solid rgba(255,255,255,0.22); z-index: 10; }
.bs-problem-corner-tl { top: -4px; left: -4px; }
.bs-problem-corner-bl { bottom: -4px; left: -4px; }
.bs-problem-corner-tr { top: -4px; right: -4px; }
.bs-problem-corner-br { bottom: -4px; right: -4px; }
.bs-problem-line-v { position: absolute; left: 2px; bottom: 100%; width: 1px; height: 48px; background: linear-gradient(to top, rgba(255,255,255,0.18), transparent); }
.bs-problem-line-v-down { position: absolute; left: 2px; top: 100%; width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.18), transparent); }
.bs-problem-line-h { position: absolute; top: 2px; height: 1px; width: 48px; }
.bs-problem-line-h-left { right: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.18)); }
.bs-problem-line-h-right { left: 100%; background: linear-gradient(to left, transparent, rgba(255,255,255,0.18)); }
@media (max-width: 768px) {
  .bs-problem { padding: 80px 16px; }
  .bs-problem-grid { grid-template-columns: 1fr; }
  .bs-problem-card + .bs-problem-card { margin-left: 0; margin-top: -1px; }
  .bs-problem-corner { display: none; }
}

/* ===== THE SOLUTION section ===== */
@keyframes bs-solution-enter { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }

.bs-solution { padding: 128px 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: visible; }
.bs-solution-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 56px; position: relative; overflow: visible; padding: 32px 0 48px; }
.bs-solution-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; width: 100%; }
.bs-solution-text { display: flex; flex-direction: column; gap: 18px; }
.bs-solution-badge { display: inline-flex; align-items: center; justify-content: center; font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.04em; text-transform: none; color: var(--fg-3); border: 1px solid #2e2e32; border-radius: 999px; padding: 5px 14px; line-height: 1; background: #0c0d10; white-space: nowrap; width: fit-content; }
.bs-solution-h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 100; letter-spacing: -0.035em; line-height: 1.15; color: var(--fg); max-width: 520px; text-wrap: balance; margin: 0; }
.bs-solution-sub { font-size: 16px; color: var(--fg-3); font-weight: 300; line-height: 1.75; max-width: 480px; margin: 0; }

/* Solution pills with beam hover */
.bs-solution-pills { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 8px; }
.bs-solution-pill { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 400; color: var(--fg-2); border: 1px solid var(--border); background: var(--bg); overflow: hidden; transition: color .2s ease; }
.bs-solution-pill svg { color: var(--accent); flex-shrink: 0; }
.bs-solution-pill::before, .bs-solution-pill::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; z-index: 0; }
.bs-solution-pill::before { inset: 0; background: conic-gradient(from var(--bs-tile-rotation), #330f1f 0%, #c83228 12.56%, #fb8841 25.06%, #3b82f6 37.56%, #6ee7b7 50.06%, #002414 62.06%, #00143d 74.06%, #2874d7 86.06%, #93c5fd 97.06%); opacity: 0; transition: opacity 0.3s ease; animation: bs-tile-spin 3s linear infinite; }
.bs-solution-pill::after { inset: 1px; background: var(--bg); border-radius: inherit; }
.bs-solution-pill:hover::before { opacity: 1; }
.bs-solution-pill:hover { color: var(--fg); }
.bs-solution-pill span, .bs-solution-pill svg { position: relative; z-index: 1; }

/* 3D Isometric graphic — NO perspective (orthographic isometric, like Speakeasy) */
.bs-solution-graphic { position: relative; height: 440px; max-width: 520px; width: 100%; overflow: visible; animation: bs-solution-enter 0.8s cubic-bezier(.2,.7,.2,1) both; margin-left: auto; }
.bs-solution-iso { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: center center; transform: translateX(40px) translateY(calc(30% + 8px)) rotateX(72deg) rotateZ(-145deg) translateX(40px); }

.bs-iso-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  transform-style: preserve-3d;
  width: 280px;
  height: 240px;
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    rotate 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Faces */
.bs-iso-face { position: absolute; display: flex; align-items: center; justify-content: center; gap: 6px; pointer-events: none; }
.bs-iso-face span { font-family: "Geist Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-2); position: relative; z-index: 1; transition: color 0.5s ease-out; }
.bs-iso-face svg { color: var(--fg-2); opacity: 0.8; position: relative; z-index: 1; transition: color 0.5s ease-out, opacity 0.5s ease-out; }

.bs-iso-top { width: 280px; height: 240px; top: 0; left: 0; background: var(--bg); border: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.bs-iso-layer.is-lit .bs-iso-face span { color: rgba(255,255,255,0.95); }
.bs-iso-layer.is-lit .bs-iso-face svg { color: rgba(255,255,255,0.95); opacity: 1; }

.bs-iso-front { width: 280px; height: 24px; top: -24px; left: 0; transform: rotateX(90deg); transform-origin: bottom center; background: var(--bg); border: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.bs-iso-front span, .bs-iso-front svg { transform: scale(-1, -1); }
.bs-iso-back { width: 280px; height: 24px; bottom: -24px; left: 0; transform: rotateX(-90deg) translateZ(2px); transform-origin: top center; background: var(--bg); border: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.bs-iso-left { width: 24px; height: 240px; left: -24px; top: 0; transform: rotateY(-90deg); transform-origin: right center; background: var(--bg); border: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); overflow: visible; }
.bs-iso-right { width: 24px; height: 240px; right: -24px; top: 0; transform: rotateY(90deg); transform-origin: left center; background: var(--bg); border: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); overflow: visible; }
.bs-iso-back span { font-size: 9px; letter-spacing: 0.12em; color: #ffffff; font-weight: 600; }

.bs-iso-shadow { position: absolute; width: 240px; height: 200px; left: 20px; top: 20px; background: rgba(0,0,0,0.18); filter: blur(14px); border-radius: 4px; transform: translateZ(-46px); opacity: 0; transition: opacity 0.5s ease-out; }

/* Glow — JS-driven via .is-lit class */
.bs-iso-top::before { content: ""; position: absolute; inset: 0; background: var(--layer-glow); opacity: 0; transition: opacity 0.5s ease-out; pointer-events: none; }
.bs-iso-layer-5 .bs-iso-top::before { --layer-glow: #C9A8E8; }
.bs-iso-layer-4 .bs-iso-top::before { --layer-glow: #F5DC8A; }
.bs-iso-layer-3 .bs-iso-top::before { --layer-glow: #A8D8B0; }
.bs-iso-layer-2 .bs-iso-top::before { --layer-glow: #8ABDFF; }
.bs-iso-layer-1 .bs-iso-top::before { --layer-glow: #F0A989; }
/* Side face glow */
.bs-iso-front::before { content: ""; position: absolute; inset: 0; background: var(--layer-edge, transparent); opacity: 0; transition: opacity 0.5s ease-out; pointer-events: none; backface-visibility: hidden; }
.bs-iso-back::before { display: none; }
.bs-iso-left::before, .bs-iso-right::before { content: ""; position: absolute; inset: 0; background: var(--layer-dark, transparent); opacity: 0; transition: opacity 0.5s ease-out; pointer-events: none; backface-visibility: hidden; }
.bs-iso-layer-5 .bs-iso-front::before, .bs-iso-layer-5 .bs-iso-back::before { --layer-edge: #8870A8; }
.bs-iso-layer-5 .bs-iso-left::before, .bs-iso-layer-5 .bs-iso-right::before { --layer-dark: #AC8FCC; }
.bs-iso-layer-4 .bs-iso-front::before, .bs-iso-layer-4 .bs-iso-back::before { --layer-edge: #B89F4F; }
.bs-iso-layer-4 .bs-iso-left::before, .bs-iso-layer-4 .bs-iso-right::before { --layer-dark: #DCC270; }
.bs-iso-layer-3 .bs-iso-front::before, .bs-iso-layer-3 .bs-iso-back::before { --layer-edge: #6E9C76; }
.bs-iso-layer-3 .bs-iso-left::before, .bs-iso-layer-3 .bs-iso-right::before { --layer-dark: #8FBE97; }
.bs-iso-layer-2 .bs-iso-front::before, .bs-iso-layer-2 .bs-iso-back::before { --layer-edge: #5285C9; }
.bs-iso-layer-2 .bs-iso-left::before, .bs-iso-layer-2 .bs-iso-right::before { --layer-dark: #6FA5E8; }
.bs-iso-layer-1 .bs-iso-front::before, .bs-iso-layer-1 .bs-iso-back::before { --layer-edge: #A86A4F; }
.bs-iso-layer-1 .bs-iso-left::before, .bs-iso-layer-1 .bs-iso-right::before { --layer-dark: #D48F71; }
/* .is-lit activates glow */
.bs-iso-layer.is-lit .bs-iso-top::before { opacity: 1; }
.bs-iso-layer.is-lit .bs-iso-front::before { opacity: 1; }
.bs-iso-layer.is-lit .bs-iso-left::before, .bs-iso-layer.is-lit .bs-iso-right::before { opacity: 1; }
.bs-iso-layer.is-lit .bs-iso-shadow { opacity: 1; }

.bs-iso-label { font-family: "Geist Mono", monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; }

.bs-iso-rlbl {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  transition: color 0.5s ease-out;
}
.bs-iso-layer.is-lit .bs-iso-rlbl { color: rgba(255,255,255,0.95); }


/* Hover card */
.bs-iso-card {
  position: absolute;
  top: 50%;
  left: calc(50% - 80px);
  translate: -50% -50%;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 300px;
}
.bs-iso-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.bs-iso-card-bar {
  height: 5px;
  width: 100%;
  border-radius: 8px 8px 0 0;
  background: var(--bs-card-color, #8ABDFF);
}
.bs-iso-card-body {
  background: #111214;
  border: 1px solid rgba(255,255,255,0.10);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 20px;
}
.bs-iso-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.bs-iso-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.10);
  background: var(--bs-card-color-dim, rgba(138,189,255,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
}
.bs-iso-card-icon svg {
  width: 16px;
  height: 16px;
  color: var(--fg);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bs-iso-card-title span {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg);
}
.bs-iso-card-desc {
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.6;
  margin-bottom: 16px;
}
.bs-iso-card-features {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bs-iso-card-feat {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bs-iso-card-feat svg {
  width: 15px;
  height: 15px;
  color: var(--fg-3);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Solution cards frame */
.bs-solution-frame { position: relative; width: 100%; max-width: 1100px; }

@media (max-width: 880px) {
  .bs-solution-cols { grid-template-columns: 1fr; }
  .bs-solution-graphic { height: 320px; max-width: 360px; margin: 0 auto; }
  .bs-solution-iso { transform: translateY(calc(30% + 8px)) rotateX(72deg) rotateZ(-145deg) scale(0.75); }
}
@media (max-width: 768px) {
  .bs-solution { padding: 80px 16px; }
  .bs-solution-frame .bs-problem-grid { grid-template-columns: 1fr; }
  .bs-solution-frame .bs-problem-card + .bs-problem-card { margin-left: 0; margin-top: -1px; }
  .bs-solution-frame .bs-problem-corner { display: none; }
}

/* ===== Workflow v3: horizontal scroll-driven journey, pinned ===== */
/* Outer section is tall (acts as scroll scrubber); inner sticky frame holds the stage in view. */
.bs-wf3 { position: relative; height: 320vh; padding: 0; }
.bs-wf3-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 64px 32px; box-sizing: border-box; }
.bs-wf3-stage { position: relative; margin-top: 56px; }

/* Rail spans the full width; markers + dot sit on the same axis */
.bs-wf3-rail { position: relative; height: 14px; margin: 0 auto 36px; --bs-rail-glow: rgba(59,130,246,0.62); }
.bs-wf3-rail-bg { position: absolute; left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); background: rgba(255,255,255,0.10); }
.bs-wf3-rail-fill { position: absolute; left: 0; top: 50%; height: 2px; transform: translateY(-50%); background: linear-gradient(90deg, #3b82f6 0%, #22d3ee 18%, #6ee7b7 36%, #f5dc8a 54%, #fb8841 70%, #c83228 84%, #8b5cf6 100%); box-shadow: 0 0 10px rgba(59,130,246,0.58), 0 0 24px rgba(34,211,238,0.20), 0 0 34px rgba(251,136,65,0.12); transition: width .12s linear; border-radius: 2px; }
.bs-wf3-rail-fill::after { content: ""; position: absolute; inset: -8px 0; background: inherit; filter: blur(14px); opacity: 0.24; border-radius: 999px; pointer-events: none; }
.bs-wf3-rail-head { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #f7f8fb; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(255,255,255,0.10), 0 0 24px rgba(255,255,255,0.28); transition: opacity .25s ease, left .12s linear; pointer-events: none; }
.bs-wf3-marker { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #0c0d10; border: 1px solid rgba(255,255,255,0.22); transform: translate(-50%, -50%); transition: border-color .3s ease, background .3s ease, box-shadow .3s ease; }
.bs-wf3-marker.is-active { border-color: rgba(255,255,255,0.82); background: #f7f8fb; box-shadow: 0 0 0 5px rgba(255,255,255,0.08), 0 0 18px rgba(255,255,255,0.24); }

/* 4 cards in a row, aligned to the marker positions above */
.bs-wf3-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bs-wf3-step { display: flex; flex-direction: column; gap: 10px; transition: opacity .35s ease; opacity: 0.5; }
.bs-wf3-step.is-active { opacity: 1; }

.bs-wf3-eyebrow { font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.18em; color: var(--fg-3); transition: color .3s ease; }
.bs-wf3-step.is-active .bs-wf3-eyebrow { color: color-mix(in oklab, var(--accent) 35%, white); }
.bs-wf3-title { font-size: 18px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; color: var(--fg); margin: 0; text-wrap: pretty; }
.bs-wf3-body { font-size: 14px; color: var(--fg-2); font-weight: 300; line-height: 1.6; margin: 0; }

@media (max-width: 880px) {
  .bs-wf3-steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .bs-wf3-title { font-size: 16px; }
  .bs-wf3-body { font-size: 13px; }
}
html[data-motion="off"] .bs-wf3-rail-fill,
html[data-motion="off"] .bs-wf3-rail-head { transition: none !important; }

/* code tokens — shared with Hero */
.bs-tok-cmd { color: var(--blue-300); }
.bs-tok-f { color: var(--amber-200); opacity: 0.9; }
.bs-tok-s { color: #b6e3a3; }
.bs-tok-u { color: var(--fg); }
.bs-tok-k { color: #c8a2ff; }

/* Logo marquee */
.bs-mq { position: relative; border-top: 1px solid #2e2e32; border-bottom: 1px solid #2e2e32; padding: 28px 0; overflow-x: clip; overflow-y: visible; }
.bs-mq-label { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); z-index: 5; font-size: 11px; padding: 5px 14px; background: #0c0d10; border: 1px solid #2e2e32; border-radius: 999px; color: var(--fg-3); white-space: nowrap; }
.bs-mq-track { -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent); mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent); overflow: hidden; }
.bs-mq-track { display: flex; gap: 14px; width: max-content; animation: bs-mq-scroll 42s linear infinite; }
.bs-mq-track:hover { animation-play-state: paused; }
.bs-mq-item { min-width: 132px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); opacity: 0.86; transition: opacity .2s ease, background .2s ease, border-color .2s ease, transform .2s cubic-bezier(.2,.7,.2,1); }
.bs-mq-item:hover { opacity: 1; background: var(--surface-3); border-color: var(--border-hover); transform: translateY(-1px); }
.bs-mq-logo { max-width: 94px; max-height: 24px; object-fit: contain; filter: grayscale(1) brightness(1.45) contrast(1.08); opacity: 0.92; transition: filter .25s ease, opacity .25s ease; }
.bs-mq-item:hover .bs-mq-logo { filter: grayscale(0) brightness(1.1) contrast(1); opacity: 1; }
.bs-mq-fallback { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--fg-2); letter-spacing: 0.02em; }
@keyframes bs-mq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Bookmaker trading wall */
.bs-bookie-wall { padding: 110px 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: radial-gradient(70% 80% at 50% 0%, rgba(59,130,246,0.10), transparent 58%), #08090a; }
.bs-bookie-wall-head { max-width: 1200px; margin: 0 auto 42px; }
.bs-bookie-wall-head .bs-sec-sub { max-width: 760px; }
.bs-bookie-terminal { position: relative; max-width: 1200px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)); box-shadow: 0 30px 90px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.06); }
.bs-bookie-glow { position: absolute; inset: -25% -10% auto; height: 340px; pointer-events: none; background: radial-gradient(circle at 22% 30%, rgba(59,130,246,0.22), transparent 35%), radial-gradient(circle at 74% 20%, rgba(251,136,65,0.16), transparent 30%), radial-gradient(circle at 48% 42%, rgba(34,211,238,0.14), transparent 42%); filter: blur(10px); opacity: 0.9; }
.bs-bookie-terminal-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.10); color: var(--fg-3); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.bs-bookie-live { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); letter-spacing: 0; text-transform: none; }
.bs-bookie-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,0.08); }
.bs-bookie-tile { position: relative; min-height: 152px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 18px; background: rgba(8,9,10,0.88); overflow: hidden; transition: background .22s ease, transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease; }
.bs-bookie-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(180px circle at 50% 0%, rgba(255,255,255,0.08), transparent 64%); opacity: 0; transition: opacity .22s ease; pointer-events: none; }
.bs-bookie-tile:hover { z-index: 2; background: rgba(16,18,23,0.98); transform: translateY(-2px); box-shadow: 0 18px 48px rgba(0,0,0,0.38), inset 0 0 0 1px rgba(255,255,255,0.14); }
.bs-bookie-tile:hover::before { opacity: 1; }
.bs-bookie-tile img { max-width: 118px; max-height: 34px; object-fit: contain; align-self: start; filter: grayscale(1) brightness(1.5) contrast(1.05); opacity: 0.9; transition: filter .22s ease, opacity .22s ease, transform .22s ease; }
.bs-bookie-tile:hover img { filter: grayscale(0) brightness(1.08) contrast(1); opacity: 1; transform: translateY(-1px); }
.bs-bookie-tile strong { font-size: 15px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.bs-bookie-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.bs-bookie-specs span { display: inline-flex; align-items: center; justify-content: center; min-height: 22px; padding: 3px 7px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.045); color: var(--fg-2); font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.bs-bookie-pair { color: var(--fg-3); font-size: 11px; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-bookie-price { align-self: flex-start; display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.04); color: var(--fg-1); font-size: 12px; font-variant-numeric: tabular-nums; }
.bs-bookie-price.is-up { color: var(--emerald-300); border-color: rgba(52,211,153,0.22); background: rgba(52,211,153,0.08); }
.bs-bookie-price.is-down { color: var(--red-300); border-color: rgba(248,113,113,0.22); background: rgba(248,113,113,0.08); }
.bs-bookie-tape { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.10); overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.bs-bookie-tape-track { display: flex; width: max-content; gap: 28px; padding: 13px 0; animation: bs-bookie-tape 36s linear infinite; }
.bs-bookie-tape-track span { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-3); white-space: nowrap; }
.bs-bookie-terminal:hover .bs-bookie-tape-track { animation-play-state: paused; }
@keyframes bs-bookie-tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 980px) { .bs-bookie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bs-bookie-wall { padding: 76px 18px; } .bs-bookie-grid { grid-template-columns: 1fr; } .bs-bookie-tile { min-height: 118px; } }

/* Stats */
.bs-stats {
  padding: 48px 24px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.bs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.bs-stats-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.bs-stats-item + .bs-stats-item::before {
  content: "";
  position: absolute;
  top: 10%;
  left: -12px;
  width: 1px;
  height: 80%;
  background: var(--border);
}

.bs-stats-value {
  color: var(--fg);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.bs-stats-label {
  color: var(--fg-3);
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

html[data-motion="lively"] .bs-stats-value {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}

html[data-motion="lively"] .bs-stats.is-visible .bs-stats-value {
  opacity: 1;
  transform: translateY(0);
}

html[data-motion="lively"] .bs-stats-item:nth-child(2) .bs-stats-value { transition-delay: .1s; }
html[data-motion="lively"] .bs-stats-item:nth-child(3) .bs-stats-value { transition-delay: .2s; }
html[data-motion="lively"] .bs-stats-item:nth-child(4) .bs-stats-value { transition-delay: .3s; }

@media (max-width: 768px) {
  .bs-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .bs-stats-value { font-size: 36px; }
  .bs-stats-item:nth-child(3)::before { display: none; }
}

@media (max-width: 480px) {
  .bs-stats-grid { grid-template-columns: 1fr 1fr; }
  .bs-stats-item + .bs-stats-item::before { display: none; }
}

/* Code showcase + final coverage CTA */
.bs-code-showcase {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px;
  border-top: 1px solid #2e2e32;
}

.bs-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.bs-section-head .bs-eyebrow { margin: 0; }

.bs-section-head h2 {
  margin: 0;
  color: var(--fg);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

.bs-section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--fg-2);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  text-wrap: pretty;
}

.bs-code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.bs-code-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 9, 10, 0.72);
  box-shadow: 0 20px 60px rgba(0,0,0,0.30), 0 4px 16px rgba(0,0,0,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}

.bs-code-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.36), 0 0 40px rgba(59,130,246,0.08);
}

.bs-code-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
}

.bs-code-chrome .dots {
  display: inline-flex;
  gap: 6px;
}

.bs-code-chrome .dots i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.bs-code-chrome .dots i:nth-child(1) { background: #ff5f57; }
.bs-code-chrome .dots i:nth-child(2) { background: #ffbd2e; }
.bs-code-chrome .dots i:nth-child(3) { background: #27c93f; }

.bs-code-chrome .url {
  overflow: hidden;
  color: var(--fg-3);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bs-code-chrome .badge {
  padding: 3px 8px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
  color: var(--fg-3);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bs-code-chrome .badge.is-ok {
  border-color: rgba(52,211,153,0.22);
  background: rgba(52,211,153,0.08);
  color: var(--emerald-300);
}

.bs-code-body {
  min-height: 360px;
  overflow-x: auto;
  padding: 18px 20px 20px;
  color: var(--fg-1);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.65;
}

.bs-code-body pre { margin: 0; }
.bs-tk-cmd { color: var(--fg); }
.bs-tk-flag,
.bs-tk-key { color: var(--blue-300); }
.bs-tk-str { color: var(--emerald-300); }
.bs-tk-num { color: var(--amber-200); }
.bs-tk-com,
.bs-tk-pun,
.bs-tk-prompt { color: var(--fg-3); }
.bs-tk-mute { color: var(--fg-2); }

.bs-code-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 4px;
  border-radius: 1px;
  background: var(--emerald-400);
  vertical-align: -2px;
  animation: bs-cursor-blink 1.1s steps(2,end) infinite;
}

@keyframes bs-cursor-blink { 50% { opacity: 0; } }

.bs-code-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
  color: var(--fg-3);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.bs-code-steps span b {
  margin-right: 6px;
  color: var(--fg-1);
  font-weight: 500;
}

.bs-coverage-orbit {
  position: relative;
  overflow: hidden;
  padding: 200px 32px 80px;
  border-top: 1px solid #2e2e32;
  background: var(--bg);
}

.bs-coverage-inner {
  position: relative;
  max-width: 1200px;
  min-height: 620px;
  margin: 0 auto;
}

.bs-connect-text {
  position: relative;
  z-index: 10;
  max-width: 484px;
}

.bs-connect-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.bs-connect-eyebrow .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--blue-300);
}

.bs-connect-eyebrow .ico svg {
  width: 100%;
  height: 100%;
}

.bs-connect-h2 {
  margin: 0 0 22px;
  color: var(--fg);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 300;
  letter-spacing: -0.028em;
  line-height: 1.02;
  text-wrap: balance;
}

.bs-connect-body {
  max-width: 480px;
  margin: 0 0 36px;
  color: var(--fg-2);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  text-wrap: pretty;
}

.bs-connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 59px;
}

.bs-connect-pill-primary {
  border-color: transparent;
  background: #fff;
  color: #08090a;
}

.bs-connect-pill-primary:hover {
  background: #e9eaee;
  box-shadow: 0 12px 32px rgba(255,255,255,0.10);
}

.bs-connect-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bs-connect-status .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-1);
  color: var(--fg-2);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.bs-connect-status .pill .dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.bs-connect-status .pill .dot.is-green {
  background: var(--emerald-400);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.18);
}

.bs-connect-status .pill .dot.is-blue {
  background: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(96,165,250,0.18);
}

.bs-connect-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 1148px;
  height: 1148px;
  transform: translate(calc(-50% + 175px), calc(-50% - 60px));
  pointer-events: none;
  -webkit-mask: conic-gradient(from 270deg, rgba(0,0,0,0) 20.97deg, #000 108deg, #000 180deg, #000 216deg, rgba(0,0,0,0) 295deg);
  mask: conic-gradient(from 270deg, rgba(0,0,0,0) 20.97deg, #000 108deg, #000 180deg, #000 216deg, rgba(0,0,0,0) 295deg);
}

.bs-connect-orbit-grid {
  display: none;
}

.bs-connect-ring-700 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
}

.bs-connect-blur-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 507px;
  height: 152px;
  transform: translate(calc(-50% + 130px), -50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at 30% 50%, rgba(59,130,246,0.08) 0%, rgba(99,179,237,0.04) 40%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 2;
}

.bs-connect-orbit-gridline {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 720px;
  height: 1px;
  transform: translate(calc(-50% + 4px), -50%);
  background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(200,230,255,0.06) 50%, rgba(200,230,255,0.06) 80%, rgba(255,255,255,0) 100%);
  opacity: 0.6;
  pointer-events: none;
}

.bs-connect-ring-guide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 630px;
  height: 630px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: none;
  background:
    linear-gradient(to top, rgba(255,255,255,0) 55%, rgba(180,210,255,0.14) 110%),
    linear-gradient(to bottom, rgba(180,210,255,0.16) -10%, rgba(255,255,255,0) 40%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px), #000 100%, transparent 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px), #000 100%, transparent 100%);
  pointer-events: none;
}



.bs-connect-node {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transition: transform 1s linear(0 0%,.026 1.8%,.108 3.9%,.59 12.2%,.792 16.5%,.931 21%,.978 23.4%,1.01 25.9%,1.033 29.3%,1.04 33.3%,1.001 56.9%,1 100%),
              width 1s linear(0 0%,.026 1.8%,.108 3.9%,.59 12.2%,.792 16.5%,.931 21%,.978 23.4%,1.01 25.9%,1.033 29.3%,1.04 33.3%,1.001 56.9%,1 100%),
              height 1s linear(0 0%,.026 1.8%,.108 3.9%,.59 12.2%,.792 16.5%,.931 21%,.978 23.4%,1.01 25.9%,1.033 29.3%,1.04 33.3%,1.001 56.9%,1 100%);
}

.bs-connect-node-inner {
  position: absolute;
  top: -315px;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 1s linear(0 0%,.026 1.8%,.108 3.9%,.59 12.2%,.792 16.5%,.931 21%,.978 23.4%,1.01 25.9%,1.033 29.3%,1.04 33.3%,1.001 56.9%,1 100%);
}

.bs-connect-node-disc {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
  border-radius: 50%;
  background: transparent;
  transition: transform .25s ease;
  pointer-events: auto;
  cursor: default;
  position: relative;
  z-index: 1;
}

.bs-connect-node-disc:hover {
  transform: scale(1.06);
}

.bs-connect-node-disc img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  opacity: .9;
}

.bs-connect-node-disc.is-light {
  background: rgba(245,246,250,0.97);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    rgba(255,255,255,0.88) 0 1px 1px 0 inset,
    0 2px 12px rgba(0,0,0,0.35);
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 12px;
}

.bs-connect-node-disc.is-light img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bs-connect-node-inner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url(/bookmakers/logo-background.avif) center / contain no-repeat;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bs-connect-node-disc.is-text {
  padding: 0 8px;
  background: rgba(245,246,250,0.97);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    rgba(255,255,255,0.88) 0 1px 1px 0 inset,
    0 2px 12px rgba(0,0,0,0.35);
  color: #1a1d25;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-align: center;
  text-shadow: none;
  position: relative;
  z-index: 1;
}

.bs-connect-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 520px;
  height: 180px;
  padding: 24px;
  border: none;
  border-radius: 999px;
  background: transparent;
  transform: translate(calc(-50% + 305px), calc(-50% - 60px));
}

.bs-connect-center::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: inherit;
  pointer-events: none;
}

.bs-connect-center-disc {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: #f0f1f5;
  color: #1a1d25;
  box-shadow:
    rgba(255,255,255,0.88) 0 1px 1px 0 inset,
    0 4px 16px rgba(0,0,0,0.30);
  overflow: hidden;
  position: relative;
}

.bs-connect-center-disc::before {
  display: none;
}

/* ── AI-Lights system (reverse-engineered from Antimetal #integrations) ── */

/* Overlay half — extends beyond parent so the ring peeks out around the disc */
.bs-al-half {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  pointer-events: none;
}
.bs-al-mirror { transform: scaleX(-1); }
.bs-al-behind { z-index: -1; }

/* Border layer — content-box exclude shows only the 2.5px padding ring */
.bs-al-border {
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 100%;
  border-radius: inherit;
  padding: 2.5px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
}

/* Mask-core — radial gradient hides bottom-center, light originates from sides */
.bs-al-core {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: inherit;
  -webkit-mask-image: radial-gradient(25% 70% at 50% 100%, transparent 25%, black 100%);
  mask-image: radial-gradient(25% 70% at 50% 100%, transparent 25%, black 100%);
}

/* Gradient element — fills parent, conic gradient on ::before */
.bs-al-grad {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.bs-al-grad::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  --deg-start: 200deg;
  --stop-2: 15deg;
  --stop-3: 29deg;
  --stop-4: 43deg;
  --stop-5: 58deg;
  --stop-6: 72deg;
  --stop-7: 84deg;
  background: conic-gradient(
    from var(--deg-start) at 50% 50%,
    #0b59ed 0deg,
    #98d0ff var(--stop-2),
    #8bebfe var(--stop-3),
    #4eeafb var(--stop-4),
    #a7f392 var(--stop-5),
    #fff07c var(--stop-6),
    transparent var(--stop-7) 324deg,
    #95c1ffa1 349deg,
    #0b59ed 360deg
  );
}

.bs-al-grad[data-playing="true"]::before {
  animation: lights-conic-stops 2s cubic-bezier(0.26, 0.94, 0.6, 1) 1 forwards;
}

/* Glow wrapper — subtle halo close to the ring */
.bs-al-glow-outer {
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 100%;
  border-radius: inherit;
}
.bs-al-glow-blur {
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  filter: blur(4px);
}

.bs-al-grad.bs-al-grad--glow::before {
  background: conic-gradient(
    from var(--deg-start) at 50% 50%,
    rgba(11,89,237,0.18) 0deg,
    rgba(152,208,255,0.14) var(--stop-2),
    rgba(139,235,254,0.12) var(--stop-3),
    rgba(78,234,251,0.10) var(--stop-4),
    rgba(167,243,146,0.08) var(--stop-5),
    rgba(255,240,124,0.06) var(--stop-6),
    transparent var(--stop-7) 324deg,
    rgba(149,193,255,0.08) 349deg,
    rgba(11,89,237,0.18) 360deg
  );
}

@keyframes lights-conic-stops {
  0% { opacity: 0; }
  10%, 30% { opacity: 1; }
  100% {
    opacity: 0;
    --deg-start: 0deg;
    --stop-2: 6deg;
    --stop-3: 11deg;
    --stop-4: 17deg;
    --stop-5: 40deg;
    --stop-6: 90deg;
    --stop-7: 120deg;
  }
}

/* betspread center logo — stacked layers pulse bottom→top on slot shift */
#center-logo { overflow: visible; }
.bs-logo-layer {
  will-change: transform, opacity;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

#center-logo.is-pulsing .bs-logo-layer {
  animation: bs-layer-pulse 0.7s cubic-bezier(0.33, 1, 0.5, 1) both;
  animation-delay: calc(var(--layer) * 0.09s);
}

@keyframes bs-layer-pulse {
  0%   { transform: translateY(3px); }
  40%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

.bs-connect-center-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from var(--light-angle, 0deg), transparent 0deg, rgba(59,130,246,0.3) 40deg, rgba(99,179,237,0.5) 70deg, transparent 110deg, transparent 200deg, rgba(147,197,253,0.3) 250deg, transparent 300deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.bs-connect-center-ring {
  display: none;
}

.bs-connect-center:hover .bs-connect-center-glow {
  opacity: 1;
}

.bs-connect-center-glow-OFF {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(59,130,246,0.5) 0deg, rgba(99,179,237,0.7) 60deg, transparent 120deg, transparent 240deg, rgba(147,197,253,0.6) 300deg, rgba(59,130,246,0.4) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: bs-ai-lights-spin 8s linear infinite reverse;
  pointer-events: none;
  z-index: -1;
}

.bs-connect-center-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(99,179,237,0.4) 0deg, transparent 90deg, rgba(59,130,246,0.5) 180deg, transparent 270deg, rgba(147,197,253,0.4) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: bs-ai-lights-spin 10s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes bs-ai-lights-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Live status pill — rotating bookmaker connection messages */
.bs-connect-live-pill {
  position: relative;
  margin-top: 59px;
}

.bs-connect-live-line-h,
.bs-connect-live-line-v {
  display: none;
}

.bs-connect-live-pill-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9999px;
  font-size: 14px;
  color: var(--fg);
  overflow: hidden;
  min-width: 220px;
  height: 36px;
}

.bs-connect-live-pill-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.bs-connect-live-pill-text {
  white-space: nowrap;
  transition: opacity .3s ease;
  -webkit-mask: linear-gradient(to right, #000 80%, transparent 100%);
  mask: linear-gradient(to right, #000 80%, transparent 100%);
}

.bs-connect-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  height: 400px;
  background: linear-gradient(to bottom, rgba(8,9,10,0) 0%, var(--bg) 55%);
  pointer-events: none;
}

.bs-connect-fade-left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  width: 45%;
  background: linear-gradient(to right, var(--bg) 0%, var(--bg) 40%, rgba(8,9,10,0.6) 70%, rgba(8,9,10,0) 100%);
  pointer-events: none;
}

.bs-connect-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  height: 260px;
  background: linear-gradient(to bottom, var(--bg) 10%, rgba(8,9,10,0) 100%);
  pointer-events: none;
}

@media (max-width: 980px) {
  .bs-code-grid { grid-template-columns: 1fr; }
  .bs-coverage-orbit { padding: 96px 32px 200px; }
  .bs-coverage-inner { min-height: 520px; }
  .bs-connect-orbit {
    opacity: .55;
    transform: translate(-50%, 60%) scale(.55);
  }
}

@media (max-width: 640px) {
  .bs-code-showcase { padding: 80px 16px; }
  .bs-code-body {
    min-height: 280px;
    font-size: 11.5px;
  }
  .bs-code-steps {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }
  .bs-coverage-orbit { padding: 80px 16px 180px; }
  .bs-connect-h2 { font-size: 40px; }
  .bs-connect-actions .bs-pill { width: 100%; justify-content: center; }
}

/* ===== Hero developer console (orchestrated mock) ===== */
.bs-hero-stack { display: flex; flex-direction: column; gap: 14px; transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.7,.2,1); position: relative; }
.bs-glass { background: rgba(12, 14, 18, 0.78); border: 1px solid var(--border); border-radius: 14px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 90px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.05); position: relative; overflow: hidden; }
.bs-card-breathe { animation: none; }
@keyframes bs-breathe { 0%, 100% { box-shadow: 0 24px 90px rgba(0,0,0,0.50), 0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.05); } 50% { box-shadow: 0 28px 100px rgba(0,0,0,0.55), 0 0 0 1px color-mix(in oklab, var(--accent) 18%, rgba(255,255,255,0.04)), 0 0 60px color-mix(in oklab, var(--accent) 8%, transparent), inset 0 1px 0 rgba(255,255,255,0.06); } }
/* Console */
.bs-console-chrome { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); background: rgba(255,255,255,0.02); }
.bs-tl { display: inline-flex; gap: 6px; }
.bs-tl i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.bs-tl i:nth-child(1) { background: #ff5f57; } .bs-tl i:nth-child(2) { background: #febc2e; } .bs-tl i:nth-child(3) { background: #28c840; }
.bs-tl-url { font-size: 11px; color: var(--fg-3); margin-left: 6px; }
.bs-tl-status { margin-left: auto; font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--fg-2); transition: all .3s ease; }
.bs-tl-status.is-pending { color: var(--amber-200); border-color: rgba(253,230,138,0.30); background: rgba(253,230,138,0.08); }
.bs-tl-status.is-response, .bs-tl-status.is-streaming, .bs-tl-status.is-connecting { color: var(--emerald-300); border-color: rgba(52,211,153,0.30); background: rgba(52,211,153,0.10); box-shadow: 0 0 14px rgba(52,211,153,0.20); }

.bs-cmd { font-size: 12.5px; color: var(--fg-1); line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.bs-tok-cmd { color: var(--fg); }
.bs-caret { display: inline-block; width: 8px; color: color-mix(in oklab, var(--accent) 80%, white); animation: bs-caret-blink 0.9s steps(2) infinite; margin-left: 1px; }
@keyframes bs-caret-blink { 50% { opacity: 0; } }

.bs-resp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; }
.bs-resp-status { font-family: "Geist Mono", monospace; padding: 2px 7px; border-radius: 4px; border: 1px solid var(--border); color: var(--fg-3); transition: all .25s ease; }
.bs-resp-status.is-response, .bs-resp-status.is-streaming, .bs-resp-status.is-connecting { color: var(--emerald-300); border-color: rgba(52,211,153,0.30); background: rgba(52,211,153,0.10); }
.bs-resp-status.is-pending { color: var(--amber-200); border-color: rgba(253,230,138,0.30); }
.bs-resp-body { font-size: 12px; line-height: 1.65; white-space: pre-wrap; }
.bs-tok-k { color: color-mix(in oklab, var(--accent) 65%, white); }
.bs-tok-s { color: var(--emerald-300); }
.bs-tok-n { color: var(--amber-200); }
.bs-tok-b { color: var(--red-300); }

/* Stream */
.bs-stream-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); }
.bs-stream-conn { display: inline-flex; align-items: center; gap: 7px; font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-3); }
.bs-stream-conn .bs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-3); transition: background .3s ease, box-shadow .3s ease; }
.bs-stream-conn.is-connecting .bs-dot { background: var(--amber-200); animation: bs-dot-pulse 0.6s ease-in-out infinite; }
.bs-stream-conn.is-on { color: var(--emerald-300); }
.bs-stream-conn.is-on .bs-dot { background: var(--emerald-400); box-shadow: 0 0 0 3px rgba(52,211,153,0.20); animation: bs-dot-pulse 1.6s ease-in-out infinite; }

.bs-stream-list { list-style: none; padding: 6px 8px; margin: 0; height: 220px; max-height: 220px; overflow: hidden; position: relative; }

/* ===== Tabbed console (Option A) ===== */
.bs-mode-tabs { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--border-soft); background: rgba(255,255,255,0.02); }
.bs-mode-tab { background: transparent; border: 1px solid transparent; color: var(--fg-3); font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 7px; transition: color .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.bs-mode-tab:hover { color: var(--fg-1); background: rgba(255,255,255,0.03); }
.bs-mode-tab.is-active { color: var(--fg); background: color-mix(in oklab, var(--accent) 14%, transparent); border-color: color-mix(in oklab, var(--accent) 28%, transparent); }
.bs-mode-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); transition: background .2s ease, box-shadow .2s ease; }
.bs-mode-tab.is-active .bs-mode-dot { background: color-mix(in oklab, var(--accent) 80%, white); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent); }
.bs-mode-hint { margin-left: auto; font-size: 10px; color: var(--fg-3); letter-spacing: 0.02em; }

.bs-mode-body { height: 360px; position: relative; overflow: hidden; }
.bs-mode-pane { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
.bs-mode-pane { padding: 14px 16px; animation: bs-pane-in 0.35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes bs-pane-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.bs-mode-subtabs { display: flex; align-items: center; gap: 0; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border-soft); }
.bs-mode-stream-head { padding: 0 0 10px; border-bottom: 1px solid var(--border-soft); margin-bottom: 4px; }
.bs-mode-foot { padding: 9px 16px; border-top: 1px solid var(--border-soft); font-size: 10px; letter-spacing: 0.04em; }
.bs-cmd { font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; color: var(--fg-1); }

@media (prefers-reduced-motion: reduce) { .bs-mode-pane { animation: none !important; } }
.bs-stream-row { display: grid; grid-template-columns: 0.85fr 1.05fr 0.7fr 1.4fr 0.95fr 0.55fr; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 6px; font-size: 11.5px; color: var(--fg-1); position: relative; animation: bs-stream-in 0.45s cubic-bezier(.2,.7,.2,1) both; }
.bs-stream-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: color-mix(in oklab, var(--accent) 75%, white); border-radius: 2px; opacity: 0; animation: bs-stream-bar 1.4s ease-out forwards; }
.bs-stream-row.is-up::before { background: var(--emerald-400); }
.bs-stream-row.is-down::before { background: var(--red-400); }
.bs-stream-row.is-warn::before { background: var(--amber-200); }
.bs-stream-row.is-ok::before { background: var(--emerald-400); }
@keyframes bs-stream-in { from { opacity: 0; transform: translateY(-6px); background: color-mix(in oklab, var(--accent) 14%, transparent); } 60% { background: color-mix(in oklab, var(--accent) 8%, transparent); } to { opacity: 1; transform: none; background: transparent; } }
@keyframes bs-stream-bar { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
.bs-stream-row:hover { background: rgba(255,255,255,0.04); }
.bs-stream-ts { color: var(--fg-3); }
.bs-stream-kind { font-family: "Geist Mono", monospace; font-size: 11px; }
.bs-stream-kind.is-up, .bs-stream-kind.is-ok { color: var(--emerald-300); }
.bs-stream-kind.is-down { color: var(--red-300); }
.bs-stream-kind.is-warn { color: var(--amber-200); }
.bs-stream-bk { color: var(--fg); }
.bs-stream-mkt { color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bs-stream-roll { color: var(--fg); font-variant-numeric: tabular-nums; }
.bs-stream-delta { font-variant-numeric: tabular-nums; text-align: right; }
.bs-stream-delta.is-up { color: var(--emerald-300); }
.bs-stream-delta.is-down { color: var(--red-300); }

/* Scanline subtle sweep over console (active only during streaming) */
.bs-console.is-streaming::after { display: none; }
@keyframes bs-sweep { 0%, 88% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Live odds widget */
.bs-odds {
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  background: rgba(8, 9, 10, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.30), 0 4px 16px rgba(0,0,0,0.20);
  color: var(--fg-1);
}

html[data-motion="lively"] .bs-odds { animation: bs-odds-breathe 6s ease-in-out infinite; }
@keyframes bs-odds-breathe {
  0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.30), 0 4px 16px rgba(0,0,0,0.20); }
  50% { box-shadow: 0 24px 70px rgba(59,130,246,0.12), 0 6px 20px rgba(0,0,0,0.25); }
}

.bs-odds-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
}
.bs-odds-dots { display: inline-flex; gap: 6px; }
.bs-odds-dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.bs-odds-dots i:nth-child(1) { background: #ff5f57; }
.bs-odds-dots i:nth-child(2) { background: #ffbd2e; }
.bs-odds-dots i:nth-child(3) { background: #27c93f; }
.bs-odds-url {
  overflow: hidden;
  color: var(--fg-3);
  font-size: 11px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bs-odds-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald-400);
  font-size: 10.5px;
  white-space: nowrap;
}
.bs-odds-dot,
.bs-odds-live-dot {
  display: inline-block;
  border-radius: 50%;
}
.bs-odds-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-400);
  animation: bs-odds-pulse 2s ease-out infinite;
}
@keyframes bs-odds-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.45); }
  70% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

.bs-odds-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
  font-size: 13px;
}
.bs-odds-title {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bs-odds-count {
  color: var(--fg-3);
  font-size: 11px;
}

.bs-odds-match {
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.bs-odds-league {
  margin-bottom: 8px;
  color: var(--fg-3);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.bs-odds-live-dot {
  width: 5px;
  height: 5px;
  margin-right: 6px;
  vertical-align: 2px;
  background: var(--red-400);
  animation: bs-odds-live-pulse 1.8s ease-out infinite;
}
@keyframes bs-odds-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(248,113,113,0.42); }
  70% { box-shadow: 0 0 0 6px rgba(248,113,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(248,113,113,0); }
}
.bs-odds-teams {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}
.bs-odds-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--fg-1);
  font-size: 13.5px;
  font-weight: 500;
}
.bs-odds-score {
  color: var(--fg);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

.bs-odds-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, 52px);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: rgba(255,255,255,0.025);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 11.5px;
}
.bs-odds-grid .h {
  padding: 5px 8px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.02);
  color: var(--fg-3);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}
.bs-odds-grid .h:first-child { text-align: left; }
.bs-odds-bk {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  color: var(--fg-3);
  font-size: 11px;
}
.bs-odds-val {
  position: relative;
  padding: 6px 4px;
  color: var(--fg-1);
  font-variant-numeric: tabular-nums;
  text-align: center;
  transition: background-color .35s ease, color .35s ease;
}
.bs-odds-val.is-up { color: var(--emerald-400); }
.bs-odds-val.is-down { color: var(--red-400); }
.bs-odds-val.flash-up { background: rgba(52,211,153,0.18); }
.bs-odds-val.flash-down { background: rgba(248,113,113,0.18); }
.bs-odds-val .arrow {
  display: inline-block;
  margin-right: 2px;
  font-size: 9px;
  vertical-align: 1px;
}

.bs-odds-footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--fg-3);
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-size: 10.5px;
}
.bs-odds-last { color: var(--fg-2); }
.bs-odds-kind { color: var(--blue-400); }

/* Responsive */
@media (max-width: 980px) {
  .bs-hero-grid { grid-template-columns: 1fr; }
  .bs-stream-row { grid-template-columns: 0.7fr 1fr 0.7fr 1.2fr; }
  .bs-stream-row .bs-stream-roll, .bs-stream-row .bs-stream-delta { display: none; }
  .bs-hero-corner { display: none; }
  .bs-odds { margin-right: auto; }
}

@media (max-width: 1024px) {
  .bs-hero-corner { display: none; }
}

@media (max-width: 768px) {
  .bs-hero { padding: 42px 20px 72px; }
  .bs-hero-h1 { font-size: clamp(44px, 13vw, 60px); }
  .bs-hero-trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .bs-hero-trust-sep { display: none; }
}

@media (max-width: 520px) {
  .bs-hero-announce {
    max-width: 100%;
    height: auto;
    min-height: 32px;
    padding-top: 6px;
    padding-bottom: 6px;
    line-height: 1.25;
  }
}

/* Pricing */
.bs-pricing {
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #2e2e32;
  text-align: center;
}
.bs-pricing-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.bs-pricing-head .bs-h2,
.bs-pricing-head .bs-sec-sub {
  margin-top: 0;
}
.bs-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 56px auto 0;
  text-align: left;
}
.bs-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-1);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease,
    transform .2s ease;
}
.bs-pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.bs-pricing-card.is-popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(59,130,246,0.06) 0%, rgba(59,130,246,0.02) 100%);
  box-shadow:
    0 0 60px rgba(59,130,246,0.08),
    inset 0 0 0 1px rgba(59,130,246,0.10);
}
.bs-pricing-card.is-popular:hover {
  box-shadow:
    0 0 80px rgba(59,130,246,0.14),
    inset 0 0 0 1px rgba(59,130,246,0.18);
}
.bs-pricing-badge {
  position: absolute;
  top: -10px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #08090a;
  background: var(--accent);
}
.bs-pricing-badge svg {
  width: 11px;
  height: 11px;
}
.bs-pricing-name {
  color: var(--fg-1);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.bs-pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 14px;
}
.bs-pricing-price {
  color: var(--fg);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}
.bs-pricing-period {
  margin-left: 6px;
  color: var(--fg-3);
  font-size: 14px;
  font-weight: 400;
}
.bs-pricing-tagline {
  min-height: 40px;
  margin-top: 14px;
  color: var(--fg-3);
  font-size: 13px;
  line-height: 1.55;
}
.bs-pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 20px 0 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--border-soft);
  list-style: none;
}
.bs-pricing-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--fg-1);
  font-size: 13.5px;
  line-height: 1.45;
}
.bs-pricing-feat svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--emerald-400);
}
.bs-pricing-card .bs-pill {
  width: 100%;
  height: 36px;
  justify-content: center;
  margin-top: auto;
  padding: 0 16px;
  font-size: 13px;
}
.bs-pricing-footer {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 40px;
  color: var(--fg-3);
  font-size: 12px;
  text-align: center;
}
.bs-pricing-footer span.sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--fg-3);
  opacity: .55;
}

@media (max-width: 1024px) {
  .bs-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .bs-pricing-card.is-popular { order: -1; }
}

@media (max-width: 640px) {
  .bs-pricing { padding: 80px 16px 60px; }
  .bs-pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .bs-pricing-price { font-size: 36px; }
  .bs-pricing-card { padding: 28px 22px 24px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bs-card-breathe, .bs-caret, .bs-stream-conn .bs-dot, .bs-dot-live, .bs-odds, .bs-odds-dot, .bs-odds-live-dot, .bs-code-cursor, .bs-connect-center-disc::before { animation: none !important; }
  .bs-hero-announce::before, .bs-hero-accent, .bs-hero-trust-item, .bs-hero-corner { animation: none !important; }
  .bs-hero-trust-item, .bs-hero-corner { opacity: 1 !important; transform: none !important; }
  .bs-stats-value { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bs-console.is-streaming::after { display: none; }
}

/* Footer */
.bs-foot { border-top: 1px solid #2e2e32; margin-top: 64px; padding: 56px 32px 28px; }.bs-foot-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 32px; }
.bs-foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bs-foot-h { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--fg-3); margin-bottom: 12px; }
.bs-foot-cols a { display: inline-block; font-size: 13px; color: var(--fg-2); padding: 4px 0; transition: color .18s ease, transform .2s cubic-bezier(.2,.7,.2,1); }
.bs-foot-cols a:hover { color: var(--fg); transform: translateX(3px); }
.bs-foot-copy { max-width: 1200px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid var(--border-soft); }
