/* TensorLynx overview (product/tensorlynx/overview.html). Shared components live in product.css. */

/* ---- Hero drawing --------------------------------------------------------------------------------------------- */
.tx-p-ov .ov-hero { overflow: visible; }
.tx-p-ov .ov-ring-run { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .1 .9; animation: tx-run 10s linear infinite; filter: drop-shadow(0 0 6px rgba(57, 208, 224, .9)); }
.tx-p-ov .ov-stage-labels circle { fill: var(--surface-0); stroke: var(--accent); stroke-width: 2; }
.tx-p-ov .ov-stage-labels text { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; fill: var(--text-secondary); }
.tx-p-ov .ov-stage-labels g { animation: ov-blink 8s linear infinite; }
.tx-p-ov .ov-stage-labels g:nth-child(1) { animation-delay: 0s; }
.tx-p-ov .ov-stage-labels g:nth-child(2) { animation-delay: 1s; }
.tx-p-ov .ov-stage-labels g:nth-child(3) { animation-delay: 2s; }
.tx-p-ov .ov-stage-labels g:nth-child(4) { animation-delay: 3s; }
.tx-p-ov .ov-stage-labels g:nth-child(5) { animation-delay: 4s; }
.tx-p-ov .ov-stage-labels g:nth-child(6) { animation-delay: 5s; }
.tx-p-ov .ov-stage-labels g:nth-child(7) { animation-delay: 6s; }
.tx-p-ov .ov-stage-labels g:nth-child(8) { animation-delay: 7s; }
@keyframes ov-blink { 0%, 10% { opacity: 1; } 14%, 100% { opacity: .55; } }
.tx-p-ov .ov-stage-labels g { opacity: .55; }
.tx-p-ov .ov-bend { animation: tx-float 9s ease-in-out infinite; }
.tx-p-ov .ov-band-chart { animation: tx-float 7s ease-in-out infinite reverse; }
.tx-p-ov .ov-seal { animation: tx-float 8s ease-in-out infinite 1s; }
.tx-p-ov .tx-hero .tx-draw { transition-duration: 2.2s; }
.js .tx-p-ov .tx-hero-figure .tx-draw { stroke-dashoffset: 1; animation: ov-draw 2.4s var(--ease-out) .3s forwards; }
@keyframes ov-draw { to { stroke-dashoffset: 0; } }

/* ---- Trust gap stats ------------------------------------------------------------------------------------------- */
.tx-p-ov .ov-gap-grid { display: grid; gap: var(--tx-gap); margin-top: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.tx-p-ov .ov-gap-stat svg { width: 76px; height: 76px; margin-bottom: .6rem; }
.tx-p-ov .ov-gap-stat sup a { color: var(--accent); text-decoration: none; font-family: var(--font-mono); }
.tx-p-ov .ov-ring-bg { fill: none; stroke: var(--surface-3); stroke-width: 10; }
.tx-p-ov .ov-ring-fg { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: var(--v) 100; }
.tx-p-ov .ov-ring-fg--amber { stroke: var(--accent-2); }
.tx-p-ov .ov-ring-fg--red { stroke: var(--diag); }
.js .tx-p-ov .ov-ring-fg { stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s var(--ease-out) .2s; }
.js .tx-p-ov .is-in .ov-ring-fg { stroke-dasharray: var(--v) 100; }
.tx-p-ov .ov-bars-stat rect { transform-box: fill-box; transform-origin: bottom; }
.tx-p-ov .ov-bar-a { fill: var(--accent); transform: scaleY(var(--h)); }
.tx-p-ov .ov-bar-b { fill: var(--accent-2); transform: scaleY(var(--h)); }
.js .tx-p-ov .ov-bars-stat rect { transform: scaleY(0); transition: transform 1.4s var(--ease-out) .2s; }
.js .tx-p-ov .is-in .ov-bars-stat rect { transform: scaleY(var(--h)); }
.tx-p-ov .ov-bars-stat text { font-family: var(--font-mono); font-size: 9px; fill: var(--text-tertiary); }

/* ---- Principles ------------------------------------------------------------------------------------------------ */
.tx-p-ov .ov-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.tx-p-ov .ov-rule-n { display: block; font-family: var(--font-mono); font-size: var(--step-xs); color: var(--accent-2); margin-bottom: .6rem; letter-spacing: .1em; }

/* ---- Loop wheel (scrollytelling stage) -------------------------------------------------------------------------- */
.tx-p-ov .ov-wheel-progress { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 8; transition: stroke-dasharray .8s var(--ease-out); filter: drop-shadow(0 0 6px rgba(57, 208, 224, .7)); }
.tx-p-ov .ov-wn circle { fill: var(--surface-2); stroke: var(--border-strong); stroke-width: 2; transition: fill .5s var(--ease-out), stroke .5s, transform .5s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.tx-p-ov .ov-wn text { font-family: var(--font-mono); font-size: 13px; fill: var(--text-secondary); transition: fill .5s; }
.tx-p-ov .ov-wn-1 { transform: translate(320px, 80px); }
.tx-p-ov .ov-wn-2 { transform: translate(447.3px, 132.7px); }
.tx-p-ov .ov-wn-3 { transform: translate(500px, 260px); }
.tx-p-ov .ov-wn-4 { transform: translate(447.3px, 387.3px); }
.tx-p-ov .ov-wn-5 { transform: translate(320px, 440px); }
.tx-p-ov .ov-wn-6 { transform: translate(192.7px, 387.3px); }
.tx-p-ov .ov-wn-7 { transform: translate(140px, 260px); }
.tx-p-ov .ov-wn-8 { transform: translate(192.7px, 132.7px); }
.tx-p-ov .ov-wc { opacity: 0; transition: opacity .5s var(--ease-out); }
.tx-p-ov .ov-wc-t { font-size: 24px; font-weight: 600; fill: var(--text-primary); text-anchor: middle; }
.tx-p-ov .ov-wc-s { font-family: var(--font-mono); font-size: 12px; fill: var(--text-secondary); text-anchor: middle; }
.tx-p-ov [data-tx-steps]:not([data-active]) .ov-wc-1,
.tx-p-ov [data-active="1"] .ov-wc-1, .tx-p-ov [data-active="2"] .ov-wc-2, .tx-p-ov [data-active="3"] .ov-wc-3, .tx-p-ov [data-active="4"] .ov-wc-4,
.tx-p-ov [data-active="5"] .ov-wc-5, .tx-p-ov [data-active="6"] .ov-wc-6, .tx-p-ov [data-active="7"] .ov-wc-7, .tx-p-ov [data-active="8"] .ov-wc-8 { opacity: 1; }
.tx-p-ov [data-active="1"] .ov-wn-1 circle, .tx-p-ov [data-active="2"] .ov-wn-2 circle, .tx-p-ov [data-active="3"] .ov-wn-3 circle, .tx-p-ov [data-active="4"] .ov-wn-4 circle,
.tx-p-ov [data-active="5"] .ov-wn-5 circle, .tx-p-ov [data-active="6"] .ov-wn-6 circle, .tx-p-ov [data-active="7"] .ov-wn-7 circle, .tx-p-ov [data-active="8"] .ov-wn-8 circle { fill: var(--accent); stroke: var(--accent); transform: scale(1.18); }
.tx-p-ov [data-active="1"] .ov-wn-1 text, .tx-p-ov [data-active="2"] .ov-wn-2 text, .tx-p-ov [data-active="3"] .ov-wn-3 text, .tx-p-ov [data-active="4"] .ov-wn-4 text,
.tx-p-ov [data-active="5"] .ov-wn-5 text, .tx-p-ov [data-active="6"] .ov-wn-6 text, .tx-p-ov [data-active="7"] .ov-wn-7 text, .tx-p-ov [data-active="8"] .ov-wn-8 text { fill: var(--text-on-accent); font-weight: 700; }
.tx-p-ov [data-active="2"] .ov-wheel-progress { stroke-dasharray: 2 8; }
.tx-p-ov [data-active="3"] .ov-wheel-progress { stroke-dasharray: 3 8; }
.tx-p-ov [data-active="4"] .ov-wheel-progress { stroke-dasharray: 4 8; }
.tx-p-ov [data-active="5"] .ov-wheel-progress { stroke-dasharray: 5 8; }
.tx-p-ov [data-active="6"] .ov-wheel-progress { stroke-dasharray: 6 8; }
.tx-p-ov [data-active="7"] .ov-wheel-progress { stroke-dasharray: 7 8; }
.tx-p-ov [data-active="8"] .ov-wheel-progress { stroke-dasharray: 8 8; }
.tx-p-ov .tx-step a { color: var(--accent); text-decoration: none; font-size: var(--step-sm); white-space: nowrap; }
.tx-p-ov .tx-step a:hover { text-decoration: underline; }
html:not(.js) .tx-p-ov .ov-wc { opacity: 0; }
html:not(.js) .tx-p-ov .ov-wc-1 { opacity: 1; }

/* ---- Capability cards ------------------------------------------------------------------------------------------ */
.tx-p-ov .ov-caps { display: grid; gap: 1rem; margin-top: 2.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.tx-p-ov .ov-cap { display: flex; flex-direction: column; min-height: 220px; }
.tx-p-ov .ov-cap-stage { font-family: var(--font-mono); font-size: var(--step-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .8rem; }
.tx-p-ov .ov-cap p { flex: 1; }
.tx-p-ov .ov-cap-go { margin-top: 1rem; font-size: var(--step-sm); color: var(--accent); transition: transform var(--dur-base) var(--ease-out); }
.tx-p-ov .ov-cap:hover .ov-cap-go { transform: translateX(6px); }

/* ---- Trust architecture panels -------------------------------------------------------------------------------- */
.tx-p-ov .ov-v { stroke-width: 1.5; transition: transform var(--dur-base) var(--ease-out); transform-box: fill-box; transform-origin: center; }
.tx-p-ov .ov-verdict g:hover .ov-v, .tx-p-ov .ov-verdict g:focus-visible .ov-v { transform: translateY(-6px); }
.tx-p-ov .ov-verdict g { outline: none; }
.tx-p-ov .ov-v--pass { fill: rgba(79, 209, 139, .12); stroke: #4fd18b; }
.tx-p-ov .ov-v--caution { fill: rgba(242, 163, 58, .12); stroke: var(--accent-2); }
.tx-p-ov .ov-v--fail { fill: rgba(255, 90, 78, .12); stroke: var(--diag); }
.tx-p-ov .ov-v--unknown { fill: rgba(169, 180, 188, .08); stroke: var(--text-tertiary); stroke-dasharray: 6 5; }
.tx-p-ov .ov-v-word { font-family: var(--font-mono); font-size: 15px; font-weight: 700; fill: var(--text-primary); letter-spacing: .06em; }
.tx-p-ov .ov-st { fill: var(--surface-2); stroke: var(--border-strong); }
.tx-p-ov .ov-st--ok { stroke: var(--accent); fill: var(--accent-soft); }
.tx-p-ov .ov-status text { font-family: var(--font-mono); font-size: 13px; fill: var(--text-primary); }
.tx-p-ov .ov-status { outline: none; }
.tx-p-ov .ov-pl { stroke-width: 1.4; }
.tx-p-ov .ov-pl--v { fill: rgba(79, 209, 139, .15); stroke: #4fd18b; }
.tx-p-ov .ov-pl--in { fill: var(--accent-soft); stroke: var(--accent); }
.tx-p-ov .ov-pl--b { fill: var(--accent-2-soft); stroke: var(--accent-2); }
.tx-p-ov .ov-pl--o { fill: rgba(255, 90, 78, .12); stroke: var(--diag); }
.tx-p-ov .ov-pl--a { fill: var(--surface-2); stroke: var(--text-tertiary); stroke-dasharray: 4 4; }
.tx-p-ov [id^="ov-panel"] text:not(.tx-svg-label):not(.tx-svg-title) { font-family: var(--font-mono); font-size: 10px; fill: var(--text-primary); }
.tx-p-ov .ov-status text, .tx-p-ov .ov-v-word { font-size: 13px; }

/* ---- Workbench schematic -------------------------------------------------------------------------------------- */
.tx-p-ov .ov-ws rect { fill: var(--surface-1); stroke: var(--border-subtle); transition: stroke var(--dur-base), fill var(--dur-base); }
.tx-p-ov .ov-ws g { outline: none; }
.tx-p-ov .ov-ws g:hover rect, .tx-p-ov .ov-ws g:focus-visible rect { stroke: var(--accent); fill: var(--accent-soft); }
.tx-p-ov .ov-ws-t { font-size: 14px; font-weight: 600; fill: var(--text-primary); }
.tx-p-ov .ov-front circle { fill: var(--accent); }
.tx-p-ov .ov-front .ov-dom { fill: var(--text-tertiary); opacity: .6; }
.tx-p-ov .ov-front .ov-knee { fill: var(--accent-2); }

/* ---- Evidence cases -------------------------------------------------------------------------------------------- */
.tx-p-ov .ov-proof { display: grid; gap: var(--tx-gap); margin-top: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.tx-p-ov .ov-case svg { width: 100%; height: 96px; margin-bottom: .8rem; }
.tx-p-ov .ov-case h3 { margin-top: .8rem; }
.tx-p-ov .ov-case-v { font-size: var(--step-xl); font-weight: 600; color: var(--text-primary) !important; margin: .3rem 0 .6rem !important; letter-spacing: -0.01em; }
.tx-p-ov .ov-case p + p { margin-top: .6rem; }
.tx-p-ov .ov-case-c { font-size: var(--step-xs) !important; color: var(--text-tertiary) !important; border-top: 1px dashed var(--border-subtle); padding-top: .6rem; }

@media (max-width: 640px) {
  .tx-p-ov .ov-stage-labels text { font-size: 15px; }
}
