*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --accent: #1d6f5b;
  --accent-dark: #145343;
  --text: #1c1f1d;
  --muted: #5a635f;
  --line: #e3e0d8;
  --highlight: #eef4f1;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--highlight);
}

.section.dark {
  background: var(--accent);
  color: #fff;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}

.section.dark .kicker {
  color: #d9f0e8;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 28px;
  font-weight: 600;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn.outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mt-lg {
  margin-top: 32px;
}

.mt-md {
  margin-top: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--text);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: absolute;
  right: 4%;
  top: 64px;
  min-width: 220px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu a {
  font-weight: 600;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grid.two {
  flex-direction: column;
}

.grid.three {
  flex-direction: column;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.alt {
  background: #f1f4f0;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--highlight);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-item {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote {
  font-style: italic;
  font-size: 1.05rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comparison .card {
  border: 2px solid transparent;
}

.comparison .card.highlight {
  border-color: var(--accent);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  padding: 0 18px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.site-footer {
  background: #171d1b;
  color: #e5ece9;
  padding: 48px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-grid a {
  color: #e5ece9;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 14, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-dialog {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.switch button {
  border: 1px solid var(--line);
  background: var(--highlight);
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  font-weight: 600;
}

.switch button[aria-checked="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero > * {
    flex: 1;
  }

  .grid.two {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid.two .card {
    flex: 1 1 calc(50% - 10px);
  }

  .grid.three {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid.three .card {
    flex: 1 1 calc(33.333% - 14px);
  }

  .stat-list {
    flex-direction: row;
  }

  .stat-item {
    flex: 1 1 0;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
