:root {
  --bg: #0a0e14;
  --bg-alt: #0f1419;
  --card: #151d2b;
  --text: #e8eef5;
  --muted: #8b9cb3;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --border: #243044;
  --accent: #22c55e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header nav a:hover { color: var(--text); }

.nav-cta {
  color: var(--text) !important;
  background: var(--primary);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
}

.nav-cta:hover { background: var(--primary-hover); }

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59, 130, 246, 0.18), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-logo {
  display: block;
  height: 88px;
  width: auto;
  max-width: min(100%, 420px);
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  margin: 0 0 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.hero-tagline {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.primary:hover { background: var(--primary-hover); }

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn.secondary:hover { border-color: var(--muted); }

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.stat {
  text-align: center;
  padding: 0.75rem 0.25rem;
  background: var(--bg-alt);
  border-radius: 10px;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.hero-points {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.hero-points li { margin-bottom: 0.4rem; }

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* How it works */
.flow-block {
  margin-bottom: 2.5rem;
}

.flow-block:last-child { margin-bottom: 0; }

.flow-block h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--primary);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.25rem 2.75rem;
  border-left: 2px solid var(--border);
  margin-left: 0.85rem;
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: -0.85rem;
  top: 0;
  width: 1.7rem;
  height: 1.7rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li strong {
  display: block;
  margin-bottom: 0.15rem;
}

.steps li span {
  color: var(--muted);
  font-size: 0.95rem;
}

.flow-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--card);
  border-radius: 10px;
  border-left: 3px solid var(--warning, #f59e0b);
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA */
.cta-section { padding-bottom: 5rem; }

.cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(34, 197, 94, 0.08));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
}

.cta-box h2 { margin-top: 0; }

.cta-box p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Mobile nav */
@media (max-width: 600px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 2.5rem; }
  .hero-logo { height: 72px; }
  .stat-row { grid-template-columns: 1fr; }
}
