/* Base */
:root {
  --bg: #f7f4ef;
  --bg-alt: #f0ebe2;
  --text: #2b241b;
  --muted: #5f5144;
  --brand: #8a4b14;
  --brand-dark: #6b360e;
  --accent: #b07b2e;
  --card: #ffffff;
  --border: #e0d6c7;
  --success: #2f7d32;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--brand-dark);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section.tight {
  padding: 40px 0;
}

.section-title {
  font-size: 28px;
  margin: 0 0 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--brand);
}

.button.secondary:hover,
.button.secondary:focus {
  background: rgba(138, 75, 20, 0.1);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(176, 123, 46, 0.15);
  color: var(--brand-dark);
  font-size: 13px;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* Header and Navigation */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.site-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: right 0.3s ease;
}

.site-nav.open {
  right: 0;
}

.site-nav a {
  padding: 8px 0;
  font-weight: 600;
  color: var(--text);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 900px) {
  .menu-toggle,
  .nav-backdrop {
    display: none;
  }

  .site-nav {
    position: static;
    width: auto;
    height: auto;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 18px;
    transition: none;
  }

  .site-nav a {
    padding: 0;
  }
}

/* Hero */
.hero {
  padding: 70px 0 40px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 16px;
}

.hero-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card .meta {
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-content {
    flex: 1.2;
  }

  .hero-card {
    flex: 0.8;
  }
}

/* Cards and grids */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .title {
  font-weight: 700;
  font-size: 18px;
}

.card .price {
  font-size: 18px;
  color: var(--brand-dark);
  font-weight: 700;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(138, 75, 20, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 900px) {
  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33.333% - 18px);
  }
}

/* Highlights */
.highlight-panel {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 900px) {
  .split {
    flex-direction: row;
    align-items: center;
  }

  .split.reverse {
    flex-direction: row-reverse;
  }

  .split > * {
    flex: 1;
  }
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 24px;
}

@media (min-width: 900px) {
  .stats {
    flex-direction: row;
  }
}

/* Testimonials */
.testimonial {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.testimonial p {
  margin: 0 0 8px;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison .comparison-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 900px) {
  .comparison {
    flex-direction: row;
  }
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.accordion button {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 14px 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.accordion button span {
  color: var(--muted);
}

.accordion-content {
  padding: 0 16px 14px;
  color: var(--muted);
  display: none;
}

.accordion.open .accordion-content {
  display: block;
}

/* Footer */
.site-footer {
  background: #1f1a13;
  color: #f0e7da;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #f0e7da;
}

@media (min-width: 900px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Cookie banner & modal */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: none;
  z-index: 80;
}

.cookie-banner.visible {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

.toggle-row input {
  width: 18px;
  height: 18px;
}

/* Utility */
.muted {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.note {
  background: rgba(138, 75, 20, 0.08);
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--muted);
}

.inline-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
