:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #edf3fb;
  --text: #182435;
  --muted: #5a6a80;
  --primary: #204fcf;
  --primary-deep: #163a99;
  --accent: #11a897;
  --accent-soft: #dff8f4;
  --border: #d7e2f0;
  --shadow: 0 18px 40px rgba(23, 42, 90, 0.1);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: linear-gradient(180deg, #f6f9fd 0%, #edf3fb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 22px;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 251, 0.92);
  border-bottom: 1px solid rgba(215, 226, 240, 0.75);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  font-family: 'Source Serif 4', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-menu a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.nav-menu a:hover,
.nav-menu .active-link {
  color: var(--primary);
}

.hero-section,
.inner-hero {
  padding: 72px 0 56px;
}

.hero-grid,
.inner-hero-grid,
.split-layout,
.contact-grid-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-copy h1,
.inner-hero h1,
.legal-card h1 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.1;
  margin: 14px 0 18px;
}

.hero-copy p,
.inner-hero p,
.section-heading p,
.split-copy p,
.mini-card p,
.topic-card p,
.insight-card p,
.benefit-card p,
.timeline-card p,
.newsletter-box p,
.footer-grid p,
.legal-card p,
.legal-card li,
.contact-details-card p {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #0b7266;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #496ef1);
  color: #fff;
  box-shadow: 0 16px 30px rgba(32, 79, 207, 0.22);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
}

.btn-small {
  min-height: 44px;
  padding: 10px 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-stats li,
.mini-card,
.topic-card,
.insight-card,
.benefit-card,
.timeline-card,
.contact-details-card,
.legal-card,
.newsletter-box,
.card-panel,
.elevated-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stats li {
  padding: 18px;
}

.hero-stats strong {
  display: block;
  font-size: 1.6rem;
  color: var(--primary-deep);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.96rem;
}

.card-panel {
  padding: 16px;
}

.section-strip {
  padding-bottom: 24px;
}

.feature-strip,
.grid-three,
.grid-four,
.benefit-grid,
.timeline-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.feature-strip,
.benefit-grid,
.footer-grid,
.grid-three,
.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-card,
.topic-card,
.insight-card,
.benefit-card,
.timeline-card,
.contact-details-card {
  padding: 26px;
}

.mini-card i,
.benefit-card i {
  font-size: 1.6rem;
  color: var(--primary);
}

.topic-card img {
  margin-bottom: 18px;
}

.content-section,
.legal-section {
  padding: 56px 0;
}

.alt-bg {
  background: rgba(237, 243, 251, 0.74);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.split-copy h2,
.newsletter-box h2,
.contact-details-card h2,
.legal-card h2,
.footer-grid h3,
.modal-box h2 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin: 14px 0 12px;
}

.topic-card h3,
.insight-card h3,
.benefit-card h3,
.timeline-card h3,
.mini-card h2 {
  font-size: 1.22rem;
  margin: 16px 0 10px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}

.reverse .split-copy {
  order: 1;
}

.check-list {
  padding-left: 22px;
  color: var(--muted);
}

.dark-band {
  background: linear-gradient(135deg, #15284e 0%, #0d1d3e 100%);
}

.light-text,
.light-text p,
.dark-band h2,
.dark-band .eyebrow,
.dark-band .timeline-card h3,
.dark-band .timeline-card p,
.dark-band .timeline-card span {
  color: #fff;
}

.dark-band .eyebrow {
  background: rgba(255, 255, 255, 0.12);
}

.timeline-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.timeline-card span {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 1.4rem;
  font-weight: 800;
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  padding: 34px;
}

.site-form {
  display: grid;
  gap: 12px;
}

.site-form label {
  font-size: 0.98rem;
  font-weight: 700;
}

.site-form input,
.site-form textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
}

.site-form textarea {
  min-height: 160px;
  resize: vertical;
}

.elevated-form {
  padding: 28px;
}

.site-footer {
  padding: 48px 0 18px;
  background: #0f1c34;
  color: rgba(255, 255, 255, 0.82);
}

.footer-brand,
.site-footer h3,
.site-footer a:hover {
  color: #fff;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 10px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-list i {
  color: #7fd8cc;
  margin-top: 5px;
}

.footer-bottom,
.single-line-footer {
  padding-top: 18px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(15, 28, 52, 0.96);
  color: #fff;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.25);
}

.cookie-banner p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 23, 44, 0.55);
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  position: relative;
  width: min(520px, 100%);
  padding: 34px 28px;
  border-radius: 28px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #edf3fb;
  font-size: 1.6rem;
  cursor: pointer;
}

.legal-card {
  max-width: 920px;
  padding: 36px;
}

.legal-card h2 {
  font-size: 1.55rem;
}

@media (max-width: 1080px) {
  .grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-box,
  .hero-grid,
  .split-layout,
  .contact-grid-page,
  .inner-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .feature-strip,
  .grid-three,
  .benefit-grid,
  .timeline-grid,
  .footer-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .grid-four {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .inner-hero,
  .content-section,
  .legal-section {
    padding: 42px 0;
  }

  .newsletter-box,
  .legal-card,
  .mini-card,
  .topic-card,
  .insight-card,
  .benefit-card,
  .timeline-card,
  .contact-details-card,
  .elevated-form {
    padding: 22px;
  }
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}