:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --ink: #1f1a16;
  --muted: #6b5f55;
  --accent: #8a4f2b;
  --accent-soft: #f0e2d6;
  --border: #e3d7cc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  position: absolute;
  right: 4%;
  top: 70px;
  width: 220px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem 0 4rem;
}

section {
  background: var(--surface);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
}

.hero {
  background: linear-gradient(140deg, var(--accent-soft), #fff9f4);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero h1 {
  margin: 0;
  font-size: 2.2rem;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h3 {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 1rem;
}

.stat strong {
  font-size: 1.6rem;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.testimonial {
  background: #fff6ef;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quote {
  font-style: italic;
  margin: 0;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.comparison-row span {
  font-weight: 600;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-weight: 600;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 240px;
}

.info-block {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 1.5rem;
}

footer {
  background: #1f1a16;
  color: #f2ede9;
  padding: 2.5rem 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-links a {
  color: #f2ede9;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  width: min(720px, 92%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 20;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 26, 22, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 30;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border-radius: 18px;
  padding: 2rem;
  width: min(640px, 96%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: none;
    box-shadow: none;
    width: auto;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: row;
  }

  .grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid > * {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .cookie-actions,
  .modal-actions {
    flex-direction: row;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
