/* Base */
:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --surface: #ffffff;
  --ink: #1c1c1c;
  --muted: #5f5f5f;
  --primary: #2f5f48;
  --primary-dark: #214535;
  --accent: #d9a14a;
  --outline: #e6e1d7;
  --shadow: 0 12px 30px rgba(24, 24, 24, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 3rem 0;
}

.section--alt {
  background: var(--surface);
}

.section--tone {
  background: #efeae2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #e1e9e5;
  color: var(--primary-dark);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--outline);
  z-index: 1000;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.menu-toggle {
  border: 1px solid var(--outline);
  background: var(--surface);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.75rem;
  border-bottom: 1px solid var(--outline);
}

.nav a {
  font-weight: 600;
  color: var(--primary-dark);
}

.nav--open {
  display: flex;
}

@media (min-width: 880px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    gap: 1.5rem;
    border: none;
    background: transparent;
  }
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-card h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
}

.hero-card p {
  color: var(--muted);
  margin: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Cards & blocks */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--outline);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h3 {
  margin: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  background: #e1e9e5;
  color: var(--primary-dark);
  border-radius: 12px;
  padding: 0.6rem;
  flex: 0 0 auto;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--outline);
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--outline);
}

.stat strong {
  font-size: 1.8rem;
  display: block;
  color: var(--primary-dark);
}

.quote {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comparison-col {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--outline);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--outline);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1rem;
  color: var(--muted);
  display: none;
}

.faq-item.is-open p {
  display: block;
}

/* Footer */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--outline);
  background: var(--surface);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

/* Cookie banner + modal */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--outline);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
  z-index: 2000;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 28, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2100;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal__content {
  background: var(--surface);
  padding: 2rem;
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid var(--outline);
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (min-width: 900px) {
  .hero-grid,
  .split,
  .card-grid,
  .feature-list,
  .stats,
  .comparison,
  .footer-grid {
    flex-direction: row;
  }

  .hero-grid > * {
    flex: 1;
  }

  .card-grid .card,
  .feature-list .feature-item,
  .stats .stat,
  .comparison-col {
    flex: 1;
  }
}
