:root {
  color-scheme: dark;
  --bg: #0b1020;
  --bg-2: #10182d;
  --panel: rgba(17, 24, 39, 0.92);
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eff4ff;
  --muted: rgba(239, 244, 255, 0.68);
  --accent: #7c9cff;
  --accent-2: #67e8f9;
  --good: #48d597;
  --warn: #f8c66c;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --radius-sm: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(124, 156, 255, 0.18), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(103, 232, 249, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg), #060912 90%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 24px 32px; position: sticky; top: 0;
  backdrop-filter: blur(16px); background: rgba(6, 9, 18, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06); z-index: 10;
}
.brand { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.02em; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: var(--accent-2); margin: 0 0 10px; }
.nav { display: flex; gap: 18px; color: var(--muted); flex-wrap: wrap; }
.nav a:hover { color: var(--text); }
.shell { max-width: 1280px; margin: 0 auto; padding: 28px 24px 56px; }
.hero {
  display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 24px; align-items: stretch;
  margin-bottom: 24px;
}
.hero.compact { grid-template-columns: 1fr auto; }
.panel, .card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel { padding: 26px; }
.card { padding: 18px 20px; }
.lead { font-size: 1.07rem; line-height: 1.7; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.stats-grid { display: grid; gap: 14px; align-content: start; }
.stat {
  padding: 22px; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.stat span { display: block; font-size: 2rem; font-weight: 700; }
.stat label { color: var(--muted); }
.grid { display: grid; gap: 24px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack { display: grid; gap: 12px; }
.business-card, .call-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: transform .16s ease, border-color .16s ease;
}
.business-card:hover, .call-card:hover { transform: translateY(-2px); border-color: rgba(124, 156, 255, 0.36); }
.section-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 18px; }
.form { display: grid; gap: 14px; }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
input, textarea {
  width: 100%; border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  color: var(--text); border-radius: 14px; padding: 12px 14px; font: inherit;
}
textarea { resize: vertical; }
.wide { grid-column: 1 / -1; }
.checkbox { display: flex; align-items: center; gap: 10px; }
.checkbox input { width: auto; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px;
  background: rgba(255,255,255,0.04); color: var(--text);
}
.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #08111d; border-color: transparent;
  font-weight: 700;
}
.pill {
  display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px;
  border-radius: 999px; background: rgba(124, 156, 255, 0.12); border: 1px solid rgba(124, 156, 255, 0.25);
  color: var(--text); font-size: 0.92rem;
}
.auth-panel { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; align-items: start; }
.transcript { white-space: pre-wrap; font: inherit; margin: 0; line-height: 1.7; color: var(--muted); }
.error { color: #ffb4b4; }
code { display: inline-block; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,0.05); }
@media (max-width: 960px) {
  .hero, .hero.compact, .two-col, .auth-panel, .two-up { grid-template-columns: 1fr; }
  .topbar { position: static; flex-direction: column; align-items: start; }
}
