﻿/**
 * Landing page layout template — ported from React .lpl-* styles.
 */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LANDING PAGE LAYOUT TEMPLATE â€” composable sections + sticky nav
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.lpl-page {
  --interior-section-nav-block-height: 3.75rem;
  max-width: none;
  width: 100%;
  overflow-x: clip;
  background: var(--color-white);
  color: var(--color-gray-darkest);
}

.lpl-page #overview.ft-hero {
  scroll-margin-top: var(--fusion-sticky-stack-top, 5.5rem);
}

.lpl-page .lpl-section[id] {
  scroll-margin-top: calc(
    var(--fusion-sticky-stack-top, 5.5rem) + var(--interior-section-nav-block-height, 3.75rem)
  );
}

.lpl-container {
  max-width: var(--fusion-site-max-width);
  margin: 0 auto;
  padding-left: var(--fusion-site-padding-x);
  padding-right: var(--fusion-site-padding-x);
}

@media (min-width: 768px) {
  .lpl-container {
    padding-left: var(--fusion-site-padding-x-md);
    padding-right: var(--fusion-site-padding-x-md);
  }
}

.lpl-section {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.lpl-section__intro {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.lpl-section__title {
  margin: 0;
  font-family: var(--global__font-family, 'Open Sans', 'Inter', system-ui, sans-serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary-darkest);
}

.lpl-section__lede {
  margin: 0.875rem 0 0;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.55;
  color: var(--color-gray-dark);
}

/* Section reveal (ported from React fusion-section-reveal) */
@keyframes fusion-section-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lpl-page .fusion-section-reveal {
  opacity: 0;
  transform: translateY(12px);
}

.lpl-page .fusion-section-reveal[data-revealed='true'] {
  animation: fusion-section-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-card-grid > *,
.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-stats > *,
.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-logos > * {
  opacity: 0;
  animation: fusion-section-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-card-grid > *:nth-child(1),
.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-stats > *:nth-child(1),
.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-logos > *:nth-child(1) {
  animation-delay: 40ms;
}

.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-card-grid > *:nth-child(2),
.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-stats > *:nth-child(2),
.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-logos > *:nth-child(2) {
  animation-delay: 90ms;
}

.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-card-grid > *:nth-child(3),
.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-stats > *:nth-child(3),
.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-logos > *:nth-child(3) {
  animation-delay: 140ms;
}

.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-card-grid > *:nth-child(4),
.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-stats > *:nth-child(4),
.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-logos > *:nth-child(4) {
  animation-delay: 190ms;
}

.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-logos > *:nth-child(5) {
  animation-delay: 240ms;
}

.lpl-page .fusion-section-reveal.fusion-section-reveal--stagger[data-revealed='true'] .lpl-logos > *:nth-child(6) {
  animation-delay: 290ms;
}

@media (prefers-reduced-motion: reduce) {
  .lpl-page .fusion-section-reveal,
  .lpl-page .fusion-section-reveal.fusion-section-reveal--stagger .lpl-card-grid > *,
  .lpl-page .fusion-section-reveal.fusion-section-reveal--stagger .lpl-stats > *,
  .lpl-page .fusion-section-reveal.fusion-section-reveal--stagger .lpl-logos > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.lpl-section--heroes {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-primary-lightest) 28%, var(--color-white)) 0%,
    var(--color-white) 100%
  );
}

/*
 * These descriptions used to be scoped under .lpl-ms-tabs--heroes/--split.
 * They now live inside their own tab panel, so that ancestor is gone and the
 * classes carry the styling on their own.
 */
.lpl-hero-concept__description,
.lpl-split-variant__description {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-gray-dark);
}

/*
 * The heroes tab set sits at section level so its bands can run full-bleed,
 * which puts the tab strip outside .lpl-container. Give the tablist the
 * container's own measurements back so the tabs line up with the heading above
 * them while the panels stay edge to edge.
 *
 * Spotlight is deliberately not in this rule: its panels are container-width,
 * so its tab set nests inside .lpl-container and would get the padding twice.
 */
.lpl-section--heroes .cmsgov-tab-set__tablist {
  max-width: var(--fusion-site-max-width);
  margin-inline: auto;
  padding-inline: var(--fusion-site-padding-x);
}

@media (min-width: 768px) {
  .lpl-section--heroes .cmsgov-tab-set__tablist {
    padding-inline: var(--fusion-site-padding-x-md);
  }
}

/* Replaces the padding the old .lpl-ms-tabs__panel--* rule provided. */
.lpl-section--heroes .cmsgov-tab-set__panel,
.lpl-section--split .cmsgov-tab-set__panel {
  padding-top: 1.25rem;
}

.lpl-hero-copy {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lpl-hero-copy__title {
  margin: 0;
  font-family: var(--global__font-family, 'Open Sans', 'Inter', system-ui, sans-serif);
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.lpl-hero-copy__title-accent {
  background-image: linear-gradient(
    180deg,
    var(--color-accent-primary-light) 0%,
    var(--color-accent-primary) 38%,
    var(--color-accent-primary) 62%,
    var(--color-accent-primary-dark) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--color-accent-primary) 34%, transparent));
}

.lpl-hero-copy__subtitle {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  color: color-mix(in srgb, #ffffff 90%, transparent);
}

.lpl-hero-copy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lpl-hero-showcase {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-gray-lighter) 85%, var(--color-primary-lightest));
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--color-primary-darkest) 6%, transparent),
    0 16px 40px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.lpl-hero-showcase__band {
  position: relative;
  min-height: clamp(22rem, 44vw, 30rem);
  background-color: var(--color-primary);
  overflow: hidden;
}

.lpl-hero-showcase__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 82% center;
  pointer-events: none;
}

.lpl-hero-showcase__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--color-primary-darkest) 78%, transparent) 0%,
    color-mix(in srgb, var(--color-primary-darker) 42%, transparent) 36%,
    color-mix(in srgb, var(--color-primary) 12%, transparent) 58%,
    transparent 86%
  );
}

.lpl-hero-showcase__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  align-items: center;
  min-height: inherit;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.lpl-hero-fullwidth {
  width: 100%;
  max-width: 100%;
}

.lpl-hero-fullwidth__band {
  position: relative;
  min-height: clamp(24rem, 52vh, 36rem);
  background-color: var(--color-primary-darkest);
  overflow: hidden;
}

.lpl-hero-fullwidth__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 78% center;
  pointer-events: none;
}

.lpl-hero-fullwidth__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--color-primary-darkest) 92%, transparent) 0%,
    color-mix(in srgb, var(--color-primary-darkest) 78%, transparent) 28%,
    color-mix(in srgb, var(--color-primary-darker) 42%, transparent) 52%,
    color-mix(in srgb, var(--color-primary) 12%, transparent) 74%,
    transparent 100%
  );
}

.lpl-hero-fullwidth__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  align-items: center;
  min-height: inherit;
  max-width: var(--fusion-site-max-width);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5rem) var(--fusion-site-padding-x);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .lpl-hero-fullwidth__inner {
    padding-left: var(--fusion-site-padding-x-md);
    padding-right: var(--fusion-site-padding-x-md);
  }
}

@media (max-width: 768px) {
  .lpl-hero-showcase__inner,
  .lpl-hero-fullwidth__inner {
    display: block;
    padding: 2.5rem 1.25rem;
  }

  .lpl-hero-showcase__bg {
    object-position: 70% center;
  }

  .lpl-hero-fullwidth__bg {
    object-position: 68% center;
  }

  .lpl-hero-copy {
    max-width: 100%;
  }

  .lpl-hero-copy__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.lpl-section--cards {
  background: linear-gradient(
    180deg,
    var(--color-white) 0%,
    color-mix(in srgb, var(--color-gray-lighter) 35%, var(--color-white)) 100%
  );
}

.lpl-card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

/*
 * The fourth card belongs only to the 4-up layout. Hidden by default here (the
 * layout-switch JS also toggles it per layout via `card.hidden`); done in CSS
 * rather than a `hidden` HTML attribute, which the block editor cannot
 * round-trip on a core/group.
 */
.lpl-card-grid:not(.lpl-card-grid--four) > .lpl-card[data-card-index="3"] {
  display: none;
}

@media (min-width: 700px) {
  .lpl-card-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .lpl-card-grid--three,
  .lpl-card-grid--text {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lpl-card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lpl-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 2px solid color-mix(in srgb, var(--color-gray-lighter) 90%, var(--color-primary-lightest));
  border-radius: 1rem;
  background: var(--color-white);
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--color-primary-darkest) 6%, transparent),
    0 12px 32px color-mix(in srgb, var(--color-primary) 8%, transparent);
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.lpl-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-primary) 18%, var(--color-gray-lighter));
  box-shadow:
    0 12px 32px color-mix(in srgb, var(--color-primary) 9%, transparent),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

.lpl-card:hover .lpl-card__icon-wrap {
  transform: scale(1.06);
  background: color-mix(in srgb, var(--color-primary) 16%, var(--color-white));
}

.lpl-card--text {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lpl-card--text:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.lpl-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-white));
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .lpl-card,
  .lpl-card__icon-wrap {
    transition: none;
  }

  .lpl-card:hover {
    transform: none;
  }

  .lpl-card:hover .lpl-card__icon-wrap {
    transform: none;
  }
}

.lpl-card__title {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-darkest);
}

.lpl-card__body {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-gray-dark);
}


/* Card ghost CTA tokens: assets/css/buttons.css */

.lpl-card--text .lpl-card__title {
  margin-top: 0;
}


.lpl-section--split {
  background: var(--color-white);
}

.lpl-split-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.lpl-split {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .lpl-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .lpl-split--reverse .lpl-split__copy {
    order: 2;
  }

  .lpl-split--reverse .lpl-split__media {
    order: 1;
  }
}

.lpl-split__title {
  margin: 0;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--color-primary-darkest);
}

.lpl-split__body {
  margin: 0.875rem 0 0;
  line-height: 1.55;
  color: var(--color-gray-dark);
}

.lpl-split__list {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  color: var(--color-gray-dark);
  line-height: 1.55;
}

.lpl-split__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.lpl-split__media-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(14rem, 28vw, 20rem);
  border-radius: 1rem;
  border: 1px dashed color-mix(in srgb, var(--color-primary-light) 55%, var(--color-gray-lighter));
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-primary-lightest) 80%, var(--color-white)) 0%,
    color-mix(in srgb, var(--color-primary-light) 18%, var(--color-white)) 100%
  );
}

.lpl-split__media-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-primary-darker) 70%, var(--color-gray));
}

.lpl-split-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-gray-lighter) 85%, var(--color-primary-lightest));
  border-radius: 1rem;
  background: var(--color-white);
  box-shadow:
    0 1px 2px color-mix(in srgb, var(--color-primary-darkest) 6%, transparent),
    0 12px 32px color-mix(in srgb, var(--color-primary) 8%, transparent);
}

@media (min-width: 900px) {
  .lpl-split-spotlight {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: clamp(22rem, 34vw, 28rem);
  }
}

.lpl-split-spotlight__visual {
  position: relative;
  min-height: clamp(16rem, 30vw, 22rem);
  background: var(--color-primary-darkest);
}

.lpl-split-spotlight__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.lpl-split-spotlight__visual-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-primary-darkest) 8%, transparent) 0%,
    color-mix(in srgb, var(--color-primary-darkest) 35%, transparent) 45%,
    color-mix(in srgb, var(--color-primary-darkest) 82%, transparent) 100%
  );
  pointer-events: none;
}

.lpl-split-spotlight__visual-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.lpl-split-spotlight__badge {
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  border-radius: 0.375rem;
  background: color-mix(in srgb, var(--color-primary-darkest) 88%, var(--color-black));
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
}

.lpl-split-spotlight__media-title {
  margin: 0;
  max-width: 16rem;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

.lpl-split-spotlight__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
}

#main-content ul.lpl-split-spotlight__features,
.lpl-split-spotlight__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#main-content ul.lpl-split-spotlight__features > li,
.lpl-split-spotlight__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  width: auto;
  margin: 0;
  padding: 0;
}

.lpl-split-spotlight__feature-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: color-mix(in srgb, var(--color-primary-lightest) 72%, var(--color-white));
  color: var(--color-primary);
}

.lpl-split-spotlight__feature-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary-darkest);
}

.lpl-split-spotlight__feature-body {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-gray-dark);
}


@media (max-width: 899px) {
  .lpl-split-spotlight__media-title {
    max-width: none;
  }
}

.lpl-section--metrics {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-primary-lightest) 45%, var(--color-white)) 0%,
    var(--color-white) 100%
  );
}

.lpl-stats {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

@media (min-width: 900px) {
  .lpl-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lpl-stats__item {
  margin: 0;
  padding: 1.25rem 1rem;
  border-radius: 0.875rem;
  background: var(--color-white);
  border: 1px solid color-mix(in srgb, var(--color-gray-lighter) 85%, var(--color-primary-lightest));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--color-primary) 6%, transparent);
}

.lpl-stats__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-dark);
}

.lpl-stats__value {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary-darkest);
}

.lpl-stats__detail {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-gray-dark);
}

.lpl-section--tabs {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-primary-lightest) 28%, var(--color-white)) 0%,
    var(--color-white) 100%
  );
}

/*
 * Segmented control for the card layout switch. The heroes and spotlight
 * sections that also used this vocabulary are on cmsgov/tab-set now, so only
 * the --cards variant remains.
 */
.lpl-ms-tabs {
  max-width: 56rem;
}

.lpl-section--cards .lpl-ms-tabs,
.lpl-ms-tabs--cards {
  max-width: none;
  width: 100%;
}

.lpl-section--cards .lpl-card-grid {
  width: 100%;
}

.lpl-ms-tabs__bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-gray-light) 55%, transparent);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lpl-ms-tabs__bar::-webkit-scrollbar {
  display: none;
}

.lpl-ms-tabs__tab {
  position: relative;
  appearance: none;
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 0.875rem 1.125rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-gray-dark);
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.lpl-ms-tabs__tab:hover {
  color: var(--color-primary-darkest);
}

/*
 * Selected state. The layout switch expresses it as aria-pressed, so the
 * attribute is the styling hook and the script has no class to keep in sync.
 */
.lpl-ms-tabs__tab[aria-pressed='true'] {
  color: var(--color-primary-darkest);
  border-bottom-color: var(--color-primary);
}

.lpl-ms-tabs__tab:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  border-radius: 0.25rem;
}

.lpl-ms-tabs__panel {
  padding: 1.75rem 0 0;
}

.lpl-ms-tabs__title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary-darkest);
}

.lpl-ms-tabs__body {
  margin: 0.875rem 0 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--color-gray-dark);
}

.lpl-ms-tabs__list {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  max-width: 42rem;
  color: var(--color-gray-dark);
  line-height: 1.6;
}

.lpl-ms-tabs__list li + li {
  margin-top: 0.375rem;
}

.lpl-section--faq {
  background: linear-gradient(
    180deg,
    var(--color-white) 0%,
    color-mix(in srgb, var(--color-gray-lighter) 30%, var(--color-white)) 100%
  );
}

.lpl-faq {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .lpl-faq {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.lpl-faq__body {
  margin: 0;
  line-height: 1.55;
  color: var(--color-gray-dark);
}

.lpl-faq__list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  line-height: 1.55;
  color: var(--color-gray-dark);
}

.lpl-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/*
 * The accordion is the Design System's .ds-c-accordion component now, so the
 * 49 lines that reimplemented its border, button, panel and focus ring are
 * gone. Only the disclosure chevron is ours: the DS React component swaps the
 * icon on expand, which a CSS-only integration cannot do, so it rotates here
 * off the same [aria-expanded] the script already maintains.
 */
.ccg-accordion__chevron {
  transition: transform 0.18s ease;
}

.ds-c-accordion__button[aria-expanded='true'] .ccg-accordion__chevron {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .ccg-accordion__chevron {
    transition: none;
  }
}

.lpl-section--timeline {
  background: var(--color-white);
}

.lpl-timeline {
  margin-top: 0.5rem;
}

.lpl-section--partners {
  background: color-mix(in srgb, var(--color-gray-lightest) 65%, var(--color-white));
}

/* Beat CMS `#main-content ul` column layout so partner marks stay horizontal */
#main-content ul.lpl-logos,
.lpl-logos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#main-content ul.lpl-logos > li,
.lpl-logos__item {
  display: block;
  flex: 1 1 140px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  #main-content ul.lpl-logos,
  .lpl-logos {
    flex-wrap: nowrap;
  }

  #main-content ul.lpl-logos > li,
  .lpl-logos__item {
    flex: 1 1 0;
  }
}

.lpl-logos__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-gray-lighter) 90%, transparent);
  background: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  color: color-mix(in srgb, var(--color-primary-darker) 75%, var(--color-gray));
}

.lpl-section--cta-band {
  width: 100%;
  max-width: none;
  background: linear-gradient(
    135deg,
    var(--color-primary-darkest) 0%,
    var(--color-primary-darker) 52%,
    var(--color-primary) 100%
  );
  color: var(--color-white);
}

.lpl-cta-band {
  text-align: center;
}

.lpl-cta-band__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
}

.lpl-cta-band__body {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-white) 88%, transparent);
}

.lpl-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
