:root {
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff6ff;
  --green: #16a34a;
  --amber: #d97706;
  --purple: #7c3aed;

  --bg: #f1f5f9;
  --surface: #ffffff;
  --border: #e2e8f0;

  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #60a5fa;
    --blue-hover: #93c5fd;
    --blue-light: #1b2740;
    --green: #4ade80;
    --amber: #fbbf24;
    --purple: #c4b5fd;

    --bg: #0b1220;
    --surface: #161f30;
    --border: #2a3648;

    --text: #f1f5f9;
    --text-secondary: #b6c2d1;
    --text-muted: #7a8aa0;
  }
}

* { box-sizing: border-box; }

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

a { color: var(--blue); }

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

header.site {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

nav.site a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.95rem;
}

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

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 100% at 50% 0%, var(--blue-light) 0%, transparent 70%);
}

.hero .badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
}

.hero p.lead {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.cta {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px var(--blue);
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

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

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

.section-head {
  text-align: center;
  padding: 0.5rem 0 2rem;
}

.section-head h2 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.section-head p {
  color: var(--text-secondary);
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 1rem 0 3rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(15, 23, 42, 0.35);
}

.feature .icon {
  font-size: 1.4rem;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: 0.65rem;
  margin-bottom: 0.75rem;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 0.5rem 0 3rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 3rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.cta-band {
  background: var(--blue-light);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin: 1rem 0 3rem;
}

.cta-band h2 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
}

main.page {
  padding: 2.5rem 0 3rem;
}

main.page h1 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.faq-item h2 {
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-secondary);
}

.faq-item code {
  background: var(--blue-light);
  color: var(--blue);
  padding: 0.1rem 0.35rem;
  border-radius: 0.3rem;
  font-size: 0.88em;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
}

footer.site a {
  color: var(--text-muted);
}

footer.site .sep {
  color: var(--border);
}
