body:has(.story-hero) .site-header {
  padding: .75rem clamp(1rem, 3vw, 2rem) 0;
  border: 0;
  background: #0c2143;
  backdrop-filter: none;
}
body:has(.story-hero) .site-header-row {
  min-height: 3.875rem;
  border: 1px solid #dce2ee;
  border-radius: 1rem;
  padding-inline: clamp(.75rem, 2vw, 1.5rem);
  background: #fff;
}
body:has(.story-hero) .site-header .site-primary { border-radius: 999px; }
body:has(.story-hero) .site-mobile-nav { --mobile-menu-inset: 0px; }
body:has(.story-hero) .site-header[data-past-hero] { background: transparent; }
body:has(.story-hero) .site-header[data-past-hero] .site-header-row { box-shadow: 0 4px 22px rgb(12 33 67 / .10); }


body:has(.marketing-content > .story-hero) .site-header { padding-inline: var(--mina-gutter); }
body:has(.marketing-content > .story-hero) .site-header-row {
  max-width: calc(var(--mina-max-width) - var(--mina-gutter) * 2);
}
@media (max-width: 1120px) {
  body:has(.marketing-content > .story-hero) :is(.site-desktop-nav, .site-actions > .site-sign-in, .site-actions > .site-primary) { display: none; }
  body:has(.marketing-content > .story-hero) .site-mobile-menu { display: block; }
}
@media (max-width: 360px) {
  body:has(.marketing-content > .story-hero) .site-header-row { gap: .5rem; }
  body:has(.marketing-content > .story-hero) .site-logo img { width: 96px; }
}


.story-hero {
  --hero-copy: #e1edff;
  --story-accent: #93e2fb;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 6.25rem) clamp(1.5rem, 5vw, 4rem);
  background: #0c2143;
  color: #fff;
  font-family: var(--mina-font, "Epilogue", sans-serif);
}
.story-hero .story-wave { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; z-index: -1; }
@media (prefers-reduced-motion: reduce) { .story-hero .story-wave { display: none; } }
.story-hero .story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
}
.marketing-content > .story-hero { padding-inline: 0; }
.marketing-content > .story-hero .story-grid {
  max-width: var(--mina-max-width);
  padding-inline: var(--mina-gutter);
}
@media (min-width: 860px) {
  .marketing-content > .story-hero {
    padding-block: clamp(2.5rem, 4vw, 4.5rem);
  }
  .marketing-content > .story-hero .story-grid {
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    align-items: center;
    column-gap: clamp(2rem, 4vw, 4.5rem);
  }
  .marketing-content > .story-hero .story-media img { aspect-ratio: 3 / 2; object-fit: cover; }
}
.marketing-content > .story-hero .story-wave { opacity: .36; }
.overview-hero .story-copy {
  display: grid;
  min-width: 0;
  justify-items: start;
  gap: clamp(.875rem, 1.55vw, 1.375rem);
}
.story-hero.overview-hero .story-copy > :is(h1, .story-summary, .story-actions, .badges) { margin-block-start: 0; }
[data-overview-layout="timeline"] .overview-hero .story-copy { justify-items: center; }
.story-hero h1 {
  max-width: 14ch;
  margin: .875rem 0 0;
  color: #fff;
  font-size: clamp(2.5rem, 5.35vw, 5.25rem);
  font-weight: 570;
  line-height: 1.035;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.story-copy:has(.story-title-line) { container-type: inline-size; }
.story-hero h1:has(.story-title-line) { max-width: none; font-size: min(5.25rem, 10.55cqi); }
.story-title-line { display: block; white-space: nowrap; }
.story-hero h1 .gradtext { color: var(--story-accent); font-style: normal; }
.marketing-content > .story-hero .story-copy { container-type: inline-size; }
.marketing-content > .story-hero h1 { max-width: none; font-size: min(4.75rem, 10.25cqi); }
.story-announcement {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .275rem .75rem .275rem .375rem;
  border: 1px solid #6884a8;
  border-radius: 999px;
  background: #1c3559;
  color: #f0f7ff;
  font-size: .8125rem;
  line-height: 1.35;
  text-decoration: none;
}
.story-announcement b { padding: .15rem .375rem; border-radius: 999px; background: var(--story-accent); color: #0c2143; }
.story-announcement:hover { border-color: var(--story-accent); }
.story-hero .nb { white-space: normal; }
.marketing-content > .story-hero h1 { overflow-wrap: anywhere; }
.story-eyebrow { font-size: .875rem; font-weight: 650; }
.story-summary { max-width: 50ch; margin: 1.5rem 0 0; color: var(--hero-copy); font-size: clamp(1rem, 1.45vw, 1.1875rem); line-height: 1.65; }
.story-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.5rem; }
.story-actions a { display: inline-flex; gap: .65rem; align-items: center; min-height: 2.875rem; font-size: .9375rem; font-weight: 620; text-decoration: none; }
.story-actions svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.story-primary { padding: .625rem 1.25rem; border-radius: 999px; background: var(--story-accent); color: #0c2143; }
.story-primary:hover { background: #c4f0ff; }
.story-secondary { color: #fff; }
.story-secondary:hover { text-decoration: underline; text-underline-offset: .25em; }
.story-hero .flow span { background: #1b365c; border-color: #6785a8; color: #fff; }
.story-hero .flow i, .story-hero .badge i { color: var(--story-accent); }
.story-hero .heronote { color: var(--hero-copy); }
.story-hero .badges { margin-top: 1.125rem; justify-content: flex-start; }
.story-hero .badge i { background: var(--story-accent); }
.story-hero :focus-visible { outline: 2px solid var(--story-accent); outline-offset: 4px; }

.story-media {
  min-width: 0;
  margin: 0;
  padding: clamp(.5rem, 1vw, .75rem);
  border: 1px solid #567296;
  border-radius: 1.25rem;
  background: #142d51;
  color: #e1edff;
}
.story-media img { display: block; width: 100%; height: auto; border-radius: .875rem; }

[data-overview-layout="demo"] .story-hero.overview-hero .story-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
[data-overview-layout="timeline"] .story-hero.overview-hero .story-grid { grid-template-columns: minmax(0, 1fr); }
[data-overview-layout="timeline"] .story-actions { justify-content: center; }
[data-overview-layout="timeline"] .story-summary { margin-inline: auto; }
@media (max-width: 859px) {
  .story-hero .story-grid { grid-template-columns: minmax(0, 1fr); max-width: 42rem; }
  [data-overview-layout="demo"] .story-hero.overview-hero .story-grid { grid-template-columns: minmax(0, 1fr); }
}
