/* Base */
:root {
  --bg: #f7f5f1;
  --ink: #1e1c18;
  --muted: #5b544a;
  --brand: #2e6b5f;
  --brand-dark: #214d45;
  --accent: #c8794a;
  --panel: #ffffff;
  --soft: #ece7dd;
  --line: #ded7ca;
  --focus: #2a7e6c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 40px 0;
}

.section-soft {
  background: var(--soft);
}

.section-panel {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: 2.2rem;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.7rem;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--brand-dark);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--brand);
  color: #fff;
}

/* Header + Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--brand);
}

.brand span {
  font-size: 1.1rem;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 16px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.nav-links.is-open {
  display: flex;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    border: none;
    padding: 0;
    gap: 20px;
    background: transparent;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--panel);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border-radius: 20px;
  padding: 20px;
  border: 1px dashed var(--line);
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card,
  .hero-illustration {
    flex: 1;
  }
}

/* Cards and lists */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.card {
  flex: 1 1 240px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card strong {
  color: var(--ink);
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 900px) {
  .split {
    flex-direction: row;
    align-items: flex-start;
  }
}

.panel {
  background: var(--panel);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stat {
  flex: 1 1 160px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.stat strong {
  font-size: 1.4rem;
  color: var(--brand);
}

/* Feature blocks */
.feature-blocks {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}

/* Testimonials */
.quote {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-style: italic;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

@media (min-width: 900px) {
  .comparison-row {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px;
  border: none;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 16px 16px;
  color: var(--muted);
}

/* Footer */
footer {
  background: #1f2f2a;
  color: #e6e0d5;
  padding: 32px 0;
}

footer a {
  color: #e6e0d5;
}

.footer-columns {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 900px) {
  .footer-columns {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Cookie banner + modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 30;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(19, 17, 14, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 24px;
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-card label {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Utilities */
.muted {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 12px;
  background: var(--soft);
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid var(--line);
}

.divider {
  height: 2px;
  background: var(--line);
  width: 100%;
  margin: 16px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
