:root {
  color-scheme: dark;
  --bg: #0b0f19;
  --panel: #111827;
  --panel-soft: #1f2937;
  --line: rgba(148, 163, 184, 0.2);
  --muted: #94a3b8;
  --text: #f8fafc;
  --blue: #3b82f6;
  --emerald: #10b981;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Geist, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.15), transparent 34rem),
    radial-gradient(circle at 90% 15%, rgba(16, 185, 129, 0.08), transparent 28rem),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.scroll-smooth { scroll-behavior: smooth; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.min-h-screen { min-height: 100vh; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.mx-auto { margin-left: auto; margin-right: auto; }
.block { display: block; }
.hidden { display: none; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.place-items-center { place-items: center; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.w-5 { width: 1.25rem; }
.w-9 { width: 2.25rem; }
.w-11 { width: 2.75rem; }
.h-0\.5 { height: 0.125rem; }
.h-5 { height: 1.25rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[340px\] { max-width: 340px; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pt-6 { padding-top: 1.5rem; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.border { border: 1px solid var(--line); }
.border-b { border-bottom: 1px solid var(--line); }
.border-t { border-top: 1px solid var(--line); }
.border-y { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-emerald\/30 { border-color: rgba(16, 185, 129, 0.3); }
.divide-y > * + * { border-top: 1px solid var(--line); }
.divide-white\/10 > * + * { border-color: rgba(255, 255, 255, 0.1); }
.bg-ink { background-color: var(--bg); }
.bg-ink\/86 { background-color: rgba(11, 15, 25, 0.86); }
.bg-electric { background-color: var(--blue); }
.bg-white { background-color: #fff; }
.bg-slate-950\/40 { background-color: rgba(2, 6, 23, 0.4); }
.bg-slate-950\/80 { background-color: rgba(2, 6, 23, 0.8); }
.bg-emerald\/10 { background-color: rgba(16, 185, 129, 0.1); }
.hover\:bg-white\/5:hover { background-color: rgba(255, 255, 255, 0.05); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }
.font-mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-left { text-align: left; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 1.12; }
.leading-7 { line-height: 1.75rem; }
.leading-8 { line-height: 2rem; }
.leading-tight { line-height: 1.08; }
.tracking-normal { letter-spacing: 0; }
.tracking-tight { letter-spacing: 0; }
.text-white { color: #fff; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-electric { color: var(--blue); }
.text-emerald { color: var(--emerald); }
.shadow-\[0_6px_0_white\,0_-6px_0_white\] { box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff; }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:p-7 { padding: 1.75rem; }
  .sm\:w-auto { width: auto; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1.02; }
}

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-\[1fr_260px\] { grid-template-columns: 1fr 260px; }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-\[0\.85fr_1\.15fr\] { grid-template-columns: 0.85fr 1.15fr; }
  .lg\:grid-cols-\[0\.8fr_1\.2fr\] { grid-template-columns: 0.8fr 1.2fr; }
  .lg\:grid-cols-\[0\.9fr_1\.1fr\] { grid-template-columns: 0.9fr 1.1fr; }
  .lg\:grid-cols-\[1\.02fr_0\.98fr\] { grid-template-columns: 1.02fr 0.98fr; }
}

.shell-grid {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.nav-link {
  color: #cbd5e1;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #ffffff;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(59, 130, 246, 0.24);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.panel {
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.metric-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.field {
  display: grid;
  gap: 0.5rem;
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.84);
  color: #ffffff;
  padding: 0.9rem 1rem;
  font-weight: 500;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.form-status {
  min-height: 1.5rem;
  margin-top: 1rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: #34d399;
}

.form-status[data-state="error"] {
  color: #f87171;
}

.phone-frame {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 28px;
  background: linear-gradient(180deg, #111827, #020617);
  padding: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 24px 70px rgba(0,0,0,0.42);
}

.phone-screen {
  min-height: 420px;
  border-radius: 20px;
  background: #0b1220;
  overflow: hidden;
}

.bot-bubble {
  max-width: 88%;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(31, 41, 55, 0.86);
  padding: 0.8rem;
  color: #dbeafe;
  font-size: 0.84rem;
  line-height: 1.45;
}

.bot-button {
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.mobile-nav[data-open="false"] {
  display: none;
}

[data-faq-panel] {
  display: none;
}

[data-faq-item][data-open="true"] [data-faq-panel] {
  display: block;
}

@media (max-width: 767px) {
  .metric-row {
    grid-template-columns: 1fr;
  }
}
