:root {
  --bg: #020617;
  --bg-alt: #0b1120;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --accent-strong: rgba(56, 189, 248, 0.35);
  --card: rgba(15, 23, 42, 0.9);
  --border-subtle: rgba(148, 163, 184, 0.35);
}

body.theme-dark {
  background: radial-gradient(circle at top, var(--bg-alt), var(--bg));
  color: var(--text);
}

body.theme-light {
  background: #f9fafb;
  color: #0f172a;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

body.theme-light .site-header {
  background: rgba(249, 250, 251, 0.9);
  border-bottom-color: rgba(209, 213, 219, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
  transition: color 150ms ease-out, background 150ms ease-out;
}

.nav a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.8);
}

body.theme-light .nav a {
  color: #6b7280;
}

body.theme-light .nav a:hover {
  color: #111827;
  background: rgba(243, 244, 246, 0.9);
}

.theme-toggle {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  color: var(--muted);
  padding: 4px 10px;
  cursor: pointer;
}

/* Layout */

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: 40px 0 20px;
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-eyebrow {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}

.hero h1 span {
  background: linear-gradient(120deg, #38bdf8, #a855f7, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-footnote {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Buttons */

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.btn-primary {
  border: 1px solid rgba(56, 189, 248, 0.8);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), rgba(15, 23, 42, 0.98));
  color: #e0f2fe;
}

.btn-secondary {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.96);
  color: var(--muted);
}

body.theme-light .btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #f9fafb;
}

body.theme-light .btn-secondary {
  background: #f3f4f6;
  color: #4b5563;
}

/* Hero panel */

.hero-panel {
  position: relative;
  min-height: 260px;
}

.hero-panel-inner {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.98));
  padding: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

body.theme-light .hero-panel-inner {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.12), #ffffff);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.panel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  background: rgba(15, 23, 42, 0.9);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.metric {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.96);
  padding: 8px 9px;
  font-size: 0.78rem;
  color: var(--muted);
}

body.theme-light .metric {
  background: #f9fafb;
  border-color: rgba(209, 213, 219, 0.9);
}

.metric-label {
  margin-bottom: 2px;
}

.metric-value {
  font-size: 0.96rem;
  color: #e5e7eb;
  font-weight: 500;
}

body.theme-light .metric-value {
  color: #111827;
}

.metric-note {
  font-size: 0.74rem;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--muted);
}

/* Sections */

.section {
  margin-top: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-kicker {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 28rem;
}

/* Grid */

.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* Cards */

.card {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--card);
  padding: 14px 14px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

body.theme-light .card {
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.card-title {
  font-size: 1rem;
  margin: 0 0 6px;
}

.card-body {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.card-list {
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--muted);
}

.card-price {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Clients */

.client-card {
  text-align: center;
  font-size: 0.9rem;
}

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.96);
  padding: 10px 12px;
}

body.theme-light .faq-item {
  background: #ffffff;
}

.faq-q {
  font-size: 0.9rem;
  font-weight: 500;
}

.faq-a {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.contact-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-meta li::before {
  content: "• ";
}

.contact-form label {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  padding: 7px 9px;
  font-family: inherit;
  font-size: 0.86rem;
  margin-top: 2px;
  margin-bottom: 10px;
}

body.theme-light .contact-form input,
body.theme-light .contact-form textarea {
  background: #f9fafb;
  color: #111827;
  border-color: rgba(209, 213, 219, 0.9);
}

.contact-form textarea {
  resize: vertical;
  min-height: 80px;
}

.form-footnote {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 30px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

body.theme-light .site-footer {
  border-top-color: rgba(209, 213, 219, 0.9);
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--accent);
}
