/* TerraFab OS marketing site — Product Tour (/product-tour).
   Source: HANDOVER-marketing-site.md §6.1 (structure/behaviour) +
   Product Tour.dc.html (verbatim stage data — the doc doesn't inline it
   for this page). No utility bar on this page, per doc §3.1's explicit
   exception list (Home, Request Demo, Contact only). */

.tf-tour-hero { text-align: center; padding: 88px 48px 56px; max-width: 1280px; margin: 0 auto; }
.tf-tour-hero .tf-h1 { max-width: 22ch; margin-left: auto; margin-right: auto; font-size: 52px; }
.tf-tour-hero .tf-eyebrow { display: block; text-align: center; }
.tf-tour-hero p.tf-body { max-width: 58ch; margin-left: auto; margin-right: auto; color: var(--tf-body); }

.tf-tour-section { max-width: 1280px; margin: 0 auto; padding: 24px 48px 104px; display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }

.tf-tour__rail { position: sticky; top: 96px; display: grid; gap: 8px; }
.tf-tour__stage {
  display: flex; align-items: center; gap: 14px; text-align: left; border: none; cursor: pointer;
  padding: 15px 18px; border-radius: var(--tf-r-sm); font-family: 'Inter', sans-serif; font-size: 14px;
  font-weight: 600; transition: background 180ms, color 180ms;
  background: var(--tf-shell); color: var(--tf-body-muted); width: 100%;
}
.tf-tour__stage[aria-selected="true"] { background: var(--tf-ocean); color: var(--tf-sand); }
.tf-tour__stage-num { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--tf-body-faint); }
.tf-tour__stage[aria-selected="true"] .tf-tour__stage-num { color: var(--tf-coral); }

.tf-tour__progress-track { margin-top: 16px; height: 4px; border-radius: 2px; background: var(--tf-line); overflow: hidden; }
.tf-tour__progress-fill { height: 100%; background: var(--tf-coral); transition: width var(--tf-dur) var(--tf-ease); }
.tf-tour__stage-of {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--tf-body-faint);
  margin-top: 6px;
}

.tf-tour__card { background: var(--tf-shell); border-radius: var(--tf-r-lg); box-shadow: var(--tf-shadow-md); overflow: hidden; }
.tf-tour__media { position: relative; width: 100%; height: 320px; }
.tf-tour__image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; visibility: hidden; transition: opacity 350ms;
}
.tf-tour__image[data-active="true"] { opacity: 1; visibility: visible; }
.tf-tour__tag {
  position: absolute; left: 24px; top: 24px; background: rgba(10,41,48,0.85); color: var(--tf-sand);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  padding: 8px 14px; border-radius: 9999px; pointer-events: none;
}
.tf-tour__panel { padding: 40px 44px; }
.tf-tour__title { font-family: 'Archivo', sans-serif; font-weight: 700; letter-spacing: -0.015em; font-size: 32px; margin: 0 0 14px; }
.tf-tour__desc { font-size: 16px; line-height: 1.7; color: var(--tf-body); margin: 0 0 28px; }
.tf-tour__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tf-tour__point { background: var(--tf-sand); border-radius: 10px; padding: 16px 18px; display: flex; gap: 12px; align-items: baseline; }
.tf-tour__point-arrow { color: var(--tf-coral); font-weight: 700; }
.tf-tour__point-text { font-size: 14px; line-height: 1.55; color: rgba(22,33,31,0.8); }

.tf-tour__actions {
  display: flex; justify-content: space-between; margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--tf-line);
}
.tf-tour__prev {
  background: transparent; border: 1.5px solid rgba(10,41,48,0.25); color: var(--tf-ink); cursor: pointer;
  padding: 13px 28px; border-radius: var(--tf-r-sm); font-family: 'Inter', sans-serif; font-size: 12px;
  font-weight: 600; letter-spacing: 0.12em;
}
.tf-tour__prev:disabled { color: rgba(22,33,31,0.3); cursor: default; }
.tf-tour__next {
  background: var(--tf-coral); color: var(--tf-shell); border: none; cursor: pointer;
  padding: 13px 28px; border-radius: var(--tf-r-sm); font-family: 'Inter', sans-serif; font-size: 12px;
  font-weight: 600; letter-spacing: 0.12em;
}
.tf-tour__next:hover { background: var(--tf-coral-press); }

@media (max-width: 1099px) {
  .tf-tour-section { grid-template-columns: 1fr; }
  .tf-tour__rail { position: static; }
}
@media (max-width: 767px) {
  .tf-tour-hero { padding: 56px 24px 40px; }
  .tf-tour-hero .tf-h1 { font-size: 32px; }
  .tf-tour__panel { padding: 28px 24px; }
  .tf-tour__points { grid-template-columns: 1fr; }
  .tf-tour__actions { flex-direction: column; gap: 12px; }
  .tf-tour__prev, .tf-tour__next { width: 100%; text-align: center; }
}
