/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Variables */
:root {
  --color-text: #0F172A;
  --color-accent: #0EA5E9;
  --color-accent-dark: #0284C7;
  --color-bg: #FFFFFF;
  --color-bg-subtle: #F8FAFC;
  --color-border: #E2E8F0;
  --color-muted: #64748B;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  --container-width: 800px;
}

/* Base */
html {
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: var(--font-stack);
  color: var(--color-text);
  background: var(--color-bg);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography */
h1 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Sections */
section {
  padding: 3rem 0;
}

section:nth-child(even) {
  background: var(--color-bg-subtle);
}

section:nth-child(even) .container {
  /* inherits padding */
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.hero .sub {
  font-size: 1.0625rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Button */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-stack);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
  color: #fff;
}

/* How it works — steps */
.steps {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.steps li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.steps li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li .step-body strong {
  display: block;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.steps li .step-body p {
  margin: 0;
  font-size: 0.9375rem;
}

/* What you get — bullet list */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.feature-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  background: var(--color-bg);
}

.card h3 {
  color: var(--color-text);
}

.card p {
  font-size: 0.9375rem;
  margin: 0;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item dt {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
}

.faq-item dd {
  color: var(--color-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* Final CTA */
.cta-final {
  text-align: center;
  padding: 3.5rem 0;
}

.cta-final h2 {
  margin-bottom: 0.5rem;
}

.cta-final p {
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* Desktop breakpoint */
@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .hero .sub {
    font-size: 1.125rem;
  }

  .cards {
    flex-direction: row;
  }

  .card {
    flex: 1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
