:root {
  --brand-blue: #005ecb;
  --brand-blue-strong: #0a4c9b;
  --brand-orange: #f29a1f;
  --brand-orange-strong: #d17b08;
  --ink: #101828;
  --muted: #526175;
  --surface: #ffffff;
  --surface-soft: #f5f9ff;
  --line: #d7e4f5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 45%, #f2f7ff 100%);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(242, 154, 31, 0.18), transparent 36%),
    radial-gradient(circle at 92% 8%, rgba(0, 94, 203, 0.15), transparent 34%),
    radial-gradient(circle at 86% 92%, rgba(242, 154, 31, 0.1), transparent 26%),
    conic-gradient(from 210deg at 78% 58%, rgba(0, 94, 203, 0.08), rgba(242, 154, 31, 0.04), rgba(0, 94, 203, 0.02), rgba(0, 94, 203, 0.08));
  animation: bgPulse 14s ease-in-out infinite;
  z-index: -1;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 94, 203, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 94, 203, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 0.7), transparent 72%);
  animation: gridDrift 22s linear infinite;
  opacity: 0.45;
  z-index: -1;
}

.bg-particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bg-particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 94, 203, 0.12);
  animation: softFloat 18s linear infinite;
}

.bg-particles span:nth-child(1) { left: 8%; top: 74%; animation-delay: 0s; }
.bg-particles span:nth-child(2) { left: 18%; top: 22%; animation-delay: -4s; }
.bg-particles span:nth-child(3) { left: 33%; top: 84%; animation-delay: -7s; }
.bg-particles span:nth-child(4) { left: 48%; top: 26%; animation-delay: -2s; }
.bg-particles span:nth-child(5) { left: 62%; top: 69%; animation-delay: -10s; }
.bg-particles span:nth-child(6) { left: 72%; top: 16%; animation-delay: -6s; }
.bg-particles span:nth-child(7) { left: 86%; top: 80%; animation-delay: -12s; }
.bg-particles span:nth-child(8) { left: 93%; top: 34%; animation-delay: -8s; }

.site-header,
.section,
.site-footer {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0 1.1rem;
  position: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  margin-top: 0.8rem;
  padding-inline: 1rem;
  box-shadow: none;
  backdrop-filter: blur(8px);
  transition: transform 0.32s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(20, 60, 120, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-130%);
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
}

.logo-image {
  height: 42px;
  width: auto;
  display: block;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.88;
}

.top-nav a:hover {
  opacity: 1;
}

.section {
  padding: 3.2rem 0;
}

.section.full-bleed {
  width: 100%;
  padding: 1.2rem 0 2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding-top: 2.1rem;
}

.eyebrow {
  margin: 0;
  color: var(--brand-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.65rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.35rem, 4vw, 4rem);
  max-width: 16ch;
  letter-spacing: -0.03em;
}

.lead {
  color: var(--muted);
  margin: 0;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-actions.center {
  justify-content: center;
}

.kpi-row {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.kpi {
  min-width: 150px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 6px 18px rgba(25, 66, 127, 0.08);
}

.machine-note {
  margin: 0.95rem 0 0;
  color: var(--brand-blue-strong);
  font-weight: 600;
  max-width: 66ch;
}

.overview-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.overview-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  padding: 1.15rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  box-shadow: 0 10px 24px rgba(22, 67, 135, 0.08);
}

.overview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 67, 140, 0.14);
}

.overview-card p {
  margin: 0;
  color: var(--muted);
}

.kpi strong {
  display: block;
  font-size: 1.15rem;
  color: var(--brand-blue-strong);
}

.kpi span {
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-graphics {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.orb-blue {
  width: 220px;
  height: 220px;
  right: 16%;
  top: 8%;
  background: rgba(0, 94, 203, 0.45);
  animation: floatY 7s ease-in-out infinite;
}

.orb-orange {
  width: 160px;
  height: 160px;
  left: 14%;
  bottom: 10%;
  background: rgba(242, 154, 31, 0.5);
  animation: floatY 6s ease-in-out infinite reverse;
}

.orb-cyan {
  width: 130px;
  height: 130px;
  right: 4%;
  bottom: 2%;
  background: rgba(58, 179, 255, 0.38);
  animation: pulse 5s ease-in-out infinite;
}

.wireframe {
  position: relative;
  width: min(420px, 92%);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  box-shadow: 0 28px 58px rgba(0, 45, 99, 0.14);
  padding: 1rem;
}

.wf-row {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 94, 203, 0.7), rgba(0, 94, 203, 0.14));
  margin-bottom: 0.75rem;
}

.wf-row.short {
  width: 64%;
  background: linear-gradient(90deg, rgba(242, 154, 31, 0.75), rgba(242, 154, 31, 0.2));
}

.wf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.wf-grid span {
  display: block;
  height: 82px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.wf-ring {
  position: absolute;
  right: -16px;
  top: -16px;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 3px solid rgba(242, 154, 31, 0.55);
  border-top-color: rgba(0, 94, 203, 0.85);
  animation: spin 6s linear infinite;
}

.card-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  padding: 1rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 94, 203, 0.44);
  box-shadow: 0 14px 28px rgba(0, 61, 136, 0.16);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.module-bands {
  display: grid;
  gap: 1.1rem;
}

.module-band {
  width: 100%;
  border-block: 1px solid rgba(0, 94, 203, 0.06);
  position: relative;
  overflow: hidden;
  padding: 0.3rem 0;
}

.module-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.module-band::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-blue), #42a4ff, var(--brand-orange));
  opacity: 0.62;
}

.module-band:nth-child(1) {
  background: linear-gradient(95deg, rgba(0, 94, 203, 0.06), rgba(255, 255, 255, 0.98));
}

.module-band:nth-child(1)::before {
  background: linear-gradient(90deg, rgba(0, 94, 203, 0.08), transparent 55%);
}

.module-band:nth-child(2) {
  background: linear-gradient(95deg, rgba(242, 154, 31, 0.07), rgba(255, 255, 255, 0.98));
}

.module-band:nth-child(2)::before {
  background: repeating-linear-gradient(135deg, rgba(242, 154, 31, 0.06) 0 8px, transparent 8px 20px);
}

.module-band:nth-child(3) {
  background: linear-gradient(95deg, rgba(0, 94, 203, 0.06), rgba(64, 176, 255, 0.05), rgba(255, 255, 255, 0.98));
}

.module-band:nth-child(3)::before {
  background: radial-gradient(circle at 14% 50%, rgba(0, 94, 203, 0.16), transparent 30%);
}

.module-band:nth-child(4) {
  background: linear-gradient(95deg, rgba(11, 52, 102, 0.08), rgba(255, 255, 255, 0.98));
}

.module-band:nth-child(4)::before {
  background: linear-gradient(90deg, rgba(0, 94, 203, 0.12), transparent 40%);
}

.module-band:nth-child(5) {
  background: linear-gradient(95deg, rgba(0, 94, 203, 0.05), rgba(242, 154, 31, 0.06), rgba(255, 255, 255, 0.98));
}

.module-band:nth-child(5)::before {
  background: linear-gradient(120deg, rgba(242, 154, 31, 0.08), transparent 45%);
}

.module-band:nth-child(6) {
  background: linear-gradient(95deg, rgba(32, 116, 207, 0.08), rgba(255, 255, 255, 0.98));
}

.module-band:nth-child(6)::before {
  background: radial-gradient(circle at 85% 30%, rgba(0, 94, 203, 0.12), transparent 34%);
}

.module-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 1.1rem 1.2rem 1.1rem 1.25rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "title meta"
    "desc meta"
    "list list";
  column-gap: 1.1rem;
  border: 1px solid rgba(0, 94, 203, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 34px rgba(8, 49, 102, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.module-band:hover .module-inner {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(8, 49, 102, 0.14);
  border-color: rgba(0, 94, 203, 0.28);
}

.module-inner h3 {
  grid-area: title;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
  font-size: 1.38rem;
  letter-spacing: -0.015em;
}

.module-inner h3::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 94, 203, 0.9), rgba(66, 164, 255, 0.85));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
  flex: 0 0 20px;
}

.module-inner p {
  grid-area: desc;
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.module-meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  align-content: flex-start;
  justify-content: flex-end;
}

.module-meta span {
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 94, 203, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-blue-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.module-inner ul {
  grid-area: list;
  margin: 0;
  padding: 0.2rem 0 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.module-inner li {
  border: 1px solid rgba(0, 94, 203, 0.14);
  background: linear-gradient(120deg, rgba(252, 254, 255, 0.96), rgba(244, 250, 255, 0.92));
  border-radius: 14px;
  padding: 0.58rem 0.7rem;
  line-height: 1.4;
}

.module-inner li::before {
  content: "• ";
  color: var(--brand-orange-strong);
  font-weight: 700;
}

.module-band:nth-child(1) .module-inner h3::before {
  border-radius: 999px;
}

.module-band:nth-child(2) .module-inner h3::before {
  transform: rotate(45deg);
}

.module-band:nth-child(3) .module-inner h3::before {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.module-band:nth-child(4) .module-inner h3::before {
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(11, 52, 102, 0.95), rgba(0, 94, 203, 0.82));
}

.module-band:nth-child(5) .module-inner h3::before {
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(242, 154, 31, 0.95), rgba(0, 94, 203, 0.88));
}

.module-band:nth-child(6) .module-inner h3::before {
  background: linear-gradient(135deg, rgba(0, 94, 203, 0.95), rgba(242, 154, 31, 0.95));
}

.section-highlight {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 255, 0.9));
  padding-inline: 1.2rem;
  box-shadow: 0 12px 28px rgba(19, 64, 129, 0.07);
}

.section-intro {
  margin: 0 0 0.9rem;
  color: var(--muted);
  max-width: 76ch;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.pill {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.split-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(19, 64, 129, 0.07);
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.55rem;
}

.feature-list strong {
  color: var(--brand-blue-strong);
}

.timeline h3 {
  margin-bottom: 0.8rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.6rem;
  align-items: start;
  margin-bottom: 0.68rem;
}

.timeline-item span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-blue), #3899ef);
}

.timeline-item p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.stock-card {
  position: relative;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 255, 0.92));
  box-shadow: 0 10px 22px rgba(19, 64, 129, 0.08);
}

.stock-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 92px;
  border-radius: 12px;
  margin-bottom: 0.85rem;
  background:
    linear-gradient(125deg, rgba(0, 94, 203, 0.9), rgba(56, 153, 239, 0.85), rgba(242, 154, 31, 0.82));
  background-size: 220% 220%;
  animation: gradientShift 6s ease infinite;
}

.stock-card p {
  margin: 0.2rem 0 0.55rem;
  color: var(--muted);
}

.stock-card a {
  color: var(--brand-blue-strong);
  font-weight: 700;
  text-decoration: none;
}

.cta {
  text-align: center;
}

.cta p {
  margin-inline: auto;
  color: var(--muted);
  max-width: 62ch;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), #3c9af0);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 94, 203, 0.24);
}

.btn-outline {
  color: var(--brand-blue);
  border: 1px solid rgba(0, 94, 203, 0.45);
  background: rgba(255, 255, 255, 0.9);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes bgPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.95;
  }
}

@keyframes gridDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes softFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-24px) scale(1.1);
    opacity: 0.45;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.2;
  }
}

@media (max-width: 1020px) {
  .top-nav a:not(.btn) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

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

  .split,
  .stock-grid {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section,
  .site-footer {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-graphics {
    min-height: 260px;
  }

  .logo-image {
    height: 36px;
  }

  .module-inner {
    width: min(1120px, calc(100% - 1.4rem));
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "desc"
      "meta"
      "list";
  }

  .module-inner ul {
    grid-template-columns: 1fr;
  }

  .module-meta {
    justify-content: flex-start;
    margin-bottom: 0.15rem;
  }
}

/* Scroll-story redesign */
.story-main .section {
  position: relative;
}

.story-main .hero {
  min-height: calc(100vh - 130px);
  align-items: center;
}

.story-main .kpi,
.story-main .split-panel,
.story-main .stock-card,
.story-main .overview-card,
.story-main .module-inner,
.story-main .module-band,
.story-main .section-highlight {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.airy h2,
.spotlight h2,
.evolve h2,
.cta h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  letter-spacing: -0.02em;
}

.section-intro.wide {
  max-width: 70ch;
}

.spotlight {
  text-align: center;
}

.highlight-cloud {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.highlight-cloud span {
  padding: 0.62rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f4f9c;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.8), rgba(232, 243, 255, 0.9));
  transition: transform 0.2s ease;
}

.highlight-cloud span:nth-child(2n) {
  color: #b56400;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.8), rgba(255, 244, 226, 0.92));
}

.highlight-cloud span:hover {
  transform: translateY(-2px) scale(1.03);
}

.innovation-flow {
  padding-top: 1rem;
}

.flow-step {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 1.35rem;
  padding: 1.2rem 0;
  position: relative;
}

.flow-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  z-index: -1;
  opacity: 0.85;
}

.flow-step:nth-child(1)::before {
  background: radial-gradient(circle at 10% 50%, rgba(0, 94, 203, 0.16), transparent 38%), linear-gradient(115deg, rgba(255, 255, 255, 0.75), rgba(239, 248, 255, 0.95));
}

.flow-step:nth-child(2)::before {
  background: radial-gradient(circle at 90% 45%, rgba(242, 154, 31, 0.17), transparent 42%), linear-gradient(115deg, rgba(255, 255, 255, 0.75), rgba(255, 247, 236, 0.96));
}

.flow-step:nth-child(3)::before {
  background: radial-gradient(circle at 20% 80%, rgba(0, 94, 203, 0.14), transparent 40%), linear-gradient(115deg, rgba(255, 255, 255, 0.76), rgba(235, 246, 255, 0.94));
}

.flow-step:nth-child(4)::before {
  background: radial-gradient(circle at 85% 25%, rgba(242, 154, 31, 0.14), transparent 40%), linear-gradient(115deg, rgba(255, 255, 255, 0.8), rgba(240, 249, 255, 0.95));
}

.flow-step h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 0.35rem;
  letter-spacing: -0.015em;
}

.flow-step p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.evolve {
  text-align: center;
}

.evolve-note {
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue-strong);
  letter-spacing: 0.01em;
}

.scroll-fx {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.9s ease, filter 0.9s ease;
  will-change: transform, opacity;
}

.scroll-fx.in {
  opacity: 1;
  transform: none;
  filter: none;
}

.fx-rise {
  transform: translateY(48px) scale(0.985);
}

.fx-slide-left {
  transform: translateX(-70px);
}

.fx-slide-right {
  transform: translateX(70px);
}

.fx-zoom {
  transform: scale(0.9);
  filter: blur(8px);
}

.fx-tilt {
  transform: perspective(1100px) rotateX(7deg) translateY(44px);
}

@media (max-width: 680px) {
  .flow-step {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .fx-slide-left,
  .fx-slide-right {
    transform: translateY(34px);
  }
}
