/* ==========================================================================
   Field Services sector page (/sectors/field-services)
   Page-specific classes use the `fs-` prefix. Colours: --v2-* tokens or the
   page tokens below (defined for both themes).
   ========================================================================== */
:root,
[data-theme="light"] {
  --fs-player-bg: #EBEFE2;
  --fs-player-overlay: none;
  --fs-player-shadow: 0 30px 70px rgba(33, 30, 40, 0.14);
  --fs-card-bg: #FFFFFF;
  --fs-card-border: #DDD9CF;
  --fs-tint: #E9F0C8;
  --fs-track: #D3CEC2;
  --fs-bar-muted: #A39DB0;
  --fs-ctl-bg: rgba(255, 255, 255, 0.85);
  --fs-sent-bg: #FFFFFF;
  --fs-on: #211E28;      /* "done" chip / check circle / bars */
  --fs-on-fg: #DDEE93;
  --fs-hero-rule: rgba(33, 30, 40, 0.16);
  --fs-hero-rail: rgba(33, 30, 40, 0.2);
}
[data-theme="dark"] {
  --fs-player-bg: linear-gradient(to bottom, #2C3350 0%, #4A4A66 40%, #6C5A6E 70%, #9A6E68 100%);
  --fs-player-overlay: linear-gradient(to right, rgba(14, 10, 22, 0.5), rgba(14, 10, 22, 0.12));
  --fs-player-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
  --fs-card-bg: rgba(20, 16, 30, 0.66);
  --fs-card-border: rgba(246, 210, 176, 0.24);
  --fs-tint: rgba(221, 238, 147, 0.12);
  --fs-track: rgba(246, 210, 176, 0.22);
  --fs-bar-muted: rgba(246, 210, 176, 0.5);
  --fs-ctl-bg: rgba(255, 255, 255, 0.14);
  --fs-sent-bg: rgba(20, 16, 30, 0.92);
  --fs-on: #DDEE93;
  --fs-on-fg: #211E28;
  --fs-hero-rule: rgba(246, 210, 176, 0.16);
  --fs-hero-rail: rgba(246, 210, 176, 0.22);
}

/* --------------------------------------------------------------------------
   01 Hero pipeline
   -------------------------------------------------------------------------- */
.fs-hero { padding-bottom: clamp(3.25rem, 2rem + 4.4vw, 6.25rem); }
.fs-hero__inner { display: grid; gap: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.fs-hero__title {
  position: relative;
  margin: 0;
  padding-left: 30px;
  display: grid;
  font-family: var(--v2-font-display);
  font-weight: 500;
  font-size: var(--v2-fs-h1);
  line-height: 1.08;
  letter-spacing: var(--v2-ls-h);
}
.fs-hero__rail {
  position: absolute; left: 8px; top: 6%; bottom: 6%;
  width: 1px; background: var(--fs-hero-rail);
}
.fs-hero__dot {
  position: absolute; left: 3px; top: 87.5%;
  width: 11px; height: 11px; margin-top: -5px;
  border-radius: var(--v2-r-pill);
  background: var(--v2-accent);
  box-shadow: 0 0 0 6px var(--v2-accent-halo);
}
.fs-hero__line {
  display: flex; align-items: baseline;
  gap: clamp(0.875rem, 0.7rem + 0.8vw, 1.375rem);
  padding: 12px 0;
  border-bottom: 1px solid var(--fs-hero-rule);
}
.fs-hero__num {
  flex: none; width: 28px;
  font-family: var(--v2-font-text);
  font-size: clamp(0.8125rem, 0.77rem + 0.2vw, 0.9375rem);
  font-weight: 400; letter-spacing: 0.1em;
  color: var(--v2-accent-ink);
}
.fs-hero__text { min-width: 0; }
.fs-hero__paid {
  display: inline-block;
  padding: 0 clamp(10px, 0.4rem + 0.8vw, 18px);
  margin-left: calc(-1 * clamp(10px, 0.4rem + 0.8vw, 18px));
  border-radius: 14px;
  background: var(--v2-accent);
  color: #211E28;
}

/* Looping pipeline: lines appear one by one, the dot walks down the rail,
   "Paid." lights up, then everything fades and restarts (10s). The
   static (no-animation) state is the final, fully lit pipeline. */
@media (prefers-reduced-motion: no-preference) {
  .fs-hero__line { animation: 10s linear infinite both; }
  .fs-hero__line--1 { animation-name: fs-hero-l1; }
  .fs-hero__line--2 { animation-name: fs-hero-l2; }
  .fs-hero__line--3 { animation-name: fs-hero-l3; }
  .fs-hero__line--4 { animation-name: fs-hero-l4; }
  .fs-hero__paid { animation: fs-hero-paid 10s linear infinite both; }
  .fs-hero__dot { animation: fs-hero-dot 10s linear infinite both, fs-hero-pulse 1.9s ease-in-out infinite alternate; }
}
@keyframes fs-hero-l1 { 0%, 4% { opacity: 0; transform: translateY(14px); } 9%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes fs-hero-l2 { 0%, 10.5% { opacity: 0; transform: translateY(14px); } 15.5%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes fs-hero-l3 { 0%, 17% { opacity: 0; transform: translateY(14px); } 22%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes fs-hero-l4 { 0%, 23.5% { opacity: 0; transform: translateY(14px); } 28.5%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: none; } }
@keyframes fs-hero-paid {
  0%, 36% { background-color: transparent; color: inherit; }
  40%, 100% { background-color: var(--v2-accent); color: #211E28; }
}
@keyframes fs-hero-dot {
  0%, 3.9% { opacity: 0; top: 12.5%; }
  4% { opacity: 1; top: 12.5%; }
  10.5% { top: 12.5%; }
  15.5% { top: 37.5%; }
  17% { top: 37.5%; }
  22% { top: 62.5%; }
  23.5% { top: 62.5%; }
  28.5% { top: 87.5%; }
  93% { opacity: 1; top: 87.5%; }
  99%, 100% { opacity: 0; top: 87.5%; }
}
@keyframes fs-hero-pulse {
  from { box-shadow: 0 0 0 6px var(--v2-accent-halo); }
  to { box-shadow: 0 0 0 10px var(--v2-accent-halo); }
}

/* --------------------------------------------------------------------------
   Shared section head spacing (design: 20px head gap, 56px to content)
   -------------------------------------------------------------------------- */
.fs-head { gap: clamp(0.875rem, 0.75rem + 0.5vw, 1.25rem); margin-bottom: clamp(2rem, 1.3rem + 2.9vw, 3.5rem); }
.fs-problem__sub { color: var(--v2-text-lead); }
.fs-problem .v2-col p { margin: 0; }
.fs-problem .v2-col h3 { margin: 0; }
/* Three problem columns (badge, title, text) with a top rule; stacked below 900px. */
.fs-problem__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .fs-problem__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fs-problem__col { gap: clamp(1rem, 0.8rem + 0.8vw, 1.5rem); }
/* Columns side by side share their row tracks (badge, title, text), so a
   two-line title pushes every column's text down to the same line. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 900px) { .fs-problem__col { grid-row: span 3; grid-template-rows: subgrid; } }
}

/* --------------------------------------------------------------------------
   03 See it work: walkthrough player
   -------------------------------------------------------------------------- */
.fs-see__glows { display: none; }
[data-theme="dark"] .fs-see__glows { display: block; }
.fs-see__head { gap: 16px; margin-bottom: clamp(1.625rem, 1.3rem + 1.3vw, 2.5rem); }
.fs-see__head .v2-h2 { letter-spacing: -0.025em; }
.fs-see__sub { margin: 0; font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem); }

.fs-demo { display: grid; gap: clamp(1.25rem, 0.9rem + 1.2vw, 1.75rem); }
.fs-demo__stage { position: relative; display: grid; gap: 16px; }
.fs-demo__panels { display: grid; }
.fs-demo__panel {
  grid-area: 1 / 1;
  display: grid; gap: 18px; align-content: start;
  opacity: 0; transform: translateY(12px); visibility: hidden;
  transition: opacity 600ms ease, transform 600ms ease, visibility 0s linear 600ms;
}
.fs-demo__panel.is-active {
  opacity: 1; transform: none; visibility: visible;
  transition: opacity 600ms ease, transform 600ms ease, visibility 0s;
}
.fs-demo__copy { display: grid; gap: 10px; max-width: 430px; }
.fs-demo__count { font-family: var(--v2-font-mono); font-size: 0.75rem; color: var(--v2-text-muted); }
.fs-demo__title {
  margin: 0;
  font-family: var(--v2-font-display); font-weight: 500;
  font-size: clamp(2.5rem, 2.05rem + 1.85vw, 4rem);
  letter-spacing: -0.03em; line-height: 1;
}
.fs-demo__text { margin: 0; font-size: clamp(1rem, 0.93rem + 0.3vw, 1.1875rem); line-height: 1.45; color: var(--v2-text-muted); }

.fs-demo__controls { display: flex; gap: 8px; justify-content: flex-end; order: -1; }
.fs-demo__ctl {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--v2-chip-border); border-radius: var(--v2-r-pill);
  background: var(--fs-ctl-bg); color: var(--v2-text);
  font: inherit; font-size: 15px; cursor: pointer;
  transition: transform var(--v2-dur) var(--v2-ease), box-shadow var(--v2-dur) ease, background-color var(--v2-dur) ease;
}
.fs-demo__ctl svg { width: 13px; height: 13px; fill: currentColor; }
.fs-demo__ctl:hover { transform: scale(1.06); box-shadow: 0 0 0 8px var(--v2-accent-halo); }
.fs-demo__ctl:focus-visible { outline: 2px solid var(--v2-focus); outline-offset: 3px; }
.fs-demo__ctl--play { background: var(--v2-accent); border-color: transparent; color: #211E28; }
.fs-demo__icon-play { display: none; }
.fs-demo.is-paused .fs-demo__icon-pause { display: none; }
.fs-demo.is-paused .fs-demo__icon-play { display: block; }

/* Card inside the player */
.fs-card {
  box-sizing: border-box; width: 100%;
  background: var(--v2-card-bg);
  border: 1px solid var(--v2-chip-border);
  border-radius: 18px;
  padding: 14px 20px;
  display: flex; flex-direction: column;
}
.fs-card--rank { padding: 14px 12px; }
.fs-card__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-bottom: 10px; min-height: 30px;
}
.fs-card--rank .fs-card__head { padding-inline: 8px; }
.fs-card__label { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v2-text-muted); }
.fs-card__meta { display: none; font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--v2-text-muted); }
.fs-muted { color: var(--v2-text-muted); }
.fs-xs { font-size: 0.75rem; }
.fs-xs2 { font-size: 0.8125rem; }
.fs-xxs { font-size: 0.75rem; }
.fs-cap { display: block; font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v2-text-muted); }
.fs-cap--lg { font-size: 0.6875rem; }

.fs-row { border-top: 1px solid var(--v2-border); }
.fs-pill {
  display: block; justify-self: start;
  font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  padding: 5px 11px; border-radius: var(--v2-r-pill);
  box-shadow: inset 0 0 0 1px var(--fs-card-border);
}
.fs-chan { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; }
.fs-chan__body { display: grid; gap: 8px; }
.fs-chan__body--tight { gap: 4px; }
.fs-chan__voice { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fs-chan__quote { font-size: 0.9375rem; line-height: 1.4; }
.fs-chan__subject { font-size: 0.9375rem; line-height: 1.35; font-weight: 600; }
.fs-bubble { display: inline-block; font-size: 0.9375rem; line-height: 1.4; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--fs-tint); }
.fs-wave { display: flex; gap: 3px; align-items: center; height: 28px; }
.fs-wave > span { display: block; width: 4px; height: 28px; border-radius: 2px; background: var(--fs-on); transform: scaleY(0.22); }

.fs-done { display: flex; align-items: center; gap: 12px; padding: 14px 0 4px; font-size: 0.9375rem; font-weight: 600; }
.fs-done--soft { border-top: 0; padding: 6px 0 2px; font-weight: 400; color: var(--v2-text-muted); }
.fs-done--plain { border-top: 0; padding: 8px 0 4px; font-weight: 400; }
.fs-done--plain.fs-done--rule { border-top: 1px solid var(--v2-border); padding-top: 12px; }
.fs-check { display: block; flex: none; width: 18px; height: 18px; }
.fs-check circle { fill: var(--fs-on); }
.fs-check path { fill: none; stroke: var(--fs-on-fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fs-check--lg { width: 46px; height: 46px; }
.fs-check--lg path { stroke-width: 1.8; }

.fs-chip-on {
  display: inline-block; white-space: nowrap;
  font-size: 0.75rem; font-weight: 600; padding: 5px 12px; border-radius: var(--v2-r-pill);
  background: var(--fs-on); color: var(--fs-on-fg);
  border-top: 0;
}
.fs-chip-on--xs { font-size: 0.65625rem; font-weight: 700; padding: 4px 10px; }

/* Logged: key/value list */
.fs-kv { margin: 0; display: grid; }
.fs-kv > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; font-size: 0.9375rem; }
.fs-kv dt { color: var(--v2-text-muted); }
.fs-kv dd { margin: 0; font-weight: 600; text-align: right; }

/* Quoted */
.fs-status { position: relative; display: inline-grid; white-space: nowrap; font-size: 0.75rem; font-weight: 600; }
.fs-status > span {
  grid-area: 1 / 1; padding: 5px 12px; border-radius: var(--v2-r-pill);
  transition: opacity 400ms ease;
}
.fs-status__a { box-shadow: inset 0 0 0 1px var(--fs-card-border); color: var(--v2-text-muted); opacity: 0; }
.fs-status__b { background: var(--fs-on); color: var(--fs-on-fg); }
.fs-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 0.875rem; }
.fs-line__amt { font-weight: 600; white-space: nowrap; }
.fs-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 4px; border-top-color: var(--fs-card-border); }
.fs-total__num, .fs-sum__num { font-family: var(--v2-font-display); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.5rem, 1.35rem + 0.6vw, 1.875rem); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fs-sum__num { font-size: clamp(1.375rem, 1.3rem + 0.35vw, 1.625rem); }

/* Scheduled: ranking */
.fs-rank {
  display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 10px; align-items: center;
  padding: 9px 12px; border: 1px solid transparent; border-radius: 12px;
  border-top-color: transparent;
}
.fs-rank__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fs-rank__name { font-size: 0.9375rem; font-weight: 600; }
.fs-best {
  display: inline-block; margin-left: 8px; vertical-align: 2px;
  font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  padding: 3px 8px; border-radius: var(--v2-r-pill);
  background: var(--fs-on); color: var(--fs-on-fg);
}
.fs-bars { display: none; gap: 4px; }
.fs-bars > span { display: block; height: 4px; border-radius: 2px; background: var(--fs-track); overflow: hidden; }
.fs-bars i { display: block; height: 100%; border-radius: 2px; background: var(--fs-on); transform-origin: left; }
.fs-w100 { width: 100%; } .fs-w95 { width: 95%; } .fs-w90 { width: 90%; } .fs-w85 { width: 85%; } .fs-w80 { width: 80%; } .fs-w75 { width: 75%; }
.fs-rank__pct { font-family: var(--v2-font-display); font-weight: 500; font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); text-align: right; }
.fs-rank--best { border-color: var(--fs-on); background: var(--fs-tint); }
.fs-done--rule { margin-top: 4px; }

/* Compliance */
.fs-check-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; font-size: 0.9375rem; }
.fs-note { margin: 10px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--fs-tint); font-size: 0.9375rem; line-height: 1.4; }
.fs-note--gap { margin: 4px 0 8px; }
.fs-card .fs-r4:has(.fs-note), .fs-card .fs-r2:has(.fs-note) { border-top: 0; }

/* Completed: phone + service report */
.fs-complete { display: grid; gap: 14px; }
.fs-phone {
  position: relative; box-sizing: border-box;
  width: min(236px, 100%); min-height: 340px; justify-self: center;
  border-radius: 34px; border: 2px solid var(--fs-card-border); background: var(--fs-card-bg);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.fs-phone__notch { width: 70px; height: 8px; border-radius: 6px; background: var(--fs-card-border); align-self: center; }
.fs-phone__title { font-size: 0.9375rem; font-weight: 700; padding-top: 4px; }
.fs-phone__notes { border: 1px solid var(--v2-border); border-radius: 12px; padding: 10px 12px; min-height: 110px; }
.fs-phone__note { border-top: 0; font-size: 0.78125rem; line-height: 1.4; padding: 3px 0; }
.fs-phone__times { border-top: 0; font-size: 0.78125rem; color: var(--v2-text-muted); padding: 2px 0; }
.fs-phone__submit { border-top: 0; margin-top: auto; background: var(--fs-on); color: var(--fs-on-fg); font-weight: 700; font-size: 0.875rem; text-align: center; padding: 12px; border-radius: 12px; }
.fs-phone__sent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--fs-sent-bg); font-size: 0.9375rem; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity 450ms ease;
}
.fs-report {
  box-sizing: border-box; background: var(--fs-card-bg); border: 1px solid var(--fs-card-border);
  border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
}
.fs-report > .fs-row { border-top: 0; }
.fs-report__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fs-report__title { display: flex; flex-direction: column; gap: 3px; padding: 8px 0 10px; }
.fs-report__title strong { font-size: 1rem; line-height: 1.25; }
.fs-report__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fs-report__grid > div, .fs-report__full { display: flex; flex-direction: column; gap: 3px; }
.fs-report__full { padding-top: 10px; }
.fs-report__txt { font-size: 0.78125rem; line-height: 1.4; }
.fs-report__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; flex-wrap: wrap; }
.fs-thumbs { display: flex; gap: 8px; }
.fs-thumbs > span { display: block; width: 62px; height: 42px; border-radius: 8px; background: var(--fs-tint); border: 1px solid var(--v2-border); }
.fs-report__signed { display: flex; align-items: center; gap: 8px; font-size: 0.78125rem; font-weight: 600; }

/* Reporting */
.fs-rep { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 20px; align-items: center; padding: 14px 0; }
.fs-rep__who { display: flex; flex-direction: column; gap: 4px; }
.fs-rep__who strong { font-size: 1rem; font-weight: 600; }
.fs-spark { display: flex; gap: 5px; align-items: flex-end; height: 38px; width: 120px; }
.fs-spark i { display: block; width: 8px; border-radius: 2px; background: var(--fs-bar-muted); transform-origin: bottom; }
.fs-spark i:last-child { background: var(--fs-on); height: 90%; }
.fs-spark--a i:nth-child(1) { height: 34%; } .fs-spark--a i:nth-child(2) { height: 53%; } .fs-spark--a i:nth-child(3) { height: 37%; } .fs-spark--a i:nth-child(4) { height: 51%; } .fs-spark--a i:nth-child(5) { height: 32%; } .fs-spark--a i:nth-child(6) { height: 43%; } .fs-spark--a i:nth-child(7) { height: 43%; }
.fs-spark--b i:nth-child(1) { height: 37%; } .fs-spark--b i:nth-child(2) { height: 61%; } .fs-spark--b i:nth-child(3) { height: 41%; } .fs-spark--b i:nth-child(4) { height: 45%; } .fs-spark--b i:nth-child(5) { height: 35%; } .fs-spark--b i:nth-child(6) { height: 31%; } .fs-spark--b i:nth-child(7) { height: 51%; }
.fs-spark--c i:nth-child(1) { height: 49%; } .fs-spark--c i:nth-child(2) { height: 58%; } .fs-spark--c i:nth-child(3) { height: 38%; } .fs-spark--c i:nth-child(4) { height: 26%; } .fs-spark--c i:nth-child(5) { height: 41%; } .fs-spark--c i:nth-child(6) { height: 35%; } .fs-spark--c i:nth-child(7) { height: 62%; }

/* Steps / progress */
.fs-demo__steps {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.fs-demo__steps::-webkit-scrollbar { display: none; }
.fs-demo__steps > li { flex: none; scroll-snap-align: start; }
.fs-step {
  display: block; width: 100%; padding: 10px 16px; margin: 0;
  border: 0; border-radius: var(--v2-r-pill);
  box-shadow: inset 0 0 0 1px var(--v2-chip-border);
  background: transparent; color: var(--v2-text-muted);
  font: inherit; font-size: 0.875rem; font-weight: 600; text-align: left; white-space: nowrap; cursor: pointer;
  transition: background-color 400ms ease, color 400ms ease, opacity 400ms ease;
}
.fs-step:hover { color: var(--v2-text); }
.fs-step:focus-visible { outline: 2px solid var(--v2-focus); outline-offset: 3px; }
.fs-step.is-active { background: var(--v2-accent); color: #211E28; box-shadow: none; }
.fs-step__track { display: none; }
.fs-step__num { display: none; font-family: var(--v2-font-mono); font-size: 0.75rem; }

/* Row reveal (only while JS drives the walkthrough and motion is allowed) */
.fs-demo.is-animated .fs-row {
  opacity: 0; transform: translateY(8px);
  transition: opacity 450ms ease, transform 450ms ease;
}
.fs-demo.is-animated .is-active .fs-row { opacity: 1; transform: none; }
.fs-demo.is-animated .is-active .fs-r0 { transition-delay: 400ms; }
.fs-demo.is-animated .is-active .fs-r1 { transition-delay: 825ms; }
.fs-demo.is-animated .is-active .fs-r2 { transition-delay: 1250ms; }
.fs-demo.is-animated .is-active .fs-r3 { transition-delay: 1675ms; }
.fs-demo.is-animated .is-active .fs-r4 { transition-delay: 2100ms; }
.fs-demo.is-animated .is-active .fs-r5 { transition-delay: 2525ms; }
.fs-demo.is-animated .is-active .fs-r6 { transition-delay: 2950ms; }
.fs-demo.is-animated .is-active .fs-r7 { transition-delay: 3375ms; }
.fs-demo.is-animated .is-active .fs-r8 { transition-delay: 3800ms; }
.fs-demo.is-animated .is-active .fs-r9 { transition-delay: 4225ms; }
.fs-demo.is-animated .fs-demo__panel--long.is-active .fs-r0 { transition-delay: 440ms; }
.fs-demo.is-animated .fs-demo__panel--long.is-active .fs-r1 { transition-delay: 908ms; }
.fs-demo.is-animated .fs-demo__panel--long.is-active .fs-r2 { transition-delay: 1375ms; }
.fs-demo.is-animated .fs-demo__panel--long.is-active .fs-r3 { transition-delay: 1843ms; }
.fs-demo.is-animated .fs-demo__panel--long.is-active .fs-r4 { transition-delay: 2310ms; }
.fs-demo.is-animated .fs-demo__panel--long.is-active .fs-r7 { transition-delay: 3713ms; }
.fs-demo.is-animated .fs-demo__panel--long.is-active .fs-r8 { transition-delay: 4180ms; }
.fs-demo.is-animated .fs-demo__panel--long.is-active .fs-r9 { transition-delay: 4648ms; }
/* "Report sent" overlay after the submit tap */
.fs-demo .fs-phone__sent { opacity: 0; }
.fs-demo:not(.is-animated) .fs-phone__sent { opacity: 0; }
.fs-demo.is-animated .fs-demo__panel--long.is-active .fs-phone__sent { opacity: 1; transition-delay: 3245ms; }
/* Voice wave while step 1 is on screen */
.fs-demo.is-animated .is-active .fs-wave > span { animation: fs-wave 0.53s ease-in-out infinite alternate; }
.fs-wave > span:nth-child(2) { animation-delay: -0.14s; } .fs-wave > span:nth-child(3) { animation-delay: -0.27s; }
.fs-wave > span:nth-child(4) { animation-delay: -0.41s; } .fs-wave > span:nth-child(5) { animation-delay: -0.06s; }
.fs-wave > span:nth-child(6) { animation-delay: -0.33s; } .fs-wave > span:nth-child(7) { animation-delay: -0.2s; }
.fs-wave > span:nth-child(8) { animation-delay: -0.47s; } .fs-wave > span:nth-child(9) { animation-delay: -0.1s; }
.fs-wave > span:nth-child(10) { animation-delay: -0.37s; } .fs-wave > span:nth-child(11) { animation-delay: -0.24s; }
.fs-wave > span:nth-child(12) { animation-delay: -0.5s; }
@keyframes fs-wave { from { transform: scaleY(0.22); } to { transform: scaleY(1); } }
/* Quote status flips to approved at ~82% of the step */
.fs-demo.is-animated .fs-status__a { opacity: 1; }
.fs-demo.is-animated .fs-status__b { opacity: 0; }
.fs-demo.is-animated .is-active .fs-status__a { opacity: 0; transition-delay: 4100ms; }
.fs-demo.is-animated .is-active .fs-status__b { opacity: 1; transition-delay: 4100ms; }
/* Ranking: score bars grow, best match highlights */
.fs-demo.is-animated .fs-bars i { transform: scaleX(0); transition: transform 1250ms ease; }
.fs-demo.is-animated .is-active .fs-bars i { transform: none; transition-delay: 500ms; }
.fs-demo.is-animated .fs-rank--best { border-color: transparent; background: transparent; transition: border-color 400ms ease, background-color 400ms ease; }
.fs-demo.is-animated .is-active .fs-rank--best { border-color: var(--fs-on); background: var(--fs-tint); transition-delay: 3100ms, 3100ms, 0ms, 0ms; }
/* Reporting bars grow */
.fs-demo.is-animated .fs-spark i { transform: scaleY(0); transition: transform 1250ms ease; }
.fs-demo.is-animated .is-active .fs-spark i { transform: none; transition-delay: 500ms; }
.fs-demo.is-animated .is-active .fs-spark--b i { transition-delay: 750ms; }
.fs-demo.is-animated .is-active .fs-spark--c i { transition-delay: 1000ms; }
/* Step progress fill (desktop track) */
.fs-demo.is-animated .fs-step.is-active .fs-step__fill { animation: fs-fill 5s linear both; }
.fs-demo.is-animated .fs-step--long.is-active .fs-step__fill { animation-duration: 11s; }
.fs-demo.is-paused .fs-step.is-active .fs-step__fill { animation-play-state: paused; }
@keyframes fs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (min-width: 600px) {
  .fs-complete { grid-template-columns: 236px minmax(0, 1fr); align-items: stretch; }
  .fs-phone { min-height: 380px; }
  .fs-rank { grid-template-columns: minmax(0, 1fr) 100px 52px; gap: 16px; padding: 9px 14px; }
  .fs-bars { display: grid; }
  .fs-card__meta { display: inline; }
}

@media (min-width: 900px) {
  .fs-demo__stage {
    display: block;
    min-height: 480px;
    border-radius: 26px; overflow: hidden;
    background: var(--fs-player-bg);
    box-shadow: var(--fs-player-shadow);
  }
  .fs-demo__stage::before { content: ""; position: absolute; inset: 0; background: var(--fs-player-overlay); pointer-events: none; }
  .fs-demo__panels { position: relative; min-height: 480px; padding: 40px clamp(56px, 5vw, 140px) 76px 56px; box-sizing: border-box; }
  .fs-demo__panel { justify-items: start; }
  .fs-demo__panel .fs-card { max-width: 520px; }
  .fs-complete { max-width: 650px; width: 100%; }
  .fs-demo__copy { gap: 14px; }
  .fs-demo__count { font-size: 0.875rem; }
  .fs-demo__controls { position: absolute; left: 56px; bottom: 22px; z-index: 2; justify-content: flex-start; }
  .fs-demo__ctl { width: 34px; height: 34px; border-color: transparent; }
  .fs-demo__ctl--play { background: var(--fs-ctl-bg); color: var(--v2-text); }
  .fs-card { background: var(--fs-card-bg); border-color: var(--fs-card-border); padding: 20px 28px; }
  .fs-card--rank { padding: 16px 18px; }
  .fs-card--rank .fs-card__head { padding-inline: 0; }
  .fs-card__label { font-size: 0.75rem; }
  .fs-chan { grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 15px 0; }
  .fs-chan__quote, .fs-chan__subject { font-size: 1rem; }
  .fs-kv > div { padding: 13px 0; font-size: 1rem; }
  .fs-line { font-size: 0.9375rem; }
  .fs-check-row { padding: 15px 0; font-size: 1.0625rem; }
  .fs-rank__name { font-size: 1rem; }
  .fs-done { font-size: 1rem; }
  .fs-done--soft, .fs-done--plain { font-size: 0.9375rem; }
  .fs-complete { grid-template-columns: 236px 372px; justify-content: space-between; gap: 22px; }
  .fs-report { height: 380px; }

  .fs-demo__steps { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; overflow: visible; }
  .fs-step {
    display: grid; gap: 12px; padding: 0 0 4px; border-radius: 0; box-shadow: none;
    background: transparent; color: var(--v2-text); opacity: 0.5; font-size: 1rem;
  }
  .fs-step:hover { opacity: 0.8; }
  .fs-step.is-active { background: transparent; color: var(--v2-text); opacity: 1; }
  .fs-step__track { display: block; height: 2px; background: var(--fs-track); overflow: hidden; }
  .fs-step__fill { display: block; height: 100%; background: var(--fs-on); transform-origin: left; transform: scaleX(0); }
  .fs-step.is-done .fs-step__fill, .fs-step.is-active .fs-step__fill { transform: scaleX(1); }
  .fs-step__label { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
  .fs-step__num { display: inline; }
}
@media (min-width: 1200px) {
  .fs-demo__panel {
    grid-template-columns: minmax(0, 430px) minmax(0, 520px);
    justify-content: space-between; align-items: center; align-content: center; gap: 40px;
  }
  .fs-demo__panel--long { grid-template-columns: minmax(0, 360px) minmax(0, 650px); }
}
@media (min-width: 1280px) {
  .fs-demo__panels { padding-right: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .fs-hero__line, .fs-hero__paid, .fs-hero__dot { animation: none !important; }
  .fs-wave > span { animation: none !important; }
}

/* --------------------------------------------------------------------------
   04 Results
   -------------------------------------------------------------------------- */
.fs-results__inner { display: grid; gap: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.fs-results__sub { margin: 0; max-width: 820px; }
.fs-results__group { display: grid; gap: 22px; }
.fs-results__lab { margin: 0; font-weight: 400; }
.fs-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fs-stats .v2-body { margin: 0; }
.fs-statnum { color: var(--v2-accent-ink); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .fs-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
}

/* --------------------------------------------------------------------------
   05 What TYTEN does
   -------------------------------------------------------------------------- */
.fs-does__head .v2-h2 { letter-spacing: -0.025em; }
.fs-does__sub { margin: 0; }
.fs-does__grid { list-style: none; margin: 0; padding: 0; }
/* The shared card grid goes 4-up at 900px; between 900 and 1199px the cards
   are too narrow for the nowrap "Automated by TYTEN" pill, so stay 2-up. */
@media (min-width: 900px) and (max-width: 1199.98px) {
  .fs-does__grid.v2-grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.fs-does__card .v2-card__title { margin-bottom: 0; }
/* While the auto-highlight runs, the other cards only lift on real hover. */
.fs-does__grid.is-cycling:hover .fs-does__card.is-active:not(:hover) {
  border-color: var(--v2-border); background: var(--v2-card-bg); transform: none;
}

/* --------------------------------------------------------------------------
   06 Integrations
   -------------------------------------------------------------------------- */
:root, [data-theme="light"] {
  --fs-int-line: rgba(33, 30, 40, 0.16);
  --fs-int-fill: rgba(33, 30, 40, 0.02);
  --fs-sys-border: rgba(33, 30, 40, 0.22);
  --fs-sys-bg: rgba(33, 30, 40, 0.03);
  --fs-st-new: #8A8094;
  --fs-st-future: #7E7488;
}
[data-theme="dark"] {
  --fs-int-line: rgba(246, 210, 176, 0.18);
  --fs-int-fill: rgba(255, 255, 255, 0.03);
  --fs-sys-border: rgba(246, 210, 176, 0.24);
  --fs-sys-bg: rgba(255, 255, 255, 0.04);
  --fs-st-new: #B7ABB9;
  --fs-st-future: #9D93A6;
}
.fs-int__top { display: grid; gap: 24px; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.fs-int__head .v2-h2 { letter-spacing: -0.025em; line-height: 1.05; }
.fs-int__sub { margin: 0; max-width: 560px; }

.fs-int__table { border: 1px solid var(--fs-int-line); border-radius: clamp(20px, 1rem + 1vw, 30px); overflow: hidden; background: var(--fs-int-fill); }
.fs-int__row { display: grid; gap: 16px; padding: 22px 20px; }
.fs-int__row + .fs-int__row { border-top: 1px solid var(--fs-int-line); }
.fs-int__cat { margin: 0; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--v2-text-muted); font-weight: 600; }
.fs-int__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fs-sys {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-size: 0.9375rem; font-weight: 600; line-height: 1.2;
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--fs-sys-border); background: var(--fs-sys-bg);
  transition: border-color 400ms ease, background-color 400ms ease;
}
.fs-sys--future { opacity: 0.5; }
/* Vendor tags: the whole tag is the link target (stretched ::after), so the tag keeps its padding/look. */
.fs-sys--link { position: relative; }
.fs-sys__link { color: inherit; text-decoration: none; }
.fs-sys__link::after { content: ""; position: absolute; inset: -1px; border-radius: 12px; }
.fs-sys__link:focus-visible { outline: none; }
.fs-sys__link:focus-visible::after { outline: 2px solid var(--v2-focus); outline-offset: 2px; }
.fs-sys--link:hover,
.fs-sys--link:has(.fs-sys__link:focus-visible) { border-color: var(--v2-accent); background: var(--v2-accent-tint); }
.fs-sys--link:hover .fs-sys__link { color: var(--v2-accent-ink); }
.fs-sys--more { border-color: var(--v2-accent-tint-border); background: var(--v2-accent-tint); color: var(--v2-accent-ink); }
.fs-sys__st { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.fs-sys__st--live { color: var(--v2-accent-ink); }
.fs-sys__st--new { color: var(--fs-st-new); }
.fs-sys__st--future { color: var(--fs-st-future); }

.fs-int__beyond { display: grid; gap: 28px; margin-top: clamp(3rem, 2.3rem + 2.9vw, 4.5rem); align-items: start; }
.fs-int__beyond-head { display: grid; gap: 18px; }
.fs-int__beyond-title { margin: 0; font-family: var(--v2-font-display); font-weight: 500; font-size: clamp(1.75rem, 1.5rem + 1.05vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; }
.fs-int__papers { list-style: none; margin: 0; padding: 0; display: grid; }
.fs-int__papers > li {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--fs-int-line);
  font-size: clamp(1.125rem, 1.03rem + 0.4vw, 1.375rem); line-height: 1.35;
}
.fs-int__papers strong { font-weight: 600; }
.fs-int__pnum { font-family: var(--v2-font-mono); font-size: 0.875rem; color: var(--v2-text-muted); }
.fs-int__trust { margin: 36px 0 0; font-size: 1rem; line-height: 1.6; color: var(--v2-text-muted); max-width: 900px; }
.fs-int__trust a { color: inherit; text-decoration: underline; text-decoration-color: var(--v2-accent-ink); text-underline-offset: 3px; }
.fs-int__trust a:hover { color: var(--v2-accent-ink); }
.fs-int__cards { display: grid; gap: 18px; margin-top: clamp(2.5rem, 1.9rem + 2.4vw, 4rem); }
.fs-int__card {
  border: 1px solid var(--fs-int-line); border-radius: 24px; background: var(--fs-int-fill);
  padding: clamp(24px, 1.2rem + 1vw, 34px) clamp(22px, 1rem + 1.5vw, 38px);
  display: grid; gap: 14px; align-content: start;
}
.fs-int__card-title { margin: 0; font-family: var(--v2-font-display); font-weight: 600; font-size: clamp(1.375rem, 1.24rem + 0.57vw, 1.75rem); letter-spacing: -0.02em; }
.fs-int__card p { margin: 0; font-size: var(--v2-fs-body); line-height: 1.55; color: var(--v2-text-muted); max-width: 460px; }
.fs-int__legal { margin: 36px 0 0; font-size: 0.8125rem; line-height: 1.6; color: var(--v2-text-muted); max-width: 1000px; }

@media (min-width: 900px) {
  .fs-int__row { grid-template-columns: minmax(180px, 290px) minmax(0, 1fr); gap: 32px; align-items: center; padding: 30px 44px; }
  .fs-int__cat { font-size: 0.8125rem; }
  .fs-int__chips { gap: 12px; }
  .fs-sys { font-size: 1.125rem; padding: 12px 18px; }
  .fs-int__beyond { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); }
  .fs-int__papers > li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
  .fs-int__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* --------------------------------------------------------------------------
   07 You stay in control
   -------------------------------------------------------------------------- */
.fs-ctrl__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.fs-ctrl__intro { display: grid; gap: 28px; align-content: space-between; height: 100%; }
.fs-ctrl__note { margin: 0; max-width: 420px; }
.fs-ctrl__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--v2-line); }
.fs-ctrl__list .v2-ctrl { padding: 22px 0; }
.fs-ctrl__icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--v2-r-pill); background: var(--v2-accent);
}
.fs-ctrl__icon svg { width: 22px; height: 22px; fill: none; stroke: #211E28; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fs-ctrl__txt { display: grid; gap: 8px; }
.fs-ctrl__title { margin: 0; font-size: clamp(1.25rem, 1.2rem + 0.2vw, 1.375rem); }
.fs-ctrl__txt p { margin: 0; }
@media (min-width: 900px) {
  .fs-ctrl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-ctrl__list .v2-ctrl { padding: 26px 0; }
}

/* --------------------------------------------------------------------------
   08 Your first 60 days: timeline lights up step by step (10s loop)
   -------------------------------------------------------------------------- */
.fs-days__inner { display: grid; gap: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
.fs-days__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.fs-days__step { display: grid; gap: 14px; align-content: start; }
.fs-days__title { margin: 0; font-size: clamp(1.25rem, 1.2rem + 0.2vw, 1.375rem); }
.fs-days__step p { margin: 0; }
/* Steps side by side share row tracks so body text starts on one line. */
@supports (grid-template-rows: subgrid) {
  .fs-days__step { grid-row: span 4; grid-template-rows: subgrid; }
}
.fs-days__track { position: relative; display: block; height: 22px; }
.fs-days__track::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--v2-line-soft); }
.fs-days__fill { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--v2-accent); transform-origin: left; }
.fs-days__step--4 .fs-days__fill { transform: scaleX(0); }
.fs-days__dot {
  position: absolute; left: 0; top: 4px; width: 14px; height: 14px; box-sizing: border-box;
  border-radius: var(--v2-r-pill); border: 2px solid var(--v2-accent); background: var(--v2-accent);
}
.fs-days__banner { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .fs-days__step--1 .fs-days__fill { animation: fs-days-f1 10s linear infinite both; }
  .fs-days__step--2 .fs-days__fill { animation: fs-days-f2 10s linear infinite both; }
  .fs-days__step--3 .fs-days__fill { animation: fs-days-f3 10s linear infinite both; }
  .fs-days__step--2 .fs-days__dot { animation: fs-days-d2 10s linear infinite both; }
  .fs-days__step--3 .fs-days__dot { animation: fs-days-d3 10s linear infinite both; }
  .fs-days__step--4 .fs-days__dot { animation: fs-days-d4 10s linear infinite both; }
}
@keyframes fs-days-f1 { 0%, 23% { transform: scaleX(0); } 30%, 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fs-days-f2 { 0%, 46% { transform: scaleX(0); } 53%, 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fs-days-f3 { 0%, 69% { transform: scaleX(0); } 76%, 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fs-days-d2 { 0%, 23% { background-color: var(--v2-bg); border-color: var(--v2-chip-border); } 28%, 100% { background-color: var(--v2-accent); border-color: var(--v2-accent); } }
@keyframes fs-days-d3 { 0%, 46% { background-color: var(--v2-bg); border-color: var(--v2-chip-border); } 51%, 100% { background-color: var(--v2-accent); border-color: var(--v2-accent); } }
@keyframes fs-days-d4 { 0%, 69% { background-color: var(--v2-bg); border-color: var(--v2-chip-border); } 74%, 100% { background-color: var(--v2-accent); border-color: var(--v2-accent); } }

/* --------------------------------------------------------------------------
   09 How we start
   -------------------------------------------------------------------------- */
.fs-start__list > li { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--v2-line); }
.fs-start__list p { margin: 0; }
@media (min-width: 900px) { .fs-start__list > li { padding: 26px 0; } }

/* --------------------------------------------------------------------------
   10 Closing + pipeline divider above the shared footer
   -------------------------------------------------------------------------- */
.fs-closing { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(3.5rem, 2.5rem + 4.4vw, 6.25rem); }
.fs-closing__inner { padding-bottom: clamp(3rem, 2.3rem + 2.9vw, 4.5rem); }
.fs-closing__accent { color: var(--v2-accent-ink); }
.fs-pipe { position: relative; height: 1px; background: var(--v2-line-soft); margin: 0 0 clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.fs-pipe__fill { position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--v2-accent); opacity: 0.55; transform-origin: left; }
.fs-pipe__node {
  position: absolute; top: -5px; margin-left: -5px; width: 11px; height: 11px; box-sizing: border-box;
  border-radius: var(--v2-r-pill); border: 2px solid var(--v2-accent); background: var(--v2-accent);
}
.fs-pipe__node--1 { left: 0; } .fs-pipe__node--2 { left: 33.333%; } .fs-pipe__node--3 { left: 66.667%; } .fs-pipe__node--4 { left: 100%; margin-left: -6px; }
.fs-pipe__dot {
  position: absolute; top: -5px; left: 0; margin-left: -5px; width: 11px; height: 11px; border-radius: var(--v2-r-pill);
  background: var(--v2-accent); box-shadow: 0 0 0 6px var(--v2-accent-halo); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .fs-pipe__fill { animation: fs-pipe-fill 9s linear infinite; }
  .fs-pipe__dot { animation: fs-pipe-dot 9s linear infinite; }
  .fs-pipe__node--2 { animation: fs-pipe-n2 9s linear infinite; }
  .fs-pipe__node--3 { animation: fs-pipe-n3 9s linear infinite; }
  .fs-pipe__node--4 { animation: fs-pipe-n4 9s linear infinite; }
}
@keyframes fs-pipe-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fs-pipe-dot {
  0% { left: 0; opacity: 0; } 16.7% { opacity: 1; } 83.3% { opacity: 1; } 100% { left: 100%; opacity: 0; }
}
@keyframes fs-pipe-n2 { 0%, 32.3% { background-color: var(--v2-bg); border-color: var(--v2-chip-border); } 33.3%, 100% { background-color: var(--v2-accent); border-color: var(--v2-accent); } }
@keyframes fs-pipe-n3 { 0%, 65.6% { background-color: var(--v2-bg); border-color: var(--v2-chip-border); } 66.6%, 100% { background-color: var(--v2-accent); border-color: var(--v2-accent); } }
@keyframes fs-pipe-n4 { 0%, 98.9% { background-color: var(--v2-bg); border-color: var(--v2-chip-border); } 99%, 100% { background-color: var(--v2-accent); border-color: var(--v2-accent); } }

/* Fixes after visual check */
.fs-see__glows { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); }
@media (max-width: 1199.98px) {
  /* Narrow screens: the stage takes the height of the current step only, and
     the step pills sit above it so they do not jump while steps change. */
  .fs-demo__panels { position: relative; }
  .fs-demo__panel:not(.is-active) { position: absolute; top: 0; left: 0; width: 100%; }
}
@media (max-width: 899.98px) { .fs-demo__steps { order: -1; } }
@media (min-width: 900px) and (max-width: 1199.98px) {
  .fs-demo__panel:not(.is-active) { top: 40px; left: 56px; right: clamp(56px, 5vw, 140px); width: auto; }
}
@media (min-width: 900px) and (max-width: 1199.98px) { .fs-step__num { display: none; } .fs-step { font-size: 0.9375rem; } }
