/* /flagships: six tools, shown working. Loaded only by flagships.php ($extraCss).
 *
 * Content first: type, spacing and real screenshots, on the site tokens (--bg-*, --text-*, --border, --font-*).
 * Around it, a command-centre environment that is decoration only:
 *   .fs-env      fixed layers behind everything: base light, accent glows, grid, a far geometric overlay,
 *                the canvas (assets/js/flagships.js), a slow scan sweep and a vignette.
 *   .fs-core     the hero centrepiece: six nodes, one per tool, with rings of real data.
 *   .fs-panel    each section's glass panel, in its tool's accent (--a dark, --a-l light-theme ink).
 * Motion here is transforms and opacity. prefers-reduced-motion stops all of it unless the page script
 * has added .fs--motion (it does that only when motion is allowed, or for the ?motion=1 preview).
 * Screenshots are always dark (taken in the dark theme), so the numbered pins use fixed colours. */

.fs {
    --fs-serif: Georgia, 'Times New Roman', Times, serif;
    --fs-rule: var(--border);
    --fs-pin-bg: #f4c47c;
    --fs-pin-ink: #121417;
    --fs-live: #e4b060;                                   /* accent of the section in view; set by the script */
    --fs-panel: rgba(13, 16, 21, .86);
    --fs-panel-line: rgba(160, 180, 210, .13);
    --fs-panel-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 24px 60px -30px rgba(0, 0, 0, .7);
    --fs-card: rgba(22, 26, 33, .72);
    --fs-grid: rgba(140, 170, 220, .045);
    --fs-grid-major: rgba(140, 170, 220, .085);
    --fs-core-line: rgba(160, 185, 225, .28);
    --fs-core-glow: #5d8fd6;
    --fs-node-fill: #10141a;
    --fs-frag-bg: rgba(12, 15, 20, .9);
    color: var(--text-primary);
}
[data-theme="light"] .fs {
    --fs-panel: rgba(255, 255, 255, .9);
    --fs-panel-line: rgba(40, 70, 120, .14);
    --fs-panel-shadow: 0 1px 2px rgba(16, 32, 64, .05), 0 18px 44px -22px rgba(16, 32, 64, .22);
    --fs-card: rgba(246, 249, 253, .9);
    --fs-grid: rgba(37, 90, 170, .05);
    --fs-grid-major: rgba(37, 90, 170, .1);
    --fs-core-line: rgba(40, 80, 140, .3);
    --fs-core-glow: #7fa8e6;
    --fs-node-fill: #ffffff;
    --fs-frag-bg: rgba(255, 255, 255, .94);
}
.fs-tool, .fs-card, .fs-frag, .fs-node, .fs-rail a { --a-ink: var(--a); }
[data-theme="light"] :is(.fs-tool, .fs-card, .fs-frag, .fs-node, .fs-rail a) { --a-ink: var(--a-l); }
.fs-compare { --a: var(--accent); --a-l: var(--accent); --a-ink: var(--accent); }

.fs [id] { scroll-margin-top: 96px; }
.fs a:focus-visible, .fs .fs-scroll:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
.fs-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
body:has(.fs-env) .ub-ambient { display: none; }       /* this page draws its own background */

/* ================================================================== environment */
.fs-env {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
}
.fs-env > * { position: absolute; }
.fs-env__base {
    inset: 0;
    background:
        radial-gradient(ellipse 90% 60% at 70% -10%, rgba(64, 104, 170, .22), transparent 65%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(30, 60, 90, .25), transparent 70%),
        linear-gradient(180deg, #0a0d12 0%, #0b0e12 55%, #0c0e11 100%);
}
[data-theme="light"] .fs-env__base {
    background:
        radial-gradient(ellipse 90% 60% at 70% -10%, rgba(120, 165, 235, .22), transparent 65%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(150, 185, 230, .2), transparent 70%),
        linear-gradient(180deg, #f1f5fb 0%, #eef2f8 55%, #f2f4f8 100%);
}
.fs-env__glow { inset: -10%; will-change: transform; }
.fs-env__blob {
    position: absolute;
    width: 70vmax;
    height: 70vmax;
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
            mask-image: radial-gradient(closest-side, #000, transparent);
    opacity: .16;
    will-change: transform;
}
.fs-env__blob--a { top: -30vmax; left: -20vmax; background: #e4b060; animation: fs-drift-a 46s ease-in-out infinite alternate; }
.fs-env__blob--b { top: 10vmax; right: -30vmax; background: #88c0ff; animation: fs-drift-b 58s ease-in-out infinite alternate; }
.fs-env__blob--c {
    bottom: -40vmax; left: 15vmax;
    background-color: var(--fs-live);
    opacity: .14;
    transition: background-color 1.4s ease;
    animation: fs-drift-a 64s ease-in-out infinite alternate-reverse;
}
[data-theme="light"] .fs-env__blob { opacity: .13; }
@keyframes fs-drift-a { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.08); } }
@keyframes fs-drift-b { to { transform: translate3d(-10vmax, 8vmax, 0) scale(.94); } }

/* Grid squares switched off at the owner's request (2026-11-26): they made the page look like graph
   paper. The element stays so the script's parallax code still finds it. */
.fs-env__grid { display: none !important; }
.fs-env__grid--off {
    inset: -96px -24px;
    background-image:
        linear-gradient(var(--fs-grid-major) 1px, transparent 1px),
        linear-gradient(90deg, var(--fs-grid-major) 1px, transparent 1px),
        linear-gradient(var(--fs-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--fs-grid) 1px, transparent 1px);
    background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 25%, transparent 90%);
            mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 25%, transparent 90%);
    will-change: transform;
}
.fs-env__geo {
    top: 50%;
    left: 50%;
    width: 130vmin;
    height: 130vmin;
    margin: -65vmin 0 0 -65vmin;
    color: #9fb8e0;
    opacity: .07;
    will-change: transform;
}
[data-theme="light"] .fs-env__geo { color: #2a5596; opacity: .08; }
.fs-env__geo svg { display: block; width: 100%; height: 100%; animation: fs-spin 300s linear infinite; }
.fs-env__geo polygon, .fs-env__geo circle, .fs-env__geo path { vector-effect: non-scaling-stroke; stroke-width: 1; }
.fs-env__canvas { inset: 0; width: 100%; height: 100%; }
.fs-env__scan {
    left: 0;
    right: 0;
    top: 0;
    height: 38vh;
    background: linear-gradient(180deg, transparent, rgba(140, 190, 255, .05) 70%, rgba(170, 210, 255, .1) 98%, transparent);
    transform: translate3d(0, -40vh, 0);
    animation: fs-scan 16s cubic-bezier(.45, 0, .55, 1) infinite;
    will-change: transform;
}
[data-theme="light"] .fs-env__scan { background: linear-gradient(180deg, transparent, rgba(60, 120, 220, .035) 70%, rgba(60, 120, 220, .07) 98%, transparent); }
@keyframes fs-scan {
    0% { transform: translate3d(0, -40vh, 0); }
    55%, 100% { transform: translate3d(0, 105vh, 0); }
}
.fs-env__vignette {
    inset: 0;
    background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(4, 6, 9, .55));
}
[data-theme="light"] .fs-env__vignette { background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 60%, rgba(200, 212, 230, .35)); }
@keyframes fs-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ shared type */
.fs-label {
    margin: 0 0 14px;
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.fs-mono { font-family: var(--font-mono); font-size: .9em; overflow-wrap: anywhere; }
.fs-nowrap { white-space: nowrap; }
.fs-prose p {
    max-width: 64ch;
    margin: 0 0 1em;
    font-size: 1.0625rem;
    line-height: 1.7;
}
.fs-aside {
    max-width: 60ch;
    margin: 0;
    padding-left: 16px;
    border-left: 2px solid color-mix(in srgb, var(--a, var(--accent)) 55%, var(--fs-rule));
    font-size: .95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* ================================================================== hero */
.fs-top { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(36px, 5vw, 56px); }
.fs-hero { display: grid; gap: 8px 48px; align-items: center; }
@media (min-width: 1100px) { .fs-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.fs-hero__text { position: relative; }
/* the hero's scrim reaches 64 px past the text; at 600-1100 px that is past the window and the page scrolled
   sideways (Site Check, 2026-11-30). .fs is as wide as the window, so clipping it hides nothing; clip, unlike
   hidden, makes no scroll container, so position: sticky inside still works. */
.fs { overflow-x: clip; }
.fs-hero__text::before {                       /* a soft scrim so the words always sit on calm ground */
    content: '';
    position: absolute;
    inset: -48px -64px;
    z-index: -1;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--bg-primary) 78%, transparent), transparent);
    pointer-events: none;
}
.fs-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--font-mono);
    font-size: .8rem;
    letter-spacing: .06em;
    color: var(--text-tertiary);
}
.fs-eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7be0a5;
    box-shadow: 0 0 0 3px rgba(123, 224, 165, .16), 0 0 12px rgba(123, 224, 165, .6);
    animation: fs-breathe 2.6s ease-in-out infinite alternate;
}
[data-theme="light"] .fs-eyebrow::before { background: #1f9a62; box-shadow: 0 0 0 3px rgba(31, 154, 98, .16); }
@keyframes fs-breathe { from { opacity: .45; } to { opacity: 1; } }
.fs-title {
    max-width: 16ch;
    margin: 14px 0 28px;
    font-family: var(--fs-serif);
    font-size: clamp(2.4rem, 5.6vw, 4rem);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -.012em;
}
.fs-intro p {
    max-width: 62ch;
    margin: 0 0 1em;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}
.fs-intro p:first-child { color: var(--text-primary); }
.fs-intro p:last-child { margin-bottom: 0; }

/* the centrepiece */
.fs-hero__core { min-width: 0; }
.fs-core {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 720 / 560;
    container-type: inline-size;
}
.fs-core__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fs-core__sweep {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72.8%;
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg 300deg, color-mix(in srgb, var(--fs-core-glow) 18%, transparent) 358deg, transparent 360deg);
    -webkit-mask-image: radial-gradient(closest-side, transparent 23%, #000 25%, #000 97%, transparent);
            mask-image: radial-gradient(closest-side, transparent 23%, #000 25%, #000 97%, transparent);
    animation: fs-spin 10s linear infinite;
    will-change: transform;
}
.fs-core__halo { animation: fs-breathe 5s ease-in-out infinite alternate; }
.fs-core__ring { transform-box: view-box; transform-origin: 360px 280px; }
.fs-core__ring circle { fill: none; }
.fs-core__ring--ticks circle { stroke: var(--fs-core-line); stroke-width: 7; stroke-dasharray: 1.2 9.8; animation: none; }
.fs-core__ring--ticks { animation: fs-spin 240s linear infinite reverse; opacity: .7; }
.fs-core__ring--arcs circle { stroke: var(--fs-core-line); stroke-width: 1.2; stroke-dasharray: 190 30 50 30 8 30; }
.fs-core__ring--arcs { animation: fs-spin 90s linear infinite; }
.fs-core__ring text { font-family: var(--font-mono); letter-spacing: .5px; }
.fs-core__ring--text { animation: fs-spin 160s linear infinite; }
.fs-core__ring--text text { font-size: 11px; fill: var(--text-tertiary); opacity: .75; }
.fs-core__ring--net { animation: fs-spin 80s linear infinite reverse; }
.fs-core__ring--net text { font-size: 10px; fill: #7be0a5; opacity: .8; }
[data-theme="light"] .fs-core__ring--net text { fill: #156b47; }
.fs-core__links line, .fs-core__links polyline { fill: none; stroke: var(--fs-core-line); stroke-width: 1; }
.fs-core__links .fs-core__edge { stroke-dasharray: 2 5; }
.fs-core__links .fs-core__call { stroke-dasharray: 1 3; opacity: .8; }
.fs-core__pulses circle {
    transform: translate(var(--x1), var(--y1));
    opacity: 0;
    animation: fs-travel var(--d) linear var(--dl) infinite;
}
@keyframes fs-travel {
    0% { transform: translate(var(--x1), var(--y1)); opacity: 0; }
    12%, 82% { opacity: 1; }
    100% { transform: translate(var(--x2), var(--y2)); opacity: 0; }
}
.fs-node { color: var(--a-ink); }
.fs-node__glow {
    fill: currentColor;
    opacity: .1;
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity .35s ease, transform .35s ease;
}
.fs-node__disc { fill: var(--fs-node-fill); stroke: currentColor; stroke-width: 1.5; transition: stroke-width .3s ease; }
.fs-node.is-hot .fs-node__glow { opacity: .34; transform: scale(1.3); }
.fs-node.is-hot .fs-node__disc { stroke-width: 3; }
.fs-node.is-hot use { animation: fs-draw 1s cubic-bezier(.6, 0, .2, 1) both; }
.fs-core__hub circle { fill: var(--fs-node-fill); stroke: var(--fs-core-line); stroke-width: 1.2; }
.fs-core__hub .fs-core__hub-in { fill: none; stroke: var(--accent); stroke-opacity: .55; stroke-dasharray: 3 6; transform-box: fill-box; transform-origin: center; animation: fs-spin 30s linear infinite; }
.fs-core__hub g { color: var(--accent); }

.fs-frag {
    position: absolute;
    width: 20.8%;
    padding: .5em .65em .55em;
    border: 1px solid color-mix(in srgb, var(--a) 38%, transparent);
    border-left: 2px solid var(--a);
    border-radius: 6px;
    background: var(--fs-frag-bg);
    box-shadow: 0 8px 24px -14px color-mix(in srgb, var(--a) 70%, transparent);
    font-size: clamp(9px, 1.62cqw, 11.5px);
    line-height: 1.35;
    transform: translateY(-50%);
    animation: fs-bob 7s ease-in-out var(--fd, 0s) infinite alternate;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.fs-frag--l { left: 0; }
.fs-frag--r { right: 0; }
.fs-frag__k { display: block; font-weight: 600; letter-spacing: .01em; color: var(--a-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-frag__v { display: block; margin-top: 2px; font-family: var(--font-mono); color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-frag.is-hot { border-color: var(--a); box-shadow: 0 0 0 1px var(--a), 0 10px 30px -10px var(--a); }
@keyframes fs-bob { to { transform: translateY(calc(-50% - 7px)); } }
@container (max-width: 470px) {
    .fs-frag, .fs-core__call { display: none; }
}

/* readout: the RC filter's output and Binary Explorer's strip */
.fs-readout {
    display: grid;
    gap: 18px;
    margin-top: clamp(20px, 3.5vw, 36px);
}
@media (min-width: 900px) { .fs-readout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; } }
.fs-wave__k, .fs-strip__k {
    margin: 0;
    font-family: var(--font-mono);
    font-size: .72rem;
    line-height: 1.5;
    letter-spacing: .02em;
    color: var(--text-tertiary);
}
.fs-wave__k { margin-bottom: 6px; }
.fs-wave__win {
    height: 56px;
    overflow: hidden;
    border-top: 1px dashed var(--fs-panel-line);
    border-bottom: 1px dashed var(--fs-panel-line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.fs-wave__svg { display: block; width: 200%; height: 100%; animation: fs-slide 30s linear infinite; will-change: transform; }
@keyframes fs-slide { to { transform: translate3d(-50%, 0, 0); } }
.fs-wave__svg path { fill: none; vector-effect: non-scaling-stroke; }
.fs-wave__in { stroke: var(--text-tertiary); stroke-opacity: .4; stroke-width: 1; stroke-dasharray: 3 4; }
.fs-wave__out { stroke: #7be0a5; stroke-width: 1.75; }
[data-theme="light"] .fs-wave__out { stroke: #156b47; }
.fs-strip { position: relative; overflow: hidden; }
.fs-strip__lane { display: block; border-radius: 2px; opacity: .92; }
.fs-strip__lane--0 { height: 5px; margin-bottom: 3px; }
.fs-strip__lane--1 { height: 10px; margin-bottom: 8px; }
.fs-strip__scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 14%;
    height: 18px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
    transform: translate3d(-100%, 0, 0);
    animation: fs-strip-scan 7s cubic-bezier(.5, 0, .5, 1) 1s infinite;
    will-change: transform;
}
@keyframes fs-strip-scan { 0% { transform: translate3d(-100%, 0, 0); } 60%, 100% { transform: translate3d(720%, 0, 0); } }

/* contents: one card per tool */
.fs-contents { margin-top: clamp(32px, 4vw, 48px); }
.fs-contents ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 640px) { .fs-contents ol { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .fs-contents ol { grid-template-columns: 1fr 1fr 1fr; } }
.fs-card {
    position: relative;
    padding: 16px 16px 16px 62px;
    border: 1px solid var(--fs-panel-line);
    border-radius: 10px;
    background: var(--fs-card);
    line-height: 1.5;
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.fs-card > .fs-ico {
    position: absolute;
    left: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    padding: 6px;
    box-sizing: border-box;
    border: 1px solid color-mix(in srgb, var(--a) 45%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--a) 10%, transparent);
    color: var(--a-ink);
}
.fs-contents a {
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--a, var(--accent)) 70%, transparent);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.fs-card a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.fs-card:hover a, .fs-card a:focus-visible { color: var(--a-ink); }
.fs-card a:focus-visible { outline: none; }
.fs-card:focus-within { outline: 2px solid var(--a-ink); outline-offset: 2px; }
.fs-contents li span { display: block; margin-top: 2px; font-size: .92rem; color: var(--text-tertiary); }
.fs-card:hover, .fs-card:focus-within {
    border-color: color-mix(in srgb, var(--a) 45%, var(--fs-panel-line));
    background: color-mix(in srgb, var(--a) 6%, var(--fs-card));
    box-shadow: 0 14px 36px -22px var(--a);
}
.fs-card:hover > .fs-ico, .fs-card:focus-within > .fs-ico { animation: fs-draw 1s cubic-bezier(.6, 0, .2, 1) both; }
.fs-contents__more { margin: 22px 0 0; font-size: .92rem; color: var(--text-tertiary); }
.fs-contents__more a { font-weight: 500; text-decoration-color: var(--accent); }
.fs-contents__more a:hover { color: var(--accent); }

/* an icon drawing itself: the symbol's shapes have pathLength="1", and dash values inherit through <use> */
@keyframes fs-draw {
    0% { stroke-dasharray: 1; stroke-dashoffset: 1; }
    100% { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

/* edge tracing on hover: two pseudo-elements draw the horizontal edges, then the vertical ones */
.fs-card::before, .fs-card::after,
.fs-case::before, .fs-case::after,
.fs-shot__frame::before, .fs-shot__frame::after {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    background-repeat: no-repeat;
}
.fs-card::before, .fs-case::before, .fs-shot__frame::before {
    background-image: linear-gradient(var(--a), var(--a)), linear-gradient(var(--a), var(--a));
    background-position: left top, right bottom;
    background-size: 0 1px, 0 1px;
    transition: background-size .35s cubic-bezier(.6, 0, .3, 1);
}
.fs-card::after, .fs-case::after, .fs-shot__frame::after {
    background-image: linear-gradient(var(--a), var(--a)), linear-gradient(var(--a), var(--a));
    background-position: right top, left bottom;
    background-size: 1px 0, 1px 0;
    transition: background-size .3s cubic-bezier(.6, 0, .3, 1);
}
:is(.fs-card, .fs-case, .fs-shot__frame):is(:hover, :focus-within)::before { background-size: 100% 1px, 100% 1px; }
:is(.fs-card, .fs-case, .fs-shot__frame):is(:hover, :focus-within)::after { background-size: 1px 100%, 1px 100%; transition-delay: .25s; }

/* ================================================================== a tool */
.fs-tool { padding: clamp(16px, 2.5vw, 28px) 0; }
.fs-panel {
    position: relative;
    padding: clamp(22px, 4.6vw, 60px);
    border: 1px solid var(--fs-panel-line);
    border-radius: 18px;
    background: var(--fs-panel);
    box-shadow: var(--fs-panel-shadow);
    transition: border-color .5s ease, box-shadow .5s ease;
}
.fs-panel::before {                                    /* the lit top edge */
    content: '';
    position: absolute;
    top: -1px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--a) 18%, color-mix(in srgb, var(--a) 70%, #fff) 50%, var(--a) 82%, transparent);
    opacity: .75;
    transform-origin: left center;
    transition: transform 1.3s cubic-bezier(.2, .7, .2, 1) .15s, opacity .5s ease;
}
.fs-panel::after {                                     /* corner brackets */
    content: '';
    position: absolute;
    inset: 10px;
    pointer-events: none;
    --c: color-mix(in srgb, var(--a) 60%, transparent);
    background:
        linear-gradient(var(--c), var(--c)) left top / 16px 1px,
        linear-gradient(var(--c), var(--c)) left top / 1px 16px,
        linear-gradient(var(--c), var(--c)) right top / 16px 1px,
        linear-gradient(var(--c), var(--c)) right top / 1px 16px,
        linear-gradient(var(--c), var(--c)) left bottom / 16px 1px,
        linear-gradient(var(--c), var(--c)) left bottom / 1px 16px,
        linear-gradient(var(--c), var(--c)) right bottom / 16px 1px,
        linear-gradient(var(--c), var(--c)) right bottom / 1px 16px;
    background-repeat: no-repeat;
    opacity: .7;
}
.fs-panel:hover, .is-active > .ub-page > .fs-panel {
    border-color: color-mix(in srgb, var(--a) 26%, var(--fs-panel-line));
    box-shadow: var(--fs-panel-shadow), 0 40px 90px -50px color-mix(in srgb, var(--a) 60%, transparent);
}
.is-active > .ub-page > .fs-panel::before { opacity: 1; }

.fs-head { margin-bottom: 22px; }
.fs-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .08em;
    color: var(--text-tertiary);
}
.fs-tag .fs-ico {
    width: 34px;
    height: 34px;
    padding: 7px;
    box-sizing: border-box;
    border: 1px solid color-mix(in srgb, var(--a) 50%, transparent);
    border-radius: 9px;
    background: color-mix(in srgb, var(--a) 10%, transparent);
    color: var(--a-ink);
    transition: box-shadow .5s ease;
}
.fs-tag__n { font-weight: 600; color: var(--a-ink); }
.fs-tool.is-active .fs-tag .fs-ico {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 12%, transparent), 0 0 22px -4px var(--a);
    animation: fs-draw 1.2s cubic-bezier(.6, 0, .2, 1) both;
}
.fs-tool__name {
    margin: 0;
    font-family: var(--fs-serif);
    font-size: clamp(2rem, 3.8vw, 2.85rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.008em;
}
.fs-compare .fs-tool__name { margin-bottom: 22px; }

/* the picture */
.fs-shot { margin: 40px 0; }
.fs-shot__frame { position: relative; border-radius: 10px; }
.fs-shot__frame .fs-shot__pic { position: relative; display: block; overflow: hidden; border-radius: 10px; }
.fs-shot__frame img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--fs-rule);
    border-radius: 10px;
    background: #0c0e11;
    transition: box-shadow .4s ease;
}
.fs-shot__frame:hover img { box-shadow: 0 24px 60px -30px var(--a); }
.fs-shot__frame .fs-shot__pic::after {                             /* one pass of light when the picture arrives */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .1) 48%, rgba(255, 255, 255, .16) 50%, transparent 62%);
    transform: translate3d(-110%, 0, 0);
    pointer-events: none;
}
.fs--motion .fs-shot.is-in .fs-shot__frame .fs-shot__pic::after { animation: fs-shine 1.6s cubic-bezier(.4, 0, .2, 1) .35s 1 both; }
@keyframes fs-shine { to { transform: translate3d(110%, 0, 0); } }
.fs-pin {
    position: absolute;
    z-index: 3;
    width: 26px;
    height: 26px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--fs-pin-bg);
    color: var(--fs-pin-ink);
    box-shadow: 0 0 0 2px var(--fs-pin-ink), 0 0 14px rgba(244, 196, 124, .45);
    font: 600 13px/26px var(--font-mono);
    text-align: center;
    pointer-events: none;
}
.fs-shot figcaption { margin-top: 16px; }
.fs-shot__cap {
    max-width: 60ch;
    margin: 0 0 10px;
    font-family: var(--fs-serif);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.fs-shot__notes {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: fs-note;
}
.fs-shot__notes li {
    position: relative;
    max-width: 70ch;
    margin: 0 0 8px;
    padding-left: 32px;
    font-size: .95rem;
    line-height: 1.55;
    counter-increment: fs-note;
}
.fs-shot__notes li::before {
    content: counter(fs-note);
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--fs-pin-bg);
    color: var(--fs-pin-ink);
    font: 600 11px/20px var(--font-mono);
    text-align: center;
}
@media (min-width: 900px) {
    .fs-shot figcaption { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
    .fs-split .fs-shot figcaption { display: block; }
}
@media (max-width: 600px) {
    .fs-pin { width: 20px; height: 20px; font-size: 11px; line-height: 20px; }
}
.fs-shot--strip { margin: 32px 0 0; }

/* arrangements */
.fs-pair { display: grid; gap: 40px; margin-top: 8px; }
@media (min-width: 900px) {
    .fs-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
    .fs-pair--head { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: end; }
}
.fs-lede { display: grid; gap: 8px 64px; }
@media (min-width: 960px) {
    .fs-lede { grid-template-columns: minmax(0, 1fr) 320px; }
    .fs-lede .fs-head { grid-column: 1 / -1; }
    .fs-lede .fs-aside { align-self: end; margin-bottom: 1.2em; }
}
.fs-split { display: grid; gap: 40px; }
.fs-split .fs-shot { margin: 0; }
.fs-split__text > :last-child { margin-bottom: 0; }
.fs-prose + .fs-aside, .fs-aside + .fs-hist, .fs-split__text .fs-hist { margin-top: 28px; }
.fs-split__text .fs-case, .fs-split__text .fs-aside { margin-top: 36px; }
@media (min-width: 960px) {
    .fs-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
    .fs-split--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
    .fs-split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.fs-tool--quote .fs-split { margin-top: 40px; }
.fs-tool--split .fs-case, .fs-tool--quote .fs-hist { margin-top: 48px; }
@media (min-width: 900px) {
    .fs-prose--cols { column-count: 2; column-gap: 56px; }
    .fs-prose--cols p { max-width: none; break-inside: avoid; }
}
.fs-tool--image-first .fs-shot:first-of-type { margin-top: 8px; }

/* pull quote */
.fs-quote {
    margin: 32px 0;
    padding: 0 0 0 22px;
    border-left: 3px solid var(--a, var(--accent));
}
.fs-quote p {
    max-width: 38ch;
    margin: 0;
    font-family: var(--fs-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2.1vw, 1.5rem);
    line-height: 1.45;
}
.fs-tool--quote .fs-quote p { max-width: 44ch; font-size: clamp(1.35rem, 2.8vw, 2rem); line-height: 1.35; }
.fs-quote footer { margin-top: 10px; font-size: .85rem; color: var(--text-tertiary); }
.fs-pair--head .fs-quote { margin: 0 0 1em; }

/* case file: a readout card */
.fs-case {
    position: relative;
    padding: 20px 22px 8px;
    border: 1px solid var(--fs-panel-line);
    border-radius: 12px;
    background: var(--fs-card);
    transition: box-shadow .4s ease;
}
.fs-case:hover { box-shadow: 0 18px 44px -28px var(--a); }
.fs-case .fs-label { display: flex; align-items: center; gap: 8px; }
.fs-case .fs-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--a, var(--accent));
    box-shadow: 0 0 8px var(--a, var(--accent));
}
.fs-case__title {
    margin: 0 0 12px;
    font-family: var(--fs-serif);
    font-size: 1.4rem;
    line-height: 1.3;
}
.fs-case__steps { margin: 0; padding: 0; list-style: none; }
.fs-case__steps li {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--fs-rule);
}
.fs-case__k {
    padding-top: 3px;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.fs-case__v { font-size: .98rem; line-height: 1.6; overflow-wrap: anywhere; }
@media (max-width: 520px) {
    .fs-case { padding: 16px 14px 4px; }
    .fs-case__steps li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* history */
.fs-hist__list { margin: 0; padding: 0; list-style: none; }
.fs-hist__list li {
    position: relative;
    padding: 0 0 18px 20px;
    border-left: 1px solid var(--fs-rule);
}
.fs-hist__list li:last-child { padding-bottom: 0; }
.fs-hist__list li::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--a, var(--text-tertiary));
    box-shadow: 0 0 0 3px var(--fs-panel);
}
.fs-hist__list li:last-child::before { box-shadow: 0 0 0 3px var(--fs-panel), 0 0 10px var(--a, transparent); }
.fs-hist__list p { margin: 0; font-size: .95rem; line-height: 1.6; }
.fs-hist__list .fs-hist__when { margin-bottom: 3px; font-size: .85rem; color: var(--text-tertiary); }

.fs-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fs-hist__table, .fs-matrix { width: 100%; border-collapse: collapse; }
.fs-hist__table { min-width: 560px; font-size: .93rem; }
.fs-hist__table th, .fs-matrix thead th {
    padding: 0 16px 10px 0;
    border-bottom: 1px solid var(--text-tertiary);
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.fs-hist__table td {
    padding: 12px 16px 12px 0;
    border-bottom: 1px solid var(--fs-rule);
    line-height: 1.55;
    vertical-align: top;
}
.fs-hist__table td:first-child, .fs-hist__table td:nth-child(2) { color: var(--text-secondary); }
.fs-hist__table tbody tr { transition: background-color .25s ease; }
.fs-hist__table tbody tr:hover { background: color-mix(in srgb, var(--a, var(--accent)) 6%, transparent); }

/* footer of a tool */
.fs-foot {
    display: grid;
    gap: 14px 32px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--fs-rule);
}
@media (min-width: 760px) { .fs-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; } }
.fs-privacy { max-width: 80ch; margin: 0; font-size: .9rem; line-height: 1.6; color: var(--text-secondary); }
.fs-privacy strong { color: var(--text-primary); font-weight: 600; }
.fs-open { margin: 0; }
.fs-open a {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid color-mix(in srgb, var(--a) 55%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--a) 9%, transparent);
    font-weight: 600;
    color: var(--a-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s ease, box-shadow .25s ease;
}
.fs-open a:hover { background: color-mix(in srgb, var(--a) 16%, transparent); box-shadow: 0 0 0 1px var(--a), 0 10px 28px -14px var(--a); }

/* ------------------------------------------------------------------ comparison */
.fs-compare { padding: clamp(16px, 2.5vw, 28px) 0; }
.fs-compare__intro, .fs-compare__desk { max-width: 68ch; line-height: 1.7; color: var(--text-secondary); }
.fs-compare__intro { margin: 0 0 28px; }
.fs-compare__desk { margin: 28px 0 0; }
.fs-matrix { min-width: 940px; font-size: .9rem; }
.fs-matrix thead th { font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; text-transform: none; }
.fs-matrix thead a { font-weight: 600; color: var(--text-primary); text-decoration: none; }
.fs-matrix thead a:hover { color: var(--accent); text-decoration: underline; }
.fs-matrix tbody th, .fs-matrix td {
    padding: 11px 16px 11px 0;
    border-bottom: 1px solid var(--fs-rule);
    line-height: 1.45;
    text-align: left;
    vertical-align: top;
}
.fs-matrix tbody th { width: 190px; font-weight: 500; color: var(--text-secondary); }
.fs-matrix tbody tr { transition: background-color .25s ease; }
.fs-matrix tbody tr:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.fs-dash { color: var(--text-tertiary); }

/* ------------------------------------------------------------------ sources */
.fs-sources { padding: 40px 0 80px; }
.fs-sources > .ub-page { position: relative; }
.fs-sources > .ub-page::before {
    content: '';
    position: absolute;
    inset: -24px 0;
    z-index: -1;
    background: radial-gradient(ellipse 70% 80% at 30% 50%, color-mix(in srgb, var(--bg-primary) 80%, transparent), transparent);
}
.fs-sources ul { max-width: 92ch; margin: 0 0 20px; padding-left: 1.2em; }
.fs-sources li, .fs-sources p { margin: 0 0 6px; font-size: .9rem; line-height: 1.6; color: var(--text-secondary); }

/* ------------------------------------------------------------------ section rail (wide screens) */
.fs-rail { display: none; }
@media (min-width: 1420px) {
    .fs-rail {
        display: block;
        position: fixed;
        top: 50%;
        left: max(16px, calc((100vw - var(--max-width)) / 2 - 52px));
        z-index: 5;
        transform: translateY(-50%);
    }
    .fs-rail ol { position: relative; display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
    .fs-rail a {
        display: block;
        width: 11px;
        height: 11px;
        border: 1.5px solid var(--a-ink);
        border-radius: 50%;
        background: var(--fs-node-fill);
        transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
    }
    .fs-rail a:hover, .fs-rail a.is-on { background: var(--a-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent), 0 0 14px var(--a); }
    .fs-rail a.is-on { transform: scale(1.15); }
    .fs-rail__track {
        position: absolute;
        top: 5px;
        bottom: 5px;
        left: 5px;
        width: 1px;
        background: var(--fs-panel-line);
    }
    .fs-rail__fill {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, #e4b060, #88c0ff, #7be0a5, #ff6ac1, #f08080, #b48ead);
        transform: scaleY(0);
        transform-origin: top;
    }
}

/* ================================================================== reveal (only when the script allows motion) */
.fs--motion .fs-rv {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity .5s ease, transform .7s cubic-bezier(.16, .84, .24, 1);
}
.fs--motion .fs-rv.is-in { opacity: 1; transform: none; }
.fs--motion .fs-panel.fs-rv::before { transform: scaleX(0); }
.fs--motion .fs-panel.fs-rv.is-in::before { transform: none; }
.fs--motion .fs-card.fs-rv:nth-child(2) { transition-delay: .06s; }
.fs--motion .fs-card.fs-rv:nth-child(3) { transition-delay: .12s; }
.fs--motion .fs-card.fs-rv:nth-child(4) { transition-delay: .18s; }
.fs--motion .fs-card.fs-rv:nth-child(5) { transition-delay: .24s; }
.fs--motion .fs-card.fs-rv:nth-child(6) { transition-delay: .3s; }

/* ================================================================== small screens: lighter */
@media (max-width: 640px) {
    .fs-panel { border-radius: 14px; padding: 20px 16px 24px; }
    .fs-panel::after { inset: 6px; }
    .fs-env__geo, .fs-env__scan { display: none; }
    .fs-env__blob--b { display: none; }
    .fs-hero__text::before { inset: -24px -16px; }
    .fs-card { padding: 14px 14px 14px 58px; }
    .fs-card > .fs-ico { left: 14px; top: 14px; }
}

/* ================================================================== reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fs:not(.fs--motion) *, .fs:not(.fs--motion) *::before, .fs:not(.fs--motion) *::after {
        animation: none !important;
        transition: none !important;
    }
    .fs:not(.fs--motion) :is(.fs-env__scan, .fs-core__pulses, .fs-core__sweep, .fs-strip__scan) { display: none; }
    .fs:not(.fs--motion) .fs-frag { transform: translateY(-50%); }
}

@media print {
    .fs-env, .fs-core, .fs-readout, .fs-rail { display: none; }
    .fs-panel { border: 0; padding: 0; background: none; box-shadow: none; }
    .fs-rv { opacity: 1 !important; transform: none !important; }
}

/* ================================================================== light mode, take 2 (2026-11-26)
   The owner found light mode washed out: a pale blue haze, grey dust and faint text lines like smudges,
   a centrepiece that barely showed, white panels melting into the page, and dark screenshots pasted on
   white. This makes it a bright "daylight lab": warm white base, crisp darker lines, solid lifted panels,
   and the dark screenshots set in dark device bezels so they read as deliberate product shots. */
[data-theme="light"] .fs {
    --fs-panel: #ffffff;
    --fs-panel-line: rgba(22, 32, 52, .10);
    --fs-panel-shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 2px 6px rgba(20, 30, 50, .04), 0 28px 60px -28px rgba(20, 30, 50, .28);
    --fs-card: #ffffff;
    --fs-core-line: rgba(28, 44, 74, .42);
    --fs-core-glow: #e7a64a;
    --fs-node-fill: #ffffff;
    --fs-frag-bg: #ffffff;
}
[data-theme="light"] .fs-env__base {
    background:
        radial-gradient(ellipse 70% 55% at 78% 0%, rgba(228, 176, 96, .16), transparent 62%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(120, 160, 230, .12), transparent 70%),
        linear-gradient(180deg, #fbfaf7 0%, #f7f6f2 55%, #f5f4f0 100%);
}
[data-theme="light"] .fs-env__blob { opacity: .07; }
[data-theme="light"] .fs-env__geo { color: #1c2c4a; opacity: .05; }
[data-theme="light"] .fs-env__scan { opacity: .5; }
[data-theme="light"] .fs-env__vignette { background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 65%, rgba(220, 214, 200, .28)); }

/* centrepiece: crisp, darker strokes and white nodes ringed in each tool's colour */
[data-theme="light"] .fs-core__ring--text text { fill: #4a5568; opacity: .9; }
[data-theme="light"] .fs-core__ring--net text { fill: #15653f; opacity: .9; }
[data-theme="light"] .fs-core__ring--ticks { opacity: .55; }
[data-theme="light"] .fs-core__hub circle { stroke: rgba(28, 44, 74, .35); }
[data-theme="light"] .fs-node { filter: drop-shadow(0 6px 12px rgba(20, 30, 50, .14)); }
[data-theme="light"] .fs-core__sweep { opacity: .45; }
[data-theme="light"] .fs-frag {
    border-color: color-mix(in srgb, var(--a-l) 30%, rgba(20, 30, 50, .12));
    border-left-color: var(--a-l);
    box-shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 10px 24px -14px rgba(20, 30, 50, .3);
}
[data-theme="light"] .fs-frag__v { color: #3d4757; }

/* panels: solid white, lifted, darker corner brackets */
[data-theme="light"] .fs-panel { background: #fff; }
[data-theme="light"] .fs-panel:hover,
[data-theme="light"] .is-active > .ub-page > .fs-panel { box-shadow: 0 1px 2px rgba(20, 30, 50, .06), 0 34px 70px -30px color-mix(in srgb, var(--a-l) 45%, rgba(20, 30, 50, .3)); }
[data-theme="light"] .fs-card, [data-theme="light"] .fs-case { background: #fbfaf8; }

/* the screenshots are dark: set them in a dark device bezel so they look intentional on white */
[data-theme="light"] .fs-shot__frame .fs-shot__pic {
    padding: 10px;
    background: linear-gradient(180deg, #1b1f26, #121519);
    border-radius: 16px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 2px 4px rgba(20, 30, 50, .12), 0 30px 60px -28px rgba(20, 30, 50, .45);
}
[data-theme="light"] .fs-shot__frame img { border-color: rgba(255, 255, 255, .08); border-radius: 8px; }

/* hero fragments: readable everywhere (were 9-10 px on mid-width screens) */
.fs-frag { font-size: clamp(11px, 1.62cqw, 12.5px); }
@media (max-width: 1099px) { .fs-frag:nth-of-type(n+5) { display: none; } }   /* four panels on mid-width screens */

/* phones: the rings only fill the middle of the 720x560 box (the sides hold the floating panels, which are
   hidden here), so scale the centrepiece up and clip the empty sides */
@media (max-width: 640px) {
    .fs-hero__core { overflow: hidden; margin-inline: -8px; }
    .fs-core { width: 128%; max-width: none; margin-left: -14%; }
}

/* the side rail fades out once the six tools are past, so it never sits over the sources or the footer */
.fs-rail { transition: opacity .35s ease, visibility .35s; }
.fs-rail.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }

/* the full-screen scan sweep, off at the owner's request (2026-11-26) */
.fs-env__scan { display: none !important; }
