/* VAAS-X thread: the red thread bar docked on every page, and the map it opens.
   Additive: loaded after style.css, uses its variables, and does nothing on a page where js/thread.js does not run. */
:root { --vxt-h: 64px; }

/* ---------- the docked bar ---------- */
body.vxt-on { padding-bottom: calc(var(--vxt-h) + env(safe-area-inset-bottom, 0px)); }
body.vxt-on #vx-consent { bottom: calc(var(--vxt-h) + 16px + env(safe-area-inset-bottom, 0px)) !important; }
.vxt-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  min-height: var(--vxt-h); box-sizing: border-box;
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: rgba(13, 13, 20, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid #3a1620; color: var(--text-primary, #f5f5f5);
  font: 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.vxt-bar a, .vxt-bar button { font: inherit; }
.vxt-btn {
  display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; cursor: pointer;
  padding: 0.5rem 0.9rem; border-radius: 8px; border: 1px solid var(--border-color, #2d2d35);
  background: var(--dark-bg-2, #12121a); color: var(--text-primary, #f5f5f5); text-decoration: none; font-weight: 600;
}
.vxt-btn:hover { border-color: var(--primary-color, #ff2b45); }
.vxt-btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.vxt-p { background: var(--primary-color, #ff2b45); border-color: var(--primary-color, #ff2b45); color: #fff; }
.vxt-p:hover { filter: brightness(1.08); }
.vxt-map { border-radius: 99px; color: var(--primary-color, #ff2b45); border-color: rgba(255, 43, 69, 0.55); }
.vxt-btn:focus-visible, .vxt-stop:focus-visible, .vxt-deeper:focus-visible, .vxt-x:focus-visible, .vxt-lm:focus-visible, .vxt-alt:focus-visible, .vxt-lab:focus-visible, .vxt-nl summary:focus-visible, .vxt-chip:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
}
.vxt-next .vxt-nl { overflow: hidden; text-overflow: ellipsis; max-width: 15rem; }
.vxt-deeper { color: var(--text-secondary, #a0a0a0); text-decoration: none; font-size: 0.85rem; white-space: nowrap; max-width: 14rem; overflow: hidden; text-overflow: ellipsis; }
.vxt-deeper:hover { color: var(--text-primary, #f5f5f5); text-decoration: underline; }

.vxt-thread { position: relative; flex: 1; min-width: 150px; height: 44px; }
.vxt-thread svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vxt-base { fill: none; stroke: #FF2B45; stroke-opacity: 0.28; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.vxt-glow { fill: none; stroke: #FF2B45; stroke-width: 7; opacity: 0.45; vector-effect: non-scaling-stroke; stroke-linecap: round; filter: blur(3px); }
.vxt-core { fill: none; stroke: #FF4A5E; stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.vxt-stop {
  position: absolute; transform: translate(-50%, -50%); width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer;
}
.vxt-stop i { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; border: 2.5px solid #FF2B45; background: #0a0a0f; transition: background 0.3s; }
.vxt-stop.lit i { background: #FF2B45; }
.vxt-stop:hover i { border-color: #fff; }
.vxt-stop span {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 1px;
  font: 600 0.58rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.12em; color: var(--text-secondary, #a0a0a0); white-space: nowrap; pointer-events: none;
}
.vxt-stop[aria-current="step"] span { color: var(--text-primary, #f5f5f5); }
.vxt-spr { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 43, 69, 0.35), 0 0 14px 4px rgba(255, 43, 69, 0.8); pointer-events: none; animation: vxtPulse 2.6s ease-in-out infinite; }
@keyframes vxtPulse { 50% { box-shadow: 0 0 0 7px rgba(255, 43, 69, 0.12), 0 0 18px 6px rgba(255, 43, 69, 0.5); } }

@media (max-width: 900px) { .vxt-deeper { display: none; } }
@media (max-width: 640px) {
  .vxt-bar { gap: 0.5rem; padding-left: 0.6rem; padding-right: 0.6rem; }
  .vxt-back .vxt-tx { display: none; }
  .vxt-next .vxt-nl { max-width: 7.5rem; }
  .vxt-thread { min-width: 64px; }
  .vxt-stop span { display: none; }
  .vxt-btn { padding: 0.5rem 0.65rem; }
}

/* ---------- the map overlay ---------- */
body.vxt-lock { overflow: hidden; }
.vxt-ov { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.vxt-ov[hidden] { display: none; }
.vxt-scrim { position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 0%, rgba(43, 13, 21, 0.96) 0%, rgba(8, 8, 12, 0.96) 55%); }
.vxt-panel { scrollbar-width: thin; scrollbar-color: #2d2d35 transparent; position: relative; width: min(1240px, 100%); max-height: 100%; overflow: auto; container-type: inline-size; color: var(--text-primary, #f5f5f5); }
.vxt-ph { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 0.4rem; }
.vxt-ph h2 { margin: 0; font-size: clamp(1.6rem, 3.4cqw, 2.6rem); line-height: 1.1; font-weight: 800; }
.vxt-ph p { margin: 0.3rem 0 0; color: var(--text-secondary, #a0a0a0); }
.vxt-ph > div { flex: 1; }
.vxt-x { cursor: pointer; border: 1px solid var(--border-color, #2d2d35); background: var(--dark-bg-2, #12121a); color: var(--text-primary, #f5f5f5); border-radius: 8px; padding: 0.5rem 0.9rem; font: inherit; font-weight: 600; }
.vxt-x:hover { border-color: var(--primary-color, #ff2b45); }
.vxt-x kbd { font: 500 0.75rem ui-monospace, Consolas, monospace; color: var(--text-secondary, #a0a0a0); margin-left: 0.4rem; }

.vxt-area { position: relative; aspect-ratio: 1100 / 640; }
.vxt-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vxt-nd { fill: #0a0a0f; stroke: #FF2B45; stroke-width: 3; cursor: pointer; transition: fill 0.4s; }
.vxt-nd.lit { fill: #FF2B45; }
.vxt-nd:hover { stroke: #fff; }
.vxt-conn { stroke: #FF2B45; stroke-width: 1.5; opacity: 0.75; }
.vxt-glow2 { transform-box: fill-box; transform-origin: center; animation: vxtP2 2.6s ease-in-out infinite; }
@keyframes vxtP2 { 50% { transform: scale(1.55); opacity: 0.12; } }
.vxt-lab { position: absolute; transform: translateX(-50%); width: 17cqw; background: none; border: 0; color: inherit; text-align: center; font: inherit; padding: 0.3cqw; cursor: pointer; border-radius: 0.6cqw; z-index: 3; transition: opacity 0.25s; }
.vxt-lab.above { transform: translate(-50%, -100%); }
.vxt-lab:hover, .vxt-lab.on { background: rgba(255, 43, 69, 0.08); }
.vxt-k { display: block; font: 600 max(10px, 1.05cqw) ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.14em; color: var(--primary-color, #ff2b45); }
.vxt-k i { display: inline-block; width: 0.5cqw; height: 0.5cqw; min-width: 5px; min-height: 5px; border-radius: 50%; background: var(--primary-color, #ff2b45); margin-right: 0.55cqw; vertical-align: middle; }
.vxt-lab b { display: block; font-size: max(13px, 1.4cqw); margin-top: 0.25cqw; line-height: 1.2; }
.vxt-lab em { display: block; font-style: normal; font-size: max(11px, 1.05cqw); color: var(--text-secondary, #a0a0a0); margin-top: 0.1cqw; }
.vxt-lab .vxt-here { display: block; font: 600 max(9px, .9cqw) ui-monospace, Consolas, monospace; letter-spacing: .1em; color: #fff; margin-top: .25cqw; }
.vxt-ov.open .vxt-lab:not(.on), .vxt-home.open .vxt-lab:not(.on) { opacity: 0.42; }
.vxt-hub { position: absolute; transform: translateX(-50%); width: 16cqw; text-align: center; z-index: 2; pointer-events: none; }
.vxt-hub em { font-style: normal; font-size: max(11px, 1.05cqw); color: var(--text-secondary, #a0a0a0); display: block; }
.vxt-pop { position: absolute; width: 26.4cqw; min-width: 230px; max-height: 92%; overflow: auto; scrollbar-width: thin; scrollbar-color: #2d2d35 transparent; background: #0d0d14; border: 1px solid #5a1a25; border-radius: 0.8cqw; box-shadow: 0 0 3cqw rgba(255, 43, 69, 0.22), 0 1.5cqw 4cqw rgba(0, 0, 0, 0.65); padding: 0.7cqw; z-index: 6; }
.vxt-pop[hidden] { display: none; }
.vxt-pop.wide { width: 46.5cqw; }
.vxt-pop.wide .vxt-leafs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3cqw 0.6cqw; align-items: start; }
.vxt-ph2 { font: 600 max(10px, 1cqw) ui-monospace, Consolas, monospace; letter-spacing: 0.12em; color: var(--text-secondary, #a0a0a0); padding: 0.3cqw 0.8cqw 0.5cqw; }
.vxt-leaf { position: relative; border: 1px solid transparent; border-radius: 0.5cqw; padding: 0.15cqw; }
.vxt-leaf:hover { border-color: #5a1a25; background: rgba(255, 43, 69, 0.06); }
.vxt-leaf.rec { border-color: #7a1626; }
.vxt-leaf.is-here { background: rgba(255, 43, 69, 0.1); border-color: #7a1626; }
.vxt-lm { display: flex; flex-wrap: wrap; gap: 0 0.8cqw; align-items: baseline; padding: 0.4cqw 0.6cqw; color: inherit; text-decoration: none; }
.vxt-lt { font-size: max(13px, 1.3cqw); font-weight: 700; }
.vxt-lb { margin-left: auto; font: 500 max(10px, 1cqw) ui-monospace, Consolas, monospace; color: var(--text-secondary, #a0a0a0); }
.vxt-ls { flex-basis: 100%; font-size: max(11px, 1.05cqw); color: var(--text-secondary, #a0a0a0); }
.vxt-rec, .vxt-youare { display: none; flex-basis: 100%; font: 600 max(9px, 0.95cqw) ui-monospace, Consolas, monospace; letter-spacing: 0.1em; color: var(--primary-color, #ff2b45); text-transform: uppercase; padding: 0 0.6cqw 0.3cqw; }
.vxt-leaf.rec .vxt-rec, .vxt-leaf.is-here .vxt-youare { display: block; }
.vxt-alts { display: flex; flex-wrap: wrap; gap: 0.3cqw 0.4cqw; padding: 0 0.6cqw 0.5cqw; }
.vxt-alt { font-size: max(10.5px, 1cqw); color: var(--text-secondary, #a0a0a0); border: 1px solid var(--border-color, #2d2d35); border-radius: 99px; padding: 0.15cqw 0.7cqw; text-decoration: none; background: rgba(18, 18, 26, 0.8); }
.vxt-alt:hover { color: var(--text-primary, #f5f5f5); border-color: #7a1626; }
.vxt-skipline { margin: 0.6rem 0 0; color: var(--text-secondary, #a0a0a0); font-size: 0.9rem; }
.vxt-skipline a { color: var(--primary-color, #ff2b45); font-weight: 600; }

/* phone: the same stops as a vertical thread */
.vxt-narrow { display: none; }
.vxt-nl { list-style: none; margin: 0.6rem 0 0; padding: 0 0 0 1.5rem; border-left: 2px solid rgba(255, 43, 69, 0.55); box-shadow: -6px 0 14px -8px rgba(255, 43, 69, 0.6); }
.vxt-nl > li { position: relative; padding: 0.2rem 0 0.6rem; }
.vxt-nl > li::before { content: ""; position: absolute; left: calc(-1.5rem - 7px); top: 0.9rem; width: 12px; height: 12px; border-radius: 50%; background: #0a0a0f; border: 2.5px solid #FF2B45; }
.vxt-nl > li.here::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 43, 69, 0.35), 0 0 12px 3px rgba(255, 43, 69, 0.8); }
.vxt-nl > li.lit::before { background: #FF2B45; }
.vxt-nl summary { cursor: pointer; list-style: none; padding: 0.4rem 0; }
.vxt-nl summary::-webkit-details-marker { display: none; }
.vxt-nl summary .vxt-k { font-size: 0.7rem; }
.vxt-nl summary b { display: block; font-size: 1.05rem; }
.vxt-nl summary em { display: block; font-style: normal; font-size: 0.85rem; color: var(--text-secondary, #a0a0a0); }
.vxt-nl .vxt-leaf { margin: 0.15rem 0; }
.vxt-nl .vxt-lt { font-size: 0.98rem; }
.vxt-nl .vxt-ls, .vxt-nl .vxt-lb { font-size: 0.8rem; }
.vxt-nl .vxt-alt { font-size: 0.78rem; padding: 0.15rem 0.6rem; }
.vxt-nl .vxt-alts { gap: 0.3rem; padding: 0 0.6rem 0.5rem; }
.vxt-nl .vxt-lm { padding: 0.5rem 0.6rem; }
@media (max-width: 760px) {
  .vxt-wide { display: none; }
  .vxt-narrow { display: block; }
  .vxt-ov { align-items: flex-start; padding: 0.75rem; }
  .vxt-ph h2 { font-size: 1.6rem; }
}

/* ---------- home preview: the map sits in the page ---------- */
.vxt-home { position: relative; container-type: inline-size; max-width: 1240px; margin: 0 auto; text-align: left; }
.vxt-home .vxt-area { margin-top: 0.5rem; }
.vxt-foot { display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: center; justify-content: space-between; padding: 0.9rem 0 0.2rem; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.vxt-aud { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; color: var(--text-secondary, #a0a0a0); font-size: 0.92rem; }
.vxt-chip { cursor: pointer; font: inherit; font-size: 0.9rem; color: var(--text-primary, #f5f5f5); background: rgba(18, 18, 26, 0.85); border: 1px solid var(--border-color, #2d2d35); border-radius: 99px; padding: 0.4rem 0.9rem; }
.vxt-chip[aria-pressed="true"] { border-color: var(--primary-color, #ff2b45); color: var(--primary-color, #ff2b45); }
.vxt-ctl { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.vxt-status { min-height: 1.6rem; padding: 0.5rem 0 0; color: var(--text-secondary, #a0a0a0); font-size: 0.92rem; }
.vxt-status b { color: var(--text-primary, #f5f5f5); }
.vxt-home .vxt-hero h1 { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .vxt-spr, .vxt-glow2 { animation: none; }
  .vxt-stop i, .vxt-nd, .vxt-lab { transition: none; }
}
@media print { .vxt-bar, .vxt-ov { display: none !important; } body.vxt-on { padding-bottom: 0; } }

/* ---------- search (js/search.js, loaded on demand) ---------- */
.vxt-search { border-radius: 99px; padding: 0.5rem 0.8rem; }
.vxt-search svg { width: 15px; height: 15px; flex: none; }
.vxt-search kbd, .vxs-ov kbd { font: 600 0.68rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; padding: 0.15rem 0.35rem; border: 1px solid var(--border-color, #2d2d35); border-radius: 4px; color: var(--text-secondary, #a0a0a0); background: rgba(255, 255, 255, 0.04); }
.vxt-ph .vxt-x + .vxt-x { margin-left: 0; }
.vxs-ov { position: fixed; inset: 0; z-index: 1100; display: flex; justify-content: center; align-items: flex-start; padding: 8vh 1rem 1rem; font: 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.vxs-ov[hidden] { display: none; }
.vxs-scrim { position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 0%, rgba(43, 13, 21, 0.96) 0%, rgba(8, 8, 12, 0.97) 55%); }
.vxs-box { position: relative; width: min(680px, 100%); max-height: 100%; display: flex; flex-direction: column; background: #0d0d14; border: 1px solid #3a1620; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 43, 69, 0.12), 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 43, 69, 0.12); color: var(--text-primary, #f5f5f5); overflow: hidden; }
.vxs-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 0.9rem; border-bottom: 1px solid #2a1a20; }
.vxs-ic { width: 18px; height: 18px; flex: none; color: #FF4A5E; }
.vxs-bar input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: inherit; font: inherit; font-size: 1.05rem; padding: 0.3rem 0; -webkit-appearance: none; appearance: none; }
.vxs-bar input::placeholder { color: var(--text-secondary, #8a8a96); }
.vxs-bar input::-webkit-search-cancel-button { display: none; }
.vxs-close { cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid var(--border-color, #2d2d35); background: var(--dark-bg-2, #12121a); color: inherit; border-radius: 8px; padding: 0.4rem 0.7rem; font: inherit; font-weight: 600; font-size: 0.85rem; }
.vxs-close:hover { border-color: var(--primary-color, #ff2b45); }
.vxs-bar input:focus-visible { outline: none; }
.vxs-close:focus-visible, .vxs-r:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.vxs-list { overflow: auto; padding: 0.3rem 0.5rem 0.6rem; scrollbar-width: thin; scrollbar-color: #2d2d35 transparent; }
.vxs-hint { padding: 0.6rem 0.5rem 0.2rem; color: var(--text-secondary, #a0a0a0); font-size: 0.85rem; }
.vxs-gh { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.8rem 0.5rem 0.25rem; }
.vxs-k { font: 600 0.68rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.14em; color: #FF4A5E; white-space: nowrap; }
.vxs-k i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #FF2B45; margin-right: 0.4rem; vertical-align: 1px; }
.vxs-gh b { font-size: 0.85rem; color: var(--text-secondary, #a0a0a0); font-weight: 600; }
.vxs-r { display: grid; grid-template-columns: 1fr auto; column-gap: 0.8rem; row-gap: 0.1rem; padding: 0.55rem 0.7rem; border-radius: 8px; text-decoration: none; color: inherit; border: 1px solid transparent; }
.vxs-r.on { background: rgba(255, 43, 69, 0.1); border-color: rgba(255, 43, 69, 0.45); }
.vxs-rt { font-weight: 650; overflow: hidden; text-overflow: ellipsis; }
.vxs-rb { align-self: start; font: 600 0.62rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary, #a0a0a0); border: 1px solid var(--border-color, #2d2d35); border-radius: 99px; padding: 0.22rem 0.5rem; }
.vxs-rs { grid-column: 1 / -1; color: var(--text-secondary, #a8a8b3); font-size: 0.85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vxs-rsec { grid-column: 1 / -1; font-size: 0.78rem; color: #FF4A5E; }
.vxs-r mark { background: none; color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: #FF2B45; text-underline-offset: 2px; }
.vxs-none { padding: 1rem 0.6rem; }
.vxs-none p { color: var(--text-secondary, #a0a0a0); margin: 0.3rem 0 0.7rem; }
.vxs-foot { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: 0.5rem 0.9rem; border-top: 1px solid #2a1a20; color: var(--text-secondary, #8a8a96); font-size: 0.78rem; }
.vxs-foot kbd { margin-right: 0.15rem; }
.vxs-priv { margin-left: auto; }
.vxs-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 640px) {
  .vxt-search .vxt-tx, .vxt-search kbd { display: none; }
  .vxt-search { padding: 0.5rem 0.6rem; }
  .vxs-ov { padding: 0.6rem; }
  .vxs-foot span:not(.vxs-priv) { display: none; }
  .vxs-priv { margin-left: 0; }
}
@media print { .vxs-ov { display: none !important; } }
@media (max-width: 400px) {
  .vxt-bar { gap: 0.35rem; padding-left: 0.5rem; padding-right: 0.5rem; }
  .vxt-next .vxt-nl { max-width: 4.8rem; }
  .vxt-btn { padding-left: 0.55rem; padding-right: 0.55rem; }
}
@media (max-width: 340px) { .vxt-next .vxt-nl { max-width: 3.4rem; } }

/* ---------- depth: the evidence strip on guides, and the "reproduce it" link on whitepapers ---------- */
.vxt-depth { padding: 2.2rem 0 2.6rem; border-top: 1px solid #2a1a20; background: linear-gradient(180deg, rgba(43, 13, 21, 0.28), rgba(8, 8, 12, 0)); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.vxt-dk { display: block; margin-bottom: 0.9rem; font: 600 0.7rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.14em; color: #FF4A5E; }
.vxt-dk i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #FF2B45; margin-right: 0.45rem; vertical-align: 1px; }
.vxt-dcards { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 0.9rem; }
.vxt-dc { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1.1rem; border: 1px solid var(--border-color, #2d2d35); border-radius: 12px; background: var(--dark-bg-2, #12121a); color: var(--text-primary, #f5f5f5); text-decoration: none; }
a.vxt-dc:hover { border-color: var(--primary-color, #ff2b45); }
a.vxt-dc:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.vxt-dmain { border-color: rgba(255, 43, 69, 0.55); box-shadow: 0 0 24px rgba(255, 43, 69, 0.1); }
.vxt-dnone { border-style: dashed; }
.vxt-dl { font: 600 0.62rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.12em; color: var(--text-secondary, #a0a0a0); }
.vxt-dmain .vxt-dl { color: #FF4A5E; }
.vxt-dc b { font-size: 0.98rem; line-height: 1.3; }
.vxt-dc em { font-style: normal; font-size: 0.82rem; color: var(--text-secondary, #a0a0a0); }
.vxt-repro { display: inline-block; margin: 0.6rem 0 0 0.9rem; color: var(--primary-color, #ff2b45); font-weight: 600; text-decoration: none; }
.vxt-repro:hover { text-decoration: underline; }
@media (max-width: 900px) { .vxt-dcards { grid-template-columns: 1fr 1fr; } .vxt-dmain { grid-column: 1 / -1; } }
@media (max-width: 520px) { .vxt-dcards { grid-template-columns: 1fr; } }
@media print { .vxt-depth { display: none; } }

/* visited marks, "pick up where you left off", the opt-in memory switch, and the landing film card */
.vxt-seenb { display: none; flex-basis: 100%; font: 600 max(9px, 0.95cqw) ui-monospace, Consolas, monospace; letter-spacing: 0.1em; color: var(--text-secondary, #a0a0a0); text-transform: uppercase; padding: 0 0.6cqw 0.3cqw; }
.vxt-leaf.seen .vxt-seenb { display: block; }
.vxt-resume { margin: 0.5rem 0 0.2rem; font-size: 0.95rem; color: var(--text-secondary, #a0a0a0); }
.vxt-resume a { color: var(--primary-color, #ff2b45); font-weight: 600; }
.vxt-mem { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: center; margin: 0.8rem 0 0; padding-top: 0.7rem; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 0.88rem; color: var(--text-secondary, #a0a0a0); }
.vxt-memsw { display: inline-flex; gap: 0.5rem; align-items: center; cursor: pointer; color: var(--text-primary, #f5f5f5); }
.vxt-memsw input { width: 1.05rem; height: 1.05rem; accent-color: var(--primary-color, #ff2b45); cursor: pointer; }
.vxt-memsw input:focus-visible { outline: 2px solid var(--primary-color, #ff2b45); outline-offset: 2px; }
.vxt-memforget { font: inherit; font-size: 0.85rem; color: var(--text-primary, #f5f5f5); background: transparent; border: 1px solid var(--border-color, #2d2d35); border-radius: 8px; padding: 0.25rem 0.7rem; cursor: pointer; }
.vxt-memforget:hover { border-color: var(--primary-color, #ff2b45); }
.vxt-memforget:focus-visible { outline: 2px solid var(--primary-color, #ff2b45); outline-offset: 2px; }
.vxt-memnote { flex-basis: 100%; font-size: 0.8rem; }
.vxt-memsay { flex-basis: 100%; font-size: 0.8rem; color: var(--text-primary, #f5f5f5); }
.vxt-memsay:empty { display: none; }
.vxt-hfilm { margin-top: 0.9rem; }
.vxt-hf { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1rem; align-items: center; padding: 0.6rem; border: 1px solid var(--border-color, #2d2d35); border-radius: 12px; background: rgba(18, 18, 26, 0.85); color: var(--text-primary, #f5f5f5); text-decoration: none; text-align: left; }
.vxt-hf:hover { border-color: var(--primary-color, #ff2b45); }
.vxt-hf:focus-visible { outline: 2px solid var(--primary-color, #ff2b45); outline-offset: 2px; }
.vxt-hfp { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.vxt-hfp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vxt-hfp i { position: absolute; left: 50%; top: 50%; width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; border-radius: 50%; background: rgba(10, 10, 15, 0.7); border: 2px solid var(--primary-color, #ff2b45); }
.vxt-hfp i::after { content: ""; position: absolute; left: 0.9rem; top: 0.62rem; border-left: 0.62rem solid #fff; border-top: 0.5rem solid transparent; border-bottom: 0.5rem solid transparent; }
.vxt-hfp em { position: absolute; right: 0.4rem; bottom: 0.4rem; padding: 0.1rem 0.4rem; border-radius: 5px; background: rgba(0, 0, 0, 0.8); font: 600 0.72rem/1.3 ui-monospace, Consolas, monospace; font-style: normal; color: #fff; }
.vxt-hft { display: grid; gap: 0.25rem; min-width: 0; }
.vxt-hft b { font-size: 1.02rem; line-height: 1.3; }
.vxt-hft > span:last-child { font-size: 0.88rem; color: var(--text-secondary, #a0a0a0); }
.vxt-hft .vxt-k { font-size: 0.7rem; }
@media (max-width: 560px) { .vxt-hf { grid-template-columns: minmax(0, 1fr); } }
.hero .vxt-mem { justify-content: center; text-align: center; }

/* ---------- the console: a page, or the free-key form, shown as a card in the flow of the thread ---------- */
/* on a wide screen the console floats over the thread, like the menus (a panel over the page on a phone: see .vxc-ov) */
.vxt-conpop { position: absolute; left: 2%; right: 2%; top: 1.5%; z-index: 9; display: flex; max-height: calc(100vh - 168px); height: 97%; text-align: left; }
.vxt-conpop[hidden] { display: none; }
.vxt-conpop .vxc { height: 100%; min-height: 0; }
.vxt-conpop .vxc-body { flex: 1 1 auto; min-height: 0; max-height: none; }
.vxc-body div { margin: 0 0 0.55rem; }
.vxc-body li > div, .vxc-body td > div, .vxc-body th > div { margin: 0; }
.vxc-body > div:empty { display: none; }
.vxc-ov { align-items: center; }
.vxc-panel { position: relative; width: min(1100px, 100%); max-height: 100%; display: flex; }
.vxc { position: relative; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; background: #0d0d14; border: 1px solid #5a1a25; border-radius: 12px; box-shadow: 0 0 34px rgba(255, 43, 69, 0.2), 0 18px 48px rgba(0, 0, 0, 0.6); color: var(--text-primary, #f5f5f5); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow: hidden; }
.vxc-hd { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; align-items: start; padding: 0.9rem 1.1rem 0.7rem; border-bottom: 1px solid #2a1219; }
.vxc-k { grid-column: 1 / -1; font: 600 11px ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.14em; color: var(--primary-color, #ff2b45); text-transform: uppercase; }
.vxc-k i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-color, #ff2b45); margin-right: 0.5rem; vertical-align: middle; }
.vxc-title { margin: 0; font-size: 1.35rem; line-height: 1.2; font-weight: 800; }
.vxc-title:focus { outline: none; }
.vxc-tools { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: flex-end; }
.vxc-tools .vxt-btn, .vxc-ft .vxt-btn { padding: 0.35rem 0.7rem; font-size: 13px; }
.vxc-tools [hidden], .vxc-ft [hidden] { display: none; }
.vxc-body { overflow: auto; padding: 0.9rem 1.1rem 1.1rem; max-height: min(62vh, 560px); scrollbar-width: thin; scrollbar-color: #2d2d35 transparent; overflow-wrap: anywhere; }
.vxc-ov .vxc { height: calc(100vh - 2rem); max-height: 780px; min-height: 0; }
.vxc-ov .vxc-body { flex: 1 1 auto; min-height: 0; max-height: none; }
.vxc-body:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.vxc-body h2, .vxc-body h3, .vxc-body h4 { margin: 1.3rem 0 0.4rem; line-height: 1.25; }
.vxc-body h2 { font-size: 1.25rem; }
.vxc-body h3 { font-size: 1.08rem; }
.vxc-body h4, .vxc-body h5, .vxc-body h6 { font-size: 1rem; }
.vxc-body > :first-child { margin-top: 0; }
.vxc-body p, .vxc-body li, .vxc-body dd { color: var(--text-secondary, #c4c4c8); }
.vxc-body strong, .vxc-body b { color: var(--text-primary, #f5f5f5); }
.vxc-body a { color: var(--primary-color, #ff2b45); }
.vxc-body ul, .vxc-body ol { padding-left: 1.3rem; }
.vxc-body code { font: 0.9em ui-monospace, "Cascadia Mono", Consolas, monospace; background: #08080d; border: 1px solid #23232c; border-radius: 4px; padding: 0.05em 0.35em; }
.vxc-body pre { background: #08080d; border: 1px solid #23232c; border-radius: 8px; padding: 0.7rem 0.9rem; overflow-x: auto; }
.vxc-body pre code { border: 0; padding: 0; background: none; }
.vxc-body img, .vxc-body video { max-width: 100%; height: auto; border-radius: 8px; }
.vxc-body details { border: 1px solid #23232c; border-radius: 8px; padding: 0.4rem 0.8rem; margin: 0.6rem 0; }
.vxc-body summary { cursor: pointer; font-weight: 600; }
.vxc-tbl { overflow-x: auto; margin: 0.6rem 0; }
.vxc-body table { border-collapse: collapse; font-size: 0.92rem; }
.vxc-body th, .vxc-body td { border: 1px solid #2d2d35; padding: 0.35rem 0.6rem; text-align: left; vertical-align: top; }
.vxc-body th { color: var(--text-primary, #f5f5f5); background: #12121a; }
.vxc-note, .vxc-load { font: 12.5px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--text-secondary, #a0a0a0); margin: 1.2rem 0 0; padding-top: 0.7rem; border-top: 1px dashed #2d2d35; }
.vxc-load { border: 0; margin: 0; padding: 0; }
.vxc-ft { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 1.1rem; border-top: 1px solid #2a1219; background: #0a0a10; }
.vxc-dotsbox { margin-right: auto; }
.vxc-dots { list-style: none; display: flex; gap: 0.45rem; margin: 0; padding: 0; }
.vxc-dots li { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #5a1a25; background: #0a0a0f; box-sizing: border-box; }
.vxc-dots li.lit { background: #ff2b45; border-color: #ff2b45; }
.vxc-dots li.here { background: #fff; border-color: #ff2b45; box-shadow: 0 0 8px 2px rgba(255, 43, 69, 0.7); }
.vxc-dp { color: var(--text-secondary, #a0a0a0); font-size: 13px; text-decoration: none; }
.vxc-dp:hover { color: var(--text-primary, #f5f5f5); text-decoration: underline; }
.vxc .vxt-btn:focus-visible, .vxc-dp:focus-visible, .vxc a:focus-visible, .vxc input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.vxc-sign, .vxc-link { max-width: 34rem; }
.vxc-sign h4, .vxc-link h4 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.vxc-form label { display: block; font: 600 11px ui-monospace, Consolas, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary, #a0a0a0); margin: 0.9rem 0 0.35rem; }
.vxc-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vxc-row input { flex: 1 1 14rem; min-width: 0; box-sizing: border-box; padding: 0.55rem 0.75rem; border-radius: 8px; border: 1px solid #3a3a45; background: #08080d; color: var(--text-primary, #f5f5f5); font: inherit; }
.vxc-row input:focus { border-color: #ff2b45; }
.vxc-row .vxt-btn { padding: 0.55rem 1rem; font-size: 14px; }
.vxc-status { margin: 0.8rem 0 0; min-height: 1.2em; color: var(--text-secondary, #c4c4c8); }
.vxc-status.err { color: #ff8a97; }
.vxc-after { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 0; }
.vxc-link .vxc-after .vxt-btn { text-decoration: none; }
.vxc-body .vxt-btn { color: inherit; }
.vxc-body .vxt-p { color: #fff; }
@media (max-width: 640px) {
  .vxc-hd { grid-template-columns: 1fr; }
  .vxc-tools { justify-content: flex-start; }
  .vxc-ft { flex-wrap: wrap; }
  .vxc-dotsbox { flex-basis: 100%; }
  .vxc-ov { align-items: flex-start; }
  .vxc-ov .vxc-body { max-height: calc(100vh - 14rem); }
}
@media print { .vxc-ov, .vxt-conpop { display: none !important; } }

.vxc { scroll-margin-top: 84px; }
.vxc-body a + a { margin-left: 0.6em; }

/* ---------- width (2026-12-03, John: "why are all the pages so narrow?"): the shared column is 1440px; style.css is cached for a day, so the rule is repeated here, where the version token reaches everyone ---------- */
.container { max-width: 1440px; }
.docs-shell { max-width: 1560px; }
#vxt-home { max-width: 1240px; margin-left: auto; margin-right: auto; }
.vxc-body > p, .vxc-body > ul, .vxc-body > ol, .vxc-body > dl, .vxc-body > blockquote, .vxc-body > h2, .vxc-body > h3, .vxc-body > h4, .vxc-body > h5, .vxc-body > h6, .vxc-body > details { max-width: 68rem; }
.vxc-body .vxc-eyebrow { font: 600 11px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.14em; color: var(--primary-color, #ff2b45); margin: 1.1rem 0 0.2rem; }
.vxc-body .vxc-eyebrow:first-child { margin-top: 0; }

/* ---------- the console: steady layout and a soft open (no page jump) ---------- */
html { scrollbar-gutter: stable; }
.vxc-body video { display: block; max-width: 100%; max-height: min(56vh, 440px); width: auto; height: auto; margin: 0.6rem 0; background: #000; }
.vxc-body > div, .vxc-body video { max-width: 100%; }
@keyframes vxcIn { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes vxcSwap { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes vxcFade { from { opacity: 0; } to { opacity: 1; } }
.vxc { animation: vxcIn 0.22s ease-out both; }
.vxc-body.swap { animation: vxcSwap 0.2s ease-out both; }
.vxc-ov .vxt-scrim { animation: vxcFade 0.2s ease-out both; }
@media (prefers-reduced-motion: reduce) { .vxc, .vxc-body.swap, .vxc-ov .vxt-scrim { animation: none; } }

/* ---------- the homepage detail, folded: one calm band instead of a wall of cards ---------- */
.vxh-more { padding: 2.5rem 0 1rem; }
.vxh-more .section-title { margin-bottom: 0.4rem; }
.vxh-more .section-subtitle { margin-bottom: 1.4rem; }
.vxh-d { max-width: 1100px; margin: 0 auto 0.6rem; background: #0d0d14; border: 1px solid #2a1219; border-radius: 12px; overflow: hidden; scroll-margin-top: 84px; }
.vxh-d[open] { border-color: #5a1a25; box-shadow: 0 0 26px rgba(255, 43, 69, 0.12); }
.vxh-d > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1rem; padding: 0.95rem 1.2rem 0.95rem 2.6rem; cursor: pointer; list-style: none; position: relative; }
.vxh-d > summary::-webkit-details-marker { display: none; }
.vxh-d > summary::before { content: ""; position: absolute; left: 1.1rem; top: 1.35rem; width: 7px; height: 7px; border-right: 2px solid var(--primary-color, #ff2b45); border-bottom: 2px solid var(--primary-color, #ff2b45); transform: rotate(-45deg); transition: transform 0.18s; }
.vxh-d[open] > summary::before { transform: rotate(45deg); top: 1.2rem; }
.vxh-d > summary:hover .vxh-t { color: var(--primary-color, #ff2b45); }
.vxh-d > summary:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.vxh-t { font-size: 1.1rem; font-weight: 700; color: var(--text-primary, #f5f5f5); }
.vxh-s { font-size: 0.9rem; color: var(--text-secondary, #a0a0a0); }
.vxh-d > section { padding-top: 0.5rem; padding-bottom: 1.2rem; background: none; }
.vxh-d section h2.section-title { display: none; }
.vxh-d section .container { max-width: none; }
@media (prefers-reduced-motion: reduce) { .vxh-d > summary::before { transition: none; } }

/* ---------- ergonomics fixes from the page-by-page review (2026-12-03) ---------- */
h1 code, h2 code, h3 code, h4 code { white-space: normal; }
:not(pre) > code { overflow-wrap: anywhere; }
.docs-main { overflow-x: clip; }
.vxt-stop::after { content: ""; position: absolute; inset: -11px; }

/* ---------- QA pass (2026-12-03): readable links, tighter rhythm ---------- */
:where(section, main, article, .docs-main, .vxc-body) a:not([class]):not(.logo) { color: var(--primary-color, #ff2b45); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
:where(section, main, article, .docs-main, .vxc-body) a:not([class]):not(.logo):hover { text-decoration-thickness: 2px; }
.hero { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.products { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.section-title, .products h2, .hero h1 { line-height: 1.2; text-wrap: balance; }
.section-subtitle { line-height: 1.55; }
@media (max-width: 760px) {
  .hero, .products, .how-it-works, .social-proof, .cta, .contact { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .section-title { font-size: 1.9rem; margin-bottom: .6rem; }
  .section-subtitle { margin-bottom: 1.6rem; }
}

/* ---------- rhythm: stop paddings and margins stacking (phone review 2026-12-03) ---------- */
.hero-cta:last-child { margin-bottom: 0; }
.products + .products, .products + .how-it-works, .how-it-works + .products { padding-top: 0; }
@media (max-width: 760px) {
  .hero { padding-bottom: 1.5rem; }
  .hero + .products { padding-top: 1.75rem; }
  .products + .products { padding-top: 0; }
  .products, .how-it-works, .social-proof { padding-bottom: 2rem; }
  .shot figcaption { margin-top: .5rem; }
}
/* the bar's Next button: on a phone say "Next" and keep the arrow, never a clipped half-word */
@media (max-width: 700px) { .vxt-next .vxt-nt { display: none; } .vxt-next .vxt-nl { max-width: none; } }
@media (max-width: 480px) {
  .hero-title { font-size: 2.15rem; line-height: 1.15; }
  .product-card h3, .pricing-card h3 { font-size: 1.35rem; line-height: 1.25; }
  .hero-subtitle { font-size: 1.05rem; }
}
/* comparison tables stack on a phone: each row becomes a small block with the column name beside each answer */
@media (max-width: 640px) {
  table.benchmark-table { min-width: 0 !important; display: block; }
  table.benchmark-table thead { display: none; }
  table.benchmark-table tbody, table.benchmark-table tr { display: block; }
  table.benchmark-table tr { padding: .9rem 0; border-top: 1px solid var(--border-color); }
  table.benchmark-table tr:first-child { border-top: 0; }
  table.benchmark-table td { display: block; padding: .15rem 0; border: 0; }
  table.benchmark-table td:first-child { font-size: 1rem; margin-bottom: .35rem; }
  table.benchmark-table td[data-l]::before { content: attr(data-l); display: block; font: 600 .68rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: #FF4A5E; margin-top: .45rem; }
}
/* figures with a caption (the live-demo capture on the homepage); this used to be an inline <style> on the removed app-screenshot line */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border-color); border-radius: 10px; }
.shot figcaption { margin-top: 0.75rem; color: var(--text-secondary); font-size: 0.95rem; }

/* ---------- review fixes (2026-12-04): audience film beside each audience page; status cards ---------- */
.vxa-film { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.8rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.vxa-film video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--border-color); border-radius: 10px; }
.vxa-k { font: 600 .72rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .14em; color: #FF4A5E; margin: 0 0 .7rem; }
.vxa-h { font-size: 1.55rem; line-height: 1.2; margin: 0 0 .6rem; text-align: left; }
.vxa-fc p { color: var(--text-secondary); }
.vxa-fc .btn-secondary { display: inline-block; margin-top: .8rem; }
@media (max-width: 860px) { .vxa-film { grid-template-columns: 1fr; gap: 1.1rem; } }
.vxh-route { gap: .7rem; }

/* ---------- motion (2026-12-04): the console opens out of the link and folds back; window chrome; calmer page motion ---------- */
.vxc { transform-origin: 50% 0; animation: vxcOpen 0.3s cubic-bezier(0.2, 0.85, 0.25, 1) both; }
@keyframes vxcOpen { 0% { opacity: 0; transform: scale(0.86); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.vxc.out { animation: vxcClose 0.2s cubic-bezier(0.4, 0, 1, 1) both; pointer-events: none; }
@keyframes vxcClose { to { opacity: 0; transform: scale(0.9); } }
.vxc-ov.out .vxt-scrim { animation: vxcFadeOut 0.2s ease-in both; }
@keyframes vxcFadeOut { to { opacity: 0; } }
.vxt-pop:not([hidden]) { animation: vxcOpen 0.24s cubic-bezier(0.2, 0.85, 0.25, 1) both; }
.vxc-bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.5rem 0.85rem; border-bottom: 1px solid #2a1a20; background: rgba(255, 255, 255, 0.03); font: 500 0.72rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; color: #9a8f95; flex: none; }
.vxc-wds { display: inline-flex; gap: 0.4rem; }
.vxc-wds i { display: block; width: 0.62rem; height: 0.62rem; border-radius: 50%; background: #3a2a30; }
.vxc-wds .vxc-wd1 { background: #FF2B45; cursor: pointer; box-shadow: 0 0 8px rgba(255, 43, 69, 0.55); }
.vxc-path { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #d9ccd2; }
.vxc-path::after { content: "_"; margin-left: 1px; color: #FF4A5E; animation: vxcBlink 1s steps(2, start) infinite; }
.vxc-path.typ { animation: vxcType 0.45s steps(16) both; }
@keyframes vxcType { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes vxcBlink { 50% { opacity: 0; } }
.vxc-esc { opacity: 0.55; }
@media (max-width: 560px) { .vxc-esc { display: none; } }
.vxc-load::after { content: "_"; color: #FF4A5E; animation: vxcBlink 1s steps(2, start) infinite; }
/* folded details open smoothly where the browser can animate it; elsewhere they just open */
@supports (interpolate-size: allow-keywords) {
  .vxh-d { interpolate-size: allow-keywords; }
  .vxh-d::details-content { height: 0; overflow: clip; transition: height 0.32s ease, content-visibility 0.32s allow-discrete; }
  .vxh-d[open]::details-content { height: auto; }
}
/* cards ease up into place as they scroll in: no script, nothing hidden, and the end state is the normal one */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .product-card:not(.vxc *), .proof-card:not(.vxc *), .trust > div, .vxa-film { animation: vxRise linear backwards; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes vxRise { from { opacity: 0.5; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-card:not(.vxc *), .proof-card:not(.vxc *) { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
  .product-card:not(.vxc *):hover, .proof-card:not(.vxc *):hover { transform: translateY(-3px); border-color: rgba(255, 43, 69, 0.5); box-shadow: 0 12px 30px -14px rgba(255, 43, 69, 0.4); }
}
@media (prefers-reduced-motion: reduce) { .vxc, .vxc.out, .vxt-pop:not([hidden]), .vxc-path.typ, .vxc-path::after, .vxc-load::after, .vxc-ov.out .vxt-scrim { animation: none; } .vxh-d::details-content { transition: none; } }
@media print { .product-card, .proof-card, .trust > div, .vxa-film { animation: none !important; } }
/* a film in the console runs the full width of the window, controls and all; the picture keeps its shape inside */
.vxc-body video { width: 100%; object-fit: contain; border-radius: 8px; }
/* ...and never taller than the window it sits in, so the controls are always on screen */
.vxt-conpop .vxc-body, .vxc-ov .vxc-body { container-type: size; }
@supports (height: 1cqh) {
  .vxt-conpop .vxc-body video, .vxc-ov .vxc-body video { max-height: max(150px, calc(100cqh - 5rem)); }
}

/* ---------- console content audit (2026-12-04) ---------- */
.vxc-body .vxc-eyebrow, .vxc-body .vxc-eyebrow:first-child { margin-top: 1.7rem; }
.vxc-body > .vxc-eyebrow:first-child { margin-top: 0; }
.vxc-body .vxc-eyebrow + h2, .vxc-body .vxc-eyebrow + h3, .vxc-body .vxc-eyebrow + h4 { margin-top: 0.3rem; }
.vxc-body .vxc-stat { font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: var(--primary-color, #ff2b45); margin: 1rem 0 0; }
.vxc-body .vxc-stat + p { margin-top: 0.15rem; }
.vxc-body .vxc-iact { font: 12.5px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--text-secondary, #a0a0a0); margin: 1rem 0; padding: 0.7rem 0.9rem; border: 1px dashed #3a2a30; border-radius: 8px; background: rgba(255, 255, 255, 0.02); }
.vxc-body .vxc-fcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; margin-top: 0.8rem; }
.vxc-body .vxc-fc > h2, .vxc-body .vxc-fc > h3 { font-size: 1.02rem; margin: 0.7rem 0 0.25rem; }
.vxc-body .vxc-poster { position: relative; display: block; border-radius: 8px; overflow: hidden; line-height: 0; background: #000; }
.vxc-body .vxc-poster img { display: block; width: 100%; height: auto; border-radius: 0; }
.vxc-body .vxc-poster::after { content: "\25B6"; position: absolute; right: 0.55rem; top: 0.55rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--primary-color, #ff2b45); color: #fff; font-size: 0.65rem; padding-left: 0.1rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); transition: transform 0.2s ease; }
.vxc-body .vxc-poster:hover::after { transform: scale(1.12); }
.vxc-body .vxc-dur { position: absolute; right: 0.5rem; bottom: 0.5rem; padding: 0.15rem 0.45rem; border-radius: 4px; background: rgba(0, 0, 0, 0.78); color: #fff; font: 600 0.72rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; text-decoration: none; }

/* ---------- handover section on the memory page (2026-12-04) ---------- */
.vxa-ho { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.5rem; position: relative; }
.vxa-hoc { position: relative; background: var(--dark-bg-2, #101015); border: 1px solid var(--border-color, #2a2a32); border-radius: 12px; padding: 1.25rem 1.35rem 1.4rem; }
.vxa-hoc h3 { margin: 0.55rem 0 0.4rem; font-size: 1.12rem; line-height: 1.25; }
.vxa-hoc p { margin: 0; color: var(--text-secondary, #c4c4c8); }
.vxa-hok { border-color: rgba(255, 43, 69, 0.55); box-shadow: 0 0 0 1px rgba(255, 43, 69, 0.15), 0 10px 40px rgba(255, 43, 69, 0.08); }
.vxa-hoc:not(:last-child)::after { content: ""; position: absolute; top: 2.1rem; right: -1.4rem; width: 1.4rem; height: 2px; background: linear-gradient(90deg, rgba(255, 43, 69, 0.2), var(--primary-color, #ff2b45)); }
.vxa-hoc .product-badge { position: static; display: inline-block; margin: 0; }
.vxa-say { margin: 1.4rem auto 0; max-width: 820px; display: grid; gap: 0.6rem; }
.vxa-say p { margin: 0; padding: 0.7rem 1rem; border: 1px dashed #3a2a30; border-radius: 8px; color: var(--text-primary, #f5f5f5); }
.vxa-say .vxa-k { display: block; font: 600 11px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.14em; color: var(--primary-color, #ff2b45); margin-bottom: 0.2rem; }
@media (max-width: 760px) {
  .vxa-ho { grid-template-columns: 1fr; gap: 1.1rem; }
  .vxa-hoc:not(:last-child)::after { top: auto; right: auto; left: 2rem; bottom: -1.1rem; width: 2px; height: 1.1rem; background: linear-gradient(180deg, var(--primary-color, #ff2b45), rgba(255, 43, 69, 0.2)); }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .vxa-hoc { animation: vxRise both linear; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}


/* handover animation: the VAAS-X mark as the shared memory (drawn from the brand mark, no film) */
.vxa-hm { max-width: 900px; margin: 2.2rem auto 2.4rem; text-align: center; }
.vxa-hm svg { display: block; width: 100%; height: auto; overflow: visible; }
.vxa-hm .hm-th { stroke: #FF2B45; stroke-width: 2; opacity: .35; }
#hm-pe { stroke-dasharray: 92; stroke-dashoffset: 0; opacity: .6; }
.vxa-hm .hm-as { fill: #14141c; stroke: #45454f; stroke-width: 2; }
.vxa-hm #hm-ah, .vxa-hm #hm-bh { opacity: .3; }
.vxa-hm .hm-lbl, .vxa-hm .hm-day { font: 600 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .16em; }
.vxa-hm .hm-lbl { fill: #9a9aa6; }
.vxa-hm .hm-day { fill: #FF2B45; }
.vxa-hm #hm-pulses circle { opacity: 0; }
.vxa-hm #hm-spokes, .vxa-hm #hm-nodes, .vxa-hm #hm-halo { transition: none; }
.vxa-hm figcaption { min-height: 3.2em; margin: .6rem auto 0; max-width: 34rem; font-size: 1.12rem; line-height: 1.45; color: var(--text-primary, #f2f2f5); }
.vxa-hm figcaption.hm-in { animation: hmIn .5s ease-out both; }
@keyframes hmIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.vxa-hm .vxa-rp { margin-top: .6rem; }
.vxa-hm .vxa-rp[hidden] { display: none; }
@media (max-width: 560px) { .vxa-hm .hm-lbl { font-size: 21px; letter-spacing: .04em; } .vxa-hm .hm-day { font-size: 24px; letter-spacing: .06em; } .vxa-hm figcaption { font-size: 1.02rem; } }
@media (prefers-reduced-motion: reduce) { .vxa-hm figcaption.hm-in { animation: none; } }
#handover .vxa-wf { text-align: center; margin: 1.4rem 0 0; }
#handover .vxa-wl { margin-left: 1.1rem; color: var(--accent, #FF2B45); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
