/* Base */
:root {
  --bg: #f7f6f3;
  --bg-alt: #ffffff;
  --text: #1c1c1c;
  --muted: #5a5a5a;
  --brand: #0f4c5c;
  --brand-light: #e6f1f4;
  --accent: #d97706;
  --border: #e2e2e2;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

* {
  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%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section.panel {
  background: var(--brand-light);
}

.section .section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav {
  display: none;
  gap: 20px;
  align-items: center;
}

.nav a {
  font-weight: 500;
  color: var(--text);
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 24px;
}

.mobile-nav a {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav.is-open {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.secondary {
  background: var(--accent);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand);
}

.btn:focus-visible {
  outline: 3px solid rgba(15, 76, 92, 0.3);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Layout blocks */
.hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--bg-alt);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.highlight {
  border-color: var(--brand);
  background: #fff;
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--bg-alt);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  background: var(--bg-alt);
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  background: var(--brand-light);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.list li {
  padding-left: 28px;
  position: relative;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  border: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.faq-answer {
  padding: 0 18px 16px;
  display: none;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  background: #0d3039;
  color: #f5f5f5;
  padding: 32px 0 24px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 0.9rem;
}

.footer-note {
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.7);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
  z-index: 100;
}

.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.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 120;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-content {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Tables */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-alt);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.simple-table th,
.simple-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.simple-table th {
  background: var(--brand-light);
}

/* Media */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero > div {
    flex: 1;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 280px;
  }

  .split {
    flex-direction: row;
  }

  .split > div {
    flex: 1;
  }

  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 220px;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison .card {
    flex: 1;
  }
}
