* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --text: #1d1d1f;
  --muted: #5b6066;
  --primary: #1f5b78;
  --primary-dark: #134055;
  --accent: #b77a3a;
  --bg: #f7f4f0;
  --surface: #ffffff;
  --border: #d7d9dd;
  --shadow: 0 12px 30px rgba(22, 32, 45, 0.12);
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
}

.brand svg {
  width: 36px;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.nav-links a {
  font-weight: 600;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-open .nav-links {
  display: flex;
}

.nav-open .menu-toggle {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem 0 4rem;
}

.section {
  background: var(--surface);
  padding: 2rem;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.section.alt {
  background: #fffaf5;
}

.section.tight {
  padding: 1.5rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--primary-dark);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--primary-dark);
}

p {
  color: var(--muted);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  gap: 0.5rem;
}

.btn.secondary {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
}

.card strong {
  color: var(--primary-dark);
}

.icon-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.stat span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary-dark);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #f0e4d6;
  color: var(--primary-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: transparent;
  border: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  background: var(--surface);
}

.comparison-row span {
  font-weight: 700;
  color: var(--primary-dark);
}

.footer {
  background: #1f2226;
  color: #f2f2f4;
  padding: 2rem 0;
}

.footer a {
  color: inherit;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer small {
  color: #c9cdd2;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--surface);
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 18, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 30;
}

.modal-content {
  background: var(--surface);
  border-radius: 22px;
  padding: 2rem;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border);
  padding: 0.8rem 1rem;
  border-radius: 14px;
}

.toggle-row button {
  border: 1px solid var(--border);
  background: #f4f4f6;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  cursor: pointer;
}

.toggle-row button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.simple-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillars .card {
  background: #fffaf5;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notice {
  background: #fff4ea;
  border: 1px solid #f0d6bf;
  border-radius: 16px;
  padding: 1rem;
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-actions {
    flex-direction: row;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .stats {
    flex-direction: row;
  }

  .stat {
    flex: 1;
  }

  .split {
    flex-direction: row;
  }

  .split > div {
    flex: 1;
  }

  .comparison {
    flex-direction: row;
  }

  .comparison-row {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-actions {
    flex-direction: row;
    justify-content: flex-start;
  }
}
