/* RestioX product tour (roadmap #32, audit WEB-25): /product-tour.
   assets/redesign/rx.css and pages/*.css are a built set and are not edited: what the tour needs on top of them lives here, loaded after
   them through $page_rx_css. Light purple only, no dark fills, 44 px targets, RTL-safe (logical properties), no horizontal overflow at 390 px. */

/* ── The tour video (SEO-GEO TECH-04, 30 Nov 2026: this page is its watch page): the player, then its transcript ────── */
.pt-video__head { max-width: 800px; margin: 0 auto 20px; text-align: center; }
.pt-video__title { margin: 0 0 10px; }
.pt-video__sub { margin: 0; font-size: 17px; line-height: 27px; color: var(--rx-ink-500); }
.pt-video__player { max-width: 960px; margin: 0 auto; }
.pt-video__media { display: block; width: 100%; height: auto; border: 1px solid var(--rx-line); border-radius: var(--rx-r-card); background: #F6F3FC; box-shadow: var(--rx-shadow-float); }
.pt-video__transcript { max-width: 800px; margin: 28px auto 0; }
.pt-video__h3 { margin: 0 0 12px; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--rx-ink-900); }
.pt-transcript { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pt-transcript li { display: grid; grid-template-columns: 3.25em minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 26px; color: var(--rx-ink-700); }
.pt-transcript__t { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--rx-violet-650); }

/* ── The jump list ───────────────────────────────────────────────────────────────────────────────────────────────── */
.pt-jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pt-jump a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: var(--rx-r-pill);
  background: var(--rx-white); border: 1px solid var(--rx-line); color: var(--rx-ink-700); font-size: 15px; line-height: 22px; text-decoration: none;
}
.pt-jump a:hover { border-color: var(--rx-violet-300); background: var(--rx-violet-50); color: var(--rx-violet-700); }
.pt-jump .pt-jump__n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--rx-violet-100); color: var(--rx-violet-700); font-size: 13px; font-weight: 500; }

/* ── One step. A desktop screen runs the full width with its words under it; a phone screen sits beside its words ──── */
.pt-step { scroll-margin-top: calc(var(--rx-header-h, 72px) + 16px); }
.pt-step__head { max-width: 800px; margin: 0 0 28px; }
.pt-step__grid { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.pt-step__cols { display: grid; gap: 8px 48px; margin-top: 32px; grid-template-columns: minmax(0, 1fr); }
.pt-step__text { min-width: 0; }
.pt-step__n { margin: 0 0 8px; font-size: 14px; line-height: 22px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--rx-violet-650); }
.pt-step__title { margin: 0 0 12px; }
.pt-step__what { margin: 0 0 18px; font-size: 18px; line-height: 28px; color: var(--rx-ink-500); }
.pt-step__head .pt-step__what { margin-bottom: 0; }
.pt-step__points { margin: 0 0 20px; }
.pt-step__facts { margin: 0 0 18px; display: grid; gap: 14px; }
.pt-fact { margin: 0; padding: 14px 16px; background: var(--rx-white); border: 1px solid var(--rx-violet-200); border-radius: 12px; }
.pt-fact dt { margin: 0 0 8px; font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--rx-violet-650); }
.pt-fact dd { margin: 0; font-size: 16px; line-height: 26px; color: var(--rx-ink-700); }
.pt-path { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.pt-path li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--rx-r-pill); background: var(--rx-violet-50); border: 1px solid var(--rx-violet-200); font-size: 15px; font-weight: 500; color: var(--rx-ink-700); }
.pt-path li + li { position: relative; margin-inline-start: 14px; }
.pt-path li + li::before { content: "\203A"; position: absolute; inset-inline-start: -13px; top: 50%; transform: translateY(-50%); color: var(--rx-ink-400); font-weight: 400; }
[dir="rtl"] .pt-path li + li::before { content: "\2039"; }
.pt-step__note { margin: 0 0 16px; font-size: 15px; line-height: 24px; color: var(--rx-ink-500); }
.pt-step__help { margin: 0; }

/* the screen */
.pt-shot { margin: 0; min-width: 0; }
.pt-shot picture, .pt-shot img { display: block; width: 100%; height: auto; }
.pt-shot--desktop { max-width: 940px; margin-inline: auto; } /* a readable screen that does not take the whole page (owner, 30 Nov) */
.pt-shot--desktop .pt-shot__frame { overflow: hidden; background: var(--rx-white); border: 1px solid var(--rx-line); border-radius: var(--rx-r-card); box-shadow: var(--rx-shadow-float); }
.pt-shot--phone { display: flex; flex-direction: column; align-items: center; }
.pt-shot--phone .pt-shot__frame { width: min(100%, 290px); overflow: hidden; background: var(--rx-white); border: 8px solid var(--rx-violet-150); border-radius: 36px; box-shadow: var(--rx-shadow-float); }
.pt-shot__zoom { display: block; cursor: zoom-in; }
.pt-shot figcaption { margin-top: 10px; font-size: 14px; line-height: 22px; color: var(--rx-ink-500); text-align: center; }

@media (min-width: 960px) {
  .pt-step__cols { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .pt-step--phone .pt-step__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
  .pt-step--phone.pt-step--flip .pt-step__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .pt-step--phone.pt-step--flip .pt-step__grid .pt-shot { order: 2; }
}

/* ── The proof block ─────────────────────────────────────────────────────────────────────────────────────────────── */
.pt-proof { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .pt-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.pt-proof__item { margin: 0; padding: 24px 22px; background: var(--rx-white); border: 1px solid var(--rx-line); border-radius: var(--rx-r-card); box-shadow: var(--rx-shadow-card); }
.pt-proof__head { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; }
.pt-proof__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--rx-violet-100); color: var(--rx-violet-600); }
.pt-proof__icon .rx-icon { width: 22px; height: 22px; }
.pt-proof__title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--rx-ink-900); }
.pt-proof__text { margin: 0 0 10px; font-size: 16px; line-height: 26px; color: var(--rx-ink-700); }
.pt-proof__check { margin: 0; font-size: 15px; line-height: 24px; color: var(--rx-ink-500); }
.pt-proof__check strong { font-weight: 500; color: var(--rx-ink-700); }
.pt-proof__link { margin: 10px 0 0; }
.pt-two { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .pt-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.pt-box { margin: 0; padding: 24px 22px; background: var(--rx-white); border: 1px solid var(--rx-line); border-radius: var(--rx-r-card); box-shadow: var(--rx-shadow-card); }
.pt-box h3 { margin: 0 0 12px; font-size: 22px; line-height: 30px; font-weight: 500; color: var(--rx-ink-900); }
.pt-box ul { margin: 0; padding: 0; list-style: none; }
.pt-box li { margin: 0; padding: 12px 0; border-top: 1px solid var(--rx-line); font-size: 16px; line-height: 26px; color: var(--rx-ink-700); }
.pt-box li:first-child { border-top: 0; padding-top: 0; }
.pt-box li strong { display: block; font-weight: 500; color: var(--rx-ink-900); }
.pt-box__more { margin: 14px 0 0; }
.pt-nots li { position: relative; padding-inline-start: 30px; }
.pt-nots li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 18px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--rx-violet-100) linear-gradient(var(--rx-violet-650), var(--rx-violet-650)) center / 8px 2px no-repeat;
}
.pt-nots li:first-child::before { top: 6px; }
.pt-sub { margin: 18px auto 0; max-width: 760px; font-size: 16px; line-height: 26px; color: var(--rx-ink-500); text-align: center; }
