* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4ef;
  --bg-alt: #efe9df;
  --text: #1f1f1f;
  --muted: #5b5b5b;
  --accent: #7a4b2e;
  --accent-dark: #5d3722;
  --line: #d9cec2;
  --panel: #ffffff;
  --shadow: 0 12px 30px rgba(31, 31, 31, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  position: absolute;
  right: 4%;
  top: 64px;
  width: min(260px, 90%);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 0.2s ease;
}

.nav-links.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a {
  font-weight: 500;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: 0.2s ease;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg) translate(4px, -4px);
}

.hero {
  padding: 48px 0;
  background: var(--bg-alt);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-content p {
  max-width: 680px;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  background: transparent;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.section {
  padding: 16px 0;
}

.section--alt {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.section--highlight {
  background: var(--accent-dark);
  color: #fdf7f1;
  padding: 36px 0;
}

.section-title {
  margin: 0 0 12px;
  font-size: 1.7rem;
}

.section-lead {
  margin: 0 0 24px;
  color: var(--muted);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--panel);
  border-radius: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
}

.stat strong {
  font-size: 1.6rem;
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: 0.9rem;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  border-left: 4px solid var(--accent);
}

.cta-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 16px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
}

footer {
  background: #1e1b19;
  color: #e9ded3;
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: min(560px, 92%);
  display: none;
  z-index: 300;
}

.cookie-banner.active {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 400;
  padding: 16px;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal .modal-content {
  background: var(--panel);
  border-radius: 16px;
  padding: 20px;
  width: min(640px, 96%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.muted {
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}

@media (min-width: 768px) {
  .nav-links {
    position: static;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    width: auto;
  }

  .menu-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 240px;
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1 1 240px;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 160px;
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1 1 0;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}
