/* Base */
:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --text: #1d1b18;
  --muted: #5d5750;
  --primary: #2c5f5d;
  --secondary: #d4a373;
  --accent: #4f772d;
  --panel: #ffffff;
  --border: #e2ddd5;
  --shadow: 0 18px 40px rgba(29, 27, 24, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  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, 90%);
  margin: 0 auto;
}

.section {
  padding: 36px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(44, 95, 93, 0.2);
}

.btn.secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: none;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: absolute;
  right: 5%;
  top: 64px;
  width: min(280px, 90%);
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.nav-open .nav-links {
  display: flex;
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    width: auto;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 48px 0;
}

.hero-card {
  background: var(--panel);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-grid,
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--panel);
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.highlight {
  background: #f0efe9;
  border-left: 4px solid var(--secondary);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.5rem;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote {
  background: var(--primary);
  color: #fff;
  padding: 28px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: #e9e4dc;
  font-weight: 600;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 12px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--panel);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 18px 16px;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.cta-banner {
  background: var(--accent);
  color: #fff;
  padding: 32px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: #f3f1ed;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  width: min(920px, 92%);
  box-shadow: var(--shadow);
  display: none;
  z-index: 50;
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(29, 27, 24, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-card {
  background: var(--panel);
  padding: 24px;
  border-radius: 22px;
  width: min(620px, 94%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.toggle-button {
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
}

.toggle-button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-card {
    flex: 1;
  }

  .feature-grid,
  .card-grid,
  .stats,
  .process-steps,
  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-grid > *,
  .card-grid > *,
  .stats > *,
  .process-steps > *,
  .testimonials > * {
    flex: 1 1 220px;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}
