:root {
  color-scheme: light;
  --bg: #f7f5f2;
  --surface: #ffffff;
  --ink: #1e1c1a;
  --muted: #5e5953;
  --brand: #7b5aa6;
  --brand-dark: #5a3f83;
  --accent: #e6c7a1;
  --line: #e2ddd6;
  --success: #3a7d62;
  --shadow: 0 12px 30px rgba(30, 28, 26, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

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%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.9rem;
  color: var(--muted);
}

.menu-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
}

.site-nav {
  position: absolute;
  top: 64px;
  right: 4%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus {
  background: var(--bg);
  color: var(--ink);
}

.nav-open .site-nav {
  display: flex;
}

main {
  padding: 32px 0 64px;
}

.section {
  padding: 36px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 16px;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 720px;
}

.hero {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0;
}

.hero p {
  color: var(--muted);
  margin: 0;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-secondary {
  background: var(--accent);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--muted);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-item svg {
  flex: 0 0 32px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stat-card {
  flex: 1 1 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.quote {
  background: var(--brand);
  color: #fff;
  padding: 28px;
  border-radius: var(--radius);
}

.quote p {
  margin: 0 0 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.accordion-trigger {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
}

.accordion-content {
  margin-top: 12px;
  color: var(--muted);
  display: none;
}

.accordion-item[aria-expanded="true"] .accordion-content {
  display: block;
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.comparison-label {
  font-weight: 600;
}

.comparison-cells {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
}

.cta {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  width: min(560px, 92%);
  display: none;
  z-index: 40;
}

.cookie-banner p {
  margin: 0 0 12px;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 28, 26, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 24px;
}

.cookie-modal-content {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: 24px;
  position: relative;
  border: 1px solid var(--line);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.cookie-option:last-of-type {
  border-bottom: none;
}

.chip {
  font-size: 0.8rem;
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.toggle-btn {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.toggle-btn.active {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}

.table-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.table-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 860px) {
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav a {
    color: var(--muted);
  }

  .split {
    flex-direction: row;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}
