* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1a1c1f;
  --muted: #5d6672;
  --accent: #4c7df0;
  --accent-soft: #e6edff;
  --highlight: #f6f1ff;
  --surface: #ffffff;
  --border: #e2e6ee;
  --shadow: 0 18px 50px rgba(26, 28, 31, 0.08);
}

body {
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #f9fafc;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 99;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  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;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  position: absolute;
  top: 72px;
  right: 4%;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: 0.2s ease;
}

.nav-links.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a {
  font-weight: 600;
  color: var(--muted);
}

.menu-toggle {
  background: var(--accent-soft);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 10px 20px rgba(76, 125, 240, 0.25);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--muted);
}

main {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 40px 0 80px;
}

section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface);
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

section.alt {
  background: var(--highlight);
  box-shadow: none;
}

.hero {
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f1f6ff, #ffffff);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: 1.6rem;
}

.muted {
  color: var(--muted);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
}

.card-icon {
  width: 40px;
  height: 40px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-item span {
  font-weight: 600;
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.4rem;
}

.testimonial {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border);
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}

.comparison-row span {
  font-weight: 600;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.faq-answer {
  padding: 0 18px 16px;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question {
  background: var(--accent-soft);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
}

.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 32px 0 40px;
}

.footer a {
  color: inherit;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer small {
  color: #94a3b8;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: min(560px, 92%);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}

.modal.visible {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  width: min(520px, 92%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.toggle-button {
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-links {
    position: static;
    flex-direction: row;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .card-grid,
  .stat-row,
  .comparison,
  .footer-grid {
    flex-direction: row;
  }

  .card,
  .stat,
  .testimonial,
  .comparison-row {
    flex: 1;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }
}
