/* Breakout website: calm, broadcast-style dark design for streamers and creators. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/BricolageGrotesque_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/BricolageGrotesque_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/DMSans_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/DMSans_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/DMSans_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b0c0f;
  --panel: #14161b;
  --line: #24262e;
  --ink: #f3f3f5;
  --muted: #9a9cab;
  --soft: #c6c8d2;
  --lime: #d4ff3a;
  --live: #ff5a5a;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased;
  background: radial-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px) 0 0 / 24px 24px, var(--bg);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: #000; }
.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--lime); color: #000; padding: 10px 14px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 10px; background: var(--lime); color: #0b0c0f; font: 700 16px/1 var(--text); text-decoration: none; transition: background 150ms, transform 150ms; }
.btn:hover { background: #e2ff70; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--panel); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: rgb(11 12 15 / 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--display); text-decoration: none; letter-spacing: -0.02em; }
.logo svg { width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: var(--lime); color: #0b0c0f; }
.top__nav { display: flex; gap: 4px; }
.top__nav a { padding: 10px 12px; border-radius: 8px; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.top__nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(56px, 8vw, 96px) 0 24px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgb(255 90 90 / 0.18); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.35; } }
.hero h1 { margin-top: 24px; font-size: clamp(44px, 6.2vw, 84px); }
.u { box-shadow: inset 0 -0.16em 0 var(--lime); }
.lead { margin-top: 22px; max-width: 46ch; font-size: 19px; color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--soft); }
.meta li { display: inline-flex; align-items: center; gap: 8px; }
.meta .soon { color: var(--muted); }
.note { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* Device and stream-alert style callouts */
.device { margin: 0; padding: 7px; border-radius: 38px; background: #000; box-shadow: 0 0 0 1px #2c2e36, 0 30px 80px -20px rgb(0 0 0 / 0.8); }
.device img { border-radius: 31px; }
.device--sm { padding: 5px; border-radius: 30px; }
.device--sm img { border-radius: 25px; }
.stage { position: relative; width: min(100%, 320px); justify-self: center; }
.stage::before { content: ''; position: absolute; inset: 10% -25%; background: radial-gradient(closest-side, rgb(212 255 58 / 0.12), transparent); z-index: -1; }
.alert { position: absolute; display: flex; gap: 12px; align-items: stretch; padding: 10px 14px 10px 10px; border-radius: 10px; background: rgb(20 22 27 / 0.92); border: 1px solid var(--line); backdrop-filter: blur(6px); box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.7); white-space: nowrap; }
.alert .bar { width: 3px; border-radius: 2px; background: var(--c, var(--lime)); }
.alert small { display: block; font: 600 11px/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.alert b { font: 800 18px/1.2 var(--display); }
.a1 { top: -3%; left: -30%; --c: var(--live); }
.a2 { top: 52%; right: -26%; --c: var(--lime); }
.a3 { bottom: 9%; left: -24%; --c: #8cebae; }

/* App screens */
.band { margin-top: clamp(64px, 9vw, 112px); padding: clamp(56px, 8vw, 96px) 0; border-block: 1px solid var(--line); background: rgb(20 22 27 / 0.55); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; }
.head h2 { font-size: clamp(32px, 4vw, 52px); max-width: 16ch; }
.head p { max-width: 38ch; color: var(--muted); }
.screens { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.screens .num { display: block; margin-top: 20px; font: 600 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--lime); }
.screens h3 { margin-top: 8px; }
.screens p { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* Why */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 8vw, 96px); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.why > div { padding: 28px; }
.why > div + div { border-left: 1px solid var(--line); }
.stat { display: block; font: 800 40px/1 var(--display); letter-spacing: -0.03em; color: var(--lime); }
.why h3 { margin-top: 14px; }
.why p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Beta */
.beta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(56px, 8vw, 96px); padding: clamp(28px, 4vw, 44px); border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(120deg, rgb(212 255 58 / 0.1), transparent 60%), var(--panel); }
.beta h2 { font-size: clamp(28px, 3.2vw, 40px); }
.beta p { margin-top: 8px; color: var(--soft); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stage { width: min(70%, 300px); margin-top: 8px; }
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .screens li { flex: 0 0 min(62vw, 250px); scroll-snap-align: center; }
  .why { grid-template-columns: 1fr; }
  .why > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .top__nav { display: none; }
  .stage { display: none; }
  .lead { font-size: 17px; }
  .actions .btn { flex: 1 1 auto; }
  .why > div { padding: 22px; }
  .beta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .rec { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Legal pages (privacy, terms, delete account, 404) ---------- */
.doc { max-width: 72ch; margin: 0 auto; padding: 56px var(--gutter) 0; }
.doc h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 24px; }
.doc h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 56px 0 14px; }
.doc h3 { font-size: 19px; margin: 28px 0 10px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; color: var(--soft); }
.doc strong { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--lime); text-underline-offset: 3px; }
.doc a.btn { color: #0b0c0f; text-decoration: none; }
.doc .table { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--soft); }
.doc tr:last-child th, .doc tr:last-child td { border-bottom: 0; }
.doc thead th { color: var(--muted); font-weight: 700; }
.doc tbody th { font-weight: 700; color: var(--ink); width: 34%; }
