:root {
  --accent: #0a66c2;
  --accent-hover: #084d92;
  --fg: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 14px;
  --max-w: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { display: block; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* CTA buttons */
.cta {
  display: inline-block;
  padding: 16px 32px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 52px;
  transition: background 0.15s ease, transform 0.05s ease;
  text-decoration: none;
}
.cta:hover { background: var(--accent-hover); }
.cta:active { transform: translateY(1px); }
.cta:disabled { opacity: 0.6; cursor: not-allowed; }
.cta-small { padding: 10px 18px; font-size: 0.9rem; min-height: 38px; }
.cta-secondary {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cta-secondary:hover { background: var(--bg-alt); }

/* Sections */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 20px;
}
section h2 {
  font-size: 1.65rem;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

/* Hero */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 20px 40px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
}
.hero .trust {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* How it works — steps */
.how { background: var(--bg-alt); }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.steps li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.steps h3 { margin: 0 0 8px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Why — features */
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.features li {
  padding: 20px;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.features h3 { margin: 0 0 6px; font-size: 1.05rem; }
.features p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Income */
.income { text-align: center; }
.income p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1rem;
}

/* Testimonials */
.testimonials { background: var(--bg-alt); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0;
}
.card .quote { margin: 0 0 14px; font-size: 0.98rem; color: var(--fg); }
.card .author { margin: 0; color: var(--muted); font-size: 0.85rem; font-style: italic; }

/* FAQ */
.faq details {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 14px; color: var(--muted); font-size: 0.95rem; }

/* Final CTA */
.final-cta {
  text-align: center;
  background: var(--accent);
  color: #fff;
  max-width: none;
  padding: 64px 20px;
}
.final-cta h2 { color: #fff; margin-bottom: 12px; }
.final-cta p {
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin: 0 auto 24px;
}
.final-cta .cta {
  background: #fff;
  color: var(--accent);
}
.final-cta .cta:hover { background: var(--bg-alt); }
.noscript-fallback { margin-top: 16px; color: rgba(255,255,255,0.92); }
.noscript-fallback a { color: #fff; text-decoration: underline; }

/* Footer */
footer {
  padding: 32px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}
footer nav a:hover { color: var(--accent); }
footer .copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Legal pages (privacy, terms) */
.legal { max-width: 720px; }
.legal h1 { font-size: 1.85rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal p { color: var(--fg); margin: 0 0 12px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; color: var(--fg); }
.legal li { margin-bottom: 6px; }
.legal code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid var(--border);
}
.legal a { color: var(--accent); }

/* Mobile tweaks */
@media (max-width: 600px) {
  .section { padding: 40px 18px; }
  .hero { padding: 40px 18px 32px; }
  section h2 { font-size: 1.4rem; }
  .topbar { padding: 10px 16px; }
}
