/* FLUXION art direction · motion layer
   One idea runs through every interaction: the FLUXION corner arrow. Things arrive from the bottom-left
   and leave to the top-right, the way a product ships. Load after fx.css and fx-home.css. */
:root { --ease-x: cubic-bezier(.16, 1, .3, 1); --ease-hover: cubic-bezier(.44, 0, .56, 1); }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- 1 · logo: the arrow lands in its corner ---------- */
.lgo { display: block; width: auto; overflow: visible; }
.nav-logo .lgo { height: 54px; margin-left: -19px; }
.ftr2-logo .lgo { height: 44px; }
.lgo-ar { transform-box: fill-box; transform-origin: 0 100%; transition: transform .5s var(--ease-x); }
.nav-logo .lgo-ar { animation: fx-land 1.1s var(--ease-x) .35s backwards; }
@keyframes fx-land { from { opacity: 0; transform: translate(-60%, 60%) scale(.35); } }
.nav-logo:hover .lgo-ar, .ftr2-logo:hover .lgo-ar { transform: translate(9%, -9%); }
.land .lgo-ar { opacity: 0; transform: translate(-60%, 60%) scale(.35); }
.land.in .lgo-ar { opacity: 1; transform: none; transition: transform 1.2s var(--ease-x) .25s, opacity .3s linear .25s; }

/* footer sign-off: the wordmark set large and quiet, the arrow in full blue */
.ftr2-sign { margin-top: 96px; }
.ftr2-sign .lgo { width: 100%; height: auto; overflow: hidden; }
.ftr2-sign .lgo-wm { fill: #1F1F1D; transition: fill 1.2s var(--ease-x); }
.ftr2-sign:hover .lgo-wm { fill: #2A2A27; }

/* ---------- 2 · the arrow glyph: exits top-right, the next one enters from bottom-left ---------- */
.fa { position: relative; display: inline-block; flex: none; width: 13px; height: 13px; overflow: hidden; }
.fa svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; transition: transform .5s var(--ease-x); }
.fa svg + svg { transform: translate(-115%, 115%); }
:is(a, button, .scard, .note):hover .fa svg:first-child { transform: translate(115%, -115%); }
:is(a, button, .scard, .note):hover .fa svg + svg { transform: none; }

/* ---------- 3 · buttons: a diagonal fill sweeps in from the bottom-left corner ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden;
  transition: color .35s var(--ease-hover), border-color .35s var(--ease-hover), transform .2s var(--ease-hover); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill, var(--brand-deep));
  clip-path: polygon(0 100%, 0 100%, 0 100%); transition: clip-path .6s var(--ease-x); }
.btn:hover::before { clip-path: polygon(0 100%, 0 -130%, 230% 100%); }
.btn:active { transform: scale(.97); }
.btn-brand { --btn-fill: var(--brand-deep); } .btn-brand:hover { background: var(--brand); }
.btn-dark { --btn-fill: var(--brand); } .btn-dark:hover { background: var(--ink); }
.btn-outline { --btn-fill: var(--ink); } .btn-outline:hover { background: var(--canvas); color: #fff; border-color: var(--ink); }

/* ---------- 4 · nav: underline draws in, a progress line rides under the bar with the arrow at its tip ---------- */
.nav-links > a, .dd > a { background: linear-gradient(currentColor, currentColor) 0 calc(100% - 2px) / 0 1px no-repeat;
  transition: color .2s var(--ease-hover), background-size .45s var(--ease-x); }
.nav-links > a:hover, .dd:hover > a { background-size: 100% 1px; }
.nav { transition: box-shadow .3s var(--ease-hover); }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.nav-prog b { display: block; height: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.nav-prog i { position: absolute; top: -9px; left: calc(var(--p, 0) * 100%); width: 10px; height: 10px; margin-left: calc(var(--p, 0) * -10px); background: var(--brand);
  -webkit-mask: url(/assets/mark-arrow.svg) center / contain no-repeat; mask: url(/assets/mark-arrow.svg) center / contain no-repeat;
  opacity: 0; transition: opacity .3s; }
.nav.scrolled .nav-prog i { opacity: 1; }

/* ---------- 5 · headlines: each word rises out of its own line ---------- */
.wr .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.wr .w > span { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease-x); transition-delay: calc(var(--k) * 45ms + var(--d, 0s)); }
.wr.in .w > span { transform: none; }

/* ---------- 6 · cards: the corner arrow appears, the surface lifts ---------- */
.terms li, .note { position: relative; }
.terms li::after { content: ""; position: absolute; top: 24px; right: 24px; width: 12px; height: 12px; background: var(--brand);
  -webkit-mask: url(/assets/mark-arrow.svg) center / contain no-repeat; mask: url(/assets/mark-arrow.svg) center / contain no-repeat;
  opacity: 0; transform: translate(-8px, 8px); transition: opacity .3s var(--ease-hover), transform .5s var(--ease-x); }
.terms li:hover::after { opacity: 1; transform: none; }
.terms li, .scard { transition: background-color .3s var(--ease-hover); }
.terms li:hover { background: #FDFDFC; }
.scard:hover { background: #fff; }
.scard .fa { position: absolute; right: 28px; top: 28px; width: 14px; height: 14px; color: var(--brand); }
.note h3 { transition: color .2s var(--ease-hover); } .note:hover h3 { color: var(--brand); }

/* ---------- 7 · cursor: the FLUXION arrow everywhere (white on the blue and black fields) ---------- */
/* (the pointer glow is retired: the cursor is now the FLUXION arrow, tip = hotspot) */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='27' viewBox='1620 161 252 242'%3E%3Cpath d='M1773.5 249.868 L1699.5 249.77 C1691.62 248.39 1687.702 240.314 1681.5 235.997 C1666.824 221.399 1650.507 208.448 1636.236 193.5 A11.233 11.233 0 0 1 1645.5 177.07 L1831.5 177.147 A26.511 26.511 0 0 1 1856.098 200.5 L1855.91 376.5 C1853.127 386.456 1838.586 386.643 1833.5 378.48 A1271.034 1271.034 0 0 1 1774.91 325.5 A11.674 11.674 0 0 1 1773.942 317.5 L1773.985 250.5 L1773.5 249.868 Z' fill='%230278FD' stroke='%23FFFFFF' stroke-width='14' stroke-linejoin='round' paint-order='stroke'/%3E%3C/svg%3E") 26 2, auto; }
  .field, .film-stage, .stack-v, .ai-film { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='27' viewBox='1620 161 252 242'%3E%3Cpath d='M1773.5 249.868 L1699.5 249.77 C1691.62 248.39 1687.702 240.314 1681.5 235.997 C1666.824 221.399 1650.507 208.448 1636.236 193.5 A11.233 11.233 0 0 1 1645.5 177.07 L1831.5 177.147 A26.511 26.511 0 0 1 1856.098 200.5 L1855.91 376.5 C1853.127 386.456 1838.586 386.643 1833.5 378.48 A1271.034 1271.034 0 0 1 1774.91 325.5 A11.674 11.674 0 0 1 1773.942 317.5 L1773.985 250.5 L1773.5 249.868 Z' fill='%23FFFFFF' stroke='%2304102B' stroke-width='14' stroke-linejoin='round' paint-order='stroke'/%3E%3C/svg%3E") 26 2, auto; }
}

/* ---------- 8 · hero photo drifts slower than the page ---------- */
.show-a .photo { transform: translateY(calc(var(--sy, 0) * 48px)) scale(1.08); will-change: transform; }

/* ---------- 9 · links: the underline turns blue from the left ---------- */
.link { border-bottom: 0; background: linear-gradient(var(--line), var(--line)) 0 100% / 100% 1px no-repeat,
  linear-gradient(var(--brand), var(--brand)) 0 100% / 0 1px no-repeat; transition: color .2s var(--ease-hover), background-size .45s var(--ease-x); }
.link:hover { background-size: 100% 1px, 100% 1px; }

/* ---------- 10 · page to page: a slow, soft cross-fade (10-14 LEGEND: smooth, slick, never a jerk) ---------- */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: 1.1s; }
/* pure opacity: nothing moves, so nothing can shake */
::view-transition-old(root) { animation: fx-vt-out .9s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: fx-vt-in .9s cubic-bezier(.4,0,.2,1) both; }
@keyframes fx-vt-out { to { opacity: 0; } }
@keyframes fx-vt-in { from { opacity: 0; } }
html.pt-out body { opacity: 0; transition: opacity .45s cubic-bezier(.4,0,.2,1); }
html.pt-in body { animation: fx-vt-in .9s cubic-bezier(.22,1,.36,1) both; }

@media (prefers-reduced-motion: reduce) {
  .nav-logo .lgo-ar { animation: none; } .land .lgo-ar { opacity: 1; transform: none; }
  .wr .w > span { transform: none; transition: none; } .show-a .photo { transform: none; }
  .btn::before, .fa svg { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.show-a { overflow: hidden; }

/* ---------- 11 · hero device: a foldable with the live sprint room (sizes in container units so it scales like an image) ---------- */
.dev-stage { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 42%, #fff 0%, #F4F3EF 60%, #ECEBE6 100%); perspective: 1600px; }
.dev { position: relative; width: min(640px, 86%); aspect-ratio: 1.42; padding: 1.6%; border-radius: 4.2% / 6%; background: #1A1B1E;
  box-shadow: 0 0 0 1px #3A3B40 inset, 0 2px 0 1px #0E0F11, 0 50px 90px -40px rgba(0,0,0,.55), 0 18px 30px -18px rgba(0,0,0,.35);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease-x); margin-bottom: 6%; container-type: inline-size; }
.dev-s { height: 100%; overflow: hidden; border-radius: 3% / 4.4%; background: #FCFCFB; padding: 2.8cqw 3.6cqw;
  display: flex; flex-direction: column; gap: 1.9cqw; font-size: 1.6cqw; color: var(--ink); }
.dev-hinge { position: absolute; top: 0; bottom: 0; left: 50%; width: 1.6%; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.07) 40%, rgba(255,255,255,.18) 50%, rgba(0,0,0,.07) 60%, rgba(0,0,0,0)); }
.dv-top { display: flex; align-items: baseline; gap: .8cqw; } .dv-top b { font-weight: 600; font-size: 1.8cqw; letter-spacing: .02em; }
.dv-top span { color: var(--body); } .dv-top em { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 1.4cqw; color: var(--body); }
.dv-head { display: flex; justify-content: space-between; align-items: flex-start; }
.dv-head h3 { font-weight: 500; font-size: 3.4cqw; letter-spacing: -.03em; line-height: 1.1; } .dv-head p { margin-top: .5cqw; color: var(--body); font-size: 1.5cqw; }
.dv-tg { display: flex; padding: .4cqw; background: var(--mist); }
.dv-tg button { padding: .7cqw 1.8cqw; font-size: 1.5cqw; color: var(--body); transition: background .2s var(--ease-hover), color .2s var(--ease-hover); }
.dv-tg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.dv-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; }
.dv-k { padding: 1.6cqw; border: 1px solid var(--line); background: #fff; transition: border-color .2s var(--ease-hover); }
.dv-k:first-child { background: #F3F8FF; border-color: #D6E6FF; }
.dv-k:hover { border-color: var(--brand); }
.dv-k small { display: block; font-size: 1.35cqw; color: var(--body); }
.dv-k b { display: block; margin: .8cqw 0 .4cqw; font-weight: 500; font-size: 3.6cqw; letter-spacing: -.04em; line-height: 1; }
.dv-k em { font-style: normal; font-size: 1.25cqw; color: var(--brand-deep); }
.dv-chart { flex: none; display: flex; flex-direction: column; padding: 1.6cqw; border: 1px solid var(--line); background: #fff; }
.dv-ch { display: flex; gap: 2cqw; align-items: baseline; font-size: 1.5cqw; color: var(--body); }
.dv-ch .on { color: var(--ink); box-shadow: 0 .35cqw 0 -.1cqw var(--brand); } .dv-ch em { margin-left: auto; font-style: normal; font-size: 1.3cqw; }
.dv-chart svg { flex: none; display: block; width: 100%; height: 7cqw; margin-top: 1cqw; overflow: visible; }
.dv-line { fill: none; stroke: var(--brand); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round;
  clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease-x) .9s; }
.dv-plan { fill: none; stroke: #9DB8F5; stroke-width: 1.4; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.dv-area { opacity: 0; transition: opacity 1.2s var(--ease-hover) 1.8s; }
.dev.on .dv-line { clip-path: inset(0 -2% 0 0); } .dev.on .dv-area { opacity: 1; }
.dv-x { display: flex; justify-content: space-between; margin-top: .8cqw; font-family: var(--f-mono); font-size: 1.2cqw; color: var(--body); }
.dv-foot { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2cqw; }
.dv-foot h4 { font-weight: 500; font-size: 1.6cqw; margin-bottom: 1cqw; }
.dv-foot li { display: grid; grid-template-columns: 1fr auto; row-gap: .5cqw; margin-bottom: 1.1cqw; font-size: 1.4cqw; }
.dv-foot li em { font-style: normal; color: var(--body); font-family: var(--f-mono); font-size: 1.2cqw; }
.dv-foot li i { grid-column: 1 / -1; height: .55cqw; background: var(--mist); position: relative; }
.dv-foot li i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--brand); transition: width 1.4s var(--ease-x) 1.4s; }
.dv-foot li:last-child i::after { background: #9DB8F5; }
.dev.on .dv-foot li i::after { width: var(--w); }
.dv-note { padding: 1.6cqw; background: #F3F8FF; border: 1px solid #D6E6FF; }
.dv-note small { font-family: var(--f-mono); font-size: 1.2cqw; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); }
.dv-note b { display: block; margin: .8cqw 0; font-weight: 500; font-size: 2cqw; line-height: 1.25; letter-spacing: -.02em; }
.dv-note p { font-size: 1.3cqw; line-height: 1.5; color: var(--body); }
@media (max-width: 1023px) { .dev-stage { aspect-ratio: 1 / 1.08; place-items: start center; padding-top: 7%; } .dev { width: 90%; margin-bottom: 0; } }
.chat-f .fa { flex: none; display: inline-block; width: 14px; height: 14px; padding: 0; background: none; }
@media (prefers-reduced-motion: reduce) { .dev { transform: none; transition: none; } .dv-line, .dv-area, .dv-foot li i::after { transition: none; } }

/* ---------- 12 · dot-matrix covers + light-lines CTA ---------- */
.note-v.dm-blue { background: var(--brand); } .note-v.dm-white { background: #fff; border: 1px solid var(--line); } .note-v.dm-ink { background: #2A2A2A; }
.note-v .dm { width: 84%; height: auto; aspect-ratio: 240 / 140; overflow: visible; }
.dm circle { fill: currentColor; opacity: .28; } .dm .l { opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: center;
  transition: opacity .4s var(--ease-x), transform .5s var(--ease-x); transition-delay: calc(var(--i) * 35ms + .2s); }
.dm-blue { color: #fff; } .dm-white { color: var(--brand); } .dm-ink { color: #fff; } .dm-white .dm .l { fill: var(--brand); }
.note-v.in .dm .l { opacity: 1; transform: none; }
.note:hover .dm .l { transform: scale(1.25); transition-delay: calc(var(--i) * 12ms); }
.cta2 { background: #04102B url(/assets/img/lines-blue.jpg) center / cover no-repeat; }
.cta2::before { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .dm .l { opacity: 1; transform: none; transition: none; } }

/* ---------- 13 · client artwork: AI Lab light-lines, FAQ globe ---------- */
.stack-v { background: #02060F url(/assets/img/lines-black.jpg) center / cover no-repeat; }
.stack-v::before { opacity: .25; }
.faq-sec { position: relative; overflow: hidden; }
.faq-sec::before { content: ""; position: absolute; inset: auto -8% -30% auto; width: min(820px, 90%); aspect-ratio: 1376 / 768; pointer-events: none;
  background: url(/assets/img/globe.jpg) center / contain no-repeat; mix-blend-mode: multiply; opacity: .7;
  mask: radial-gradient(closest-side, #000 60%, transparent); }
.faq-sec .c { position: relative; }

/* ---------- 14 · hero film: brand-pixel loop (canvas) with title card, caption and a film timeline ---------- */
.film-stage { background: radial-gradient(120% 95% at 28% 18%, #1C8CFF 0%, var(--brand) 42%, var(--brand-deep) 100%); color: #fff; }
.film { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-top { position: absolute; left: 32px; top: 28px; display: flex; gap: 10px; align-items: baseline; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.film-top span { opacity: .65; }
.film-cap { position: absolute; right: 32px; bottom: 64px; display: grid; justify-items: end; gap: 4px; text-align: right; }
.film-cap em { font-style: normal; font-family: var(--f-mono); font-size: 12px; opacity: .7; }
.film-cap b { font-weight: 500; font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.film-cap span { font-size: 14px; opacity: .8; }
.film-cap > * { opacity: 0; transform: translateY(10px); }
.film-cap.in > * { opacity: 1; transform: none; transition: opacity .6s var(--ease-x), transform .8s var(--ease-x); }
.film-cap.in b { transition-delay: .08s; } .film-cap.in span { transition-delay: .16s; }
.film-cap.in em { opacity: .7; }
.film-tl { position: absolute; right: 32px; bottom: 32px; display: flex; align-items: center; gap: 6px; }
.film-tl i { position: relative; width: 36px; height: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.film-tl i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--f, 0)); transform-origin: left; }
.film-tc { margin-left: 8px; font-family: var(--f-mono); font-size: 11px; opacity: .7; font-variant-numeric: tabular-nums; }
.film-stage .pill { color: var(--ink); animation: none; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-x), transform .7s var(--ease-x); z-index: 2; }
.film-stage.demo .pill { opacity: 1; transform: none; }
@media (max-width: 1023px) { .film-stage { aspect-ratio: 1 / 1.05; } }
@media (max-width: 639px) {
  .film-top { left: 20px; top: 20px; } .film-cap { left: 20px; right: auto; top: 46px; bottom: auto; justify-items: start; text-align: left; }
  .film-cap b { font-size: 20px; } .film-cap span { display: none; } .film-tl { right: 20px; bottom: 20px; } .film-tl i { width: 22px; } .film-stage .pill { display: none; }
}
@media (prefers-reduced-motion: reduce) { .film-cap > * { opacity: 1; transform: none; transition: none; } .film-stage .pill { transition: none; } }

/* ---------- 15 · photo rule: client world in grayscale, FLUXION's blue pixels arrive on the active photo ---------- */
.acc-i.on .photo { filter: grayscale(1) contrast(1.06) brightness(.92); }
.acc-i .photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease-x) .3s;
  background: linear-gradient(to top, rgba(2,120,253,.5), rgba(2,120,253,0) 55%), radial-gradient(circle, rgba(2,120,253,.9) .9px, transparent 1.3px) 0 0 / 6px 6px;
  mix-blend-mode: screen; }
.acc-i.on .photo::after { opacity: .7; }

/* ---------- 16 · stage line figures: white hairlines on the blue field, one part per plan step ---------- */
.ln { width: 100%; aspect-ratio: 400 / 290; margin-bottom: 0;
  --hairline-plate: #1784FD; --hairline-hi: #FFFFFF; --hairline-edge: rgba(255,255,255,.82); --hairline-mid: rgba(255,255,255,.55); --hairline-lo: rgba(255,255,255,.28); --hairline-stroke: 1.15; }
.ln svg .hi { stroke-width: 2; }
.ln svg g[data-k] { cursor: pointer; }
.ln-read { min-height: 24px; margin-bottom: 16px; text-align: center; color: #fff; font-size: 15px; }
.ln-read em { font-style: normal; font-family: var(--f-mono); font-size: 12px; opacity: .7; margin-right: 6px; }
.ln-read i { font-style: normal; font-family: var(--f-mono); font-size: 12px; opacity: .7; margin-left: 6px; }
.calls li { transition: background .25s var(--ease-hover); }
.calls li.hl { background: var(--brand-soft); }
.calls li.hl b { color: var(--brand-deep); }
/* compact plan under the line figure: the figure leads, the plan reads small */
.tvis { padding: 28px 16px; }
.tvis .ln-read { margin-bottom: 10px; font-size: 14px; }
.tvis .win { max-width: 440px; margin: 0 auto; }
.tvis .win-h { padding: 10px 16px; font-size: 12.5px; }
.tvis .win-h em { font-size: 11px; }
.tvis .calls { padding: 4px 16px 8px; }
.tvis .calls li { grid-template-columns: 76px 1fr; gap: 10px; padding: 3px 0; font-size: 12.5px; line-height: 1.5; }
.tvis .calls em { font-size: 11px; }

/* ---------- 17 · AI Lab film inside "What the AI Lab ships": white pixels on black, blue only where AI works (fx-ailab.js) ---------- */
.stack-v { background: #0B0E14; }   /* client: flat ink, no gradient */
.stack-v::before { opacity: 0; }
.ai-film { position: relative; overflow: hidden; aspect-ratio: 1 / 1.05; margin: -8px -8px 16px; color: #fff; }
@media (min-width: 640px) { .ai-film { aspect-ratio: 16 / 8; } }
@media (min-width: 1024px) { .ai-film { aspect-ratio: auto; height: 330px; margin: -24px -24px 24px; } }
.ai-film .film-top { left: 20px; top: 18px; }
.ai-film .film-cap { right: 20px; bottom: 44px; }
.ai-film .film-cap b { font-size: 21px; } .ai-film .film-cap span { max-width: 240px; font-size: 13px; }
.ai-film .film-tl { right: 20px; bottom: 18px; } .ai-film .film-tl i { width: 26px; }
@media (max-width: 639px) { .ai-film .film-cap { top: 40px; bottom: auto; left: 20px; } .ai-film .film-cap b { font-size: 18px; } }
.routes li, .routes .win-f { transition: background .5s var(--ease-hover); }
.routes li.on, .routes .win-f.on { background: var(--brand-soft); }

/* ---------- 18 · less blue: blue is FLUXION's signal, not the wallpaper ---------- */
/* AI Lab panel: plain black with a faint dot lattice (the logo-arrow tile is off here) */
.stack-v::after { background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.3px); background-size: 15px 15px; }
/* stat band after the hero: warm paper, each figure explained in dots; blue only on the last dot */
.band-proof { background: #F1EEE8; color: var(--ink); border-top: 1px solid rgba(17,17,17,.08); border-bottom: 1px solid rgba(17,17,17,.08); }
.band-proof .g4 { gap: 0; }
.pcol { display: grid; grid-template-rows: auto 1fr auto; gap: 28px; padding: 32px 0; border-top: 1px solid rgba(17,17,17,.12); }
.pcol:first-child { border-top: 0; }
@media (min-width: 640px) { .pcol { padding: 8px 32px 8px 0; border-top: 0; } }
@media (min-width: 1024px) { .pcol { padding: 8px 32px; border-left: 1px solid rgba(17,17,17,.12); min-height: 300px; } .pcol:first-child { border-left: 0; padding-left: 0; } }
.pcol dt { max-width: 240px; font-size: 15px; line-height: 1.6; color: var(--body); }
.dotm { display: block; align-self: center; max-width: 100%; height: auto; }
.dotm .d { fill: #16181D; opacity: .1; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
.dotm .d.f { fill: none; stroke: #16181D; stroke-width: 1.2; }
.dotm .d.b { fill: var(--brand); }
.band-proof.in .dotm .d { opacity: 1; transform: none; transition: opacity .35s var(--ease-x), transform .5s var(--ease-x); transition-delay: calc(var(--i) * 14ms + 200ms); }
.band-proof.in .dotm .d.f { opacity: .45; }
.band-proof.in .dotm .d.b { animation: fx-beat 2.4s var(--ease-x) calc(var(--i) * 14ms + 900ms) infinite; }
@keyframes fx-beat { 0%, 60%, 100% { transform: none; } 30% { transform: scale(1.45); } }
@media (prefers-reduced-motion: reduce) { .dotm .d { opacity: 1; transform: none; } .dotm .d.f { opacity: .45; } .band-proof.in .dotm .d.b { animation: none; } }

/* never scroll sideways on a phone; keep the scrollbar slot fixed so pages don't jump width */
html, body { overflow-x: clip; } @media (min-width: 1024px) { html { scrollbar-gutter: stable; } }

/* Touch navigation uses the opacity fallback, avoiding aborted native snapshots after scroll unlock. */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
