* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #1e1d1a;
  --muted: #5e5a52;
  --accent: #3f7d6c;
  --accent-dark: #2c5a4d;
  --soft: #e9ede9;
  --warm: #f1e4d4;
  --highlight: #dfe8f1;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--soft);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--surface);
  padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--soft);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links.open {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: auto;
}

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--soft);
  background: var(--surface);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--ink);
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem 1.5rem 3rem;
}

section {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(30, 29, 26, 0.08);
}

.hero {
  background: linear-gradient(140deg, var(--warm), var(--surface));
  gap: 1.5rem;
}

.hero p {
  max-width: 42rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
}

.button.alt {
  background: var(--accent-dark);
}

.button.light {
  background: var(--ink);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.grid-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  padding: 1.2rem;
  border-radius: 16px;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card strong {
  font-size: 1.05rem;
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature svg {
  width: 36px;
  height: 36px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--highlight);
  padding: 1rem;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.quote {
  background: var(--accent);
  color: #fff;
  padding: 1.8rem;
  border-radius: 20px;
}

.process {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.process-step span {
  background: var(--accent);
  color: #fff;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  background: var(--soft);
  padding: 1rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.faq-item {
  border-bottom: 1px solid var(--soft);
  padding: 0.8rem 0;
}

.faq-item button {
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--ink);
  padding: 0.3rem 0;
}

.faq-item p {
  display: none;
  color: var(--muted);
  padding-top: 0.4rem;
}

.faq-item.open p {
  display: block;
}

.cta-panel {
  background: var(--accent-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--soft);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 1.2rem;
  border-radius: 18px;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 50;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-actions button {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.cookie-actions .accept {
  background: var(--accent);
  color: #fff;
}

.cookie-actions .manage {
  background: var(--surface);
  color: var(--ink);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 29, 26, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1.5rem;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.8rem;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--soft);
  padding: 0.8rem;
  border-radius: 12px;
}

.toggle-row input {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .nav {
    padding: 1.2rem 3rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    width: auto;
    background: transparent;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  main {
    padding: 3rem 3rem 4rem;
  }

  section {
    padding: 2.4rem;
  }

  .grid-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 220px;
  }

  .feature-row {
    flex-direction: row;
  }

  .feature {
    flex: 1 1 240px;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 180px;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1 1 200px;
  }

  .cookie-actions {
    flex-direction: row;
  }

  footer {
    padding: 2.5rem 3rem;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
}
