.story-page {
  --story-muted: #415677;
  --story-line: #d7e5f6;
}

html.js-nav .story-page .site-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #e8eef7;
}

.story-shell, .story-page .header-inner {
  width: min(100% - 5rem, 76rem);
  margin-inline: auto;
}

.story-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(2.5rem, 5.3vw, 5rem);
  align-items: center;
  padding-block: var(--section-space);
}

.story-intro {
  min-width: 0;
  padding-bottom: 1rem;
}

.story-eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 680;
  line-height: 1.4;
}

.story-eyebrow i {
  flex: none;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
}

.story-intro h1 {
  margin: 1.2rem 0 1.4rem;
  font-size: clamp(3.05rem, 4.85vw, 4rem);
}

.story-lead {
  max-width: 26rem;
  color: var(--story-muted);
  font-size: var(--hero-copy-size);
  line-height: 1.6;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.1rem;
  margin-top: 1.8rem;
}

.story-actions .button {
  min-height: 3.125rem;
}

.story-text-link {
  color: var(--blue);
  font-size: var(--secondary-link-size);
  font-weight: var(--secondary-link-weight);
  text-decoration-color: #9bb6dc;
  text-underline-offset: .24em;
}

.story-text-link:hover { text-decoration-color: var(--blue); }

.journey {
  min-width: 0;
  padding: var(--card-padding);
  border: 1px solid #cbdff4;
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: 0 1.4rem 3.4rem #00238d12, 0 0 0 .44rem #ffffff80;
}

.journey-head, .comparison-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}

.journey-head h2 {
  font-size: clamp(1.35rem, 2.35vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.journey-head p, .journey-method {
  margin-top: .4rem;
  color: var(--story-muted);
  font-size: .875rem;
}

.journey-sample {
  padding: .16rem .5rem;
  border: 1px solid #d7e5f3;
  border-radius: .25rem;
  background: #f4f8fe;
  color: #3d5476;
  font-size: .8125rem;
  white-space: nowrap;
}

.journey-channels { margin: 1.15rem 0 1rem; }
.story-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.journey-diagram {
  overflow: hidden;
  border: 1px solid var(--story-line);
  border-radius: var(--card-radius);
  background: #f6faff;
}

.journey-plot {
  height: clamp(6.2rem, 11.1vw, 9.5rem);
  background: linear-gradient(#fafdff, #f1f8ff);
}

.journey-plot canvas { display: block; width: 100%; height: 100%; }
.journey-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid #dce9f8; background: #fff; text-align: center; }
.journey-metrics > div { min-width: 0; padding: var(--card-padding-compact) var(--metric-padding-inline); }
.journey-metrics > div + div { border-left: 1px solid #e2edf8; }
.journey-metrics dt { color: var(--story-muted); font-size: .875rem; font-weight: 620; line-height: 1.25; overflow-wrap: anywhere; }
.journey-metrics dd { display: grid; gap: .17rem; margin: .3rem 0 0; }
.journey-metrics strong { font-size: clamp(1.3rem, 2.5vw, 1.95rem); font-weight: 680; letter-spacing: -.05em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.journey-metrics dd span { color: var(--story-muted); font-size: .8125rem; line-height: 1.3; }

.journey-insight {
  min-height: 3.3rem;
  margin-top: .95rem;
  padding: var(--card-padding-compact);
  border-left: 2px solid var(--blue);
  background: #eff6ff;
  color: #203d69;
  font-size: .9375rem;
  font-weight: 530;
  line-height: 1.44;
}

.journey-method { margin-top: .6rem; }

.story-comparison {
  background: radial-gradient(ellipse at 86% 90%, #102d62 0%, transparent 52%), var(--dark);
  color: #fff;
}

.comparison-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: var(--section-space);
}

.story-comparison .story-eyebrow { color: #a2dcff; }
.story-comparison h2 { max-width: 30rem; margin-top: .85rem; text-wrap: initial; }
.comparison-copy { max-width: 31rem; margin-top: 1.05rem; color: #ceddf3; font-size: var(--supporting-copy-size); line-height: 1.65; }
.comparison-chart { padding: var(--card-padding); border: 1px solid #4e6890; border-radius: var(--card-radius); background: #102347; }
.comparison-chart-head { align-items: baseline; }
.comparison-chart-head h3 { font-size: 1.1rem; font-weight: 650; }
.comparison-chart-head span { color: #c1d4ef; font-size: .875rem; }
.comparison-chart dl { display: grid; margin: .7rem 0 0; }
.comparison-chart dl > div { display: grid; grid-template-columns: minmax(5rem, .8fr) minmax(0, 1.2fr); align-items: center; gap: .8rem; padding: .6rem 0; border-top: 1px solid #496184; }
.comparison-chart dt { font-weight: 610; }
.comparison-chart dd { display: grid; grid-template-columns: minmax(3.6rem, auto) minmax(0, 1fr); align-items: baseline; gap: .1rem .45rem; margin: 0; }
.comparison-chart dd strong { color: #b7e8ff; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.comparison-chart dd span { color: #c1d4ef; font-size: .875rem; }
.comparison-chart dd::after { grid-column: 1 / -1; width: 100%; height: .22rem; border-radius: .12rem; background: linear-gradient(to right, #64b3ff var(--value), #37517a var(--value)); content: ''; }
.comparison-chart dl > div:last-child dd::after { background: linear-gradient(to right, #43d0ff var(--value), #37517a var(--value)); }

.story-capabilities { padding-block: var(--section-space); }
.capabilities-heading h2 { margin-top: .65rem; text-wrap: initial; }
.capabilities-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.capabilities-track article { position: relative; min-width: 0; padding-top: 1.45rem; border-top: 1px solid #bed4ee; }
.capabilities-track article i { position: absolute; top: -.33rem; left: 0; width: .61rem; height: .61rem; border: 2px solid var(--blue); border-radius: 100%; box-shadow: 0 0 0 4px #fff; background: #fff; }
.capabilities-track h3 { font-size: 1.24rem; font-weight: 650; letter-spacing: -.027em; }
.capabilities-track p { max-width: 20rem; margin: .4rem 0 .7rem; color: var(--story-muted); font-size: var(--supporting-copy-size); }
.story-close { padding-block: var(--section-space); border-top: 1px solid #d6e6f8; background: #eef6ff; }
.story-close-layout { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 1.35rem; }
.story-close h2 { font-size: clamp(1.85rem, 3.5vw, 2.85rem); text-wrap: initial; }
.story-close p { margin-top: .55rem; color: var(--story-muted); font-size: var(--supporting-copy-size); }

@media (max-width: 980px) {
  .story-shell, .story-page .header-inner { width: min(100% - 3rem, 76rem); }
  .story-hero-layout { gap: 2rem; }
  .story-actions { gap: .7rem .85rem; }
}

@media (max-width: 1020px) {
  .story-hero-layout, .comparison-layout { grid-template-columns: minmax(0, 1fr); }
  .story-hero-layout { max-width: 43rem; }
  .story-intro { max-width: 36rem; padding-bottom: 0; }
  .story-intro h1 { font-size: clamp(3rem, 8.2vw, 4.6rem); }
  .journey-plot { height: clamp(7rem, 18vw, 9rem); }
}

@media (max-width: 570px) {
  .story-shell, .story-page .header-inner { width: calc(100% - 2rem); }
  .story-intro h1 { font-size: clamp(2.3rem, 10.15vw, 3.65rem); }
  .story-actions { margin-top: 1.4rem; }
  .story-actions .story-text-link { padding-block: .6rem; }
  .capabilities-track { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .comparison-chart dl > div { gap: .5rem; }
  .comparison-chart dd { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .journey-metrics dt { font-size: .8125rem; }
}
