/* Base */
:root {
  --bg: #f7f4f0;
  --bg-alt: #ffffff;
  --ink: #1d1d1f;
  --muted: #5a5a5e;
  --brand: #1b6f5a;
  --brand-dark: #155646;
  --accent: #caa86a;
  --line: #e3ddd4;
}

* {
  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;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 12px 0;
}

p {
  margin: 0 0 16px 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  color: #fff;
  background: var(--brand);
  font-weight: 600;
}

.button.secondary {
  background: transparent;
  color: var(--brand);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eaf3f0;
  color: var(--brand-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 244, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

.nav-links {
  display: none;
  gap: 18px;
  font-size: 15px;
}

.nav-links a {
  padding: 6px 0;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
}

.mobile-nav.open {
  display: flex;
}

.mobile-panel {
  width: 260px;
  background: var(--bg-alt);
  padding: 24px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-panel a {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-grid .tile {
  background: #f0ebe4;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  gap: 12px;
}

@media (min-width: 860px) {
  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1.4;
  }

  .hero-grid {
    flex: 1;
  }
}

/* Cards */
.card-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.icon {
  gap: 16px;
}

.card.icon svg {
  width: 36px;
  height: 36px;
}

@media (min-width: 860px) {
  .card-row {
    flex-direction: row;
  }

  .card-row .card {
    flex: 1;
  }
}

/* Feature blocks */
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fdfaf5;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 700px) {
  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }
}

/* Testimonials */
.testimonial {
  background: #1d1d1f;
  color: #fff;
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial p {
  color: #f2efe9;
}

/* Process */
.process {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-alt);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.faq-answer {
  padding: 0 18px 16px 18px;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  border-left: 4px solid var(--accent);
}

/* CTA */
.cta {
  background: var(--brand);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta p {
  color: #f1ece4;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-grid a {
  color: var(--muted);
}

@media (min-width: 860px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1d1d1f;
  color: #fff;
  padding: 18px 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 1200;
}

.cookie-banner.open {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-actions .button {
  width: 100%;
}

@media (min-width: 700px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1300;
}

.modal.open {
  display: flex;
}

.modal-panel {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 24px;
  width: 92%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.toggle-btn {
  border: 1px solid var(--line);
  background: #f6f1ea;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

/* Utilities */
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 900px) {
  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }
}
