*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f6f3;
  --bg-alt: #ffffff;
  --ink: #1b1c1e;
  --muted: #5f646a;
  --brand: #1f4b5a;
  --brand-soft: #e2eef1;
  --accent: #c47f3a;
  --line: #d9dfe3;
  --success: #2f7d4a;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  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;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-soft {
  background: var(--brand-soft);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

.title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 12px 0 20px;
  line-height: 1.2;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 246, 243, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 10px;
}

.nav {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.nav a {
  font-weight: 600;
  color: var(--ink);
}

.nav.open {
  display: flex;
}

.hero {
  padding-top: 90px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-list,
.card-list,
.stats-list,
.testimonial-list,
.faq-list,
.comparison-list,
.value-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
}

.card h3 {
  margin-top: 0;
}

.icon {
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 12px;
  background: var(--brand-soft);
  margin-bottom: 12px;
}

.stat {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--line);
}

.stat strong {
  font-size: 1.6rem;
  color: var(--brand);
}

.quote {
  background: #fff;
  border-left: 5px solid var(--accent);
  padding: 18px 20px;
  border-radius: 12px;
  font-style: italic;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 18px 16px;
  color: var(--muted);
}

.pricing {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--brand);
  font-weight: 700;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.comparison-row span {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 50px;
  background: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 14px;
  z-index: 30;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(27, 28, 30, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 24px;
}

.cookie-modal.open {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  width: min(560px, 94vw);
  box-shadow: var(--shadow);
}

.modal-card h3 {
  margin-top: 0;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 820px) {
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    gap: 22px;
  }

  .nav-toggle {
    display: none;
  }

  .hero-grid,
  .split,
  .card-list,
  .stats-list,
  .testimonial-list,
  .comparison-list {
    flex-direction: row;
  }

  .hero-grid > * {
    flex: 1;
  }

  .card-list > *,
  .stats-list > *,
  .testimonial-list > *,
  .comparison-list > * {
    flex: 1;
  }

  .feature-list,
  .value-list,
  .faq-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-list > *,
  .value-list > *,
  .faq-list > * {
    flex: 1 1 280px;
  }

  .cookie-banner {
    left: auto;
    max-width: 520px;
  }

  .cookie-actions,
  .modal-actions {
    flex-direction: row;
  }
}
