*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f7f6f3;
  --bg-alt: #ffffff;
  --ink: #1e1b1f;
  --muted: #5b5560;
  --brand: #5b3c7c;
  --brand-dark: #3f2a57;
  --accent: #b6c7a6;
  --accent-dark: #90a585;
  --border: #e4e1e7;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(30, 27, 31, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, 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(1140px, 92%);
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section.tint {
  background: #ede9f4;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(91, 60, 124, 0.12);
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 243, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo span {
  font-size: 1.05rem;
}

.nav-links {
  display: none;
  gap: 22px;
  align-items: center;
  font-weight: 600;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0 24px;
}

.mobile-nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.mobile-nav.open {
  display: flex;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-card {
  background: var(--bg-alt);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin: 0;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 260px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-item svg {
  flex-shrink: 0;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stat {
  flex: 1 1 180px;
  background: var(--bg-alt);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat strong {
  font-size: 1.5rem;
  display: block;
}

.quote {
  background: var(--brand);
  color: #fff;
  padding: 36px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote p {
  margin: 0;
  font-size: 1.1rem;
}

.quote span {
  font-weight: 600;
}

.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--muted);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline-item {
  padding: 18px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-dark);
}

.comparison {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.comparison .panel {
  flex: 1 1 260px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.comparison .panel.highlight {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.accordion button {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.accordion .panel {
  padding: 0 18px 18px;
  color: var(--muted);
  display: none;
}

.accordion .panel.open {
  display: block;
}

footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: #f0edf4;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 80;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 22, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  padding: 18px;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal .modal-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #faf9fb;
}

.toggle button {
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
}

.toggle button.active {
  background: var(--accent);
  border-color: var(--accent-dark);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.highlight-panel {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #1d2a18;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.table-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-card {
    flex: 1;
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
