:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --accent: #1f4aa8;
  --accent-soft: #e6ecfb;
  --text: #1a1d24;
  --muted: #5b6472;
  --line: #d8dde6;
  --highlight: #f1f5ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 90%);
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 12px;
}

.nav-links {
  display: none;
  gap: 24px;
  align-items: center;
  font-weight: 600;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

.menu-toggle {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu a {
  color: var(--text);
  font-weight: 600;
}

.mobile-menu.is-open {
  display: flex;
}

main {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 40px 0 80px;
}

.hero {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero p {
  color: var(--muted);
  max-width: 620px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.section-intro {
  color: var(--muted);
  max-width: 720px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-block {
  background: var(--highlight);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--surface);
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat strong {
  font-size: 1.5rem;
}

.quote {
  background: var(--accent);
  color: white;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote span {
  opacity: 0.85;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 44px;
  text-align: center;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial span {
  color: var(--muted);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.comparison {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row strong {
  color: var(--accent);
}

.highlight-panel {
  background: var(--accent-soft);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  z-index: 50;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 20, 28, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 24px;
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--highlight);
}

.cookie-toggle button {
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
  background: white;
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
}

.cookie-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: white;
}

.page-header {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 780px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content {
    flex: 1;
  }

  .hero-visual {
    flex: 0 0 280px;
  }

  .card-grid,
  .feature-row,
  .stats,
  .testimonials,
  .process-steps,
  .info-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .feature-block,
  .stat,
  .testimonial,
  .step,
  .info-block {
    flex: 1 1 240px;
  }

  .comparison-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
