/* Base */
:root {
  --sand: #f7f1ea;
  --clay: #d8c3ad;
  --ink: #2b2622;
  --sage: #7f8c7a;
  --terracotta: #c07a5b;
  --night: #1f1d1b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--white);
}

.section.highlight {
  background: #efe5da;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--sage);
}

/* Header & navigation */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

.brand {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: none;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  font-weight: 500;
}

.menu-toggle {
  border: 1px solid var(--clay);
  background: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 20px 24px;
  gap: 14px;
  border-top: 1px solid #ece2d8;
  background: var(--white);
}

.mobile-menu.open {
  display: flex;
}

/* Hero */
.hero {
  padding-top: 60px;
}

.hero-card {
  background: var(--white);
  padding: 32px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--terracotta);
  background: var(--terracotta);
  color: var(--white);
  font-weight: 600;
  gap: 10px;
}

.btn.secondary {
  background: transparent;
  color: var(--terracotta);
}

.btn.ghost {
  background: transparent;
  border-color: var(--clay);
  color: var(--ink);
}

/* Cards & lists */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.card .icon {
  width: 42px;
  height: 42px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f3ebe2;
  padding: 18px;
  border-radius: 16px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--white);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.stat strong {
  font-size: 1.6rem;
}

/* Testimonials */
.testimonial {
  background: var(--white);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #efe0d1;
}

/* Tables */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .plan {
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #e6d7c9;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #efe0d1;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}

.faq-answer {
  display: none;
  margin-top: 10px;
  color: #4a3f38;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--night);
  color: var(--white);
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
  z-index: 30;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toggle-btn {
  border: 1px solid #d9c8b8;
  background: #f9f4ee;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-btn[aria-pressed="true"] {
  background: #e9f0e6;
  border-color: #9fb0a1;
}

/* Responsive */
@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero-actions,
  .cookie-actions {
    flex-direction: row;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .comparison .plan,
  .stat {
    flex: 1 1 260px;
  }

  .split {
    flex-direction: row;
  }

  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
