* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-alt: #f0f2f8;
  --ink: #1b1e27;
  --muted: #5d6473;
  --brand: #2a4bb6;
  --brand-dark: #1c317c;
  --accent: #f0b429;
  --border: #d7dbe6;
  --shadow: 0 12px 30px rgba(27, 30, 39, 0.08);
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 20;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(27, 30, 39, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  position: relative;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 0.75rem;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 200px;
}

.site-nav a {
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--brand);
}

.nav-open .site-nav {
  display: flex;
}

.hero {
  padding: 4.2rem 0 3.2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-panel {
  background: var(--surface);
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand);
}

.btn-tertiary {
  background: transparent;
  color: var(--muted);
}

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: var(--surface);
}

.section.accent {
  background: var(--surface-alt);
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: 2rem;
}

.section-title p {
  color: var(--muted);
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.card h3 {
  font-size: 1.25rem;
}

.card p {
  color: var(--muted);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(42, 75, 182, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-bar {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.stat {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.testimonial {
  background: var(--surface);
  border-left: 4px solid var(--brand);
  padding: 1.4rem 1.6rem;
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
}

.testimonial p {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.quote {
  font-style: italic;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar {
  background: var(--surface);
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.comparison-item {
  background: var(--surface);
  padding: 1.4rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.cta {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: 1.4rem;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1rem 1.2rem;
}

.faq-item button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--ink);
}

.faq-content {
  margin-top: 0.8rem;
  color: var(--muted);
  display: none;
}

.faq-item[aria-expanded="true"] .faq-content {
  display: block;
}

.info-block {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer {
  background: var(--surface);
  padding: 2.4rem 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.footer-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 1rem;
  padding: 1.2rem 1.6rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  width: min(520px, 92vw);
  z-index: 30;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(27, 30, 39, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  z-index: 40;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  width: min(520px, 94vw);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-toggle {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.75rem 1rem;
  background: var(--surface-alt);
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  cursor: pointer;
}

.cookie-toggle[aria-pressed="true"] {
  background: rgba(42, 75, 182, 0.12);
  border-color: rgba(42, 75, 182, 0.4);
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 1.2rem;
  }

  .grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid .card {
    flex: 1 1 calc(50% - 1.5rem);
  }

  .stats-bar {
    flex-direction: row;
  }

  .stat {
    flex: 1 1 0;
  }

  .pillars {
    flex-direction: row;
  }

  .pillar {
    flex: 1 1 0;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-item {
    flex: 1 1 0;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}
