:root {
  color-scheme: light;
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-alt: #f0efe9;
  --text: #1d1f1c;
  --muted: #5b5f59;
  --primary: #2f5d50;
  --primary-dark: #21443a;
  --accent: #b88b5a;
  --border: #d7d4cc;
  --shadow: 0 14px 30px rgba(30, 35, 28, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand span {
  font-size: 1.05rem;
}

.nav-links {
  display: none;
  gap: 22px;
  font-weight: 500;
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:focus,
.nav-links a:hover {
  border-color: var(--accent);
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 4%;
}

.mobile-nav.open {
  display: flex;
}

.hero {
  padding: 64px 0 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(35, 62, 52, 0.2);
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section-title {
  font-size: 1.7rem;
  margin: 0 0 12px;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 680px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.highlight {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.icon {
  width: 48px;
  height: 48px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat-item {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  border-left: 5px solid var(--primary);
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
  margin: 0;
}

.quote-author {
  margin-top: 12px;
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comparison-row {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
}

.step span {
  font-weight: 700;
  color: var(--primary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.faq-item button {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open p {
  display: block;
}

.footer {
  background: var(--primary-dark);
  color: #f5f5f0;
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer a {
  color: inherit;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(24, 27, 23, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.cookie-modal.show {
  display: flex;
}

.cookie-panel {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}

.toggle button {
  border: 1px solid var(--primary);
  background: transparent;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}

.toggle button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
}

.table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.table-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
}

.table-row strong {
  font-size: 1.05rem;
}

.callout {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.policy-content h2 {
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .hero-content,
  .split {
    flex-direction: row;
  }

  .hero-content > div,
  .split > div {
    flex: 1;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33% - 16px);
    min-width: 220px;
  }

  .stats {
    flex-direction: row;
  }

  .stat-item {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .process-steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .step {
    flex: 1 1 calc(50% - 16px);
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .table-row {
    flex-direction: row;
    justify-content: space-between;
  }
}
