.story-page {
  --story-primary: #2f45d3;
  --story-secondary: #67b7ff;
  --story-tertiary: #1b2a7a;
  --story-soft: #eff4ff;
  --story-border: rgba(88, 108, 177, 0.18);
  --story-text: #5d6785;
  --story-dark: #0f1635;
  --story-surface: #ffffff;
  --story-shadow: 0 24px 70px rgba(12, 20, 58, 0.10);
}
.story-page .story-hero {
  padding: 3rem 0 1rem;
}
.story-page .story-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 28px;
  padding: 2.25rem;
  background:
    radial-gradient(circle at top left, rgba(103,183,255,0.22), transparent 34%),
    radial-gradient(circle at right center, rgba(47,69,211,0.18), transparent 40%),
    linear-gradient(135deg, #0f173d 0%, #12205c 58%, #172a78 100%);
  box-shadow: 0 32px 70px rgba(10, 17, 49, 0.22);
}
.story-page .story-shell::after {
  content: "";
  position: absolute;
  inset: auto -90px -140px auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(103,183,255,0.32), rgba(103,183,255,0));
}
.story-page .story-eyebrow,
.story-page .story-section-kicker {
  margin: 0 0 .8rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.story-page .story-section-kicker {
  color: var(--story-primary);
}
.story-page .story-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.03;
}
.story-page .story-title strong,
.story-page .story-section-title strong {
  color: #a9d7ff;
}
.story-page .story-copy,
.story-page .story-section-copy,
.story-page .story-card p,
.story-page .story-note,
.story-page .story-visual-copy,
.story-page .story-list li,
.story-page .story-mini-card p,
.story-page .story-icon-pill,
.story-page .story-kpi p,
.story-page .story-path-card p,
.story-page .story-workflow-card p,
.story-page .story-stack-card p {
  color: var(--story-text);
  line-height: 1.7;
}
.story-page .story-copy {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 64ch;
}
.story-page .story-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.story-page .story-chip {
  padding: .56rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-size: .92rem;
  line-height: 1.2;
}
.story-page .story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.6rem;
}
.story-page .story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.story-page .story-button:hover {
  transform: translateY(-1px);
}
.story-page .story-button--light {
  background: #fff;
  color: var(--story-dark);
  box-shadow: 0 18px 36px rgba(0,0,0,0.15);
}
.story-page .story-button--ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
}
.story-page .story-hero-grid {
  align-items: center;
}
.story-page .story-visual-shell {
  position: relative;
  border-radius: 24px;
  padding: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
}
.story-page .story-visual-label {
  margin: 0 0 .85rem;
  color: rgba(255,255,255,0.74);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 700;
}
.story-page .story-visual-shell img {
  width: 100%;
  display: block;
  border-radius: 18px;
}
.story-page .story-visual-copy {
  margin-top: 1rem;
  color: rgba(255,255,255,0.78);
  font-size: .95rem;
}
.story-page .story-proof-strip {
  margin-top: 1.6rem;
}
.story-page .story-kpi {
  height: 100%;
  padding: 1.2rem 1.25rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.story-page .story-kpi h3 {
  color: #fff;
  margin: 0 0 .4rem;
  font-size: 1.05rem;
}
.story-page .story-kpi p {
  margin: 0;
  color: rgba(255,255,255,0.77);
}
.story-page .story-section {
  padding: 4.4rem 0;
}
.story-page .story-section--soft {
  background: linear-gradient(180deg, rgba(239,244,255,0.72) 0%, rgba(255,255,255,0) 100%);
}
.story-page .story-section-head {
  max-width: 70ch;
  margin-bottom: 2rem;
}
.story-page .story-section-title {
  margin: 0;
  color: var(--story-dark);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}
.story-page .story-section-copy {
  margin-top: .95rem;
}
.story-page .story-card,
.story-page .story-path-card,
.story-page .story-mini-card,
.story-page .story-stack-card,
.story-page .story-workflow-card,
.story-page .story-note-card {
  height: 100%;
  background: var(--story-surface);
  border: 1px solid var(--story-border);
  border-radius: 24px;
  padding: 1.45rem;
  box-shadow: var(--story-shadow);
}
.story-page .story-card,
.story-page .story-path-card,
.story-page .story-stack-card,
.story-page .story-workflow-card {
  transition: transform .18s ease, box-shadow .18s ease;
}
.story-page .story-card:hover,
.story-page .story-path-card:hover,
.story-page .story-stack-card:hover,
.story-page .story-workflow-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 64px rgba(15, 22, 53, 0.14);
}
.story-page .story-card h3,
.story-page .story-path-card h3,
.story-page .story-mini-card h3,
.story-page .story-stack-card h3,
.story-page .story-workflow-card h3,
.story-page .story-note-card h3,
.story-page .story-icon-grid h3 {
  margin: .35rem 0 .6rem;
  color: var(--story-dark);
}
.story-page .story-card h4,
.story-page .story-stack-card h4 {
  margin: .2rem 0 .55rem;
  color: var(--story-dark);
  font-size: 1rem;
}
.story-page .story-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47,69,211,0.12), rgba(103,183,255,0.22));
  color: var(--story-primary);
  font-size: 1rem;
}
.story-page .story-meta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .62rem;
  border-radius: 999px;
  background: rgba(47,69,211,0.08);
  color: var(--story-tertiary);
  font-size: .8rem;
  font-weight: 700;
}
.story-page .story-list {
  margin: .85rem 0 0;
  padding-left: 1.15rem;
}
.story-page .story-list li + li {
  margin-top: .45rem;
}
.story-page .story-path-card {
  position: relative;
  overflow: hidden;
}
.story-page .story-path-number {
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--story-primary);
  font-weight: 800;
}
.story-page .story-note-card {
  background: linear-gradient(135deg, rgba(47,69,211,0.06), rgba(103,183,255,0.14));
}
.story-page .story-note-card p:last-child,
.story-page .story-card p:last-child,
.story-page .story-path-card p:last-child,
.story-page .story-mini-card p:last-child,
.story-page .story-stack-card p:last-child,
.story-page .story-workflow-card p:last-child,
.story-page .story-note-card p:last-child {
  margin-bottom: 0;
}
.story-page .story-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}
.story-page .story-icon-pill {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .95rem 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--story-border);
  box-shadow: 0 18px 40px rgba(15, 22, 53, 0.08);
}
.story-page .story-icon-pill i {
  font-size: 1.25rem;
  color: var(--story-primary);
}
.story-page .story-stack-card {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(247,249,255,1) 100%);
}
.story-page .story-stack-line {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}
.story-page .story-stack-step {
  padding: .45rem .72rem;
  border-radius: 999px;
  background: rgba(15,22,53,0.05);
  color: var(--story-dark);
  font-size: .87rem;
  font-weight: 700;
}
.story-page .story-inline-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--story-primary);
  font-weight: 700;
  text-decoration: none;
}
.story-page .story-inline-link:hover {
  text-decoration: underline;
}
.story-page .story-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.story-page .story-mini-card {
  background: rgba(255,255,255,0.84);
}
.story-page .story-mini-card h3 {
  font-size: 1.05rem;
}
.story-page .story-footnote {
  margin-top: 1rem;
  font-size: .92rem;
  color: var(--story-text);
}
@media (max-width: 991px) {
  .story-page .story-shell {
    padding: 1.35rem;
    border-radius: 24px;
  }
  .story-page .story-section {
    padding: 3.4rem 0;
  }
}
