/* Base */
:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #1c1b1a;
  --muted: #5b5651;
  --brand: #2f6f6d;
  --brand-dark: #245553;
  --accent: #d69a3a;
  --line: #e7e0d7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 32px 16px 80px;
}

section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

section.soft {
  background: #fdfbf7;
}

section.dark {
  background: #1f2f2f;
  color: #f5f2ec;
  border-color: #1f2f2f;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.nav-toggle {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  top: 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
}

body.nav-open .site-nav {
  display: flex;
}

.site-nav a {
  padding: 8px 6px;
  border-radius: 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #f0ebe2;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 18px;
    border: none;
    padding: 0;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0ebe2;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Cards and lists */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--surface);
}

.card.highlight {
  background: #f5efe6;
  border-color: #e6d7c1;
}

.icon-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f0ebe2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature blocks */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: #f7f2ea;
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f0ebe2;
  border-radius: 14px;
}

.stat span {
  font-weight: 700;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote {
  padding: 18px;
  border-radius: 16px;
  background: #fdf7ef;
  border-left: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: #f7f2ea;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: #fdfbf7;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 16px 16px;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
footer {
  background: #1c1b1a;
  color: #f5f2ec;
  padding: 32px 16px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Cookie banner + modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(28, 27, 26, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 40;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f2ea;
}

.toggle {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-weight: 600;
}

.toggle[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}

/* Utility */
.split {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.muted {
  color: var(--muted);
}

@media (min-width: 900px) {
  main {
    padding: 40px 24px 96px;
  }

  section {
    padding: 32px 36px;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1 1 240px;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 200px;
  }

  .testimonials {
    flex-direction: row;
  }

  .quote {
    flex: 1 1 280px;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1 1 240px;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    flex-direction: row;
    gap: 16px;
  }
}
