:root {
  --bg: #0b1020;
  --bg-alt: #111833;
  --surface: #171f3d;
  --text: #e8ecf8;
  --muted: #a3acc8;
  --accent: #4f8cff;
  --accent-strong: #2f6fe8;
  --accent-soft: rgba(79, 140, 255, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

.container { width: min(var(--max), 100% - 2rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 42px; height: 36px; border-radius: 9px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em;
}
.brand-name { font-weight: 600; }
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 0.8rem 1.4rem; border-radius: 10px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-small { padding: 0.5rem 1rem; background: var(--accent); color: #fff !important; }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }

/* Hero */
.hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(79, 140, 255, 0.25), transparent 60%),
    radial-gradient(700px 400px at 90% 10%, rgba(130, 90, 255, 0.18), transparent 60%);
}
.hero-inner { max-width: 820px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem;
  color: var(--accent); font-weight: 700; margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; color: var(--muted); font-size: 0.95rem; }
.hero-proof li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Sections */
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-bottom: 2.5rem; }

.grid { display: grid; gap: 1.2rem; }
.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.features { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem 3rem; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(79, 140, 255, 0.4); }
.card-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.card p { color: var(--muted); margin: 0; }

.feature h3::before { content: "— "; color: var(--accent); }
.feature p { color: var(--muted); margin: 0; }

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}
.step { position: relative; padding: 1.4rem 1.4rem 1.4rem 1.4rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-weight: 800; margin-bottom: 0.8rem;
}
.step p { color: var(--muted); margin: 0; }

/* CTA */
.section-cta { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); text-align: center; }
.cta-inner { max-width: 720px; }
.cta-inner .section-lead { margin-inline: auto; margin-bottom: 2rem; }
.contact-fallback { color: var(--muted); margin-top: 1.2rem; font-size: 0.95rem; }
#contact-email { color: var(--text); font-weight: 500; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 1.6rem 0; color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.footer-inner p { margin: 0; }

@media (max-width: 720px) {
  .brand-name { display: none; }
  .nav-links { gap: 1rem; font-size: 0.95rem; }
  .nav-links li:nth-child(2), .nav-links li:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
