:root {
  --bg: #05060a;
  --bg-2: #0b0d14;
  --fg: #f4f4f6;
  --muted: #9aa0b0;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #8b5cf6;
  --accent-2: #6366f1;
  --cyan: #22d3ee;
  --rose: #fb7185;
  --red: #ef4444;
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 1.5rem;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button, .btn {
  font-family: inherit;
}

.mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(at 0% 0%, hsla(253, 40%, 18%, 0.9) 0, transparent 46%),
    radial-gradient(at 88% 8%, hsla(225, 55%, 22%, 0.7) 0, transparent 42%),
    radial-gradient(at 70% 90%, hsla(339, 45%, 16%, 0.55) 0, transparent 48%);
  pointer-events: none;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(5, 6, 10, 0.55) 70%, #05060a);
  pointer-events: none;
}

.spot {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(5, 6, 10, 0.72);
  border-bottom: 1px solid var(--line);
}

.studio-bar {
  display: block;
  background: rgba(99, 102, 241, 0.18);
  border-bottom: 1px solid rgba(196, 181, 253, 0.18);
  color: #e8e4ff;
}

.studio-bar:hover {
  background: rgba(99, 102, 241, 0.28);
  color: #fff;
}

.studio-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  padding: 0.55rem 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.studio-bar-go {
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.studio-bar-go::after {
  content: " →";
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  font-size: 1.15rem;
}

.brand span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

.nav-link.is-active {
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 0.7rem;
  padding: 0.45rem 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-solid {
  background: #fff;
  color: #0b0d14;
}

.btn-ghost {
  border-color: var(--line-strong);
  background: var(--glass);
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
}

.hero {
  padding: 5.5rem 0 4rem;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #d6d8e2;
  margin-bottom: 1.4rem;
}

.dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

h1, h2, h3 { margin: 0; letter-spacing: -0.05em; }

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 0.98;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.grad {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 55%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.platforms {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.6rem;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dock {
  padding: 1rem;
}

.dock-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.4rem 0.9rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  gap: 0.7rem;
}

.stat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}

.stat-card strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.chat {
  display: grid;
  gap: 0.55rem;
}

.msg {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--line);
}

.badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem;
  align-self: start;
}

.b-twitch { background: rgba(145, 70, 255, 0.2); color: #c4b5fd; }
.b-kick { background: rgba(83, 252, 24, 0.12); color: #86efac; }
.b-yt { background: rgba(239, 68, 68, 0.18); color: #fda4af; }

.msg p { margin: 0.15rem 0 0; color: #d7d9e2; font-size: 0.9rem; }
.msg b { font-size: 0.82rem; }

.section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.card {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  min-height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.card h3 {
  font-size: 1.35rem;
  margin: 0.35rem 0 0.55rem;
}

.card p { color: var(--muted); margin: 0; line-height: 1.5; }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}

.bento .panel { padding: 1.6rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.step {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
}

.step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.step p { color: var(--muted); margin: 0.4rem 0 0; font-size: 0.92rem; }

.cta-band {
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 2.5rem;
  background:
    radial-gradient(600px 180px at 20% 0%, rgba(139, 92, 246, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 3rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid h4 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a { display: block; padding: 0.2rem 0; }
.footer-grid a:hover { color: #fff; }

.tool-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: #d4d7e1;
}

.prose {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.7;
}

.prose h2 { margin: 2rem 0 0.7rem; }
.prose p { margin: 0 0 1rem; }
.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.prose li { margin: 0 0 0.45rem; }
.prose a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.prose a:hover { color: #fff; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: rgba(255,255,255,0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
  color: #ede9fe;
}

.legal-updated {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: 42rem;
}

.legal-inline {
  margin: 0.85rem 0 1rem;
  color: #c4b5fd;
  font-weight: 700;
}

.legal-inline a { color: #c4b5fd; }
.legal-inline a:hover { color: #fff; }

.form {
  display: grid;
  gap: 0.8rem;
  max-width: 32rem;
}

.form input, .form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
  font: inherit;
}

.form textarea { min-height: 8rem; resize: vertical; }

.notice {
  border: 1px solid var(--line);
  background: rgba(34, 197, 94, 0.08);
  color: #bbf7d0;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
}

code.block {
  display: block;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  overflow-x: auto;
}

.overlay-mock {
  min-height: 220px;
  display: grid;
  place-items: end start;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.55)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px);
}

.sub-count {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.9rem;
  padding: 0.7rem 0.9rem;
}

.sub-count small { display: block; color: var(--muted); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.68rem; }
.sub-count b { font-size: 1.8rem; letter-spacing: -0.05em; }

@media (max-width: 900px) {
  .hero-grid,
  .bento,
  .tool-hero,
  .footer-grid,
  .cta-band,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav-links, .nav-cta { display: none; }

  .nav-links.is-open,
  .nav-cta.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #07080e;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.25rem 1.1rem;
  }

  .nav { position: relative; }
  .menu-btn { display: inline-flex; }

  .studio-bar-inner {
    flex-wrap: wrap;
    gap: 0.2rem;
  }

  .hero { padding-top: 3rem; }
}
