:root {
  --ink: #0f1f2d;
  --muted: #4b5c6a;
  --brand: #1b3a57;
  --accent: #e6b566;
  --cream: #f6f1e8;
  --mist: #eef3f6;
  --line: #d7e1ea;
  --white: #ffffff;
  --shadow: 0 10px 24px rgba(15, 31, 45, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 999;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section.compact {
  padding: 40px 0;
}

.section.tinted {
  background: var(--mist);
}

.section.cream {
  background: var(--cream);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn.secondary {
  border-color: var(--brand);
  color: var(--brand);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.topbar {
  background: var(--brand);
  color: var(--white);
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar span {
  color: rgba(255, 255, 255, 0.8);
}

header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--muted);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--ink);
}

.menu-toggle {
  background: none;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0 24px;
}

.mobile-menu a {
  color: var(--muted);
  font-weight: 500;
}

.mobile-menu.open {
  display: flex;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero .hero-card {
  background: var(--cream);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.grid.two {
  flex-direction: column;
}

.grid.three {
  flex-direction: column;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card.tinted {
  background: var(--mist);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  background: var(--white);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
}

.stat strong {
  font-size: 1.6rem;
  display: block;
}

.quote {
  background: var(--brand);
  color: var(--white);
  padding: 28px;
  border-radius: 18px;
}

.quote p {
  color: rgba(255, 255, 255, 0.85);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison .column {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  width: 100%;
  background: none;
  border: none;
  font-weight: 600;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 16px 16px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.8rem;
}

.service-card .price {
  font-weight: 700;
  color: var(--brand);
  font-size: 1.1rem;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillars .pillar {
  background: var(--cream);
  border-radius: 16px;
  padding: 18px;
}

.cta-panel {
  background: var(--brand);
  color: var(--white);
  padding: 32px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 0;
}

footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px 0;
  display: none;
  z-index: 40;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 45, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  width: min(620px, 92%);
  box-shadow: var(--shadow);
}

.modal-content h3 {
  margin-bottom: 8px;
}

.switches {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0;
}

.switch {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.switch input {
  accent-color: var(--brand);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: center;
  }

  .grid.two {
    flex-direction: row;
  }

  .grid.three {
    flex-direction: row;
  }

  .grid.two .card,
  .grid.three .card {
    flex: 1;
  }

  .stats {
    flex-direction: row;
  }

  .comparison {
    flex-direction: row;
  }

  .pillars {
    flex-direction: row;
  }

  .pillars .pillar {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
