/* Base */
:root {
  color-scheme: light;
  --bg: #f7f5f1;
  --text: #1f2a36;
  --muted: #5c6b7a;
  --brand: #0f6aa6;
  --brand-dark: #0b4c79;
  --accent: #f1b24a;
  --panel: #ffffff;
  --panel-alt: #eef3f8;
  --border: #d8e0ea;
  --shadow: 0 10px 30px rgba(15, 25, 35, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 48px 0;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--brand-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--panel-alt);
  color: var(--brand-dark);
  font-size: 0.85rem;
}

/* Header */
.site-header {
  background: #fff;
  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: 16px 0;
  gap: 16px;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-dark);
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: absolute;
  top: 70px;
  right: 4%;
  min-width: 200px;
}

.site-nav a {
  color: var(--text);
  font-weight: 500;
}

.nav-toggle {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.nav-open .site-nav {
  display: flex;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0;
    box-shadow: none;
    min-width: auto;
  }
}

/* Hero */
.hero {
  background: radial-gradient(circle at top, #e6f1fb 0%, #f7f5f1 70%);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .hero-card {
    flex: 1;
  }
}

/* Cards & layouts */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 860px) {
  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 260px;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--panel-alt);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong {
  font-size: 1.6rem;
}

@media (min-width: 860px) {
  .stats {
    flex-direction: row;
  }
  .stat {
    flex: 1;
  }
}

/* Testimonials */
.testimonial {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.testimonial span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

/* Comparison */
.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .card {
  background: #fff;
}

@media (min-width: 860px) {
  .comparison {
    flex-direction: row;
  }
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 16px 16px;
  display: none;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #0d1b2a;
  color: #d9e3ef;
  padding: 32px 0;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 860px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: none;
  z-index: 50;
}

.cookie-banner.open {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 24, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.cookie-modal.open {
  display: flex;
}

.cookie-panel {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  width: min(520px, 92%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.cookie-toggle {
  border: 1px solid var(--border);
  background: var(--panel-alt);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

@media (min-width: 600px) {
  .cookie-actions {
    flex-direction: row;
  }
}

/* Utility */
.muted {
  color: var(--muted);
}

.panel {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.list li {
  margin-bottom: 8px;
}
