/* Base */
:root {
  --bg: #f7f4f1;
  --surface: #ffffff;
  --ink: #1e2a2a;
  --muted: #5b6a6a;
  --accent: #0f6f6a;
  --accent-dark: #0a4d49;
  --sand: #efe6dc;
  --stone: #d7d0c8;
  --sage: #cfe2de;
  --warning: #7a5c2e;
  --radius: 14px;
  --shadow: 0 14px 30px rgba(14, 31, 31, 0.12);
}

* {
  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;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section.tight {
  padding: 32px 0;
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 18px;
}

.muted {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sage);
  font-size: 0.9rem;
  color: var(--accent-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 111, 106, 0.25);
}

.btn.secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn.ghost {
  background: var(--sand);
  color: var(--accent-dark);
  border-color: var(--sand);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 244, 241, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: absolute;
  top: 64px;
  right: 4%;
  min-width: 220px;
}

.nav-links a {
  font-weight: 600;
}

.menu-toggle {
  border: 1px solid var(--stone);
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-links.open {
  display: flex;
}

/* Hero */
.hero {
  padding: 72px 0 32px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual {
  background: linear-gradient(140deg, #eff7f6, #dfeeea);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

/* Cards */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.alt {
  background: var(--sand);
}

.icon-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon-row img {
  width: 36px;
  height: 36px;
}

/* Highlights */
.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight {
  background: var(--accent);
  color: #fff;
  padding: 20px;
  border-radius: var(--radius);
}

.stat-bar {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stat-item span {
  font-weight: 700;
}

/* Testimonials */
.testimonial {
  background: var(--surface);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial strong {
  display: block;
  margin-top: 12px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
}

.faq-answer {
  margin: 10px 0 0;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: #101c1c;
  color: #fff;
  padding: 38px 0 24px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  width: min(520px, 92%);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 28, 28, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 220;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal .modal-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  width: min(560px, 95%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--stone);
}

.toggle-row:last-child {
  border-bottom: none;
}

/* Utilities */
.grid-two {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--sage);
  color: var(--accent-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Media */
@media (min-width: 768px) {
  .nav-links {
    position: static;
    flex-direction: row;
    display: flex;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid,
  .split,
  .grid-two,
  .card-grid,
  .comparison {
    flex-direction: row;
  }

  .hero-card,
  .hero-visual,
  .card,
  .comparison-row,
  .stat-bar {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
