:root {
  --green-600: #059669;
  --green-700: #047857;
  --ink: #171717;
  --muted: #525252;
  --bg: #ffffff;
  --border: #e5e5e5;
}

* {
  box-sizing: border-box;
}

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

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

a {
  color: inherit;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.wordmark {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--green-700);
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.lang-switch a {
  text-decoration: underline;
}
.lang-switch span {
  color: var(--muted);
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
}
.hero h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 20ch;
}
.hero .lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 1.75rem;
}

.cta {
  display: inline-block;
  background: var(--green-600);
  color: #fff;
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  padding: 0.9rem 1.75rem;
  border-radius: 0.5rem;
}
.cta:hover {
  background: var(--green-700);
}

/* How it works */
.how-it-works {
  background: #fafafa;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.how-it-works h2 {
  font-size: 1.5rem;
  margin: 0 0 1.75rem;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}
.steps h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.375rem;
}
.steps p {
  margin: 0;
  color: var(--muted);
}

/* Repeat CTA */
.cta-repeat {
  padding: 3.5rem 0;
  text-align: center;
}
.cta-repeat h2 {
  font-size: 1.375rem;
  max-width: 32ch;
  margin: 0 auto 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }
}
