/* Base */
:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --ink: #1f2a24;
  --muted: #5a6a62;
  --brand: #2e8b6b;
  --brand-dark: #1f6a52;
  --accent: #c6b07a;
  --border: #e2e6e1;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, 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;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 2.75rem 0;
}

.section.alt {
  background: var(--surface);
}

.section.dark {
  background: var(--ink);
  color: #f7f7f2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(46, 139, 107, 0.12);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand svg {
  width: 32px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.nav-menu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}

.nav-menu.open {
  display: flex;
}

.nav-menu a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background: rgba(46, 139, 107, 0.12);
}

.nav-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  background: var(--brand);
  color: #f8f8f5;
}

.btn.secondary {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--brand);
}

.btn.ghost {
  background: transparent;
  color: inherit;
  border-color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 900px) {
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-cta {
    flex-direction: row;
  }
}

/* Layout blocks */
.hero {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.grid-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 780px) {
  .grid-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid-cards .card {
    flex: 1 1 280px;
  }
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.card.alt {
  background: #f0f4f1;
}

.card h3,
.card h4 {
  margin: 0;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item svg {
  width: 36px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.5rem;
  display: block;
}

.testimonial {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: 1px solid var(--border);
}

.quote {
  font-size: 1.15rem;
  font-style: italic;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .split {
    flex-direction: row;
    align-items: stretch;
  }

  .split > * {
    flex: 1 1 0;
  }
}

.highlight-panel {
  background: linear-gradient(135deg, rgba(46, 139, 107, 0.12), rgba(198, 176, 122, 0.15));
  border-radius: 22px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.comparison-row span {
  font-weight: 600;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.2rem 1rem;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cta p {
  color: #e7f2ec;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer a {
  color: var(--muted);
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 50;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1rem;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal h3 {
  margin: 0;
}

.modal .toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.toggle input {
  width: 18px;
  height: 18px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(31, 106, 82, 0.1);
  color: var(--brand-dark);
  font-size: 0.85rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
}

.list-clean {
  margin: 0;
  padding-left: 1.1rem;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}
