/* Guided walkthrough: a mock app window, an animated cursor, captions and controls. */
.wt { margin: 2rem auto 0; max-width: 56rem; text-align: left; }
.wt-window { position: relative; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-alt); overflow: hidden; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5); }
.wt-chrome { display: flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.wt-dot { width: 10px; height: 10px; border-radius: 50%; background: #2a3547; }
.wt-url { margin-left: 0.6rem; padding: 0.2rem 0.65rem; border-radius: 6px; background: rgba(255, 255, 255, 0.04); font-size: 0.72rem; color: var(--text-dim); }
.wt-badge { margin-left: auto; padding: 0.15rem 0.6rem; border: 1px solid var(--border); border-radius: 999px; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--neon); white-space: nowrap; }

.wt-stage { position: relative; min-height: 380px; padding: 1.4rem 1.5rem 1.6rem; }
.wt-view { display: none; }
.wt-view.is-active { display: block; animation: wt-in 0.45s ease; }
@keyframes wt-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wt-h { margin: 0 0 1rem; font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.wt-muted { color: var(--text-dim); font-size: 0.9rem; margin: 0 0 0.9rem; }
.mono-s { font-family: "JetBrains Mono", ui-monospace, monospace; }

/* the cursor */
.wt-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 24px; height: 24px; pointer-events: none; opacity: 0; transform: translate(var(--x, 24px), var(--y, 24px)); transition: transform 0.6s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s; }
.wt-cursor.is-on { opacity: 1; }
.wt-cursor svg { display: block; width: 24px; height: 24px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
.wt-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--neon); opacity: 0; transform: scale(0.4); }
.wt-cursor.is-click::after { animation: wt-ripple 0.5s ease-out; }
@keyframes wt-ripple { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(2.6); } }

/* mock controls (decorative) */
.wt-btn { display: inline-block; padding: 0.55rem 1.05rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.88rem; font-weight: 600; color: var(--text); transition: transform 0.12s, filter 0.12s, opacity 0.25s; }
.wt-btn-primary { background: var(--neon); border-color: var(--neon); color: #02121a; }
.wt-btn.is-pressed { transform: scale(0.95); filter: brightness(1.25); }
.wt-btn.is-disabled { opacity: 0.35; }
.wt-field { display: block; margin-bottom: 0.8rem; }
.wt-field-label { display: block; margin-bottom: 0.25rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.wt-field-box { min-height: 2.4rem; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.03); font-size: 0.95rem; }

/* reveal helpers */
.wt-reveal { opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; }
.wt-reveal.is-on { opacity: 1; transform: none; }
.wt-hide { display: none; }
.wt-hide.is-on { display: block; }

/* tick lists */
.wt-ticks { list-style: none; margin: 0; padding: 0; }
.wt-ticks li { display: flex; gap: 0.7rem; align-items: baseline; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.93rem; opacity: 0.32; transition: opacity 0.35s; }
.wt-ticks li::before { content: "\25CB"; color: var(--text-dim); flex: none; width: 1.1rem; }
.wt-ticks li.is-on { opacity: 1; }
.wt-ticks li.is-on::before { content: "\2713"; color: var(--neon); }
.wt-ticks li.is-fail::before { content: "\2715"; color: #ff6b6b; }
.wt-ticks li.is-on.is-fail { color: #ff9b9b; }
.wt-sub { margin-left: auto; padding-left: 0.8rem; font-size: 0.74rem; color: var(--text-dim); text-align: right; }

/* AnalystOS */
.wt-drop { padding: 1.1rem; border: 1px dashed var(--border); border-radius: 10px; text-align: center; margin-bottom: 1rem; }
.wt-file { display: inline-flex; gap: 0.6rem; align-items: center; margin-top: 0.8rem; padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.9rem; }
.wt-file-icon { width: 14px; height: 18px; border: 2px solid var(--neon); border-radius: 2px; }
.wt-doc { padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 255, 255, 0.02); font-size: 0.88rem; line-height: 1.7; color: var(--text-dim); margin-bottom: 1rem; }
.wt-doc b { color: var(--text); font-weight: 600; background: rgba(47, 212, 255, 0.12); padding: 0 0.2rem; border-radius: 3px; }
.wt-figs { list-style: none; margin: 0; padding: 0; }
.wt-figs li { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; }
.wt-figs li.is-on { opacity: 1; transform: none; }
.wt-figs .v { text-align: right; font-family: "Space Grotesk", sans-serif; }
.wt-figs .why { grid-column: 1 / -1; font-size: 0.8rem; color: var(--text-dim); }
.wt-figs li.is-on .why::before { content: "\2713  "; color: var(--neon); }
.wt-figs li.is-fail.is-on .why::before { content: "\2715  "; color: #ff6b6b; }
.wt-figs li.is-fail.is-on .v { color: #ff9b9b; text-decoration: line-through; }
.wt-report { padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.wt-report h5 { margin: 0 0 0.6rem; font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.wt-report p { margin: 0 0 0.6rem; line-height: 1.8; }
.wt-fig { position: relative; padding: 0 0.15rem; border-bottom: 2px solid var(--neon); }
.wt-fig::after { content: "\2713"; margin-left: 0.15rem; font-size: 0.7em; color: var(--neon); vertical-align: super; }
.wt-tip { margin: 0 0 0.7rem; padding: 0.55rem 0.75rem; border: 1px solid var(--neon); border-radius: 8px; background: #06121b; font-size: 0.82rem; }
.wt-seal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.2rem; }
.wt-card { padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.wt-sealed { display: inline-block; margin-bottom: 0.6rem; padding: 0.15rem 0.6rem; border: 1px solid var(--neon); border-radius: 999px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--neon); }
.wt-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.wt-line.is-changed .wt-line-val { color: #ff9b9b; }
.wt-line.is-changed { outline: 1px solid #ff6b6b; outline-offset: 2px; border-radius: 4px; }
.wt-result { margin-top: 0.8rem; padding: 0.6rem 0.8rem; border-radius: 8px; border: 1px solid var(--neon); color: var(--neon); font-size: 0.9rem; }
.wt-result.bad { border-color: #ff6b6b; color: #ff9b9b; }
.wt-ticks.compact li { padding: 0.28rem 0; font-size: 0.82rem; }

/* DepositX */
.wt-banks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.8rem; margin-bottom: 1rem; }
.wt-bank-name { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.wt-bank-cust { margin: 0.2rem 0 0.5rem; font-weight: 600; }
.wt-money { font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; color: var(--neon); }
.wt-flag { margin-top: 0.3rem; font-size: 0.72rem; color: #ffb86b; }
.wt-stop { text-align: center; padding: 1.4rem 0.5rem; }
.wt-stop-x { display: inline-grid; place-items: center; width: 54px; height: 54px; border: 2px solid #ff6b6b; border-radius: 50%; font-size: 1.6rem; color: #ff6b6b; }
.wt-stop h4 { margin: 0.8rem 0 0.4rem; font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; }
.wt-code { display: inline-block; margin-top: 0.6rem; padding: 0.2rem 0.6rem; border: 1px solid var(--border); border-radius: 6px; font-size: 0.74rem; color: var(--text-dim); }
.wt-amounts { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* caption + controls */
.wt-caption { display: flex; gap: 1rem; align-items: baseline; margin-top: 1rem; padding: 0.9rem 1.1rem; border: 1px solid var(--border); border-radius: 12px; background: rgba(47, 212, 255, 0.04); }
.wt-step-n { flex: none; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--neon); min-width: 5.2rem; }
.wt-caption-text { margin: 0; font-size: 1.02rem; min-height: 1.6em; }
.wt-progress { height: 3px; margin-top: 0.8rem; background: var(--border); border-radius: 2px; overflow: hidden; }
.wt-progress-bar { height: 100%; width: var(--p, 0%); background: var(--neon); transition: width 0.5s ease; }
.wt-controls { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.8rem; flex-wrap: wrap; }
.wt-ctl { padding: 0.45rem 0.95rem; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 0.85rem; cursor: pointer; }
.wt-ctl:hover:not(:disabled) { border-color: var(--neon); color: var(--neon); }
.wt-ctl:disabled { opacity: 0.35; cursor: not-allowed; }
.wt-ctl-main { background: var(--neon); border-color: var(--neon); color: #02121a; font-weight: 600; min-width: 5.6rem; }
.wt-ctl-main:hover:not(:disabled) { color: #02121a; filter: brightness(1.1); }
.wt-dots { display: flex; gap: 0.4rem; margin-left: auto; }
.wt-dot-btn { width: 11px; height: 11px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: transparent; cursor: pointer; }
.wt-dot-btn.is-done { background: rgba(47, 212, 255, 0.45); border-color: transparent; }
.wt-dot-btn.is-current { background: var(--neon); border-color: var(--neon); }
.wt-label { margin: 0.9rem 0 0; font-size: 0.8rem; color: var(--text-dim); }
.wt-text { margin-top: 0.8rem; font-size: 0.9rem; }
.wt-text summary { cursor: pointer; color: var(--text-dim); }
.wt-steps { margin: 0.6rem 0 0; padding-left: 1.3rem; color: var(--text-dim); }
.wt-steps li { margin-bottom: 0.35rem; }
.wt-dev { margin-top: 2rem; }
.wt-dev > summary { cursor: pointer; text-align: center; color: var(--text-dim); }

@media (max-width: 700px) {
  .wt-stage { min-height: 420px; padding: 1.1rem 1rem 1.3rem; }
  .wt-seal { grid-template-columns: 1fr; }
  .wt-caption { flex-direction: column; gap: 0.3rem; }
  .wt-dots { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .wt-cursor, .wt-view.is-active, .wt-reveal, .wt-figs li, .wt-ticks li, .wt-progress-bar { transition: none; animation: none; }
}
.vision .wt-caption-text, .vision .wt-label { max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
.vision .wt-label { margin-top: 0.9rem; }
.wt-muted.mono-s { font-size: 0.75rem; }
.vision .wt-window p { max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
.vision .wt-stop p { text-align: center; margin-left: auto; margin-right: auto; max-width: 28rem; }
.wt-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wt-badge { flex: none; }
@media (max-width: 700px) {
  .wt-badge { font-size: 0.6rem; padding: 0.12rem 0.45rem; }
  .wt-bar { position: sticky; bottom: 0; z-index: 8; margin: 0 -0.2rem; padding: 0.1rem 0.2rem 0.6rem; background: var(--bg); }
  .wt-caption { margin-top: 0.7rem; }
}

/* ---- building blocks for the DiligenceOS, RouterOS and MarketTrackerOS tours ---- */
.wt-kv { display: flex; justify-content: space-between; gap: 1rem; padding: 0.42rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.wt-kv span { color: var(--text-dim); }
.wt-kv b { font-weight: 600; text-align: right; word-break: break-word; }
.wt-kv b.is-changed, .wt-kv b.is-bad { color: #ff9b9b; outline: 1px solid #ff6b6b; outline-offset: 2px; border-radius: 3px; padding: 0 0.25rem; }
.wt-stack > * + * { margin-top: 0.8rem; }
.wt-verdict { display: inline-block; padding: 0.3rem 1rem; border: 2px solid; border-radius: 8px; font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; letter-spacing: 0.06em; }
.wt-verdict.hold { color: #ffb86b; border-color: #ffb86b; }
.wt-verdict.proceed { color: var(--neon); border-color: var(--neon); }
.wt-verdict.red { color: #ff6b6b; border-color: #ff6b6b; }
.wt-trust { margin-left: 0.8rem; font-size: 0.9rem; color: var(--text-dim); }
.wt-why-line { margin: 0.9rem 0 0; font-size: 0.93rem; }
.wt-gate { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; padding: 0.7rem 1rem; border: 1px solid var(--border); border-radius: 10px; font-size: 0.9rem; }
.wt-gate b.held { color: #ffb86b; }
.wt-gate b.released { color: var(--neon); }
.wt-errs { margin: 0.55rem 0 0; padding-left: 1.1rem; font-size: 0.8rem; color: #ff9b9b; }
.wt-log { list-style: none; margin: 0 0 0.9rem; padding: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.76rem; }
.wt-log li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.28rem 0.5rem; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.wt-log li.is-bad { outline: 1px solid #ff6b6b; outline-offset: -1px; color: #ff9b9b; }
.wt-log li.is-gone { text-decoration: line-through; opacity: 0.4; }
.wt-btnrow { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.wt-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.wt-chip { padding: 0.25rem 0.85rem; border: 1px solid var(--border); border-radius: 999px; font-size: 0.8rem; color: var(--text-dim); transition: background 0.2s, color 0.2s, transform 0.12s; }
.wt-chip.is-active { background: var(--neon); border-color: var(--neon); color: #02121a; font-weight: 600; }
.wt-chip.is-pressed { transform: scale(0.93); }
.wt-coin { display: grid; grid-template-columns: 1fr auto 5.2rem; gap: 1rem; align-items: center; padding: 0.65rem 0.3rem; border-bottom: 1px solid var(--border); border-radius: 6px; transition: background 0.2s; }
.wt-coin.is-pressed { background: rgba(47, 212, 255, 0.12); }
.wt-coin .sym { font-weight: 600; }
.wt-coin .nm { margin-left: 0.5rem; font-size: 0.8rem; color: var(--text-dim); }
.wt-coin .px { font-family: "Space Grotesk", sans-serif; }
.wt-coin .ch { text-align: right; font-weight: 600; }
.wt-coin .ch.pos { color: #4be3a0; }
.wt-coin .ch.neg { color: #ff8f8f; }
.wt-cand { padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.wt-cand-src { margin-top: 0.25rem; font-size: 0.78rem; color: var(--text-dim); }
.wt-conf { display: inline-block; margin-right: 0.5rem; padding: 0.05rem 0.55rem; border: 1px solid var(--border); border-radius: 999px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.wt-conf.likely { color: var(--neon); border-color: var(--neon); }
.wt-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.8rem; }
.wt-tile-k { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.wt-tile-v { margin: 0.25rem 0; font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; color: var(--neon); }
.wt-tile-n { font-size: 0.78rem; color: var(--text-dim); }
.wt-phone { max-width: 23rem; margin: 0.5rem auto 0; padding: 1rem; border: 1px solid var(--border); border-radius: 24px; background: #050b12; }
.wt-notif { padding: 0.8rem 0.95rem; border-radius: 14px; background: rgba(255, 255, 255, 0.07); font-size: 0.85rem; }
.wt-notif b { display: block; margin-bottom: 0.25rem; font-size: 0.8rem; }
.wt-notif-meta { margin-top: 0.4rem; font-size: 0.72rem; color: var(--text-dim); }
.wt-ticks.compact.wt-refused li.is-on::before { content: "\2715"; color: #ff6b6b; }
.wt-ticks.wt-refused .wt-sub { color: #ff9b9b; }
