:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: linear-gradient(145deg, #1d2b5d 0%, #324b95 100%);
  --stroke: rgba(17, 24, 39, 0.08);
  --text: #0f172a;
  --muted: #52607a;
  --muted-soft: #73819c;
  --primary: #3152b0;
  --primary-strong: #203a88;
  --shadow: 0 20px 60px rgba(30, 41, 59, 0.10);
  --shadow-soft: 0 12px 36px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1360px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(82, 96, 122, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(49, 82, 176, 0.12), transparent 28%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

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

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(49, 82, 176, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner,
.site-footer__inner,
.page-grid {
  width: min(calc(100% - 32px), var(--max-width));
  max-width: 100%;
  margin: 0 auto;
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand__logo {
  width: 22px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand span {
  display: inline-block;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.header-links a:hover,
.mobile-menu a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
}

.mobile-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  padding: 12px 10px;
  border-radius: 12px;
}

.mobile-menu.is-open {
  display: block;
}

.page-main {
  padding: 28px 0 72px;
  overflow-x: hidden;
  max-width: 100vw;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.page-grid > *,
.hero-card > *,
.two-column-copy > *,
.split-card__grid > *,
.accent-card__grid > *,
.gallery-grid > *,
.results-grid > *,
.takeaway-grid > *,
.media-frame {
  min-width: 0;
}

.side-rail {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.back-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.back-button {
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, #24449d 0%, #3152b0 100%);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 30px rgba(49, 82, 176, 0.22);
}

.back-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.back-button__icon {
  font-size: 1rem;
}

.section-nav {
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.section-nav__eyebrow,
.eyebrow,
.section-label,
.final-cta__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.section-nav__eyebrow {
  color: var(--muted-soft);
  margin-bottom: 14px;
}

.section-link {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.section-link:hover,
.section-link.is-active {
  background: rgba(49, 82, 176, 0.09);
  color: var(--primary-strong);
}

.content-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card,
.content-card,
.accent-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card,
.content-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
}

.hero-card__media {
  min-height: 100%;
}

.hero-card__media img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card__body {
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eyebrow {
  color: var(--primary-strong);
}

.eyebrow--soft {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  letter-spacing: 0.08em;
  background: rgba(49, 82, 176, 0.08);
}

.hero-card h1,
.content-card h2,
.accent-card h2,
.final-cta h2 {
  line-height: 1.08;
}

.hero-card h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  max-width: 12ch;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #25324d;
  font-weight: 600;
}

.hero-intro,
.content-card p,
.accent-card p,
.feature-list li,
.takeaway-grid p,
.result-tile p,
.site-footer__text,
.site-footer__meta p,
.site-footer__meta a {
  color: var(--muted);
}

.hero-quote,
.quote-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.quote-line {
  width: 4px;
  min-width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), rgba(49, 82, 176, 0.18));
}

.hero-quote .quote-line {
  min-height: 76px;
}

.hero-quote p,
.quote-banner p {
  font-size: 1.1rem;
  color: #273550;
  font-weight: 700;
}

.hero-stats,
.results-grid,
.takeaway-grid,
.gallery-grid {
  display: grid;
  gap: 16px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats div,
.result-tile,
.takeaway-grid article,
.callout-card,
.mini-panel {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-stats strong,
.result-tile strong,
.callout-card__title,
.mini-panel h3,
.takeaway-grid h3 {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.93rem;
}

.mobile-section-nav {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  overflow-x: visible;
  padding-bottom: 0;
}

.mobile-chip {
  flex: 1 1 auto;
  min-width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--muted);
  font-weight: 600;
}

.mobile-chip.is-active {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: #fff;
}

.content-card,
.accent-card {
  padding: 30px;
}

.section-heading-wrap {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.section-kicker {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(49, 82, 176, 0.10);
  color: var(--primary-strong);
  font-weight: 800;
}

.section-label {
  color: var(--primary-strong);
  margin-bottom: 6px;
}

.section-heading-wrap h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
}

.two-column-copy,
.split-card__grid,
.accent-card__grid {
  display: grid;
  gap: 22px;
}

.two-column-copy {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.content-card p + p,
.accent-card p + p {
  margin-top: 14px;
}

.callout-card {
  background: linear-gradient(180deg, rgba(49, 82, 176, 0.08), rgba(49, 82, 176, 0.02));
}

.callout-card ul,
.feature-list {
  margin-left: 18px;
}

.callout-card li,
.feature-list li {
  margin-top: 8px;
}

.quote-banner {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(49, 82, 176, 0.06);
}

.quote-banner .quote-line {
  min-height: 52px;
}

.split-card__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.media-frame {
  overflow: hidden;
  border-radius: 22px;
  background: #dfe7f7;
  min-height: 100%;
}

.media-frame--tall {
  min-height: 420px;
}

.stacked-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mini-panel {
  background: rgba(49, 82, 176, 0.06);
}

.accent-card {
  background: var(--surface-dark);
  color: #fff;
}

.section-heading-wrap--light .section-kicker,
.section-kicker--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section-label--light,
.accent-card p,
.feature-list--light li {
  color: rgba(255, 255, 255, 0.82);
}

.accent-card__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
}

.media-frame--dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-grid,
.results-grid,
.takeaway-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.results-grid,
.takeaway-grid {
  margin-top: 22px;
}

.final-cta {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(49, 82, 176, 0.10), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(49, 82, 176, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-cta__eyebrow {
  color: var(--primary-strong);
  margin-bottom: 10px;
}

.primary-button {
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--primary-strong), var(--primary));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(49, 82, 176, 0.25);
  white-space: nowrap;
}

.site-footer {
  padding: 0 0 48px;
}

.site-footer__inner {
  padding: 28px 32px;
  border-radius: 28px;
  background: rgba(10, 17, 34, 0.92);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

.site-footer__meta {
  text-align: right;
}

.site-footer__meta a {
  display: inline-block;
  color: #fff;
  margin-bottom: 6px;
}

.section,
.hero-card,
.content-card,
.accent-card {
  scroll-margin-top: 110px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .page-grid {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    display: flex;
    margin-bottom: 4px;
  }

  .side-rail .section-nav {
    display: none;
  }

  .side-rail .back-button {
    align-self: flex-start;
  }

  .mobile-section-nav {
    display: flex;
  }
}

@media (max-width: 980px) {
  .hero-card,
  .split-card__grid,
  .two-column-copy,
  .accent-card__grid,
  .gallery-grid,
  .results-grid,
  .takeaway-grid,
  .final-cta {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-card__media {
    min-height: 360px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__meta {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header__inner,
  .site-footer__inner,
  .page-grid {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .page-main {
    padding-top: 18px;
  }

  .header-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .content-card,
  .accent-card,
  .hero-card__body {
    padding: 22px;
  }

  .hero-card__media {
    min-height: 280px;
  }

  .section-heading-wrap {
    gap: 12px;
  }

  .section-kicker {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .final-cta {
    align-items: stretch;
  }

  .primary-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    min-height: 70px;
  }

  .brand,
  .site-footer__brand {
    letter-spacing: 0.14em;
    font-size: 0.92rem;
  }

  .hero-card h1 {
    max-width: none;
  }

  .hero-quote p,
  .quote-banner p {
    font-size: 1rem;
  }
}
