:root {
  color-scheme: light;
  --ink: #0b1f3b;
  --muted: #4a5a70;
  --accent: #1f6feb;
  --accent-soft: #e8f0ff;
  --teal: #2cc5a6;
  --sand: #f5f2ec;
  --mist: #f8fafc;
  --border: #d9e1ee;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(130deg, var(--accent), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}

.menu-toggle {
  background: var(--accent-soft);
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.site-nav {
  position: fixed;
  top: 72px;
  right: 4%;
  width: 88%;
  max-width: 320px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus {
  background: var(--accent-soft);
  color: var(--ink);
}

body.nav-open .site-nav {
  display: flex;
}

.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  margin: 0 0 24px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border-radius: 999px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--border);
  color: var(--ink);
}

.section {
  padding: 48px 0;
}

.section-alt {
  background: var(--mist);
}

.section-sand {
  background: var(--sand);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--accent);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.feature-item span {
  font-size: 20px;
}

.stats-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat strong {
  font-size: 1.4rem;
}

.quote {
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote p {
  margin: 0;
  font-size: 1.1rem;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.comparison-row h4 {
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: none;
  background: #ffffff;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-item button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-item .faq-panel {
  padding: 0 16px 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-panel {
  display: block;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 6px 12px;
  background: #ffffff;
}

.footer {
  padding: 40px 0 48px;
  background: #0b1f3b;
  color: #f8fafc;
}

.footer a {
  color: #f8fafc;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-note {
  color: #cbd5f5;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 92%);
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.cookie-modal.visible {
  display: flex;
}

.cookie-panel {
  background: #ffffff;
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.toggle button {
  border: none;
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.page-title {
  padding: 44px 0 20px;
  background: var(--mist);
}

.page-title h1 {
  margin: 0 0 8px;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.divider {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  border-radius: 999px;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    width: auto;
    max-width: none;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 8px;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .card-grid,
  .comparison,
  .footer-grid,
  .info-grid {
    flex-direction: row;
  }

  .card-grid .card,
  .comparison-row,
  .info-grid > div {
    flex: 1;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1 1 220px;
  }

  .stats-bar {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
