/* Base */
:root {
  --bg: #faf7f2;
  --text: #1f1c19;
  --muted: #5a524b;
  --brand: #3b2a20;
  --accent: #8a5a3c;
  --light: #ffffff;
  --panel: #f1ebe4;
  --border: #e2d9cf;
  --success: #2b6d4b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  max-width: 1180px;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--panel);
}

.section.tight {
  padding: 40px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.2;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 28px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--light);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Header and navigation */
.site-header {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--brand);
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 20px;
}

.nav-links a.active,
.nav-links a:hover {
  background: var(--panel);
}

.menu-toggle {
  background: var(--panel);
  border: none;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  font-weight: 600;
}

.mobile-menu.open {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--light);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border);
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-highlight {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hero-highlight svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

/* Cards and features */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--light);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.dark {
  background: var(--brand);
  color: var(--light);
}

.card.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--panel);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Alternating blocks */
.split {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.split .panel {
  background: var(--light);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--border);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--light);
  border: 1px solid var(--border);
  font-weight: 600;
}

/* Testimonials */
.quote {
  background: var(--light);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 20px;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--light);
}

.comparison-row strong {
  color: var(--brand);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--light);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-answer {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
footer {
  background: var(--brand);
  color: var(--light);
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

footer a {
  color: var(--light);
}

/* Cookie banner and modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--light);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 16px;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-content {
  background: var(--light);
  padding: 24px;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--panel);
  font-weight: 600;
}

/* Utilities */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--panel);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
}

.two-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 10px;
}

.list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Responsive */
@media (min-width: 780px) {
  h1 {
    font-size: 2.8rem;
  }

  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33.33% - 16px);
  }

  .split {
    flex-direction: row;
  }

  .split .panel {
    flex: 1;
  }

  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1 1 calc(33.33% - 12px);
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .two-col {
    flex-direction: row;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
