/* The token story on the landing: the launchpad board of fund tokens (the
   app's Explore card, compressed), the token sheet's labels, the launch
   playbook's visuals, the three holdings, and the "How a token is backed"
   conveyor. Palette and type come from the shared tokens: lime stays on
   actions, the violet accent marks the current state and selection. */

/* ---- Token vocabulary ------------------------------------------------- */
.tk-coin {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: -5px;
  background: var(--paper);
  overflow: hidden;
}
.tk-coin img {
  display: block;
  width: 56%;
  height: 56%;
  border-radius: 50%;
}
.tk-coin-large {
  width: 52px;
  height: 52px;
}
.tk-coin-small {
  width: 30px;
  height: 30px;
}
.tk-coin-empty {
  background:
    radial-gradient(circle, var(--lp-line) 0.9px, transparent 1.2px) 0 0 / 4px
      4px,
    var(--paper);
  border-style: dashed;
}
/* Tickers keep their case (Silkscreen has no lowercase): a sans symbol chip. */
.token-ticker {
  display: inline-block;
  padding: 3px 6px 2px;
  border: 1px solid var(--lp-line);
  font: 600 11px/1.2 var(--display);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  color: var(--ink);
  background: var(--paper);
}
.tk-bar {
  display: flex;
  gap: 3px;
  height: 10px;
}
.tk-bar i {
  display: block;
  height: 100%;
  flex-shrink: 0;
}
.tk-bar .tone-1 {
  background: var(--allocation-1);
}
.tk-bar .tone-2 {
  background: var(--allocation-2);
}
.tk-bar .tone-3 {
  background: var(--allocation-3);
}
.tk-bar .tone-4 {
  background: var(--allocation-4);
}
/* Small asset chips (playbook visual, the flow's asset list). */
.flow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 8px/1 var(--pixel);
  letter-spacing: 0.02em;
}
.flow-chips li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.flow-chips .asset-logo,
.flow-chips .asset-mark {
  width: 20px;
  height: 20px;
}
.flow-chips .asset-mark-cash > span {
  font-size: 9px;
  padding: 0 2px;
}

/* ---- 01 The launchpad board: the app's Explore card, compressed ------- */
.launchpad-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 18px;
  color: var(--lp-muted);
}
.launchpad-toolbar > .eyebrow {
  color: var(--ink);
}
.launchpad-legend {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.launchpad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.launchpad-grid > li {
  min-width: 0;
  display: flex;
}
.launchpad-prelaunch {
  position: relative;
}
.launchpad-grid .lp-card {
  display: flex;
  flex: 1;
  min-width: 0;
  border: 1px solid var(--lp-line);
  background: var(--surface-subtle);
  overflow: hidden;
  text-decoration: none;
}
.launchpad-grid .lp-card-ghost {
  min-height: 262px;
  border-style: dashed;
  background: transparent;
}
.launchpad-grid .lp-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 16px 14px;
}
.launchpad-grid .lp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.launchpad-grid .lp-card-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.launchpad-grid .lp-badge,
.token-sheet .lp-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid var(--lp-line);
  font: 8px/1.5 var(--pixel);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.launchpad-grid .lp-badge-ticker,
.token-sheet .lp-badge-ticker {
  font: 600 11px/1.3 var(--display);
  letter-spacing: 0.05em;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}
.launchpad-grid .lp-fund-identity {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  margin: 14px 0 12px;
  color: inherit;
  text-decoration: none;
}
.lp-fund-logo {
  display: block;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-subtle);
  border: 1px solid var(--lp-line);
}
.lp-fund-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lp-fund-logo-sheet {
  width: 52px;
  height: 52px;
}
.lp-fund-heading {
  display: grid;
  gap: 6px;
  justify-items: start;
  min-width: 0;
}
.launchpad-grid .lp-fund-identity .fund-name {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.lp-mandate-assets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.lp-mandate-assets > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  border: 1px solid var(--lp-line);
  font: 8px/1.6 var(--pixel);
  letter-spacing: 0.02em;
  color: var(--lp-muted);
}
.lp-mandate-assets > span:has(> :is(.lp-asset-logo, .lp-asset-monogram)) {
  padding-left: 2px;
}
.lp-asset-logo,
.lp-asset-monogram {
  flex: none;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
}
.lp-asset-logo {
  background: var(--ink);
}
.lp-asset-logo > span {
  width: 100%;
  height: 100%;
  background: var(--paper);
  -webkit-mask: var(--mark) center / 100% no-repeat;
  mask: var(--mark) center / 100% no-repeat;
  mask-mode: luminance;
}
.lp-asset-monogram {
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle, var(--ink) 0.9px, transparent 1.2px) 0 0 / 4px 4px,
    var(--paper);
}
.lp-asset-monogram > span {
  padding: 0 1px;
  background: var(--paper);
  font: 700 9px/1 var(--heading);
  color: var(--ink);
}
.launchpad-grid .lp-data-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: auto 0 0;
  padding-top: 14px;
  min-width: 0;
}
.launchpad-grid .lp-data-item {
  display: block;
  min-width: 0;
  padding: 9px 0 8px;
  border-top: 1px solid var(--lp-line);
}
.launchpad-grid .lp-data-item dt {
  color: var(--lp-muted);
  font-size: 10px;
  line-height: 1.6;
}
.launchpad-grid .lp-data-item dd {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.lp-token-value {
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.lp-token-value small {
  display: inline-block;
  color: var(--lp-muted);
  font-size: 10px;
  font-weight: 400;
}
.launchpad-grid .lp-data-unavailable {
  color: var(--lp-muted);
  font-weight: 400;
}
.launchpad-grid .lp-data-hint {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--lp-muted);
}
.launchpad-grid .lp-card progress {
  appearance: none;
  width: 100%;
  height: 4px;
  margin: 2px 0 0;
  border: 0;
  background: var(--lp-line);
  color: var(--action);
}
.launchpad-grid .lp-card progress::-webkit-progress-bar {
  background: var(--lp-line);
}
.launchpad-grid .lp-card progress::-webkit-progress-value {
  background: var(--action);
}
.launchpad-grid .lp-card progress::-moz-progress-bar {
  background: var(--action);
}
.launchpad-grid .lp-card-terms {
  margin: 12px 0 0;
  font-size: 10px;
  line-height: 1.5;
  color: var(--lp-muted);
}
.landing-editorial .launchpad-section .funds-caption {
  margin-top: 18px;
  font-size: 10px;
  max-width: none;
}

/* The token sheet: the existing fund window, read as market | treasury. */
.token-sheet {
  margin-top: 40px;
}
.landing-editorial .chapter .token-sheet .window-top > .eyebrow.sheet-kicker {
  display: inline;
  color: var(--lp-muted);
}
.token-sheet .fund-identity {
  gap: 14px;
}
.token-sheet .fund-identity > div {
  display: grid;
  gap: 6px;
  justify-items: start;
}
.token-sheet .fund-identity .fund-name {
  margin: 0;
}
.token-equation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 28px;
  padding: 12px 0;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lp-muted);
}
.token-equation span:nth-child(odd) {
  color: var(--ink);
  padding: 4px 7px;
  background: var(--lp-faint);
}
.landing-editorial .chapter .token-sheet .fund-dashboard {
  padding-top: 22px;
}
.sheet-label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}
.token-sheet .allocation-title .sheet-label {
  margin-bottom: 0;
}
.token-sheet .allocation-list li > span:last-child {
  color: var(--lp-muted);
}

/* ---- 02 Launch a fund: the playbook with a visual column -------------- */
.landing-editorial .manager-description {
  max-width: 46ch;
}
.launch-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}
.launch-identity-section {
  margin: 18px 0 6px;
}
.landing-editorial .chapter .playbook-rows .story-row {
  grid-template-columns: var(--story-number-width) minmax(0, 1fr) auto;
  align-items: center;
}
.play-visual {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}
.play-visual .flow-chips {
  gap: 6px;
}
.play-choices {
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.play-choice-group {
  display: inline-flex;
  flex: none;
  border: 1px solid var(--lp-line);
}
/* Uniform selector badges, sized to the longest label. */
.play-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 84px;
  padding: 8px 10px;
  font: 8px/1 var(--pixel);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--lp-muted);
  background: var(--lp-card);
}
.play-choice + .play-choice {
  border-left: 1px solid var(--lp-line);
}
.play-choice.is-selected {
  color: var(--on-accent);
  background: var(--accent);
}
/* What a launch earns: lime text, as on the position routes. */
.play-earn {
  color: var(--action-text);
  border-color: var(--action-text);
}

/* ---- 04 Know your position: three holdings on shared rows ------------- */
.position-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto repeat(4, auto);
}
.position-trio .position-card + .position-card {
  border-left: 1px solid var(--lp-line);
}
.landing-editorial .chapter .position-trio .position-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 7;
  align-content: start;
  padding: 22px;
}
.position-trio .position-card > dl {
  display: contents;
}
.position-trio .position-card-top {
  margin-bottom: 0;
  align-self: start;
}
.landing-editorial .chapter .position-trio .position-card h3 {
  align-self: start;
  margin: 22px 0 0;
  font-size: 21px;
}
.position-trio .position-route {
  align-self: start;
  align-content: start;
  margin: 10px 0 0;
  padding: 18px 0 14px;
  gap: 12px;
}
.position-trio .position-route .route-caption {
  margin-top: 2px;
}
.position-trio .position-card dl > div {
  display: block;
  min-height: 56px;
  align-self: stretch;
}
.position-trio .position-card dd {
  text-align: left;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
/* Without subgrid, fixed row heights keep the three lists aligned. */
@supports not (grid-template-rows: subgrid) {
  .landing-editorial .chapter .position-trio .position-card {
    display: flex;
    flex-direction: column;
  }
  .position-trio .position-card > dl {
    display: block;
    margin: 0;
  }
  .landing-editorial .chapter .position-trio .position-card h3 {
    min-height: 2.5em;
  }
  .position-trio .position-route {
    min-height: 92px;
  }
  .position-trio .position-card dl > div {
    height: 76px;
    overflow: hidden;
  }
}
.pool-position {
  background: var(--paper);
}
.pool-symbol {
  position: relative;
  width: 42px;
  height: 42px;
}
.pool-symbol span {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--sky-deep);
  background: var(--paper);
}
.pool-symbol span:first-child {
  left: 0;
  top: 0;
  background-image: radial-gradient(var(--sky-deep) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
}
.pool-symbol span:last-child {
  right: 0;
  bottom: 0;
}
/* This section's glyphs (coin, lock, rule, pool) and list numbers take the
   violet accent, like the other lists; its text accents (route labels and
   arrows, ticker chips) take lime, set legibly: lime on dark, the deep lime
   text tone on paper. */
.position-trio .token-symbol,
.position-trio .lock-symbol,
.position-trio .timeline-rule,
.position-trio .pool-symbol span {
  --sky-deep: var(--accent);
}
.position-trio .lock-symbol,
.position-trio .lock-symbol span,
.position-trio .position-number {
  color: var(--accent);
}
.position-trio .position-route strong,
.position-trio .position-route > [aria-hidden="true"] {
  color: var(--action-text);
}
.position-trio .tk-coin {
  border-color: var(--accent);
  outline-color: var(--accent);
}
.position-trio .position-route .token-ticker {
  color: var(--action-text);
  border-color: var(--action-text);
}
.position-trio .pool-symbol span:first-child {
  background-image: radial-gradient(var(--accent) 0.6px, transparent 0.6px);
}
/* The shared data rows set tabular figures, which in Schibsted Grotesk give
   the comma a digit-width advance (a gap before every comma). Prose rows
   want proportional punctuation. */
.position-trio .position-card dd {
  font-variant-numeric: normal;
  letter-spacing: 0;
}
@media (max-width: 1250px) and (min-width: 1051px), (max-width: 900px) {
  .position-trio {
    grid-template-columns: minmax(0, 1fr);
  }
  .landing-editorial .chapter .position-trio .position-card {
    display: flex;
    flex-direction: column;
  }
  .position-trio .position-card > dl {
    display: block;
    margin: 0;
  }
  .position-trio .position-card + .position-card {
    border-left: 0;
    border-top: 1px solid var(--lp-line);
  }
  .position-trio .position-card dl > div {
    display: flex;
    min-height: 48px;
    align-items: center;
  }
  .position-trio .position-card dd {
    text-align: right;
    margin-top: 0;
  }
}

/* ---- 03 How a token is backed: the step row and the conveyor ---------- */
.landing-editorial .chapter .flow-walkthrough .walkthrough-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
  align-self: stretch;
}
.landing-editorial .chapter .flow-walkthrough .walkthrough-steps button.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 4px;
  padding: 12px 14px;
  border: 0;
  border-left: 1px solid var(--lp-line);
  position: relative;
}
.landing-editorial
  .chapter
  .flow-walkthrough
  .walkthrough-steps
  button.story-row:first-child {
  border-left: 0;
}
.landing-editorial .chapter .flow-walkthrough .walkthrough-steps .step-arrow {
  display: none;
}
.landing-editorial .chapter .flow-walkthrough .walkthrough-steps .story-number {
  margin: 0;
}
.landing-editorial .chapter .flow-walkthrough .walkthrough-steps .story-title {
  font-size: 16px;
}
.landing-editorial
  .chapter
  .flow-walkthrough
  .walkthrough-steps
  .story-description {
  margin-top: 2px;
  font-size: 11px;
}
.landing-editorial
  .chapter
  .flow-walkthrough
  .walkthrough-steps
  button.story-row[aria-selected="true"]::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 2px;
  background: var(--accent);
}
.flow-walkthrough .is-scroll-driven .walkthrough-layout {
  gap: 12px;
}
/* The melting panels carry one line each; the content area takes their
   height instead of the viewport's, so the conveyor can fill the rest. */
.flow-walkthrough .is-scroll-driven .scroll-walk-content {
  height: auto;
  min-height: 64px;
  padding-top: 14px;
  border-top: 1px solid var(--lp-line);
}
.landing-editorial .chapter .flow-walkthrough .is-scroll-driven .walk-panel {
  min-height: 0;
}
.flow-walkthrough .walk-panel .stage-note {
  margin: 0 0 4px;
  max-width: 76ch;
  font-size: 13px;
  line-height: 1.7;
}
.flow-walkthrough .walkthrough-caption [data-stage-label] {
  color: var(--accent);
}

.flow-conveyor {
  /* What the viewport leaves under the sticky header, the step row, the
     caption, the note and the caveat (about 334 px), plus the walkthrough's
     16 px bottom margin. */
  --fc-gap: clamp(96px, 16%, 180px);
  --fc-height: clamp(
    240px,
    calc(calc(100svh / var(--z)) - var(--walk-sticky-top, 73px) - 350px),
    640px
  );
  --fc-card: min(100%, 460px);
  --fc-slide: 600ms;
  position: relative;
  height: var(--fc-height);
  margin: 6px 0 12px;
}
.fc-window {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.fc-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--fc-gap);
  align-items: center;
  width: calc(200% + var(--fc-gap));
  height: 100%;
  transform: translateX(0);
  transition: transform var(--fc-slide) cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.flow-conveyor[data-step="1"] .fc-track {
  transform: translateX(calc(-25% - var(--fc-gap) / 4));
}
.flow-conveyor[data-step="2"] .fc-track {
  transform: translateX(calc(-50% - var(--fc-gap) / 2));
}
/* Cards: uniform, centred in the window; label pinned top, caption bottom,
   content centred between. */
.fa-node {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  height: var(--fc-card);
  padding: 64px 22px 60px;
  border: 1px solid var(--lp-line);
  background: var(--paper);
  /* The lit state grows out of the arriving lines: border, then shadow. */
  box-shadow: 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fa-node > .flow-label {
  transition: color 0.3s var(--ease);
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--lp-muted);
  transition: color 0.4s var(--ease);
}
.fa-node > small {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--lp-muted);
}
.fa-asset-list,
.fa-vault-box,
.fa-coin-wrap,
.fa-routes {
  flex: 0 0 auto;
}
.fa-asset-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fa-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 4px;
  margin: -3px -4px;
  font: 9px/1 var(--pixel);
  letter-spacing: 0.02em;
  cursor: default;
  border-radius: 2px;
  transition: opacity 0.3s var(--ease);
}
.fa-asset:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.fa-asset .asset-logo,
.fa-asset .asset-mark {
  width: 28px;
  height: 28px;
}
.fa-asset .asset-mark-cash > span {
  font-size: 11px;
  padding: 0 2px;
}
.fa-vault-box {
  position: relative;
  padding: 10px;
  border: 1px dashed var(--ink);
  background:
    radial-gradient(
        circle,
        color-mix(in srgb, var(--ink) 45%, transparent) 0.8px,
        transparent 1.1px
      )
      0 0 / 4px 4px,
    var(--paper);
}
.fa-vault-inner {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--lp-line);
}
.fa-vault-inner .tk-bar {
  height: 16px;
  animation: fa-value 1.2s ease-out infinite;
}
.fa-vault-inner .pixel {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lp-muted);
}
.fa-ripple {
  position: absolute;
  inset: -1px;
  border: 1px dashed var(--accent);
  opacity: 0;
  pointer-events: none;
  animation: fa-ripple 1.2s ease-out infinite;
}
.fa-coin-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fa-coin-wrap .tk-coin {
  width: 72px;
  height: 72px;
  animation: fa-mint 2.4s var(--ease) infinite;
}
.fa-ticker {
  min-width: 6ch;
  font-size: 13px;
  padding: 4px 8px 3px;
}
.flow-mint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font: 9px/1.5 var(--pixel);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--lp-muted);
}
.flow-mint span:nth-child(odd) {
  color: var(--ink);
}
.fa-routes {
  display: grid;
}
.fa-route {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1px 10px;
  padding: 12px 0;
  border-top: 1px solid var(--lp-line);
  font-size: 15px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.fa-route:first-child {
  border-top: 0;
  padding-top: 0;
}
.fa-route .pixel {
  grid-row: span 2;
  align-self: center;
  font-size: 9px;
  text-transform: uppercase;
  color: var(--lp-muted);
}
.fa-route small {
  font-size: 11px;
  color: var(--lp-muted);
}
/* A card lights when its lines reach it (landing-flow.js sets .is-lit):
   the current state of the visible pair, or each reached card on the stack. */
.fa-node.is-lit {
  border-color: var(--accent);
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--accent) 22%, transparent);
}
.fa-node.is-lit > .flow-label {
  color: var(--accent);
}
/* Draining: the source loses its light at the wires' growth pace. */
.fa-node.is-draining {
  transition:
    border-color 0.75s cubic-bezier(0.55, 0, 0.3, 1),
    box-shadow 0.75s cubic-bezier(0.55, 0, 0.3, 1);
}
.fa-node.is-draining > .flow-label {
  transition: color 0.75s cubic-bezier(0.55, 0, 0.3, 1);
}
/* Wires and carriers in the window's coordinates. */
.fa-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.fa-wires path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-linecap: square;
  stroke-dasharray: 2 4;
  animation: fa-dash 1.1s linear infinite;
}
.fa-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.flow-conveyor.is-sliding :is(.fa-wires, .fa-particles) {
  opacity: 0;
}
/* offset-path places the anchor on the wire; anchor at the centre so every
   carrier rides with the line through its middle. */
.fa-particle {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  offset-anchor: 50% 50%;
  offset-rotate: 0deg;
  offset-distance: 0%;
  animation: fa-travel var(--dur, 3s) linear infinite;
  transition: opacity 0.3s var(--ease);
  will-change: offset-distance;
}
.fa-particle .asset-logo,
.fa-particle .asset-mark {
  width: 20px;
  height: 20px;
}
.fa-particle .asset-mark-cash > span {
  font-size: 8px;
  padding: 0 1px;
}
.fa-particle[data-kind="coin"] {
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  outline: 1px solid var(--ink);
  outline-offset: -3px;
  background: var(--paper);
}
/* One asset in focus: the others step back. */
.flow-conveyor .is-dim {
  opacity: 0.14 !important;
}
/* Only the vault and coin of the visible pair pulse. */
.flow-conveyor:not([data-step="0"]):not([data-step="1"]) .fa-ripple,
.flow-conveyor:not([data-step="0"]):not([data-step="1"]) .fa-vault-inner .tk-bar,
.flow-conveyor:not([data-step="1"]):not([data-step="2"]) .fa-coin-wrap .tk-coin {
  animation: none;
}
/* Offscreen or in a hidden tab: the loops hold still. A connection that has
   started forming finishes, so the reader never returns to it half drawn. */
.flow-conveyor[data-playing="false"]
  :is(.fa-particle, .fa-wires > path, .fa-ripple, .fa-coin-wrap .tk-coin, .fa-vault-inner .tk-bar) {
  animation-play-state: paused;
}
/* Each wire grows from its source card through a mask drawn along the same
   path (pathLength 1), then the target card lights and carriers set off. */
.fa-wires mask path {
  stroke: #fff;
  stroke-width: 14;
  stroke-linecap: butt;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: none;
}
.fa-wires mask path.is-drawing {
  animation: fa-draw 0.75s cubic-bezier(0.55, 0, 0.3, 1) forwards;
}
.fa-wires mask path.is-drawn {
  stroke-dashoffset: 0;
}
@keyframes fa-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fa-dash {
  to {
    stroke-dashoffset: -6;
  }
}
@keyframes fa-value {
  0%,
  60%,
  100% {
    filter: brightness(1);
  }
  10% {
    filter: brightness(1.18);
  }
}
@keyframes fa-ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}
@keyframes fa-mint {
  0%,
  70%,
  100% {
    transform: scale(1);
  }
  78% {
    transform: scale(1.08);
  }
}
@keyframes fa-travel {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  94% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}
@media (max-width: 1250px) and (min-width: 1051px) {
  .flow-conveyor {
    --fc-gap: clamp(72px, 12%, 140px);
  }
}

/* ---- Phones: one continuous vertical flow, no window, no notes -------- */
.flow-conveyor[data-orientation="vertical"] {
  --fc-gap: 72px;
  height: auto;
  margin: 0;
}
.flow-conveyor[data-orientation="vertical"] .fc-window {
  height: auto;
  overflow: visible;
}
.flow-conveyor[data-orientation="vertical"] .fc-track {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  width: 100%;
  height: auto;
  align-items: stretch;
  justify-items: stretch;
  transform: none !important;
  transition: none;
}
.flow-conveyor[data-orientation="vertical"] .fa-node {
  height: auto;
  min-height: 150px;
  padding: 40px 14px 36px;
  gap: 8px;
  overflow: hidden;
}
.flow-conveyor[data-orientation="vertical"] .fa-node > .flow-label {
  top: 12px;
  left: 14px;
}
.flow-conveyor[data-orientation="vertical"] .fa-node > small {
  left: 14px;
  right: 14px;
  bottom: 10px;
  font-size: 11px;
}
.flow-conveyor[data-orientation="vertical"] .fa-asset-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.flow-conveyor[data-orientation="vertical"] .fa-asset {
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 2px 0;
  text-align: center;
  font-size: 8px;
}
.flow-conveyor[data-orientation="vertical"] .fa-asset .asset-logo,
.flow-conveyor[data-orientation="vertical"] .fa-asset .asset-mark {
  width: 24px;
  height: 24px;
}
.flow-conveyor[data-orientation="vertical"] .fa-vault-inner {
  padding: 10px;
  gap: 8px;
}
.flow-conveyor[data-orientation="vertical"] .fa-vault-inner .tk-bar {
  height: 12px;
}
.flow-conveyor[data-orientation="vertical"] .fa-coin-wrap .tk-coin {
  width: 52px;
  height: 52px;
}
.flow-conveyor[data-orientation="vertical"] .fa-ripple,
.flow-conveyor[data-orientation="vertical"] .fa-vault-inner .tk-bar,
.flow-conveyor[data-orientation="vertical"] .fa-coin-wrap .tk-coin {
  animation-play-state: inherit;
}
/* Step 3 on the phone: the three market routes side by side, each reached
   by its own line. */
.flow-conveyor[data-orientation="vertical"] .fa-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 8px;
}
.flow-conveyor[data-orientation="vertical"] .fa-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 4px 0;
  padding: 0 0 0 8px;
  border-top: 0;
  border-left: 1px solid var(--lp-line);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.flow-conveyor[data-orientation="vertical"] .fa-route:first-child {
  padding-left: 0;
  border-left: 0;
}
.flow-conveyor[data-orientation="vertical"] .fa-route .pixel {
  grid-row: auto;
  font-size: 7px;
}
.flow-conveyor[data-orientation="vertical"] .fa-route small {
  font-size: 9px;
  line-height: 1.3;
}
/* The stacked walkthrough: the stack is normal page flow, the step row a
   slim sticky indicator, and the description text stays off the phone. */
.flow-walkthrough .is-stacked .walkthrough-stage > .flow-conveyor {
  margin: 0 0 8px;
}
.flow-walkthrough .is-stacked .walkthrough-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: sticky;
  top: calc(var(--walk-sticky-top, 73px) - 12px);
  z-index: 4;
  margin-bottom: 18px;
  background: var(--paper);
}
.flow-walkthrough .is-stacked .walkthrough-steps button.story-row {
  padding: 10px 8px;
}
.flow-walkthrough .is-stacked .walkthrough-steps .story-description,
.flow-walkthrough .is-stacked .walkthrough-mobile-heading,
.flow-walkthrough .is-stacked .walk-panel .stage-note {
  display: none;
}
.landing-editorial .flow-walkthrough .is-stacked .walk-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.landing-editorial .flow-walkthrough .is-stacked .scroll-walk-content {
  gap: 0;
  padding-top: 0;
  border-top: 0;
}
.landing-editorial .flow-walkthrough .is-stacked .position-footnote {
  margin-top: 28px;
}
@media (max-width: 650px) {
  .launchpad-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .launchpad-grid .lp-card-body {
    padding: 14px 14px 12px;
  }
  .token-equation {
    margin-inline: 16px;
    gap: 6px 8px;
  }
  .play-visual {
    justify-self: start;
    grid-column: 2;
  }
  .landing-editorial .chapter .playbook-rows .story-row {
    grid-template-columns: var(--story-number-width) minmax(0, 1fr);
    row-gap: 12px;
  }
  .play-choices {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .landing-editorial .chapter .flow-walkthrough .walkthrough-steps button.story-row {
    padding: 10px 8px;
    gap: 3px;
  }
  .landing-editorial .chapter .flow-walkthrough .walkthrough-steps .story-title {
    font-size: 13px;
    letter-spacing: -0.02em;
  }
  .landing-editorial
    .chapter
    .flow-walkthrough
    .walkthrough-steps
    .story-description {
    display: none;
  }
}
@media (max-width: 1180px) {
  .launchpad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .launchpad-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 380px) {
  .flow-conveyor[data-orientation="vertical"] .fa-route {
    font-size: 10px;
  }
  .flow-conveyor[data-orientation="vertical"] .fa-route small {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fc-track,
  .fa-wires,
  .fa-particles,
  .fa-node,
  .fa-asset,
  .fa-particle {
    transition: none;
  }
  .fa-ripple {
    display: none;
  }
  .fa-wires path,
  .fa-coin-wrap .tk-coin,
  .fa-vault-inner .tk-bar {
    animation: none;
  }
}

/* Short desktop viewports (the walkthrough’s compact modes): smaller cards. */
.is-short .fa-node {
  padding: 44px 16px 40px;
  gap: 8px;
}
.is-short .fa-node > .flow-label {
  top: 14px;
  left: 16px;
}
.is-short .fa-node > small {
  left: 16px;
  right: 16px;
  bottom: 12px;
  font-size: 11px;
}
.is-short .fa-asset-list {
  gap: 6px;
}
.is-short .fa-asset .asset-logo,
.is-short .fa-asset .asset-mark {
  width: 20px;
  height: 20px;
}
.is-short .fa-vault-inner {
  padding: 10px;
  gap: 8px;
}
.is-short .fa-vault-inner .tk-bar {
  height: 12px;
}
.is-short .fa-coin-wrap .tk-coin {
  width: 48px;
  height: 48px;
}
.is-short .fa-route {
  font-size: 13px;
  padding: 7px 0;
}
.is-short .fa-route small {
  font-size: 10px;
}
