:root {
  --color-primary: #1a7f5a;
  --color-primary-dark: #145c42;
  --color-dark: #1c2224;
  --color-text: #33393b;
  --color-muted: #6b7478;
  --color-bg-alt: #f4f7f6;
  --color-border: #e2e8e6;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

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

h1, h2, h3 {
  color: var(--color-dark);
  line-height: 1.2;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-dark);
}

.logo span {
  color: var(--color-primary);
}

.logo:hover {
  text-decoration: none;
}

.nav a {
  margin-left: 24px;
  color: var(--color-text);
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #f4f7f6 0%, #ffffff 100%);
  padding: 96px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0 0 20px;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

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

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* Feature grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step p {
  color: var(--color-muted);
}

/* Pricing */
.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.pricing-card p {
  color: var(--color-muted);
  margin-bottom: 24px;
}

/* Contact */
.contact-info {
  text-align: center;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-links a {
  margin-left: 16px;
  color: var(--color-muted);
}

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

/* Legal pages */
.legal {
  padding-top: 64px;
  padding-bottom: 96px;
}

.legal h1 {
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--color-muted);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 40px;
}

/* Responsive nav */
@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 16px 24px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
