/* ─── Design tokens (Figma) ─── */
:root {
  --red: #fd291b;
  --red-dark: #2f0f03;
  --cyan: #9af8ff;
  --teal: #21868d;
  --cta-gold: #ffe0a3;
  --cream: #fffdf2;
  --cream-mid: #fff7cc;
  --peach: rgba(253, 205, 165, 0.5);
  --nav-active-bg: #ffe6e3;
  --white: #ffffff;
  --text-dark: #171717;
  --text-muted: #5a5a5a;
  --footer-bg: #fafafa;
  --footer-border: #e3e3e3;
  --footer-tagline: #5d0000;
  --container: 1280px;
  --header-h: 69px;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Oxygen', 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

/* Lightweight dot texture (replaces 1.5MB Figma SVG exports) */
.mcg-dot-pattern {
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.42) 1.4px, transparent 1.5px);
  background-size: 17px 17px;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  padding: 6px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1408px;
  margin: 0 auto;
}

.site-header__logo img {
  height: 57px;
  width: auto;
}

.site-header__nav-wrap {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  padding-left: 80px;
  min-width: 0;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.site-header__nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--red-dark);
  line-height: 20px;
  white-space: nowrap;
}

.site-header__nav a.is-active {
  background: var(--nav-active-bg);
  padding: 8px 15px;
  border-radius: 50px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover { opacity: 0.92; transform: translateY(-1px); }

.btn--outline {
  height: 42px;
  padding: 8px 24px;
  background: var(--white);
  border: 2px solid var(--red);
  color: var(--red);
}

.btn--primary {
  height: 42px;
  padding: 11px 22px;
  color: var(--white);
  background: linear-gradient(258deg, #fd291b 7.47%, #f77f00 91.01%);
  border-radius: 44px;
}

.btn--primary img {
  width: 14px;
  height: 24px;
}

.site-header__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.site-header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.site-header__menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__menu-btn.is-open span:nth-child(2) { opacity: 0; }
.site-header__menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer.is-open {
  display: block;
  pointer-events: auto;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  top: var(--header-h);
  background: rgba(23, 23, 23, 0.45);
}

.mobile-drawer__panel {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  padding: 8px 16px 24px;
  border-bottom: 2px solid rgba(253, 41, 27, 0.4);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.mobile-drawer ul {
  list-style: none;
}

.mobile-drawer li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-drawer a {
  display: block;
  padding: 14px 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--red-dark);
}

body.is-menu-open {
  overflow: hidden;
}

.site-header.is-menu-open {
  z-index: 1001;
}

@media (max-width: 1100px) {
  .site-header__nav-wrap { padding-left: 24px; }
  .site-header__nav { gap: 16px; }
  .site-header__nav a { font-size: 13px; }
}

@media (max-width: 900px) {
  .site-header {
    padding: 6px 16px;
    --header-h: 67px;
  }

  .site-header__inner {
    justify-content: flex-start;
    gap: 8px;
  }

  .site-header__nav { display: none; }

  .site-header__nav-wrap {
    padding-left: 0;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 8px;
    margin-left: auto;
  }

  .site-header__actions {
    display: flex;
    gap: 8px;
  }

  .site-header__menu-btn {
    display: flex;
    flex-shrink: 0;
  }

  .site-header__logo img { height: 47px; }

  .btn--outline {
    height: 29px;
    padding: 4px 12px;
    font-size: 10px;
    border-width: 1px;
  }

  .btn--primary {
    height: 29px;
    padding: 4px 10px;
    font-size: 10px;
    gap: 4px;
  }

  .btn--primary img {
    width: 8px;
    height: 14px;
  }
}

/* ─── Image sections (Figma composites) ─── */
.section--figma {
  position: relative;
  width: 100%;
  background: linear-gradient(59.6deg, var(--cream) 24.59%, var(--cream-mid) 84.6%);
}

.section--figma img {
  width: 100%;
  height: auto;
}

/* ─── CTA (Figma 2087:10358) ─── */
.section-cta {
  position: relative;
  background-color: var(--teal);
  border-top: 1px solid var(--footer-border);
  padding: 82px 16px;
  text-align: center;
  overflow: hidden;
}

.section-cta__dots {
  position: absolute;
  width: 833px;
  height: 837px;
  max-width: none;
  pointer-events: none;
  z-index: 0;
  color: rgba(255, 255, 255, 0.35);
}

/* Same corner dot vectors as 5-Year Follow-up (Figma 2087:10057 / 2096:2519) */
.section-cta__dots--tr {
  top: -424px;
  left: 61.94%;
}

.section-cta__dots--bl {
  top: 0;
  left: -274px;
}

.section-cta .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.section-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.33;
  letter-spacing: -2.04px;
  color: var(--white);
  max-width: 768px;
  margin: 0;
}

.section-cta__pill {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 80px;
  padding: 8px 40px;
  width: 100%;
  max-width: 720px;
}

.section-cta__desc {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--cta-gold);
  margin: 0;
}

/* ─── Footer (Figma 4759:4069) ─── */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 80px 24px;
}

.site-footer__grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.site-footer__brand {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18.8px;
}

.site-footer__logo img {
  width: 78px;
  height: 57px;
}

.site-footer__tagline {
  font-size: 14px;
  font-weight: 700;
  line-height: 22.75px;
  color: var(--footer-tagline);
  max-width: 369px;
}

.site-footer__social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100px;
}

.site-footer__social img {
  width: 24px;
  height: 24px;
}

.site-footer__col {
  flex: 0 0 265px;
}

.site-footer__col--legal {
  flex: 0 0 132px;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--red-dark);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 24px;
  padding-top: 25px;
  border-top: 1px solid var(--footer-border);
  font-size: 12px;
  line-height: 22.75px;
  color: var(--red-dark);
}

.site-footer__copyright {
  flex-shrink: 0;
  white-space: nowrap;
}

.site-footer__disclaimer {
  max-width: 576px;
  text-align: right;
  opacity: 0.56;
}

@media (max-width: 768px) {
  .section-cta { padding: 64px 16px; }

  .section-cta__pill {
    max-width: 100%;
    padding: 8px 20px;
    border-radius: 40px;
  }

  .section-cta__desc {
    font-size: 16px;
    line-height: 24px;
  }

  .section-cta__dots {
    width: min(480px, 120vw);
    height: auto;
    aspect-ratio: 833 / 837;
  }

  .section-cta__dots--tr {
    top: -200px;
    left: 50%;
  }

  .section-cta__dots--bl {
    top: auto;
    bottom: -40px;
    left: -140px;
  }

  .site-footer__inner { padding: 40px 16px 24px; }
  .site-footer__grid {
    flex-direction: column;
    gap: 32px;
  }
  .site-footer__col,
  .site-footer__col--legal { flex: none; width: 100%; }
  .site-footer__bottom { flex-direction: column; gap: 16px; }
  .site-footer__copyright { white-space: normal; }
  .site-footer__disclaimer { max-width: none; text-align: left; }
}

/* Visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
