/* Base */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #1c2330;
  --muted: #4a5568;
  --brand: #2f6f8f;
  --brand-dark: #214c63;
  --accent: #d69e2e;
  --border: #e2e8f0;
  --soft: #eef3f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 24px 0 72px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 32px 0;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn.outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.nav-links a {
  font-weight: 600;
  color: var(--ink);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand);
}

.nav-toggle {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 20px;
}

.mobile-menu.open {
  display: flex;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #e9f1f6, #ffffff);
  border-radius: 28px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--border);
}

.hero h1 {
  margin: 0;
  font-size: 2.1rem;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--border);
}

/* Cards and grids */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.card h3 {
  margin-top: 0;
}

.icon-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat strong {
  font-size: 1.5rem;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel {
  background: var(--soft);
  border-radius: 20px;
  padding: 20px;
}

/* Testimonials */
.testimonial {
  background: var(--surface);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 18px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 18px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 14px;
}

.highlight {
  background: #fdf6e3;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #f2e0b4;
}

/* Footer */
.site-footer {
  background: #101720;
  color: #d6dde6;
  padding: 40px 0 24px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #d6dde6;
}

/* Cookie banner and modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  width: min(520px, 92%);
  display: none;
  z-index: 20;
}

.cookie-banner.show {
  display: block;
}

.cookie-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 23, 32, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}

.cookie-modal.open {
  display: flex;
}

.cookie-panel {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  width: min(520px, 96%);
}

.cookie-preferences {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.pref-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--soft);
  border-radius: 12px;
  padding: 12px 14px;
}

.toggle {
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}

/* Utility */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
}

.muted {
  color: var(--muted);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 48px;
  }

  .hero-actions {
    flex-direction: row;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-grid .card {
    flex: 1 1 calc(50% - 16px);
  }

  .stats {
    flex-direction: row;
    justify-content: space-between;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > * {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
  }
}
