:root {
  color-scheme: light;
  --bg: #f7f5f1;
  --surface: #ffffff;
  --text: #1f1d1a;
  --muted: #5d5750;
  --accent: #9c6b2f;
  --accent-dark: #7a4f1b;
  --line: #e1d9cc;
  --highlight: #f0e7d7;
  font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: absolute;
  top: 100%;
  right: 4%;
  background: var(--surface);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.nav-links.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 2.5rem 0 4rem;
}

section {
  background: var(--surface);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--line);
}

.section-alt {
  background: var(--highlight);
}

.section-muted {
  background: #efece6;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card strong {
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--highlight);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.stat span {
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.icon-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.icon-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1rem 1rem;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.table-compare {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compare-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

footer {
  background: #1f1d1a;
  color: #f5f2ed;
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

footer a {
  color: inherit;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  width: min(520px, 92%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 30;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 1rem;
}

.modal-backdrop.visible {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.5rem;
  width: min(520px, 96%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal header {
  position: static;
  border: none;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--highlight);
  border-radius: 12px;
}

.toggle input {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    gap: 1.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .split {
    flex-direction: row;
  }

  .cards {
    flex-direction: row;
  }

  .card {
    flex: 1;
  }

  .icon-row {
    flex-direction: row;
  }

  .stat-list {
    flex-direction: row;
    gap: 2rem;
  }

  .stat {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--line);
    padding-bottom: 0;
    padding-right: 1rem;
  }

  .stat:last-child {
    border-right: none;
  }

  .table-compare {
    flex-direction: row;
  }

  .compare-row {
    flex: 1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
