* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #ffffff;
  --accent: #d0563e;
  --accent-dark: #9b3c2b;
  --text: #1f2428;
  --muted: #5d6a70;
  --line: #e1d8cc;
  --shadow: 0 10px 25px rgba(31, 36, 40, 0.08);
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.primary-nav {
  position: absolute;
  top: 72px;
  right: 4%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.primary-nav a {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}

.primary-nav a:hover,
.primary-nav a:focus {
  background: var(--bg);
}

.primary-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem 0 3rem;
}

section {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.section-muted {
  background: #f0e9de;
}

.section-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: linear-gradient(135deg, #fff5ed, #f4efe7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn.secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn:hover,
.btn:focus {
  background: var(--accent-dark);
  color: #fff;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-style: italic;
}

.quote {
  font-size: 1.1rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison .card {
  background: #fdfaf5;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fff;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.faq-answer {
  margin-top: 0.6rem;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.footer {
  padding: 2rem 0 3rem;
  background: #1e2226;
  color: #f2f2f2;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.footer small {
  color: #c7c7c7;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  border: 1px solid var(--line);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  display: none;
  width: min(680px, 92%);
  z-index: 30;
}

.cookie-banner.active {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 19, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 40;
}

.cookie-modal.active {
  display: flex;
}

.cookie-panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.5rem;
  width: min(560px, 92%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
}

.toggle-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    flex-direction: row;
    box-shadow: none;
    border: none;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cards .card {
    flex: 1 1 240px;
  }

  .stats {
    flex-direction: row;
  }

  .stats .stat {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison .card {
    flex: 1;
  }

  .footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
