/* Base */
:root {
  --ink: #1f1c17;
  --ink-soft: #3f3a32;
  --paper: #f7f4ef;
  --accent: #6b3f1f;
  --accent-soft: #c9b08a;
  --sage: #5c6b55;
  --gold: #c9a227;
  --border: #e4ddd1;
  --panel: #ffffff;
  --shadow: 0 10px 30px rgba(31, 28, 23, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: #fff;
}

.section.soft {
  background: #f0ebe2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--sage);
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.7rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--ink-soft);
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

.btn.light {
  background: var(--gold);
  border-color: var(--gold);
  color: #1d150f;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.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;
  font-size: 1.1rem;
}

.brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
}

.nav-links a {
  font-weight: 600;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

body.nav-open .nav-links {
  display: flex;
}

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  transform: rotate(45deg);
  top: 0;
}

body.nav-open .menu-toggle span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cards and features */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 12px 24px rgba(31, 28, 23, 0.06);
}

.card.highlight {
  background: #f7f0e5;
  border-color: #eadcc7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat strong {
  font-size: 1.6rem;
  color: var(--accent);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote {
  background: #fff;
  border-left: 4px solid var(--gold);
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Process */
.process {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  background: #fffaf2;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 16px 16px;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #1f1c17;
  color: #f3eee6;
  padding: 48px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #f3eee6;
  font-size: 0.95rem;
}

/* Cookie banner and modal */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 100;
}

.cookie-banner.visible {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 28, 23, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 16px;
}

.cookie-modal.visible {
  display: flex;
}

.cookie-panel {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Utility */
.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 6px 12px;
  background: #efe7db;
  border-radius: 999px;
  font-size: 0.85rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.row strong {
  color: var(--accent);
}

.notice {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.center {
  text-align: center;
}

.center .button-row {
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.8rem;
  }

  .button-row,
  .cookie-actions {
    flex-direction: row;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .menu-toggle {
    display: none;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-grid {
    flex-direction: row;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-grid .card {
    flex: 1 1 calc(33% - 12px);
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 0;
  }

  .split {
    flex-direction: row;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison .card {
    flex: 1 1 0;
  }
}
