/* Base */
:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --text: #1f1f1f;
  --muted: #5f5f5f;
  --brand: #2a5f5f;
  --brand-light: #e3f0ef;
  --accent: #b07a35;
  --accent-light: #f4eadc;
  --border: #e6e1da;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--surface);
}

.section.highlight {
  background: var(--brand-light);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 12px 0;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: white;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
}

.btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(247, 245, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  position: absolute;
  right: 4%;
  top: 72px;
  width: min(260px, 90vw);
  box-shadow: var(--shadow);
}

.nav-links.open {
  display: flex;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
}

.nav-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Feature blocks */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
}

/* Testimonials */
.testimonial {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  border-left: 4px solid var(--brand);
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  font-weight: 600;
  padding: 6px 0;
}

.faq-answer {
  display: none;
  padding: 8px 0 0;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
footer {
  background: #1d2a2a;
  color: #f5f2ee;
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.show {
  display: flex;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 16px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  width: min(520px, 95%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-options label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Tables */
.table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.table-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

/* Media */
@media (min-width: 768px) {
  h1 {
    font-size: 2.8rem;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > * {
    flex: 1;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(33% - 12px);
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .btn-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    width: auto;
    box-shadow: none;
  }

  .cookie-banner {
    inset: auto 24px 24px auto;
    width: 380px;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison .card {
    flex: 1;
  }

  .table-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
