* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1b1f2a;
  --muted: #596072;
  --accent: #2f5d8f;
  --accent-dark: #274b73;
  --soft: #f4f6f9;
  --panel: #ffffff;
  --outline: #d7dce5;
  --success: #2d6a4f;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fafbfc;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  background: var(--panel);
  border-bottom: 1px solid var(--outline);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.nav-toggle {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--panel);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(19, 27, 44, 0.12);
  border: 1px solid var(--outline);
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.2s ease;
}

.nav-links a {
  font-weight: 500;
  color: var(--ink);
}

.nav-open .nav-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-open .nav-toggle {
  background: var(--accent-dark);
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.button {
  background: var(--accent);
  color: #fff;
}

.button:hover {
  background: var(--accent-dark);
}

.button-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--soft);
}

.section.dark {
  background: var(--accent);
  color: #fff;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-title p {
  color: var(--muted);
}

.section.dark .section-title p {
  color: rgba(255, 255, 255, 0.82);
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  margin-top: 2rem;
  background: var(--panel);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--outline);
  box-shadow: 0 12px 30px rgba(19, 27, 44, 0.08);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--panel);
  border-radius: 1.25rem;
  padding: 1.8rem;
  border: 1px solid var(--outline);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.icon {
  width: 44px;
  height: 44px;
  background: var(--soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.stat-grid,
.testimonial-grid,
.faq-grid,
.info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat {
  background: var(--panel);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--outline);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.quote {
  background: var(--panel);
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--outline);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote strong {
  font-weight: 600;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight {
  background: #e8eef8;
  border-radius: 1.5rem;
  padding: 2rem;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
}

.list li {
  display: flex;
  gap: 0.6rem;
}

.list span {
  color: var(--accent);
  font-weight: 700;
}

.faq-item {
  border: 1px solid var(--outline);
  border-radius: 1rem;
  background: var(--panel);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  border: none;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 1.25rem;
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--outline);
}

.comparison-row strong {
  color: var(--accent);
}

.cta-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

footer {
  background: #0d1b2a;
  color: #fff;
  padding: 3rem 0 2rem;
}

footer a {
  color: #fff;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-note {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--outline);
  box-shadow: 0 18px 40px rgba(19, 27, 44, 0.18);
  width: min(900px, 92%);
  display: none;
  z-index: 30;
}

#cookie-banner.active {
  display: block;
}

#cookie-banner .actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(13, 19, 33, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 40;
}

#cookie-modal.active {
  display: flex;
}

.modal-content {
  background: var(--panel);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox input {
  margin-top: 0.2rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.small {
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    padding: 0;
    box-shadow: none;
    border: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    gap: 1.5rem;
    min-width: auto;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content > div {
    flex: 1;
  }

  .hero-card {
    flex: 0 0 42%;
    margin-top: 0;
  }

  .card-grid,
  .stat-grid,
  .testimonial-grid,
  .faq-grid,
  .info-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .quote,
  .faq-item,
  .comparison-row {
    flex: 1 1 calc(33% - 1rem);
  }

  .split {
    flex-direction: row;
    align-items: stretch;
  }

  .split > div {
    flex: 1;
  }

  .comparison-row {
    flex: 1 1 calc(50% - 1rem);
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  #cookie-banner .actions,
  .modal-actions {
    flex-direction: row;
    align-items: center;
  }
}
