/* Base */
:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --ink: #1e1f23;
  --muted: #5a6069;
  --brand: #1d5c4b;
  --brand-2: #0f3f34;
  --accent: #caa14a;
  --line: #e2dfd8;
  --shadow: 0 12px 30px rgba(20, 22, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: #efece6;
}

.section-dark {
  background: #1a2b27;
  color: #f3f1ec;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-dark .eyebrow {
  color: #cdd7d2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--brand-2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid var(--line);
}

/* Header */
.header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-2);
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--muted);
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.menu-open .mobile-menu {
  display: flex;
}

.mobile-menu a {
  padding: 6px 0;
  color: var(--muted);
}

/* Hero */
.hero {
  padding: 72px 0 48px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cards & features */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-icon {
  width: 44px;
  height: 44px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature span {
  font-weight: 600;
}

/* Statistics */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--line);
}

.stat strong {
  font-size: 1.6rem;
  display: block;
}

/* Testimonials */
.quote {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e6efe9;
  color: var(--brand-2);
  font-size: 0.8rem;
  font-weight: 600;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-content {
  display: none;
  padding: 0 16px 16px;
  color: var(--muted);
}

.faq-item.is-open .faq-content {
  display: block;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cookie banner + modal */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 0 16px;
  z-index: 30;
}

.cookie-banner-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 28, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 40;
}

.cookie-modal.is-hidden {
  display: none;
}

.cookie-panel {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.toggle-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f2f1ed;
  font-weight: 600;
}

.toggle-btn[aria-pressed="true"] {
  background: #dfeee7;
  border-color: #a6c7b9;
  color: var(--brand-2);
}

/* Layout helpers */
.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
}

.muted {
  color: var(--muted);
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .comparison-row {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
