* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f7f4f0;
  --surface: #ffffff;
  --ink: #1c1a18;
  --muted: #5a544e;
  --accent: #5b4c7c;
  --accent-2: #caa56a;
  --panel: #efe7df;
  --border: #e0d8cf;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-toggle {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.nav-menu {
  position: fixed;
  top: 68px;
  right: 4%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.nav-menu.active {
  display: flex;
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
  font-weight: 600;
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus {
  border-bottom: 2px solid var(--accent);
}

.hero {
  padding: 56px 0 44px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-panel {
  background: var(--surface);
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.tag {
  background: var(--panel);
  padding: 6px 12px;
  border-radius: 999px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.section {
  padding: 46px 0;
}

.section.alt {
  background: var(--surface);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.section-header p {
  color: var(--muted);
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  width: 42px;
  height: 42px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--panel);
  padding: 16px;
  border-radius: 14px;
}

.feature-item img {
  width: 32px;
  height: 32px;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat {
  background: var(--surface);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat strong {
  font-size: 1.6rem;
}

.quote {
  background: var(--accent);
  color: #fff;
  padding: 28px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-panel {
  background: var(--panel);
  padding: 22px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.timeline-item span {
  background: var(--accent-2);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 600;
  min-width: 70px;
  text-align: center;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px;
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-answer {
  display: none;
  padding: 0 16px 16px;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  display: block;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-panel {
  background: var(--accent);
  color: #fff;
  padding: 28px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

footer {
  background: var(--ink);
  color: #fff;
  padding: 32px 0;
}

footer a {
  color: #fff;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px;
  border-radius: 14px;
  display: none;
  flex-direction: column;
  gap: 12px;
  width: min(560px, 92%);
  z-index: 60;
}

.cookie-banner.active {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 70;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  width: min(640px, 92%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--panel);
}

.toggle-button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.toggle-button.off {
  background: #9a8f86;
}

.section-divider {
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .hero-inner {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-panel {
    flex: 1.2;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1 1 240px;
  }

  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 220px;
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial {
    flex: 1 1 260px;
  }

  .split {
    flex-direction: row;
  }

  .split-panel {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}
