/* Base */
:root {
  --bg: #f6f4f0;
  --surface: #ffffff;
  --accent: #2d6a4f;
  --accent-dark: #1f4b38;
  --muted: #5a6b63;
  --text: #1f2b27;
  --sand: #e9e3d9;
  --sage: #d8e2d2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, 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: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--surface);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  gap: 8px;
  background: transparent;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.ghost {
  border-color: var(--sand);
  color: var(--text);
  background: var(--sand);
}

/* Header */
.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e4e0d9;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-weight: 500;
  color: var(--muted);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  border: none;
  background: var(--sand);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-top: 1px solid #e6e0d7;
  background: var(--surface);
}

.mobile-menu a {
  font-weight: 600;
}

.mobile-menu.active {
  display: flex;
}

/* Hero */
.hero {
  padding: 72px 0 64px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-panel {
  background: var(--surface);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid #e5dfd6;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: var(--sage);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Cards and lists */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid #e6e0d7;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.alt {
  background: var(--sand);
  border: none;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Split sections */
.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--surface);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #e6e0d7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stat strong {
  font-size: 1.4rem;
}

/* Testimonials */
.testimonial {
  background: var(--accent);
  color: #fff;
  padding: 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial span {
  color: #d9f0e3;
  font-size: 0.9rem;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-item {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #e6e0d7;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid #e5dfd6;
  padding: 14px 0;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-answer {
  display: none;
  color: var(--muted);
  padding-top: 10px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--surface);
  padding: 40px 0;
  border-top: 1px solid #e4e0d9;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--surface);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e6e0d7;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-banner.active {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 35, 33, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  padding: 24px;
  border-radius: 20px;
  width: min(520px, 94%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--sand);
}

.toggle button {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* Forms replacements */
.info-block {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e6e0d7;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-content > * {
    flex: 1;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-grid .card {
    flex: 1 1 calc(33% - 12px);
    min-width: 220px;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > * {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-item {
    flex: 1;
  }
}
