:root {
  color-scheme: light;
  --ink: #0f1f24;
  --muted: #4f5b61;
  --accent: #1f7a72;
  --accent-dark: #145652;
  --sand: #f5f2ec;
  --mist: #e7eef0;
  --sun: #f0c75e;
  --white: #ffffff;
  --shadow: 0 20px 40px rgba(15, 31, 36, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  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;
}

.header {
  background: var(--white);
  border-bottom: 1px solid rgba(15, 31, 36, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand span {
  font-size: 1.05rem;
}

.menu-toggle {
  border: 1px solid rgba(15, 31, 36, 0.2);
  background: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  position: absolute;
  top: 70px;
  right: 4%;
  min-width: 200px;
}

.nav-links a {
  padding: 6px 8px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--mist);
}

.nav-links.is-open {
  display: flex;
}

main {
  padding: 32px 0 64px;
}

.hero {
  padding: 48px 0;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--sand);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card h1 {
  font-size: 2rem;
  margin: 0 0 16px;
}

.hero-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button:hover,
.button:focus {
  background: var(--accent-dark);
  color: var(--white);
}

.section {
  padding: 36px 0;
}

.section.alt {
  background: var(--mist);
}

.section.sand {
  background: var(--sand);
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 24px;
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.highlight {
  background: var(--accent);
  color: var(--white);
}

.card.highlight p {
  color: rgba(255, 255, 255, 0.85);
}

.icon-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon {
  width: 40px;
  height: 40px;
  background: var(--mist);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: var(--shadow);
}

.stat strong {
  font-size: 1.8rem;
  display: block;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow);
}

.testimonial span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--accent-dark);
}

.faq-item {
  border-bottom: 1px solid rgba(15, 31, 36, 0.1);
  padding: 12px 0;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  color: var(--muted);
}

.faq-item.is-open .faq-content {
  max-height: 200px;
  margin-top: 8px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer a {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px;
  width: min(520px, 90%);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 36, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 30;
}

.modal.is-visible {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  width: min(560px, 95%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle {
  background: var(--mist);
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}

.toggle[aria-pressed="true"] {
  background: var(--accent);
  color: var(--white);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .hero-grid {
    flex-direction: row;
    align-items: stretch;
  }

  .grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid .card {
    flex: 1 1 240px;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 0;
  }

  .comparison-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
