/* FleetKit page: video facade, fleet flow, nine-stage stepper. */
.yt {
  position: relative;
  max-width: 860px;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}
.yt-link,
.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 999px;
  padding: 14px 22px;
  font: 600 18px var(--body);
  white-space: nowrap;
}
.yt-link:hover .yt-play,
.yt-link:focus-visible .yt-play {
  background: var(--accent);
}
.fk-fig {
  margin: 12px 0 0;
  overflow-x: auto;
}
.fk-fleet {
  min-width: 760px;
  width: 100%;
  height: auto;
}
.fk-node rect {
  fill: var(--sheet);
  stroke: var(--muted);
  stroke-width: 2;
}
.fk-node.human rect {
  stroke: var(--accent);
  stroke-width: 3;
}
.fk-node text {
  fill: var(--ink);
  font: 600 15px var(--body);
}
.fk-gate {
  fill: var(--accent) !important;
  font: 500 20px var(--hand) !important;
}
.fk-link {
  stroke: var(--muted);
  stroke-width: 3;
  stroke-dasharray: 6 6;
  fill: none;
}
@media (prefers-reduced-motion: no-preference) {
  .fk-link {
    animation: fk-dash 1.2s linear infinite;
  }
}
@keyframes fk-dash {
  to {
    stroke-dashoffset: -24;
  }
}
.fk-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
}
.fk-sfig {
  position: sticky;
  top: 76px;
  align-self: start;
  margin: 0;
}
.fk-stages-svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  max-height: 76vh;
}
.fk-spine {
  stroke: var(--rule);
  stroke-width: 3;
}
.fk-stage circle {
  fill: var(--paper);
  stroke: var(--muted);
  stroke-width: 2;
}
.fk-stage text {
  fill: var(--ink);
  font: 500 15px var(--mono);
}
.fk-stage text.n {
  font: 700 14px var(--mono);
}
.fk-stage.on circle {
  fill: var(--accent);
  stroke: var(--accent);
}
.fk-stage.on text.n {
  fill: var(--on-ink);
}
.fk-stage.done circle {
  stroke: var(--accent);
}
.fk-g {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}
.fk-g.ws {
  stroke: var(--accent);
}
.fk-token {
  fill: var(--accent);
}
.fk-step {
  min-height: 46vh;
  padding: 14px 0 14px 16px;
  border-left: 4px solid transparent;
}
.fk-step.active {
  border-left-color: var(--accent);
}
.fk-step h3 {
  font-size: 24px;
  margin: 4px 0;
}
.fk-step code {
  font: 600 0.9em var(--mono);
}
.fk-gatep {
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.fk-gi {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}
.fk-gi.ws {
  border-color: var(--accent);
  border-radius: 3px;
}
.sources-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}
@media (max-width: 760px) {
  .fk-story {
    grid-template-columns: minmax(0, 1fr);
  }
  .fk-sfig {
    order: -1;
    top: 104px;
    z-index: 2;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 6px 0;
  }
  .fk-stages-svg {
    display: none;
  }
  .fk-sfig figcaption {
    display: none;
  }
  .fk-sfig::before {
    content: attr(data-progress);
    font: 600 15px var(--mono);
    display: block;
  }
  .fk-step {
    min-height: 40vh;
  }
}
