/* Feature Showcase: a launch-style product story built from renders, large type and stages. */
.feature-showcase {
  /* Night stage: an intentional dark treatment, independent of the visitor's theme. */
  --feature-showcase-night: #03040b;
  --feature-showcase-night-raised: #10121c;
  --feature-showcase-night-muted: #a9aebb;
  --feature-showcase-night-line: rgb(255 255 255 / 14%);
  --feature-showcase-glow-primary: rgb(23 28 143 / 62%);
  --feature-showcase-glow-secondary: rgb(0 183 189 / 30%);
  --feature-showcase-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --button-action-radius: var(--control-radius-pill);
  overflow: clip;
}

/* STAGES */
.feature-showcase-hero.is-light,
.feature-showcase-chapter.is-light,
.feature-showcase-closing.is-light,
.feature-showcase-block.is-light {
  --feature-showcase-stage: var(--color-surface-subtle);
  --feature-showcase-stage-image: none;
  --feature-showcase-heading: var(--color-text-heading);
  --feature-showcase-text: var(--color-text-muted);
  --feature-showcase-strong: var(--color-text-heading);
  --feature-showcase-accent: var(--color-interactive);
  --feature-showcase-card: var(--color-surface-raised);
  --feature-showcase-line: var(--color-border-default);
  --feature-showcase-title-gradient: linear-gradient(100deg, var(--color-text-heading) 30%, var(--color-interactive));
  --feature-showcase-glow-primary: rgb(23 28 143 / 20%);
  --feature-showcase-glow-secondary: rgb(0 183 189 / 14%);
}

/* A light stage follows the visitor's theme, so its render glow strengthens on dark surfaces. */
@supports (color: light-dark(#000000, #ffffff)) {
  .feature-showcase-hero.is-light,
  .feature-showcase-chapter.is-light,
  .feature-showcase-closing.is-light,
  .feature-showcase-block.is-light {
    --feature-showcase-glow-primary: light-dark(rgb(23 28 143 / 20%), rgb(61 67 184 / 50%));
    --feature-showcase-glow-secondary: light-dark(rgb(0 183 189 / 14%), rgb(0 183 189 / 26%));
  }
}

.feature-showcase-hero.is-dark,
.feature-showcase-chapter.is-dark,
.feature-showcase-closing.is-dark,
.feature-showcase-block.is-dark {
  --feature-showcase-stage: var(--feature-showcase-night);
  --feature-showcase-stage-image: radial-gradient(70% 45% at 50% 0%, rgb(23 28 143 / 38%), rgb(23 28 143 / 0%) 70%);
  --feature-showcase-heading: var(--color-text-on-dark);
  --feature-showcase-text: var(--feature-showcase-night-muted);
  --feature-showcase-strong: var(--color-text-on-dark);
  --feature-showcase-accent: var(--color-brand-secondary-lighter);
  --feature-showcase-card: var(--feature-showcase-night-raised);
  --feature-showcase-line: var(--feature-showcase-night-line);
  --feature-showcase-title-gradient: linear-gradient(100deg, var(--color-text-on-dark) 35%, var(--color-brand-secondary-lighter));
  color-scheme: dark;
}

.feature-showcase-hero.is-blue,
.feature-showcase-chapter.is-blue,
.feature-showcase-closing.is-blue,
.feature-showcase-block.is-blue {
  --feature-showcase-stage: var(--color-brand-primary-darkened);
  --feature-showcase-stage-image: radial-gradient(80% 60% at 50% 0%, rgb(0 183 189 / 32%), rgb(0 183 189 / 0%) 70%), linear-gradient(to bottom, var(--color-brand-primary), var(--color-brand-primary-darkened));
  --feature-showcase-heading: var(--color-text-on-dark);
  --feature-showcase-text: var(--color-text-on-dark-muted);
  --feature-showcase-strong: var(--color-text-on-dark);
  --feature-showcase-accent: var(--color-brand-secondary-lighter);
  --feature-showcase-card: rgb(255 255 255 / 8%);
  --feature-showcase-line: rgb(255 255 255 / 18%);
  --feature-showcase-title-gradient: linear-gradient(100deg, var(--color-text-on-dark) 35%, var(--color-brand-secondary-lighter));
  color-scheme: dark;
}

/* HERO */
.feature-showcase-hero {
  position: relative;
  overflow: clip;
  padding-top: 10rem;
  padding-bottom: 3rem;
  background-color: var(--feature-showcase-stage);
  background-image: var(--feature-showcase-stage-image);
  color: var(--feature-showcase-text);
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-hero {
    padding-top: 12rem;
    padding-bottom: 4rem;
  }
}

.feature-showcase-hero__inner {
  position: relative;
  max-width: 77rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.feature-showcase-hero__header {
  max-width: 62rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Reduced motion keeps the opening still. */
@media (prefers-reduced-motion: no-preference) {
  .feature-showcase-hero__header {
    animation: feature-showcase-rise 900ms var(--feature-showcase-ease) both;
  }
}

.feature-showcase-hero__eyebrow {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--feature-showcase-accent);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-hero__eyebrow {
    font-size: 21px;
  }
}

.feature-showcase-hero__title {
  margin-top: 0;
  margin-bottom: 0;
  background-image: var(--feature-showcase-title-gradient);
  color: var(--feature-showcase-heading);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}

/* Tablet Portrait Up - Min 600px */
@media (min-width: 600px) {
  .feature-showcase-hero__title {
    font-size: 64px;
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-hero__title {
    font-size: 80px;
  }
}

/* Desktop Up - Min 1200px */
@media (min-width: 1200px) {
  .feature-showcase-hero__title {
    font-size: 96px;
  }
}

/* Forced colours replace the gradient with the system text colour. */
@media (forced-colors: active) {
  .feature-showcase-hero__title {
    background-image: none;
    -webkit-text-fill-color: currentColor;
  }
}

.feature-showcase-hero__body {
  max-width: 46rem;
  margin-top: 1.5rem;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--feature-showcase-text);
  font-size: 19px;
  line-height: 1.45;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-hero__body {
    font-size: 24px;
  }
}

.feature-showcase-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 0;
  gap: 0.75rem;
}

.feature-showcase-hero__media {
  position: relative;
  margin-top: 2.5rem;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-hero__media {
    margin-top: 3.5rem;
  }
}

/* Reduced motion keeps the opening still. */
@media (prefers-reduced-motion: no-preference) {
  .feature-showcase-hero__media {
    animation: feature-showcase-rise 1200ms 150ms var(--feature-showcase-ease) both;
  }
}

.feature-showcase-hero__media::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 12%;
  bottom: 4%;
  left: 12%;
  border-radius: 50%;
  background-image:
    radial-gradient(closest-side, var(--feature-showcase-glow-primary), rgb(23 28 143 / 0%)),
    radial-gradient(closest-side at 70% 60%, var(--feature-showcase-glow-secondary), rgb(0 183 189 / 0%));
  filter: blur(3rem);
  pointer-events: none;
}

.feature-showcase-hero__image {
  position: relative;
  width: 100%;
  height: auto;
}

/* SECTION LINKS */
.feature-showcase-nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--feature-showcase-line);
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-nav {
    margin-top: 3rem;
    padding-top: 2rem;
  }
}

.feature-showcase-nav__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 1rem;
  list-style: none;
}

/* Tablet Portrait Up - Min 600px */
@media (min-width: 600px) {
  .feature-showcase-nav__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.feature-showcase-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 0.75rem 0.5rem;
  border-radius: 1.25rem;
  color: var(--feature-showcase-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  gap: 1rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-nav__link {
    font-size: 17px;
  }
}

.feature-showcase-nav__icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--feature-showcase-line);
  border-radius: 50%;
  background-color: var(--feature-showcase-card);
  color: var(--feature-showcase-accent);
  place-items: center;
  transition:
    border-color var(--control-transition-duration) ease,
    transform var(--control-transition-duration) ease;
}

/* Tablet Portrait Up - Min 600px */
@media (min-width: 600px) {
  .feature-showcase-nav__icon {
    width: 5.25rem;
    height: 5.25rem;
  }
}

/* Desktop Up - Min 1200px */
@media (min-width: 1200px) {
  .feature-showcase-nav__icon {
    width: 6rem;
    height: 6rem;
  }
}

.feature-showcase-nav__link:hover .feature-showcase-nav__icon {
  border-color: var(--feature-showcase-accent);
  transform: translateY(-3px);
}

.feature-showcase-nav__link.is-active .feature-showcase-nav__icon {
  border-color: var(--feature-showcase-accent);
}

.feature-showcase-nav__icon svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tablet Portrait Up - Min 600px */
@media (min-width: 600px) {
  .feature-showcase-nav__icon svg {
    width: 2.375rem;
    height: 2.375rem;
  }
}

/* Desktop Up - Min 1200px */
@media (min-width: 1200px) {
  .feature-showcase-nav__icon svg {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* Each stroked shape has a unit path length, so one dash is its whole line. */
.feature-showcase-nav__icon svg > * {
  stroke-dasharray: 1;
}

.feature-showcase-nav__icon svg .is-filled {
  fill: currentColor;
  stroke: none;
}

/* The icons arrive in order as visitors scroll to them: each pops in, then draws its line. */
@media (prefers-reduced-motion: no-preference) {
  .feature-showcase-nav.is-arriving .feature-showcase-nav__icon {
    animation: feature-showcase-pop 800ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    animation-delay: calc(var(--feature-showcase-order, 0) * 120ms);
  }
}

/* Reduced motion keeps the icons still. */
@media (prefers-reduced-motion: no-preference) {
  .feature-showcase-nav.is-arriving .feature-showcase-nav__icon svg > * {
    animation: feature-showcase-draw 1000ms cubic-bezier(0.65, 0, 0.35, 1) backwards;
    animation-delay: calc(var(--feature-showcase-order, 0) * 120ms + 250ms);
  }
}

/* Reduced motion keeps the icons still. */
@media (prefers-reduced-motion: no-preference) {
  .feature-showcase-nav.is-arriving .feature-showcase-nav__icon svg .is-filled {
    animation: feature-showcase-fade 600ms ease backwards;
    animation-delay: calc(var(--feature-showcase-order, 0) * 120ms + 700ms);
  }
}

/* Reduced motion keeps the labels still. */
@media (prefers-reduced-motion: no-preference) {
  .feature-showcase-nav.is-arriving .feature-showcase-nav__label {
    animation: feature-showcase-lift 700ms var(--feature-showcase-ease) backwards;
    animation-delay: calc(var(--feature-showcase-order, 0) * 120ms + 150ms);
  }
}

/* CHAPTER */
.feature-showcase-chapter {
  position: relative;
  overflow: clip;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: var(--feature-showcase-stage);
  background-image: var(--feature-showcase-stage-image);
  color: var(--feature-showcase-text);
  scroll-margin-top: 9rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter {
    padding-top: 8rem;
    padding-bottom: 8rem;
    scroll-margin-top: 10rem;
  }
}

/* A hairline on the content width divides consecutive stages that share a background. */
.feature-showcase-hero.is-light + .feature-showcase-chapter.is-light::before,
.feature-showcase-chapter.is-light + .feature-showcase-chapter.is-light::before,
.feature-showcase-chapter.is-light + .feature-showcase-closing.is-light::before,
.feature-showcase-hero.is-dark + .feature-showcase-chapter.is-dark::before,
.feature-showcase-chapter.is-dark + .feature-showcase-chapter.is-dark::before,
.feature-showcase-chapter.is-dark + .feature-showcase-closing.is-dark::before,
.feature-showcase-hero.is-blue + .feature-showcase-chapter.is-blue::before,
.feature-showcase-chapter.is-blue + .feature-showcase-chapter.is-blue::before,
.feature-showcase-chapter.is-blue + .feature-showcase-closing.is-blue::before {
  content: "";
  position: absolute;
  top: 0;
  right: max(1rem, calc((100% - 77rem) / 2 + 1rem));
  left: max(1rem, calc((100% - 77rem) / 2 + 1rem));
  height: 1px;
  background-color: var(--feature-showcase-line);
}

.feature-showcase-chapter__inner {
  display: grid;
  max-width: 77rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  gap: 2.5rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter__inner {
    gap: 3.5rem;
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-split .feature-showcase-chapter__inner {
    align-items: center;
    row-gap: 2rem;
    column-gap: 3rem;
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-image-right .feature-showcase-chapter__inner {
    grid-template-columns: [text-start] minmax(0, 1fr) [text-end media-start] minmax(0, 1fr) [media-end];
  }
}

/* Desktop Up - Min 1200px */
@media (min-width: 1200px) {
  .feature-showcase-chapter.is-image-right .feature-showcase-chapter__inner {
    grid-template-columns: [text-start] minmax(0, 5fr) [text-end media-start] minmax(0, 7fr) [media-end];
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-image-left .feature-showcase-chapter__inner {
    grid-template-columns: [media-start] minmax(0, 1fr) [media-end text-start] minmax(0, 1fr) [text-end];
  }
}

/* Desktop Up - Min 1200px */
@media (min-width: 1200px) {
  .feature-showcase-chapter.is-image-left .feature-showcase-chapter__inner {
    grid-template-columns: [media-start] minmax(0, 7fr) [media-end text-start] minmax(0, 5fr) [text-end];
  }
}

.feature-showcase-chapter__header {
  max-width: 54rem;
}

/* A centred chapter sets its heading, copy and lists on the centre line, like the opening stage. */
.feature-showcase-chapter.is-centered .feature-showcase-chapter__header {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-split .feature-showcase-chapter__header {
    grid-column: text;
    grid-row: 1;
    align-self: end;
  }
}

.feature-showcase-chapter__eyebrow {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--feature-showcase-accent);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter__eyebrow {
    font-size: 21px;
  }
}

.feature-showcase-chapter__title {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--feature-showcase-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Tablet Portrait Up - Min 600px */
@media (min-width: 600px) {
  .feature-showcase-chapter__title {
    font-size: 48px;
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter__title {
    font-size: 64px;
  }
}

/* Desktop Up - Min 1200px */
@media (min-width: 1200px) {
  .feature-showcase-chapter__title {
    font-size: 72px;
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-split .feature-showcase-chapter__title {
    font-size: 48px;
  }
}

/* Desktop Up - Min 1200px */
@media (min-width: 1200px) {
  .feature-showcase-chapter.is-split .feature-showcase-chapter__title {
    font-size: 56px;
  }
}

.feature-showcase-chapter__media {
  position: relative;
  min-width: 0;
  margin: 0;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-split .feature-showcase-chapter__media {
    grid-column: media;
    grid-row: 1 / span 2;
  }
}

/* Renders settle into place as they scroll in, where scroll-driven animation exists. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .feature-showcase-chapter__media {
      animation: feature-showcase-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
  }
}

.feature-showcase-chapter__image {
  width: 100%;
  height: auto;
}

/* A second view of the same render (for example dark mode), split at the centre by default. */
.feature-showcase-chapter__alternate {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 0 50%);
}

.feature-showcase-chapter__alternate img {
  width: 100%;
  height: 100%;
}

.feature-showcase-chapter__tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding-top: 0.375rem;
  padding-right: 0.875rem;
  padding-bottom: 0.375rem;
  padding-left: 0.875rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--control-radius-pill);
  background-color: rgb(3 4 11 / 78%);
  color: var(--color-text-on-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

/* The second view sweeps across the first while the chapter crosses the window. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .feature-showcase-chapter__alternate {
      animation: feature-showcase-sweep linear both;
      animation-timeline: view();
      animation-range: cover 30% cover 62%;
    }
  }
}

.feature-showcase-chapter__divider {
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background-image: linear-gradient(to bottom, rgb(255 255 255 / 0%), rgb(255 255 255 / 90%) 20%, rgb(255 255 255 / 90%) 80%, rgb(255 255 255 / 0%));
  box-shadow: 0 0 1.25rem rgb(0 183 189 / 70%);
  pointer-events: none;
}

/* The divider travels with the sweep and fades out at either end. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .feature-showcase-chapter__divider {
      animation: feature-showcase-divide linear both;
      animation-timeline: view();
      animation-range: cover 30% cover 62%;
    }
  }
}

.feature-showcase-chapter__copy {
  display: grid;
  min-width: 0;
  max-width: 48rem;
  gap: 2rem;
}

.feature-showcase-chapter.is-centered .feature-showcase-chapter__copy {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-stacked .feature-showcase-chapter__copy {
    max-width: none;
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-split .feature-showcase-chapter__copy {
    grid-column: text;
    grid-row: 2;
    align-self: start;
  }
}

.feature-showcase-chapter__body {
  color: var(--feature-showcase-text);
  font-size: 17px;
  line-height: 1.55;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter__body {
    font-size: 19px;
  }
}

.feature-showcase-chapter__body p {
  max-width: 48rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.feature-showcase-chapter__body p:last-child {
  margin-bottom: 0;
}

.feature-showcase-chapter.is-centered .feature-showcase-chapter__body p {
  margin-left: auto;
  margin-right: auto;
}

.feature-showcase-chapter__body strong {
  color: var(--feature-showcase-strong);
  font-weight: 600;
}

.feature-showcase-chapter__body a {
  color: var(--feature-showcase-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.feature-showcase-chapter__body ul {
  display: grid;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
  gap: 0.75rem;
  list-style: none;
}

.feature-showcase-chapter__body ul:first-child {
  margin-top: 0;
}

.feature-showcase-chapter__body ul:last-child {
  margin-bottom: 0;
}

/* A list made only of links becomes a row of destination tiles. */
.feature-showcase-chapter .feature-showcase-chapter__body ul:has(> li > a:only-child) {
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
}

/* Other list items read as plain text, marked by a small accent dot. */
.feature-showcase-chapter__body li {
  position: relative;
  max-width: 48rem;
  padding-left: 1.25rem;
}

.feature-showcase-chapter__body li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: var(--feature-showcase-accent);
}

/* A plain list in a centred chapter stays left-aligned as one centred block. */
.feature-showcase-chapter.is-centered .feature-showcase-chapter__body ul:not(:has(> li > a:only-child)) {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.feature-showcase-chapter__body li:has(> a:only-child) {
  padding-left: 0;
  border: 1px solid var(--feature-showcase-line);
  border-radius: 1.25rem;
  background-color: var(--feature-showcase-card);
  font-size: 17px;
  line-height: 1.45;
  transition:
    border-color var(--control-transition-duration) ease,
    transform var(--control-transition-duration) ease;
}

.feature-showcase-chapter__body li:has(> a:only-child)::before {
  content: none;
}

.feature-showcase-chapter__body li:has(> a:only-child):hover {
  border-color: var(--feature-showcase-accent);
  transform: translateY(-2px);
}

.feature-showcase-chapter__body li > a:only-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding-top: 1rem;
  padding-right: 1.25rem;
  padding-bottom: 1rem;
  padding-left: 1.25rem;
  border-radius: inherit;
  color: var(--feature-showcase-heading);
  font-weight: 600;
  text-decoration: none;
  gap: 1rem;
}

.feature-showcase-chapter__body li > a:only-child::after {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid var(--feature-showcase-accent);
  border-right: 2px solid var(--feature-showcase-accent);
  transform: rotate(45deg);
}

.feature-showcase-chapter__control {
  margin: 0;
}

.feature-showcase-chapter__cards {
  min-width: 0;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-split .feature-showcase-chapter__cards {
    grid-column: 1 / -1;
  }
}

/* The shared Cards Grid sits on the chapter stage, on the chapter's own column. */
.feature-showcase-chapter__cards .cards-grid {
  overflow: visible;
  padding-top: 0;
  padding-bottom: 0;
  background-color: transparent;
}

.feature-showcase-chapter__cards .cards-grid__inner {
  padding-left: 0;
  padding-right: 0;
}

/* Copy that continues after the cards. */
.feature-showcase-chapter__after-copy {
  min-width: 0;
  max-width: 48rem;
}

.feature-showcase-chapter.is-centered .feature-showcase-chapter__after-copy {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-stacked .feature-showcase-chapter__after-copy {
    max-width: none;
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-split .feature-showcase-chapter__after-copy {
    grid-column: text;
  }
}

.feature-showcase-chapter__videos {
  display: grid;
  min-width: 0;
  max-width: 56rem;
  gap: 2rem;
}

.feature-showcase-chapter.is-centered .feature-showcase-chapter__videos {
  margin-left: auto;
  margin-right: auto;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-chapter.is-split .feature-showcase-chapter__videos {
    grid-column: 1 / -1;
  }
}

.feature-showcase-chapter__videos figure {
  margin: 0;
}

.feature-showcase-chapter__videos video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  background-color: var(--color-palette-black);
}

.feature-showcase-chapter__videos figcaption {
  margin-top: 0.75rem;
  color: var(--feature-showcase-text);
  font-size: 15px;
}

/* OTHER BLOCKS */
.feature-showcase-block {
  background-color: var(--feature-showcase-stage);
  color: var(--feature-showcase-text);
  scroll-margin-top: 9rem;
}

/* CLOSING */
.feature-showcase-closing {
  position: relative;
  overflow: clip;
  padding-top: 5rem;
  padding-bottom: 4rem;
  background-color: var(--feature-showcase-stage);
  background-image: var(--feature-showcase-stage-image);
  color: var(--feature-showcase-text);
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-closing {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}

.feature-showcase-closing__inner {
  display: grid;
  max-width: 77rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  gap: 3rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-closing.is-split .feature-showcase-closing__inner {
    align-items: center;
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-closing.is-image-right .feature-showcase-closing__inner {
    grid-template-columns: [text-start] minmax(0, 5fr) [text-end media-start] minmax(0, 7fr) [media-end];
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-closing.is-image-left .feature-showcase-closing__inner {
    grid-template-columns: [media-start] minmax(0, 7fr) [media-end text-start] minmax(0, 5fr) [text-end];
  }
}

.feature-showcase-closing__header {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-closing.is-split .feature-showcase-closing__header {
    grid-column: text;
    grid-row: 1;
    margin-left: 0;
    text-align: left;
  }
}

.feature-showcase-closing__eyebrow {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--feature-showcase-accent);
  font-size: 17px;
  font-weight: 600;
}

.feature-showcase-closing__title {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--feature-showcase-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Tablet Portrait Up - Min 600px */
@media (min-width: 600px) {
  .feature-showcase-closing__title {
    font-size: 56px;
  }
}

/* Desktop Up - Min 1200px */
@media (min-width: 1200px) {
  .feature-showcase-closing__title {
    font-size: 72px;
  }
}

.feature-showcase-closing__body {
  margin-top: 1.25rem;
  margin-bottom: 0;
  color: var(--feature-showcase-text);
  font-size: 19px;
  line-height: 1.45;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-closing__body {
    font-size: 21px;
  }
}

.feature-showcase-closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 0;
  gap: 0.75rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-closing.is-split .feature-showcase-closing__actions {
    justify-content: flex-start;
  }
}

.feature-showcase-closing__media {
  min-width: 0;
  margin: 0;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .feature-showcase-closing.is-split .feature-showcase-closing__media {
    grid-column: media;
    grid-row: 1;
  }
}

/* Renders settle into place as they scroll in, where scroll-driven animation exists. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .feature-showcase-closing__media {
      animation: feature-showcase-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
  }
}

.feature-showcase-closing__image {
  width: 100%;
  height: auto;
}

/* Secondary actions keep their contrast on night and blue stages. */
.feature-showcase-closing.is-dark .button--secondary {
  --button-text-color: var(--color-text-on-dark);
}

.feature-showcase-closing.is-blue .button--secondary {
  --button-text-color: var(--color-text-on-dark);
}

/* REVEAL */
/* Script marks copy below the fold as pending; it eases in when it reaches the window. */
@media (prefers-reduced-motion: no-preference) {
  .feature-showcase .is-revealable {
    transition:
      opacity 800ms var(--feature-showcase-ease),
      transform 800ms var(--feature-showcase-ease);
  }
}

.feature-showcase .is-offstage {
  opacity: 0;
  transform: translateY(1.5rem);
}

/* Printing never waits for a scroll. */
@media print {
  .feature-showcase .is-offstage {
    opacity: 1;
    transform: none;
  }
}

/* MOTION */
@keyframes feature-showcase-rise {
  from {
    opacity: 0;
    transform: translateY(2.5rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes feature-showcase-settle {
  from {
    opacity: 0.4;
    transform: translateY(3rem) scale(0.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes feature-showcase-pop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

  55% {
    opacity: 1;
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes feature-showcase-draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes feature-showcase-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes feature-showcase-lift {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes feature-showcase-sweep {
  from {
    clip-path: inset(0 0 0 100%);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes feature-showcase-divide {
  0% {
    left: 100%;
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    left: 0%;
    opacity: 0;
  }
}
