/* ──────────────────────────────────────────────────────────
 * OmniChat — Landing page
 * "Broadcast Console" aesthetic — industrial / utilitarian
 * Typography: IBM Plex Mono (display + UI), Geist (body)
 * Accent: signal-amber #ffb800
 * ────────────────────────────────────────────────────────── */

.landing {
  --bg-base: #0a0a0b;
  --bg-elev-1: #121215;
  --bg-elev-2: #1a1a1f;
  --bg-elev-3: #232328;
  --border: #2a2a32;
  --border-strong: #3a3a44;
  --border-subtle: #1b1b20;
  --text-primary: #f5f5f7;
  --text-secondary: #a4a4af;
  --text-muted: #5c5c66;

  --accent: #9147ff;        /* Twitch / OmniChat brand purple */
  --accent-bright: #bf94ff; /* lighter — for italic + glints */
  --accent-dim: #6a2eba;
  --accent-soft: rgba(145, 71, 255, 0.10);
  --accent-glow: rgba(145, 71, 255, 0.45);

  --ok: #00d97e;
  --warn: #ff5757;

  --twitch: #9147ff;
  --youtube: #c4302b;
  --kick: #53fc18;
  --tiktok: #fe2c55;

  --mono: 'IBM Plex Mono', 'JetBrains Mono', 'Menlo', monospace;
  --sans: 'Geist', 'Helvetica Neue', system-ui, sans-serif;

  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--sans);
  letter-spacing: -0.01em;
  font-feature-settings: "ss01", "ss02";
}

/* Subtle ambient wash near the hero — softens the deep-black canvas */
.landing::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(145, 71, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(145, 71, 255, 0.04), transparent 70%);
}

/* ── STATUS STRIP ───────────────────────────────────────── */
.status-strip {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev-1);
  position: relative;
  z-index: 2;
}

.status-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--text-muted);
}

.ss-cell { white-space: nowrap; }
.ss-mid { text-align: center; }
.ss-clock { text-align: right; color: var(--text-secondary); }

.ss-live {
  color: var(--ok);
  font-weight: 500;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10.5px;
}

@keyframes blink-slow {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.35; }
}

.ss-live::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--ok);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  animation: blink-slow 1.8s infinite;
  box-shadow: 0 0 6px var(--ok);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 28px 96px;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-left > * {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.15s; }
.hero-left > *:nth-child(3) { animation-delay: 0.25s; }
.hero-left > *:nth-child(4) { animation-delay: 0.35s; }
.hero-left > *:nth-child(5) { animation-delay: 0.45s; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
  animation: blink-slow 1.4s infinite;
}

.hero-headline {
  font-family: var(--sans);
  font-size: clamp(42px, 5.6vw, 74px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  font-family: var(--mono);
  color: var(--accent-bright);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Buttons (overrides shared) */
.landing .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.1s;
  position: relative;
}

.landing .btn:hover { transform: none; text-decoration: none; }

.landing .btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(145,71,255,0.32);
}

.landing .btn-primary:hover {
  background: #a363ff;
  border-color: #a363ff;
  box-shadow: 0 6px 22px rgba(145,71,255,0.45);
  transform: translateY(-1px);
}

.landing .btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.landing .btn-ghost:hover {
  background: rgba(145,71,255,0.08);
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.18s;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-ghost:hover .btn-arrow {
  transform: translateY(3px);
}

.btn-large {
  padding: 18px 32px;
  font-size: 14px;
}

/* Hero stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border);
  padding: 0 16px;
}

.stat:last-child { border-right: none; }
.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 500;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.stat-num.inf {
  color: var(--accent);
  font-style: italic;
}

.stat-lbl {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stat-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 4px var(--ok);
  animation: blink-slow 1.4s infinite;
}

/* ── TICKER ─────────────────────────────────────────────── */
.ticker {
  position: relative;
  opacity: 0;
  animation: fade-up 0.9s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.ticker-corners { display: none; }

.ticker {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-elev-1);
  height: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(145,71,255,0.06);
}

.ticker::before {
  /* Very light scanlines — barely there, just to hint "live feed" */
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.008) 0px,
    rgba(255, 255, 255, 0.008) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  z-index: 3;
}

.ticker-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.ticker-led {
  width: 8px;
  height: 8px;
  background: var(--ok);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ok);
  animation: blink-slow 1.6s infinite;
}

.ticker-title {
  color: var(--text-secondary);
  font-weight: 500;
}

.ticker-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  animation: blink-slow 0.9s infinite;
}

.ticker-body {
  flex: 1;
  overflow: hidden;
  padding: 8px 8px;
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  position: relative;
  background: #18181b;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.ticker-body::before {
  /* Fade top — same color as the body so messages dissolve cleanly */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, #18181b 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ticker uses real .app-msg structure (see further down) with
   a subtle entrance animation. */
.ticker-body .app-msg {
  animation: msg-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ticker-foot {
  border-top: 1px solid var(--border);
  background: var(--bg-elev-2);
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}

.ticker-foot-r {
  color: var(--accent);
}

/* ── SECTIONS / HEADS ───────────────────────────────────── */
.landing section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 88px 28px;
  position: relative;
  z-index: 2;
}

.section-head {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: baseline;
  margin-bottom: 48px;
  padding-bottom: 24px;
  position: relative;
}

.section-head::after {
  /* Subtle gradient divider */
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%);
}

.section-num {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent-bright);
  letter-spacing: 0.15em;
  font-weight: 500;
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.section-lede {
  font-size: 17px;
  color: var(--text-secondary);
  font-family: var(--sans);
  line-height: 1.5;
}

/* ── AUDIENCE ───────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-card {
  padding: 32px 28px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.audience-card:hover {
  background: var(--bg-elev-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.audience-card-feature {
  background: linear-gradient(180deg, rgba(145,71,255,0.08), var(--bg-elev-1) 40%);
  border-color: rgba(145,71,255,0.30);
}

.audience-card-feature:hover {
  border-color: var(--accent);
}

.audience-card > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.audience-tag {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.audience-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.audience-code {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.audience-card h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.audience-card > p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 24px;
  flex: 1;
}

.audience-list {
  list-style: none;
  font-family: var(--sans);
  font-size: 14px;
  padding: 0;
  margin: 0;
}

.audience-list li {
  padding: 9px 0;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  padding-left: 20px;
}

.audience-list li:first-child { border-top: none; }

.audience-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
}

/* ── DEEP DIVE ──────────────────────────────────────────── */
.deep-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px dashed var(--border);
}

.deep-row:first-of-type { border-top: none; padding-top: 24px; }

.deep-row.reverse .deep-text { order: 2; }

.deep-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-bright);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  font-weight: 500;
}

.deep-text h3 {
  font-family: var(--sans);
  font-size: clamp(26px, 2.9vw, 36px);
  font-weight: 700;
  letter-spacing: -0.024em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.deep-text p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 16px;
  max-width: 500px;
  margin-bottom: 20px;
}

.deep-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 4px;
}

.deep-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 16px;
  text-decoration: none;
  transition: color 0.15s;
}

.deep-link span {
  transition: transform 0.18s;
}

.deep-link:hover span { transform: translateX(4px); }

/* Visual frames */
.dv-frame {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
  padding: 24px;
  min-height: 280px;
}

.dv-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.018) 0px,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────
 * Authentic app-panel previews
 * These mirror the real OmniChat chat panel + watch dropdown,
 * so the previews on the marketing page look like the app —
 * not a stylized mock.
 * ────────────────────────────────────────────────────────── */
.app-panel {
  background: #18181b;
  border: 1px solid #2f2f35;
  border-radius: 10px;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}

.app-panel-head {
  background: #0e0e10;
  border-bottom: 1px solid #2f2f35;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aph-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  font-weight: 600;
}

.aph-filters {
  display: flex;
  gap: 4px;
  margin-left: 4px;
}

.aph-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  background: #3a3a3d;
  color: #888;
  letter-spacing: 0.05em;
}

.aph-pill.connected.yt { background: var(--youtube); color: #fff; }
.aph-pill.connected.tw { background: var(--twitch); color: #fff; }
.aph-pill.connected.kk { background: var(--kick); color: #000; }
.aph-pill.connected.tt { background: var(--tiktok); color: #fff; }

.aph-stats {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.aph-stats.vod-tag {
  background: #b48bff;
  color: #18181b;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.app-panel-body {
  padding: 8px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #18181b;
}

.app-panel-body-tight { padding: 6px 6px; gap: 1px; }
.app-panel-body-vod { padding: 10px 8px; }

/* Authentic chat-msg replica — mirrors public/style.css .chat-msg */
.app-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  border-left: 3px solid transparent;
  font-size: 13px;
  line-height: 1.5;
}

.app-msg[data-platform="youtube"]  { border-left-color: var(--youtube); }
.app-msg[data-platform="twitch"]   { border-left-color: var(--twitch); }
.app-msg[data-platform="kick"]     { border-left-color: var(--kick); }
.app-msg[data-platform="tiktok"]   { border-left-color: var(--tiktok); }

.app-msg.highlighted { background: rgba(255,215,0,0.10); }
.app-msg.deleted { opacity: 0.45; }
.app-msg.deleted .app-msg-text { text-decoration: line-through; }

.app-msg-time {
  font-size: 11px;
  color: #666;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.app-msg.vod-replay .app-msg-time {
  color: #b48bff;
  font-weight: 600;
}

.app-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #3a3a3d;
}

.app-msg[data-platform="youtube"] .app-dot  { background: var(--youtube); }
.app-msg[data-platform="twitch"] .app-dot   { background: var(--twitch); }
.app-msg[data-platform="kick"] .app-dot     { background: var(--kick); }
.app-msg[data-platform="tiktok"] .app-dot   { background: var(--tiktok); }

.app-msg-body {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}

.app-msg-badges {
  display: inline-flex;
  gap: 2px;
  margin-right: 4px;
  vertical-align: middle;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 700;
  vertical-align: middle;
}

.app-badge-sub { background: var(--twitch); color: #fff; }
.app-badge-mod { background: var(--kick); color: #000; }
.app-badge-vip { background: #e005b9; color: #fff; }

.app-msg-author {
  font-weight: 700;
  font-size: 13px;
  margin-right: 4px;
}

.app-msg-author::after { content: ':'; color: var(--text-secondary); font-weight: 400; }

.app-msg-text {
  font-size: 13px;
  color: #efeff1;
}

.app-emote-pill {
  display: inline-block;
  background: rgba(145,71,255,0.18);
  color: #bf94ff;
  padding: 0 5px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  margin: 0 2px;
  vertical-align: baseline;
}

.app-mention {
  background: rgba(255,215,0,0.15);
  color: #ffd95e;
  padding: 0 3px;
  border-radius: 3px;
  font-weight: 600;
}

.app-mod-tag {
  color: #e07a3a;
  font-style: italic;
  font-size: 11px;
  margin-left: 6px;
}

.app-panel-foot {
  background: #0e0e10;
  border-top: 1px solid #2f2f35;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.app-panel-foot-input {
  flex: 1;
  background: #1f1f23;
  border: 1px solid #3a3a3d;
  border-radius: 4px;
  padding: 5px 10px;
  color: #666;
  font-style: italic;
}

.app-panel-foot-send {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
}

/* WATCH dropdown — mirrors public/style.css .watch-select-* */
.app-panel-watch { min-height: 360px; }

.app-watch-list {
  padding: 6px 0;
  background: #1f1f23;
  flex: 1;
}

.app-watch-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 14px;
}

.app-watch-item:hover { background: #2a2a30; }
.app-watch-item.active { background: rgba(145,71,255,0.08); }
.app-watch-item.dim { opacity: 0.55; }

.app-watch-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.app-watch-name {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-watch-name > span {
  color: #efeff1;
  font-weight: 600;
}

.app-watch-name small {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-watch-pills {
  display: flex;
  gap: 4px;
}

.app-watch-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  color: #fff;
}

.app-watch-pill.tw { background: var(--twitch); }
.app-watch-pill.yt { background: var(--youtube); }
.app-watch-pill.kk { background: var(--kick); color: #000; }
.app-watch-pill.tt { background: var(--tiktok); }
.app-watch-pill.offline { background: #3a3a3d; color: #666; }
.app-watch-pill.suggested { outline: 1px dashed rgba(255,255,255,0.35); }

.app-watch-sep {
  padding: 8px 14px 4px;
  font-family: var(--mono);
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-top: 1px solid #2a2a30;
  margin-top: 4px;
  background: #18181b;
}

/* BROWSER overlay frame */
.app-browser {
  background: #0a0a0b;
  border: 1px solid #2f2f35;
  border-radius: 10px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}

.app-browser-chrome {
  background: #1a1a1f;
  border-bottom: 1px solid #2f2f35;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-browser-controls {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.app-browser-controls span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3a3d;
}

.app-browser-controls span:nth-child(1) { background: #ff5f57; }
.app-browser-controls span:nth-child(2) { background: #febc2e; }
.app-browser-controls span:nth-child(3) { background: #28c840; }

.app-browser-tabs {
  display: flex;
  gap: 4px;
}

.app-tab {
  font-size: 11px;
  background: #0a0a0b;
  color: #888;
  padding: 4px 10px;
  border-radius: 4px 4px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
}

.app-tab.active {
  background: #18181b;
  color: #efeff1;
  border-color: #2f2f35;
}

.app-browser-url {
  margin-left: auto;
  background: #0a0a0b;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  color: #888;
  border: 1px solid #2f2f35;
  font-family: var(--mono);
  letter-spacing: 0;
}

.app-browser-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 200px;
  min-height: 240px;
}

.app-browser-stream {
  background:
    linear-gradient(135deg, rgba(145,71,255,0.18), rgba(0,0,0,0.5)),
    repeating-linear-gradient(45deg, #1a1a1f 0px, #1a1a1f 12px, #18181b 12px, #18181b 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  gap: 6px;
  position: relative;
}

.app-browser-stream::before {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,0.4);
}

.app-stream-live {
  background: #ff0033;
  color: #fff;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-family: var(--mono);
  position: relative;
}

.app-stream-host {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  position: relative;
}

.app-stream-meta {
  font-size: 11px;
  color: #c4c4cc;
  position: relative;
}

.app-browser-side {
  background: #18181b;
  border-left: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
}

.app-overlay-tag {
  background: rgba(145,71,255,0.15);
  border-top: 1px solid var(--accent);
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  text-transform: uppercase;
}

/* VOD player + chat replay */
.app-panel-vod { min-height: 400px; }

.app-vod-player {
  background: #000;
  border-bottom: 1px solid #2f2f35;
}

.app-vod-thumb {
  position: relative;
  height: 120px;
  background:
    linear-gradient(135deg, rgba(145,71,255,0.22), rgba(0,0,0,0.6)),
    repeating-linear-gradient(45deg, #1a1a1f 0px, #1a1a1f 12px, #18181b 12px, #18181b 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-vod-play {
  font-size: 38px;
  color: rgba(255,255,255,0.7);
}

.app-vod-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: var(--mono);
  text-transform: uppercase;
}

.app-vod-scrubber {
  height: 4px;
  background: #2a2a30;
  position: relative;
}

.app-vod-progress {
  width: 38%;
  height: 100%;
  background: #b48bff;
}

.app-vod-playhead {
  position: absolute;
  left: 38%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #b48bff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(180,139,255,0.6);
}

.app-vod-controls {
  background: #18181b;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: #c4c4cc;
}

.app-vod-control-l { font-variant-numeric: tabular-nums; }
.app-vod-time-text { color: #b48bff; font-weight: 600; }
.app-vod-control-r { color: #888; }

/* ── EMOTE picker preview ─────────────────────────────── */
.app-panel-emotes { min-height: 320px; }

.emote-tabs {
  display: flex;
  gap: 0;
  background: #0e0e10;
  border-bottom: 1px solid #2f2f35;
}

.emote-tab {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  color: #888;
  border-bottom: 2px solid transparent;
}

.emote-tab.active {
  color: var(--accent-bright);
  border-bottom-color: var(--accent);
  background: #18181b;
}

.emote-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 12px;
  flex: 1;
  background: #18181b;
}

.emote-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border-radius: 6px;
  font-size: 10px;
  color: #888;
  background: #1f1f23;
  transition: background 0.15s;
}

.emote-cell:hover { background: #2a2a30; color: #efeff1; }

.emote-glyph {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: block;
}

.emote-glyph-real {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: pixelated;
  background: transparent;
  display: block;
}

/* Procedural emote "thumbnails" — colored gradient circles
   to evoke real emotes without using real (copyrighted) assets */
.emote-glyph.e1  { background: radial-gradient(circle at 30% 30%, #fff19a, #ff9500); }
.emote-glyph.e2  { background: radial-gradient(circle at 35% 35%, #ffcc7a, #c46e2a); }
.emote-glyph.e3  { background: radial-gradient(circle at 40% 40%, #a4c8ff, #4a7fb8); }
.emote-glyph.e4  { background: radial-gradient(circle at 30% 30%, #c8e8a4, #639d3d); }
.emote-glyph.e5  { background: radial-gradient(circle at 35% 30%, #ffd5d5, #c33e3e); }
.emote-glyph.e6  { background: radial-gradient(circle at 30% 35%, #d5b4ff, #7a3eb8); }
.emote-glyph.e7  { background: radial-gradient(circle at 30% 30%, #ffd09a, #d65e1a); }
.emote-glyph.e8  { background: radial-gradient(circle at 40% 30%, #1f1f23, #000); border: 1px solid #3a3a3d; }
.emote-glyph.e9  { background: radial-gradient(circle at 30% 40%, #ffe8a4, #c4a04a); }
.emote-glyph.e10 { background: radial-gradient(circle at 35% 35%, #c4b4ff, #5e4ab8); }

/* ── ACTIVITY panel ───────────────────────────────────── */
.app-panel-activity { min-height: 320px; }

.aph-filter {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 11px;
  color: #888;
  background: #1f1f23;
  border: 1px solid #3a3a3d;
  border-radius: 3px;
  padding: 3px 8px;
  letter-spacing: 0.05em;
}

.activity-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 4px;
  background: #18181b;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.act-row {
  display: grid;
  grid-template-columns: 56px 58px 1fr;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 4px;
  border-left: 3px solid #3a3a3d;
  font-size: 13px;
  background: rgba(255,255,255,0.015);
}

.act-row[data-platform="youtube"] { border-left-color: var(--youtube); }
.act-row[data-platform="twitch"]  { border-left-color: var(--twitch); }
.act-row[data-platform="kick"]    { border-left-color: var(--kick); }
.act-row[data-platform="tiktok"]  { border-left-color: var(--tiktok); }

.act-time {
  font-size: 11px;
  color: #666;
  font-variant-numeric: tabular-nums;
}

.act-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 3px;
  text-align: center;
  color: #fff;
  display: inline-block;
}

.act-tag-sub    { background: var(--twitch); }
.act-tag-raid   { background: #ff7e1f; }
.act-tag-mod    { background: #e07a3a; }
.act-tag-cheer  { background: #f59e0b; }
.act-tag-follow { background: var(--kick); color: #000; }
.act-tag-gift   { background: #e005b9; }

.act-body {
  color: #efeff1;
  line-height: 1.4;
}

.act-body b { font-weight: 700; }

/* ── EVERYWHERE grid ──────────────────────────────────── */
.everywhere-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ew-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.ew-card:hover {
  background: var(--bg-elev-2);
  border-color: rgba(145,71,255,0.30);
  transform: translateY(-2px);
}

.ew-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(145,71,255,0.10);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.ew-name {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.ew-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ew-link {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-bright);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.ew-link span { transition: transform 0.18s; display: inline-block; }
.ew-link:hover { color: #d5b4ff; text-decoration: none; }
.ew-link:hover span { transform: translateX(3px); }

@media (max-width: 980px) {
  .everywhere-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .everywhere-grid { grid-template-columns: 1fr; }
}

/* ── PLATFORMS ──────────────────────────────────────────── */
.platforms-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.plat {
  padding: 28px 24px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.plat:hover {
  background: var(--bg-elev-2);
  transform: translateY(-2px);
}

.plat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.plat-led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.plat-id {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
}

.plat-tw .plat-led { background: var(--twitch); box-shadow: 0 0 10px var(--twitch); }
.plat-yt .plat-led { background: var(--youtube); box-shadow: 0 0 10px var(--youtube); }
.plat-kk .plat-led { background: var(--kick); box-shadow: 0 0 10px var(--kick); }
.plat-tt .plat-led { background: var(--tiktok); box-shadow: 0 0 10px var(--tiktok); }

.plat-tw:hover { border-color: var(--twitch); }
.plat-yt:hover { border-color: var(--youtube); }
.plat-kk:hover { border-color: var(--kick); }
.plat-tt:hover { border-color: var(--tiktok); }

.plat-name {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.plat-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── CTA ────────────────────────────────────────────────── */
.cta {
  padding: 96px 28px 144px !important;
  text-align: center;
  border-bottom: none !important;
}

.cta-frame {
  position: relative;
  border: 1px solid rgba(145,71,255,0.18);
  border-radius: 16px;
  background: var(--bg-elev-1);
  padding: 64px 40px 56px;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.cta-frame::before {
  /* Subtle gradient backdrop */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(145,71,255,0.16), transparent 70%),
    radial-gradient(ellipse at 50% 100%, rgba(145,71,255,0.05), transparent 60%);
  pointer-events: none;
}

.cta-corners { display: none; }

.cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-bright);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  position: relative;
}

.cta h2 {
  font-family: var(--sans);
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
  position: relative;
}

.cta h2 em {
  font-style: italic;
  color: var(--accent-bright);
  font-weight: 400;
}

.cta p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  position: relative;
}

.cta-foot {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  position: relative;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 44px; }
  .audience-grid { grid-template-columns: 1fr; border: 1px solid var(--border); }
  .audience-card { border-right: none; border-bottom: 1px solid var(--border); }
  .audience-card:last-child { border-bottom: none; }
  .deep-row, .deep-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .deep-row.reverse .deep-text { order: 1; }
  .platforms-row { grid-template-columns: repeat(2, 1fr); }
  .plat:nth-child(odd) { border-right: 1px solid var(--border); }
  .plat:nth-child(even) { border-right: none; }
  .plat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .section-num { margin-bottom: 8px; }
  .status-strip-inner { grid-template-columns: 1fr; text-align: center; gap: 4px; padding: 8px; }
  .ss-mid, .ss-clock { text-align: center; }
}

@media (max-width: 560px) {
  .hero { padding: 48px 20px 64px; }
  .hero-headline { font-size: 36px; }
  .landing section { padding: 64px 20px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat:nth-child(2) { border-right: none; }
}

/* ──────────────────────────────────────────────────────────
 * Shared nav + footer overrides — scoped to .landing only.
 * site.css still styles every other page normally.
 * ────────────────────────────────────────────────────────── */
body.landing { background: var(--bg-base); }

.landing .site-nav {
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 5;
}

.landing .site-nav .nav-inner {
  max-width: 1400px;
  padding: 0 28px;
  height: 64px;
}

.landing .site-nav .nav-logo {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.landing .site-nav .nav-logo span { color: var(--accent); }

.landing .site-nav .nav-links { gap: 32px; }

.landing .site-nav .nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 4px 0;
}

.landing .site-nav .nav-links a:hover,
.landing .site-nav .nav-links a.active {
  color: var(--accent);
  text-decoration: none;
}

.landing .site-nav .nav-links .nav-cta {
  background: var(--accent);
  color: var(--bg-base);
  border-radius: 0;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  transition: background 0.15s, color 0.15s;
}

.landing .site-nav .nav-links .nav-cta:hover {
  background: transparent;
  color: var(--accent);
}

.landing .site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 28px;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.landing .site-footer .footer-inner {
  max-width: 1400px;
}

.landing .site-footer .footer-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s;
}

.landing .site-footer .footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.landing .site-footer .footer-copy {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ──────────────────────────────────────────────────────────
 * Documentation pages (about, extension) — share the landing
 * design system but with reading-oriented typography
 * ────────────────────────────────────────────────────────── */
.landing .doc {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 28px 96px;
  position: relative;
  z-index: 2;
}

.landing .doc-head {
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.landing .doc-title {
  font-family: var(--sans);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 20px 0 28px;
  color: var(--text-primary);
}

.landing .doc-title em {
  font-family: var(--mono);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-bright);
  letter-spacing: -0.025em;
}

.landing .doc-lede {
  font-family: var(--sans);
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 680px;
}

.landing .doc-section {
  margin-bottom: 56px;
}

.landing .doc-section:last-of-type { margin-bottom: 32px; }

.landing .doc-section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.landing .doc-section-head .section-num {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent-bright);
  letter-spacing: 0.15em;
}

.landing .doc-section-head h2 {
  font-family: var(--sans);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
}

.landing .doc-h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 22px 0 6px;
}

.landing .doc p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 18px;
  max-width: 700px;
}

.landing .doc p strong { color: var(--text-primary); font-weight: 600; }
.landing .doc p em { font-style: italic; color: var(--accent-bright); }
.landing .doc code {
  font-family: var(--mono);
  background: var(--bg-elev-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--accent-bright);
}

/* Feature grid */
.landing .doc-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.landing .doc-feature {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  transition: border-color 0.2s, background 0.2s;
}

.landing .doc-feature:hover {
  background: var(--bg-elev-2);
  border-color: var(--border-strong);
}

.landing .doc-feature-eyebrow {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing .doc-feature p {
  margin-bottom: 0;
  font-size: 14.5px;
  line-height: 1.55;
}

/* Numbered steps */
.landing .doc-steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}

.landing .doc-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.landing .doc-step-num {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-bright);
  background: var(--bg-elev-1);
  border: 1px solid rgba(145,71,255,0.30);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing .doc-steps h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.landing .doc-steps p {
  margin-bottom: 0;
  font-size: 14.5px;
}

/* Mobile install grid */
.landing .doc-install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.landing .doc-install {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
}

.landing .doc-install-head {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.landing .doc-install-steps {
  margin: 0;
  padding-left: 20px;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.landing .doc-install-steps li {
  margin-bottom: 6px;
}

.landing .doc-install-steps strong { color: var(--text-primary); font-weight: 600; }
.landing .doc-install-steps em { font-style: italic; color: var(--text-muted); }

/* Platform list */
.landing .doc-platforms {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.landing .doc-platforms li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 16px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.dp-tag {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  letter-spacing: -0.005em;
}

.dp-tag.tw { background: var(--twitch); }
.dp-tag.yt { background: var(--youtube); }
.dp-tag.kk { background: var(--kick); color: #000; }
.dp-tag.tt { background: var(--tiktok); }

/* Bullet list (extension features) */
.landing .doc-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.landing .doc-bullets li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.landing .doc-bullets li:last-child { border-bottom: none; }

.landing .doc-bullets li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.landing .doc-bullets li strong { color: var(--text-primary); font-weight: 600; }

/* Inline CTA */
.landing .doc-cta {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.landing .doc-cta-top {
  margin-top: 32px;
  margin-bottom: 0;
}

.landing .btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-soon {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-elev-2);
  padding: 2px 8px;
  border-radius: 3px;
}

@media (max-width: 760px) {
  .landing .doc-features,
  .landing .doc-install-grid { grid-template-columns: 1fr; }
  .landing .doc-section-head { grid-template-columns: 1fr; gap: 6px; }
  .landing .doc-platforms li { grid-template-columns: 1fr; gap: 8px; }
}

/* ──────────────────────────────────────────────────────────
 * Marketing rollout — streaming/pricing/chat components (v6)
 * ────────────────────────────────────────────────────────── */

/* Pill + beta tag */
.landing .pill-beta {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 999px;
  vertical-align: 2px;
  white-space: nowrap;
}

/* Hero variants for sub-pages */
.landing .hero-narrow { max-width: 920px; }
.landing .hero-left-center { text-align: center; align-items: center; display: flex; flex-direction: column; }
.landing .hero-left-center .hero-sub { max-width: 640px; }
.landing .hero-left-center .hero-cta { justify-content: center; }
.landing .hero-left-center .eyebrow { justify-content: center; }

/* Proof bar */
.landing .proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}
.landing .proof-bar-center { justify-content: center; margin-top: 30px; }
.landing .proof-bar-lead {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.landing .proof-bar-sep { color: var(--border-strong); }
.landing .proof-chip {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 5px;
}
.landing .proof-chip.tw { color: #c9a6ff; }
.landing .proof-chip.kk { color: #7ef05a; }
.landing .proof-chip.yt { color: #ff8a85; }
.landing .proof-chip.tt { color: #ff6f9a; }

/* Fan-out diagram */
.landing .fanout {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.landing .fanout-src {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--bg-elev-2);
}
.landing .fanout-src-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 8px var(--ok);
  animation: blink-slow 1.8s infinite;
}
.landing .fanout-src-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-primary); }
.landing .fanout-src-sub { font-size: 11px; color: var(--text-muted); }
.landing .fanout-rail {
  height: 2px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  position: relative;
  border-radius: 2px;
}
.landing .fanout-rail::after {
  content: '→'; position: absolute; right: -4px; top: -11px;
  color: var(--accent-bright); font-weight: 700;
}
.landing .fanout-outs { display: flex; flex-direction: column; gap: 7px; }
.landing .fanout-out {
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 6px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 14px;
  color: var(--text-secondary);
}
.landing .fanout-out b { color: var(--ok); font-weight: 500; font-size: 10.5px; }
.landing .fanout-out.tw { border-left: 2px solid var(--twitch); }
.landing .fanout-out.kk { border-left: 2px solid var(--kick); }
.landing .fanout-out.yt { border-left: 2px solid var(--youtube); }
.landing .fanout-out.tt { border-left: 2px solid var(--tiktok); }

/* Relay stat panel */
.landing .relaystat { padding: 18px 18px 20px; }
.landing .relaystat-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--border-subtle);
  font-size: 13px; color: var(--text-secondary);
}
.landing .relaystat-row b { color: var(--text-primary); font-family: var(--mono); }
.landing .relaystat-row b.ok { color: var(--ok); }
.landing .relaystat-bar { height: 7px; background: var(--bg-elev-3); border-radius: 4px; margin: 14px 0 8px; overflow: hidden; }
.landing .relaystat-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); }
.landing .relaystat-note { font-size: 11.5px; color: var(--text-muted); font-family: var(--mono); }

/* Source list (switcher / studio / activity) */
.landing .srclist { padding: 14px 18px 18px; }
.landing .srcrow {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--border-subtle);
  font-size: 13px; color: var(--text-secondary);
}
.landing .srcrow b { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase; }
.landing .srcrow.live b { color: var(--ok); }
.landing .srcdot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.landing .srcrow.live .srcdot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.landing .srcnote { font-size: 11.5px; color: var(--text-muted); font-family: var(--mono); margin-top: 12px; }

/* Phone mock */
.landing .phone-mock { display: flex; justify-content: center; }
.landing .phone-mock-screen {
  width: 200px; aspect-ratio: 9 / 16;
  border: 2px solid var(--border-strong); border-radius: 22px;
  background: radial-gradient(ellipse at 50% 25%, rgba(145,71,255,0.18), var(--bg-elev-1) 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px; text-align: center;
}
.landing .phone-live { font-family: var(--mono); font-size: 11px; color: var(--ok); letter-spacing: 0.08em; }
.landing .phone-golive {
  font-family: var(--mono); font-weight: 700; letter-spacing: 0.05em;
  background: var(--warn); color: #fff; padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 0 24px rgba(255,87,87,0.5);
}
.landing .phone-sub { font-size: 11px; color: var(--text-muted); }
.landing .phone-fail { font-size: 10.5px; color: var(--text-secondary); font-family: var(--mono); margin-top: 8px; }

/* Switch / compare callout band */
.landing .switch { max-width: 1100px; margin: 0 auto; padding: 40px 28px; position: relative; z-index: 2; }
.landing .switch-frame {
  border: 1px solid var(--border); border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-elev-1), var(--bg-base));
  padding: 44px 40px; text-align: center;
}
.landing .switch-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: 14px;
}
.landing .switch-frame h2 { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.08; margin: 0 0 14px; }
.landing .switch-frame p { color: var(--text-secondary); max-width: 660px; margin: 0 auto; line-height: 1.6; }
.landing .switch-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }

/* Pricing teaser / plan cards */
.landing .priceteaser { max-width: 1100px; margin: 0 auto; padding: 40px 28px 60px; position: relative; z-index: 2; }
.landing .priceteaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.landing .pt-card {
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--bg-elev-1); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.landing .pt-card-cloud { border-color: var(--accent-dim); box-shadow: 0 0 40px rgba(145,71,255,0.10); }
.landing .pt-card-name { font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--text-primary); }
.landing .pt-card-tag { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.landing .pt-price { font-family: var(--mono); margin: 6px 0 2px; }
.landing .pt-price b { font-size: 34px; color: var(--text-primary); }
.landing .pt-price span { color: var(--text-secondary); font-size: 14px; margin-left: 4px; }
.landing .pt-price-note { font-size: 12.5px; color: var(--text-secondary); margin-bottom: 8px; }
.landing .pt-price-note b { color: var(--accent-bright); }
.landing .pt-list { list-style: none; padding: 0; margin: 12px 0 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.landing .pt-list li { font-size: 13.5px; color: var(--text-secondary); padding-left: 22px; position: relative; line-height: 1.45; }
.landing .pt-list li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.landing .pt-list li b { color: var(--text-primary); }
.landing .pt-card .btn { align-self: flex-start; }

/* Beta banner */
.landing .beta-banner {
  margin-top: 22px; display: inline-block;
  font-size: 13.5px; color: var(--text-primary);
  background: var(--accent-soft); border: 1px solid var(--border);
  padding: 10px 16px; border-radius: 8px;
}
.landing .beta-banner b { color: var(--accent-bright); }

/* Cost examples */
.landing .cost-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.landing .cost-ex { border: 1px solid var(--border); border-radius: 11px; background: var(--bg-elev-1); padding: 20px; }
.landing .cost-ex-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.landing .cost-ex-v { font-size: 20px; font-weight: 700; color: var(--accent-bright); margin: 8px 0 4px; }
.landing .cost-ex-s { font-size: 12.5px; color: var(--text-secondary); }
.landing .cost-foot { color: var(--text-secondary); }
.landing .cost-foot b { color: var(--ok); }

/* Comparison table */
.landing .compare-wrap { overflow-x: auto; }
.landing .compare { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.landing .compare th, .landing .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.landing .compare thead th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--text-secondary); text-transform: uppercase; }
.landing .compare thead th.us, .landing .compare td.us { background: var(--accent-soft); }
.landing .compare thead th.us { color: var(--accent-bright); }
.landing .compare td:first-child { color: var(--text-muted); }
.landing .compare td.us { color: var(--text-primary); }
.landing .compare-note { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; line-height: 1.55; }

@media (max-width: 760px) {
  .landing .priceteaser-grid { grid-template-columns: 1fr; }
  .landing .cost-examples { grid-template-columns: 1fr; }
  .landing .fanout { grid-template-columns: 1fr; }
  .landing .fanout-rail { display: none; }
}
