.fs-index {
  margin-top: 24px;
}

.fs-index__journey {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .56);
  box-shadow: 0 8px 24px rgba(30, 64, 175, .06);
}

.fs-index__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.result-card .fs-index__heading h3 {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.3;
}

.fs-index__eyebrow {
  margin: 0;
  color: var(--primary);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fs-index__count {
  color: #166534;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.4;
}

.fs-index__current {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
}

.fs-index__progress {
  height: 10px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, .3);
}

.fs-index__progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  transition: width .55s ease-out;
}

.fs-index__percent {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-align: right;
}

.fs-index__scope {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.45;
}

.fs-index__info {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, .55);
  color: #374151;
  font-size: .82rem;
  line-height: 1.55;
}

.fs-index__stat {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-left: 3px solid #16a34a;
  border-radius: 0 10px 10px 0;
  background: rgba(240, 253, 244, .8);
}

.fs-index__stat-label {
  display: block;
  margin-bottom: 5px;
  color: #15803d;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.fs-index__stat p {
  margin: 0;
  color: #374151;
  font-size: .82rem;
  font-style: italic;
  line-height: 1.6;
}

.fs-index__cta {
  margin-top: 16px;
  min-height: 48px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .25);
  transition:
    background .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.fs-index__cta:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 13px 28px rgba(37, 99, 235, .34);
}

.fs-index__cta:active:not(:disabled) {
  transform: translateY(0) scale(.985);
  box-shadow: 0 6px 14px rgba(37, 99, 235, .24);
}

.fs-index__cta:disabled {
  cursor: wait;
  opacity: .72;
}

.fs-index__account {
  margin: 14px 0 0;
  text-align: center;
}

.fs-index__account[hidden] {
  display: none !important;
}

.fs-index__account-link {
  color: var(--primary, #2563eb);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fs-index__account-link:hover {
  text-decoration: none;
}

.fs-index__retention {
  margin: 10px 0 0;
  color: var(--muted, #6b7280);
  font-size: .72rem;
  line-height: 1.45;
  text-align: center;
}

.fs-index__error {
  margin: 9px 0 0;
  color: #b91c1c;
  font-size: .78rem;
  line-height: 1.4;
  text-align: center;
}

[data-theme="dark"] .fs-index__journey {
  border-color: rgba(148, 163, 184, .24);
  background: rgba(15, 23, 42, .38);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

[data-theme="dark"] .fs-index__count {
  color: #86efac;
}

[data-theme="dark"] .fs-index__info {
  border-color: rgba(148, 163, 184, .2);
  background: rgba(15, 23, 42, .32);
}

[data-theme="dark"] .fs-index__info,
[data-theme="dark"] .fs-index__stat p {
  color: var(--subtle);
}

[data-theme="dark"] .fs-index__stat {
  border-left-color: #4ade80;
  background: rgba(20, 83, 45, .3);
}

[data-theme="dark"] .fs-index__stat-label {
  color: #86efac;
}

[data-theme="dark"] .fs-index__cta:hover:not(:disabled) {
  box-shadow: 0 13px 30px rgba(59, 130, 246, .3);
}

[data-theme="dark"] .fs-index__account-link {
  color: #93c5fd;
}

[data-theme="dark"] .fs-index__retention {
  color: var(--subtle, #94a3b8);
}

@media (prefers-reduced-motion: reduce) {
  .fs-index__cta {
    transition: background .2s ease, box-shadow .2s ease;
  }

  .fs-index__cta:hover:not(:disabled),
  .fs-index__cta:active:not(:disabled) {
    transform: none;
  }
}
