/* Base */
:root {
  --bg: #f7f3ef;
  --surface: #ffffff;
  --ink: #2a2a2a;
  --muted: #5f5f5f;
  --accent: #c46a4a;
  --accent-2: #6f4a3a;
  --sage: #d9d2c5;
  --sand: #efe7df;
  --line: #e2d8cf;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, Arial, 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;
}

main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 0;
}

.section--soft {
  background: var(--sand);
}

.section--panel {
  background: var(--surface);
  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(--accent-2);
  margin-bottom: 8px;
}

h1, h2, h3 {
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: #b05e42;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover,
.btn--ghost:focus {
  background: rgba(196, 106, 74, 0.1);
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  position: absolute;
  top: 60px;
  right: 20px;
  box-shadow: var(--shadow);
}

.nav-links a {
  font-weight: 600;
  color: var(--ink);
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-open .nav-links {
  display: flex;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-visual {
  border-radius: 20px;
  background: var(--sage);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.icon-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--accent-2);
}

/* Cards and lists */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card--highlight {
  background: var(--accent);
  color: #fff;
  border: none;
}

.card--highlight p {
  color: #f8f1ec;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex: 0 0 auto;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 600;
}

.quote {
  background: var(--surface);
  padding: 24px;
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.quote p {
  color: var(--ink);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 14px 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-answer {
  padding: 0 16px 14px;
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #1f1b18;
  color: #f7f3ef;
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #f7f3ef;
}

/* Cookie banner and modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 20px;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-panel {
  background: var(--surface);
  padding: 24px;
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--sand);
  padding: 12px 14px;
  border-radius: 12px;
}

.toggle-btn {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}

.toggle-btn.is-active {
  background: var(--accent);
  color: #fff;
}

/* Utilities */
.two-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pill {
  background: var(--sage);
  color: var(--accent-2);
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 12px 0;
}

/* Media */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 18px;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card,
  .hero-visual {
    flex: 1;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(50% - 16px);
  }

  .two-col {
    flex-direction: row;
    align-items: flex-start;
  }

  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 calc(50% - 14px);
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .card {
    flex: 1 1 calc(33.333% - 16px);
  }
}
