:root {
  --blue: #005bbb;
  --dark-blue: #003d58;
  --teal: #007b80;
  --purple: #4b006e;
  --purple-dark: #470a68;
  --text: #05051f;
  --footer-line: linear-gradient(90deg, #4b006e, #005bbb);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--purple-dark);
  font-weight: 700;
}

.section-inner {
  width: min(100% - 48px, 820px);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(100% - 48px, 720px);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 33px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: .80rem;
  font-weight: 650;
}

.accent-underline {
  display: inline;
  background-image: linear-gradient(
    90deg,
    #00a8e8 0%,
    #00a8e8 62%,
    rgba(0, 168, 232, 0.18) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 6px;
  background-position: 0 86%;
}

/* ================================
   HERO
================================ */

.bpo-hero {
  position: relative;
  min-height: 386px;
  background: linear-gradient(90deg, #4b006e 0%, #1f3d9d 100%);
  color: #fff;
  overflow: visible;
}

.bpo-hero-inner {
  position: relative;
  width: min(100% - 220px, 1280px);
  min-height: 386px;
  margin: 0 auto;
}

.bpo-hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 90px;
}

.eyebrow {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 24px;
}

.bpo-hero h1 {
  font-size: 53px;
  line-height: 1.28;
  font-weight: 400;
  margin: 0;
  max-width: 760px;
}

.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  display: block;
  object-fit: cover;
}

.hero-img-top {
  top: 86px;
  right: 64px;
  width: 370px;
  height: 190px;
}

.hero-img-main {
  top: 330px;
  right: 258px;
  width: 380px;
  height: 238px;
}

.hero-img-small {
  top: 350px;
  right: 0;
  width: 218px;
  height: 112px;
}

.shape {
  position: absolute;
  display: block;
}

.shape-cyan {
  top: 242px;
  right: 365px;
  width: 132px;
  height: 62px;
  background: #00a8e8;
}

.shape-purple {
  top: 132px;
  right: 0;
  width: 80px;
  height: 36px;
  background: var(--purple);
}

.shape-blue {
  top: 454px;
  right: -18px;
  width: 100px;
  height: 46px;
  background: var(--blue);
}

/* ================================
   MAS SECTION
================================ */

.mas-section {
  padding: 280px 24px 90px;
}

.mas-section h2 {
  color: var(--blue);
  font-size: 43px;
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 52px;
}

.mas-intro {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 64px;
  align-items: start;
  margin-bottom: 94px;
}

.mas-intro p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.gsa-logo {
  width: 235px;
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-block {
  display: grid;
  gap: 22px;
}

.brand-logo {
  width: 260px;
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-block p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.brand-block a {
  color: var(--blue);
  font-size: 15px;
  line-height: 1.45;
}

/* ================================
   CTA BAND
================================ */

.cta-band {
  padding: 42px 24px;
  background: linear-gradient(90deg, #003d58 0%, #005bbb 100%);
  color: #fff;
  text-align: center;
}

.cta-inner {
  width: min(100% - 48px, 900px);
  margin: 0 auto;
}

.cta-band h2 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 20px;
  color: #fff;
}

/* ================================
   BEST FIT
================================ */

.best-fit {
  padding: 66px 24px 70px;
}

.best-fit h2 {
  font-size: 27px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 38px;
}

.best-fit ul {
  padding-left: 22px;
  margin: 0 0 24px;
}

.best-fit li {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.best-fit li::marker {
  color: var(--purple);
}

.best-fit a {
  color: var(--blue);
  font-size: 15px;
}

/* ================================
   SAMPLE PROGRAMS
================================ */

.sample-programs {
  padding: 74px 24px 96px;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, #4b006e, #005bbb) 1;
}

.sample-programs h2 {
  color: var(--blue);
  font-size: 43px;
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 34px;
}

.program-links {
  display: grid;
  gap: 18px;
}

.program-links a {
  color: var(--blue);
  font-size: 15px;
  width: fit-content;
}

/* ================================
   IMAGE-ONLY ANIMATIONS
================================ */

.js-enabled .hero-img,
.js-enabled .shape,
.js-enabled .gsa-logo,
.js-enabled .brand-logo {
  opacity: 0;
}

.is-visible .hero-img,
.is-visible .shape {
  animation: imageSlideInRight 900ms ease-out both;
}

.is-visible .hero-img-main {
  animation-delay: 120ms;
}

.is-visible .hero-img-small {
  animation-delay: 220ms;
}

.is-visible .shape-cyan {
  animation-delay: 80ms;
}

.is-visible .shape-purple {
  animation-delay: 160ms;
}

.is-visible .shape-blue {
  animation-delay: 260ms;
}

.is-visible .gsa-logo,
.is-visible .brand-logo {
  animation: imagePopIn 700ms ease-out both;
}

@keyframes imageSlideInRight {
  from {
    opacity: 0;
    transform: translateX(70px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes imagePopIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ================================
   RESPONSIVE: TABLET
================================ */

@media (max-width: 1100px) {
  .bpo-hero-inner {
    width: min(100% - 80px, 1280px);
  }

  .bpo-hero h1 {
    font-size: 46px;
  }

  .hero-img-top {
    right: 20px;
    width: 320px;
  }

  .hero-img-main {
    right: 190px;
    width: 340px;
  }

  .hero-img-small {
    width: 190px;
  }
}

/* ================================
   RESPONSIVE: MOBILE
================================ */

@media (max-width: 900px) {
  .bpo-hero {
    min-height: auto;
    overflow: hidden;
  }

  .bpo-hero-inner {
    width: 100%;
    min-height: 650px;
    padding: 0 14px;
  }

  .bpo-hero-copy {
    padding-top: 64px;
  }

  .eyebrow {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .bpo-hero h1 {
    font-size: 32px;
    line-height: 1.28;
    max-width: 420px;
  }

  .accent-underline {
    background-size: 100% 4px;
    background-position: 0 84%;
  }

  .hero-collage {
    position: relative;
    height: 420px;
    margin-top: 64px;
  }

  .hero-img-top {
    top: 0;
    right: 38px;
    width: 270px;
    height: 138px;
    z-index: 3;
  }

  .hero-img-main {
    top: 178px;
    left: 0;
    right: auto;
    width: 292px;
    height: 176px;
    z-index: 3;
  }

  .hero-img-small {
    top: 196px;
    right: 0;
    width: 130px;
    height: 82px;
    z-index: 4;
  }

  .shape-cyan {
    top: 112px;
    left: 102px;
    right: auto;
    width: 96px;
    height: 46px;
    z-index: 2;
  }

  .shape-purple {
    top: 32px;
    right: 0;
    width: 52px;
    height: 26px;
    z-index: 1;
  }

  .shape-blue {
    top: 274px;
    right: 0;
    width: 64px;
    height: 36px;
    z-index: 2;
  }

  .mas-section {
    padding: 72px 24px 70px;
  }

  .mas-section h2,
  .sample-programs h2 {
    font-size: 34px;
  }

  .mas-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 64px;
  }

  .gsa-logo {
    width: 220px;
  }

  .brand-logo {
    width: 235px;
  }

  .cta-band h2 {
    font-size: 28px;
  }

  .best-fit {
    padding: 58px 24px 64px;
  }

  .best-fit h2 {
    font-size: 24px;
  }

  .sample-programs {
    padding: 62px 24px 82px;
  }
}

/* ================================
   RESPONSIVE: SMALL MOBILE
================================ */

@media (max-width: 560px) {
  .section-inner,
  .section-inner.narrow {
    width: min(100% - 40px, 420px);
  }

  .bpo-hero-inner {
    min-height: 650px;
  }

  .bpo-hero h1 {
    font-size: 30px;
  }

  .hero-collage {
    height: 420px;
  }

  .mas-section h2,
  .sample-programs h2 {
    font-size: 30px;
  }

  .mas-intro {
    gap: 28px;
  }

  .gsa-logo {
    width: 200px;
  }

  .brand-logo {
    width: 220px;
  }

  .cta-band h2 {
    font-size: 25px;
  }

  .brand-block p,
  .brand-block a,
  .best-fit li,
  .best-fit a {
    font-size: 14px;
  }
}