/* Base */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #1d242b;
  --muted: #5a6775;
  --accent: #1f6f8b;
  --accent-dark: #155468;
  --highlight: #f3efe6;
  --border: #d9e0e6;
  --success: #2a7a5e;
}

* {
  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;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

img,
svg {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--highlight);
}

.section.surface {
  background: var(--surface);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  border: 1px solid var(--accent);
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e7f0f4;
  color: var(--accent-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Header / Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 1.1rem;
}

.brand span {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  font-weight: 600;
}

.nav-toggle {
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--surface);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
  transition: right 0.2s ease;
  z-index: 30;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 20px;
}

.mobile-panel a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.mobile-panel .btn {
  justify-content: center;
}

body.nav-open .mobile-panel {
  right: 0;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 24, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 25;
}

body.nav-open .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cards and lists */
.card-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  margin-bottom: 4px;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e7f0f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-item span {
  font-weight: 600;
}

.highlight-panel {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: 8px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Statistics */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.stat strong {
  font-size: 1.6rem;
  color: var(--accent-dark);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 18px;
  border-radius: 8px;
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  background: #fffaf2;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.faq-answer {
  padding: 0 16px 16px;
  display: none;
}

.faq-item[aria-expanded="true"] .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #101820;
  color: #d9e0e6;
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-footer a {
  color: #d9e0e6;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

/* Cookie banner and modal */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}

.cookie-banner.active {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  background: rgba(12, 18, 24, 0.5);
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-btn {
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.toggle-btn[aria-pressed="true"] {
  background: #e7f0f4;
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .hero-card {
    flex: 1;
  }

  .split {
    flex-direction: row;
    align-items: flex-start;
  }

  .split > * {
    flex: 1;
  }

  .card-row,
  .stats,
  .testimonials,
  .comparison,
  .footer-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card,
  .stat,
  .testimonial {
    flex: 1 1 240px;
  }
}
