/* ==========================================================================
   Ultraviole — the public site
   ==========================================================================

   Loaded by the "site" shell only; the panel and the sign-in screens use
   style.css.

   Direction
     Ultraviolet in the dark. A violet-black ground with a faint dot grid,
     slow beams of violet light falling from the top right, glass panels,
     tight bold grotesk headlines whose second half is lit lavender, and one
     floating pill of navigation. Every visual on the page is made of the
     product's real vocabulary — its checks, its artifacts, its report — and
     anything that shows sample data says so.

   Colour rules
     White and lavender text on violet-black. White is the primary action;
     glass is the secondary. Lavender marks emphasis and what is live. Mint,
     amber and coral carry the result of a check and always travel with a
     word. Every text colour was measured against #050308: body 10:1,
     muted 5.9:1, accents 9:1 or better.

   Contents
     1 fonts   2 tokens   3 base   4 type and controls   5 header
     6 hero, beams and timeline   7 panel preview   8 sections
     9 bento   10 sub-pages   11 documentation   12 footer
     13 status pages   14 motion and responsive
   ========================================================================== */


/* ---------------------------------------------------------------- 1 fonts */

@font-face {
    font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("/assets/fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
                   U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
                   U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113,
                   U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
    src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
                   U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* --------------------------------------------------------------- 2 tokens */

:root {
    color-scheme: dark;

    --bg:       #050308;
    --bg-2:     #0a0710;
    --glass:    rgba(255, 255, 255, .028);
    --glass-2:  rgba(255, 255, 255, .045);
    --glass-3:  rgba(255, 255, 255, .07);
    --line:     rgba(255, 255, 255, .07);
    --line-2:   rgba(255, 255, 255, .11);
    --line-3:   rgba(255, 255, 255, .18);

    --text:     #f5f3fa;
    --text-2:   #bab5c8;   /* 10.1:1 */
    --muted:    #8f899e;   /*  5.9:1 */
    --dim:      #5c5767;   /* decoration only */

    --lav:      #c4b5fd;   /* 11.6:1 */
    --lav-2:    #a78bfa;
    --violet:   #8b5cf6;
    --violet-d: #6d28d9;
    --lav-wash: rgba(167, 139, 250, .10);
    --lav-line: rgba(196, 181, 253, .22);
    --glow:     rgba(139, 92, 246, .45);

    --mint:     #86e3bf;   /* clean, completed */
    --amber:    #f2c36b;   /* review, partial */
    --coral:    #f39a8d;   /* flagged, high */
    --rose:     #f4637a;   /* critical */

    --sans: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

    --w: 1200px;
    --gutter: 24px;
    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --pill: 999px;

    --ease: cubic-bezier(.2, .75, .15, 1);
    --t1: 150ms;
    --t2: 260ms;

    --z-sticky: 30;
    --z-menu: 50;
    --z-top: 100;
}


/* ----------------------------------------------------------------- 3 base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 110px; background: var(--bg); }
body {
    margin: 0;
    min-height: 100dvh;
    overflow-x: clip;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    font-feature-settings: "cv11", "ss01", "ss03";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* The dot grid, fixed behind everything and fading toward the edges. */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .075) 1px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
    mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
}

img, svg, video { display: block; max-width: 100%; }
svg.ico, .logo { display: inline-block; flex: 0 0 auto; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

a { color: var(--lav); text-decoration: none; transition: color var(--t1) var(--ease); }
a:hover { color: #fff; }

:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 6px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: rgba(139, 92, 246, .55); color: #fff; }

code, kbd, pre { font-family: var(--mono); font-size: .9em; }
[hidden] { display: none !important; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: var(--z-top);
    padding: 10px 16px; border-radius: var(--pill); background: #fff; color: #0b0810; font-weight: 600;
    transition: top var(--t2) var(--ease);
}
.skip-link:focus { top: 12px; color: #0b0810; }

.wrap { width: 100%; max-width: var(--w); margin-inline: auto; padding-inline: var(--gutter); }


/* ---------------------------------------------------- 4 type and controls */

h1, h2, h3, h4 { margin: 0; color: var(--text); text-wrap: balance; }
.display {
    font-size: clamp(44px, 7.2vw, 92px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .98;
}
.title {
    font-size: clamp(34px, 4.8vw, 60px);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.02;
}
.title-sm { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; }
/* The lit half of a headline. */
.lit {
    background: linear-gradient(100deg, #e9e2ff 0%, #c4b5fd 40%, #a78bfa 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
h3 { font-size: 18px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }

.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--text-2); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }

/* A pill label above a section title, with an icon. */
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    height: 34px; padding: 0 14px 0 12px;
    border: 1px solid var(--lav-line); border-radius: var(--pill);
    background: linear-gradient(180deg, rgba(167, 139, 250, .12), rgba(167, 139, 250, .04));
    color: #ded6ff; font-size: 13.5px; font-weight: 520;
    box-shadow: 0 0 24px -8px rgba(139, 92, 246, .5);
}
.badge .ico { width: 15px; height: 15px; color: var(--lav); }
.kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav); }

.btn {
    --bg: var(--glass-2); --fg: var(--text); --bd: var(--line-2);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px;
    border: 1px solid var(--bd); border-radius: var(--pill);
    background: var(--bg); color: var(--fg);
    font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: -.01em;
    white-space: nowrap; cursor: pointer;
    transition: background var(--t1) var(--ease), border-color var(--t1) var(--ease),
                color var(--t1) var(--ease), box-shadow var(--t2) var(--ease), transform var(--t1) var(--ease);
}
.btn:hover { color: var(--fg); --bg: var(--glass-3); --bd: var(--line-3); }
.btn:active { transform: scale(.98); }
.btn .ico { width: 17px; height: 17px; transition: transform var(--t2) var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn-primary { --bg: #fff; --fg: #0b0810; --bd: #fff; box-shadow: 0 10px 40px -12px rgba(196, 181, 253, .55); }
.btn-primary:hover { --bg: #ede9fe; --bd: #ede9fe; color: #0b0810; box-shadow: 0 12px 44px -10px rgba(196, 181, 253, .75); }
.btn-secondary { --bg: rgba(255, 255, 255, .04); }
.btn-ghost { --bg: transparent; --bd: transparent; --fg: var(--text-2); }
.btn-ghost:hover { --bg: var(--glass-2); --bd: transparent; color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-arrow-pill {
    display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: -8px;
    border-radius: 50%; background: rgba(11, 8, 16, .08);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.logo { width: 26px; height: 26px; color: #fff; }
.logo .lg-wing  { fill: currentColor; }
.logo .lg-facet { fill: rgba(5, 3, 8, .35); }
.logo .lg-beam  { fill: var(--lav-2); filter: drop-shadow(0 0 3px rgba(167, 139, 250, .9)); }

.dot-ok, .dot-amber, .dot-coral, .dot-rose, .dot-lav { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.dot-ok { background: var(--mint); box-shadow: 0 0 8px rgba(134, 227, 191, .7); }
.dot-amber { background: var(--amber); }
.dot-coral { background: var(--coral); }
.dot-rose { background: var(--rose); }
.dot-lav { background: var(--lav-2); box-shadow: 0 0 8px var(--glow); }


/* --------------------------------------------------------------- 5 header */

/* Modelled on NexoraScanner's navbar, measured from the rendered page: a
   transparent full-width bar at the top of the page that, once the page
   scrolls, contracts into a floating pill — dark glass, hairline border,
   100px radius — over half a second. app.js adds .navbar-scrolled; the
   markup starts scrolled so a page without script is still legible, and
   .nav-ready (set after the first measurement) is what enables the
   transition, so nothing animates on load. */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-sticky); padding: 12px 20px 12px 24px; pointer-events: none; }
.navbar-inner {
    position: relative;
    display: grid; grid-template-columns: minmax(auto, 1fr) auto minmax(auto, 1fr); align-items: center; column-gap: 12px;
    max-width: 1400px; min-height: 50px; margin: 0 auto; padding: 6px 20px;
    border: 1px solid transparent; border-radius: 0; box-shadow: none;
    pointer-events: auto;
}
.nav-ready .navbar-inner {
    transition: max-width .5s cubic-bezier(.4, 0, .2, 1), padding .5s cubic-bezier(.4, 0, .2, 1),
                border-radius .5s cubic-bezier(.4, 0, .2, 1), border-color .4s ease, box-shadow .4s ease;
}
.navbar-inner::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    border-radius: inherit;
    background: rgba(9, 6, 14, .85);
    backdrop-filter: blur(24px) saturate(1.35); -webkit-backdrop-filter: blur(24px) saturate(1.35);
    opacity: 0;
}
.nav-ready .navbar-inner::before { transition: opacity .4s ease; }
.navbar-scrolled .navbar-inner {
    max-width: 1440px; padding: 7px 10px 7px 18px; border-radius: 100px;
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.navbar-scrolled .navbar-inner::before { opacity: .96; }

.navbar-logo { position: relative; z-index: 1; display: flex; align-items: center; justify-self: start; color: #fff; transition: opacity .2s ease; }
.navbar-logo:hover { color: #fff; opacity: .92; }
.navbar-logo .logo { width: 32px; height: 32px; }
.navbar-logo-text { margin-left: 8px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: #fff; }
.navbar-logo-text span { color: var(--lav-2); }

.navbar-center { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 2px; min-width: 0; }
.navbar-right { position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end; gap: 2px; min-width: max-content; justify-self: end; }

.nav-link-pill {
    display: inline-flex; align-items: center; gap: 2px;
    padding: 8px 10px; border-radius: 999px; cursor: pointer; text-decoration: none;
    transition: background .22s ease, transform .2s ease;
}
.nav-link-pill:hover, .nav-link-pill.active { background: rgba(255, 255, 255, .07); }
.nav-link-pill:active { transform: scale(.98); }
.nav-link { font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 21px; color: #fff; opacity: .88; transition: opacity .2s ease; }
.nav-link-pill:hover .nav-link, .nav-link-pill.active .nav-link { opacity: 1; }

/* "Docs" opens a small menu, the way Nexora's "Legal" does. A details
   element, so it opens without script. */
.nav-legal { position: relative; display: inline-flex; }
.nav-legal > summary { list-style: none; gap: 4px; }
.nav-legal > summary::-webkit-details-marker { display: none; }
.nav-legal-chev { width: 12px; height: 12px; color: #fff; opacity: .5; transition: transform .18s ease, opacity .2s ease; }
.nav-legal[open] > summary { background: rgba(255, 255, 255, .07); }
.nav-legal[open] .nav-legal-chev, .nav-legal > summary:hover .nav-legal-chev { opacity: .8; }
.nav-legal[open] .nav-legal-chev { transform: rotate(180deg); }
.nav-legal-menu {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 200px; padding: 6px;
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px;
    background: rgba(18, 13, 28, .98);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 48px -18px rgba(0, 0, 0, .8), inset 0 1px rgba(255, 255, 255, .05);
    /* No entry animation: Chrome left an opacity animation on this element
       unfinished on screen, so the menu stayed translucent under the page.
       Found in a screenshot, confirmed by switching the animation off. */
}
.nav-legal-item { display: block; padding: 9px 11px; border-radius: 9px; color: rgba(255, 255, 255, .75); font-size: 13px; font-weight: 550; white-space: nowrap; transition: background .14s ease, color .14s ease; }
.nav-legal-item:hover, .nav-legal-item[aria-current="page"] { background: rgba(255, 255, 255, .06); color: #fff; }

/* The small glass pill before the actions (Nexora's language switch). */
.nav-chip {
    display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; margin-right: 2px;
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .72); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.nav-chip .ico { width: 15px; height: 15px; }
.nav-chip:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }

.btn-get-started-nav {
    position: relative; margin-left: 6px; padding: 8px 18px 8px 20px; overflow: hidden;
    border: 0; border-radius: 999px;
    background: linear-gradient(180deg, #9b7dff 0%, #7c5cf6 100%);
    color: #fff; font-size: 13px; font-weight: 600; letter-spacing: -.01em; line-height: 19.5px; white-space: nowrap;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 0 2px 12px rgba(124, 92, 246, .28);
    transition: transform .22s cubic-bezier(.34, 1.1, .64, 1), box-shadow .3s ease, filter .2s ease;
}
.btn-get-started-nav:hover { color: #fff; filter: brightness(1.04); transform: translateY(-1px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 0 6px 22px rgba(124, 92, 246, .42); }
.btn-get-started-nav:active { transform: none; filter: brightness(.98); }

/* Below 1080px: three lines that open a full-screen menu. */
.nav-mobile { display: none; }
.navbar-hamburger {
    position: relative; z-index: 9999; display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 36px; height: 36px; padding: 6px; list-style: none; cursor: pointer; border-radius: 10px;
}
.navbar-hamburger::-webkit-details-marker { display: none; }
.hamburger-line { display: block; width: 100%; height: 2px; border-radius: 2px; background: #fff; transform-origin: center; transition: all .3s ease; }
.nav-mobile[open] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile[open] .hamburger-line:nth-child(2) { opacity: 0; }
.nav-mobile[open] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar-mobile-menu {
    position: fixed; inset: 0; z-index: 9998; display: flex; flex-direction: column;
    padding: 100px 32px 40px; overflow-y: auto; background: #08060c;
}
.mobile-nav-link { padding: 16px 0; border-bottom: 1px solid var(--line); color: rgba(255, 255, 255, .7); font-size: 18px; font-weight: 600; transition: color .2s; }
.mobile-nav-link:hover, .mobile-nav-link[aria-current="page"] { color: #fff; }
.mobile-nav-divider { height: 1px; margin: 8px 0; background: var(--line-2); }
.mobile-cta { display: block; margin: 16px 0 0; padding: 14px 24px; text-align: center; font-size: 15px; }

.s-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.s-brand:hover { color: #fff; }
.s-brand .mark {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 30%, #1d1430, #0b0810);
}
.s-brand .mark .logo { width: 22px; height: 22px; }
.s-brand .tail { color: var(--lav-2); }


/* ------------------------------------------- 6 hero, beams and timeline */

.hero { position: relative; isolation: isolate; padding: 176px 0 0; text-align: center; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero .display { margin-top: 28px; max-width: 15ch; }
.hero .lead { margin-top: 26px; }
.hero .actions { margin-top: 38px; justify-content: center; }
.hero-meta { margin-top: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }

/* Ultraviolet light falling from the top right: four soft shafts, a slow
   breathing in their brightness, nothing that moves across the text. */
.beams { position: absolute; inset: -20% -10% auto 30%; height: 140%; z-index: -1; pointer-events: none; }
.beams i {
    position: absolute; top: -10%; width: 180px; height: 130%;
    background: linear-gradient(180deg, rgba(167, 139, 250, .55), rgba(139, 92, 246, .16) 45%, transparent 80%);
    transform: rotate(32deg); transform-origin: top center;
    filter: blur(38px); opacity: .55;
    animation: breathe 9s ease-in-out infinite;
}
.beams i:nth-child(1) { right: 10%; width: 240px; }
.beams i:nth-child(2) { right: 26%; width: 120px; opacity: .35; animation-delay: -3s; }
.beams i:nth-child(3) { right: 40%; width: 200px; opacity: .25; animation-delay: -6s; }
.beams i:nth-child(4) { right: -4%; width: 160px; opacity: .45; animation-delay: -1.5s; }
@keyframes breathe { 0%, 100% { opacity: .22; } 50% { opacity: .6; } }
.hero-glow {
    position: absolute; left: 50%; top: 120px; width: 900px; height: 520px; z-index: -1; transform: translateX(-50%);
    background: radial-gradient(50% 50% at 50% 50%, rgba(109, 40, 217, .22), transparent 70%);
    pointer-events: none;
}

/* The forensic timeline: a ruler that scrolls, a playhead that does not. */
.timeline { position: relative; margin-top: 88px; height: 210px; overflow: hidden; text-align: left;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tl-track { position: absolute; left: 0; top: 0; bottom: 0; display: flex; width: max-content; animation: tl 60s linear infinite; }
.tl-ruler {
    position: absolute; left: 0; right: 0; top: 104px; height: 12px;
    background:
        linear-gradient(var(--line-2), var(--line-2)) 0 50% / 100% 1px no-repeat,
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 21px) 0 0 / 100% 12px;
}
.tl-ev { position: relative; flex: 0 0 210px; height: 100%; }
.tl-ev::before { /* the marker on the ruler */
    content: ""; position: absolute; left: 14px; top: 104px; width: 10px; height: 10px; margin-top: 1px;
    border-radius: 50%; border: 1.5px solid var(--line-3); background: var(--bg);
}
.tl-ev::after { /* the stem from marker to label */
    content: ""; position: absolute; left: 19px; width: 1px; background: var(--line-2);
}
.tl-ev:nth-child(odd)::after { top: 72px; height: 32px; }
.tl-ev:nth-child(even)::after { top: 116px; height: 30px; }
.tl-card { position: absolute; left: 10px; width: 188px; }
.tl-ev:nth-child(odd) .tl-card { top: 12px; }
.tl-ev:nth-child(even) .tl-card { top: 146px; }
.tl-time { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--muted); }
.tl-time b { color: var(--lav); font-weight: 600; }
.tl-text {
    display: block; margin-top: 6px; padding: 6px 10px; width: fit-content; max-width: 188px;
    border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .035);
    font-family: var(--mono); font-size: 11.5px; color: var(--text-2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tl-ev.hit .tl-text { color: #fff; border-color: var(--lav-line); background: rgba(139, 92, 246, .14); }
.tl-ev.hit::before { border-color: var(--lav-2); background: var(--lav-2); box-shadow: 0 0 12px var(--glow); }
.tl-head { position: absolute; left: 50%; top: 10px; bottom: 0; width: 1px; z-index: 2;
    background: linear-gradient(180deg, transparent, var(--lav-2) 14%, var(--lav-2) 80%, transparent);
    box-shadow: 0 0 14px 1px rgba(167, 139, 250, .7); }
.tl-head span {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
    border: 1px solid var(--lav-line); border-radius: var(--pill); background: #120c1e;
    font-family: var(--mono); font-size: 11px; color: #fff; white-space: nowrap;
}
@keyframes tl { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ----------------------------------------------------- 7 panel preview */

.preview { position: relative; margin-top: 64px; }
.pv-frame {
    position: relative; max-height: 620px; overflow: hidden;
    padding: 10px; border: 1px solid var(--line-2); border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
    box-shadow: 0 60px 120px -50px rgba(109, 40, 217, .55), 0 0 0 1px rgba(0, 0, 0, .6);
}
.pv-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: 3; pointer-events: none;
    background: linear-gradient(180deg, transparent, var(--bg) 88%); }
.pv-tag { position: absolute; top: -28px; right: 10px; z-index: 4; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pv { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 600px; border-radius: 18px; overflow: hidden; background: #0b0910; text-align: left; }
.pv-side { padding: 18px 12px; background: #08070c; border-right: 1px solid var(--line); }
.pv-brand { display: flex; align-items: center; gap: 9px; padding: 0 8px 18px; font-weight: 700; font-size: 14px; letter-spacing: -.02em; }
.pv-brand .logo { width: 20px; height: 20px; }
.pv-group { padding: 12px 8px 6px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.pv-nav { list-style: none; display: grid; gap: 2px; }
.pv-nav li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 12.5px; color: var(--muted); }
.pv-nav .ico { width: 15px; height: 15px; }
.pv-nav li.on { color: #fff; background: rgba(139, 92, 246, .14); box-shadow: inset 2px 0 0 var(--lav-2); }
.pv-nav li.on .ico { color: var(--lav); }
.pv-main { padding: 22px 24px; min-width: 0; }
.pv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pv-head b { display: block; font-size: 19px; letter-spacing: -.03em; }
.pv-head small { color: var(--muted); font-size: 11.5px; }
.pv-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 9px; background: #7c3aed; color: #fff; font-size: 11.5px; font-weight: 600; }
.pv-btn .ico { width: 13px; height: 13px; }
.pv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); }
.pv-stat { padding: 14px 16px; border-right: 1px solid var(--line); }
.pv-stat:last-child { border-right: 0; }
.pv-stat span { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); }
.pv-stat span .ico { width: 14px; height: 14px; padding: 3px; box-sizing: content-box; border-radius: 6px; background: var(--glass-2); }
.pv-stat b { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; font-size: 22px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pv-stat em { font-style: normal; font-size: 10px; font-weight: 600; color: var(--mint); padding: 2px 6px; border-radius: 6px; background: rgba(134, 227, 191, .1); }
.pv-stat.warn b { color: var(--coral); }
.pv-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.pv-card { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); padding: 14px 16px; min-width: 0; }
.pv-card h4 { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--text-2); }
.pv-card h4 small { font-weight: 500; color: var(--muted); }
.pv-chart { width: 100%; height: auto; margin-top: 10px; }
.pv-chart .g line { stroke: rgba(255, 255, 255, .05); }
.pv-chart .l { fill: none; stroke: #8b8cf8; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pv-chart .h { fill: none; stroke: var(--rose); stroke-width: 1.5; stroke-dasharray: 3 4; }
.pv-ring { width: 128px; height: 128px; margin: 10px auto 0; }
.pv-ring .t { stroke: rgba(255, 255, 255, .06); }
.pv-ring .a { stroke: var(--mint); } .pv-ring .b { stroke: var(--amber); } .pv-ring .c { stroke: var(--rose); }
.pv-legend { list-style: none; display: grid; gap: 8px; margin-top: 12px; font-size: 11.5px; }
.pv-legend li { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.pv-legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.pv-rows { list-style: none; margin-top: 8px; }
.pv-rows li { display: grid; grid-template-columns: 70px minmax(0, 1fr) 110px 54px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 11.5px; }
.pv-rows .pin { font-family: var(--mono); font-weight: 600; color: #fff; box-shadow: inset 2px 0 0 var(--rose); padding-left: 8px; }
.pv-rows .pin.ok { box-shadow: inset 2px 0 0 var(--mint); }
.pv-rows .sub { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-rows .v { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px; }
.pv-rows .v.hi { color: var(--coral); } .pv-rows .v.ok { color: var(--mint); } .pv-rows .v.md { color: var(--amber); }
.pv-rows .w { color: var(--muted); text-align: right; font-family: var(--mono); font-size: 10.5px; }
.preview-cap { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }


/* ----------------------------------------------------------- 8 sections */

.sec { position: relative; padding: 150px 0 0; }
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-head .title { margin-top: 22px; max-width: 18ch; }
.sec-head .lead { margin-top: 20px; }
.sec-head.left { align-items: flex-start; text-align: left; }
.sec-body { margin-top: 64px; }

/* ---- category accordion ------------------------------------------------- */

.slabs { display: flex; gap: 12px; height: 520px; }
.slab {
    position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
    border: 1px solid var(--line-2); border-radius: 22px;
    background: linear-gradient(180deg, #110c1a, #08060d);
    transition: flex-grow .6s var(--ease), border-color var(--t2) var(--ease);
}
.slab.is-open { flex-grow: 6; border-color: var(--lav-line); box-shadow: 0 30px 80px -40px rgba(109, 40, 217, .7); }
.slab::before { /* a lit top edge on the open card */
    content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; opacity: 0;
    background: linear-gradient(90deg, transparent, var(--lav), transparent); transition: opacity var(--t2) var(--ease);
}
.slab.is-open::before { opacity: 1; }
.slab-spine {
    position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    padding: 22px 0; width: 100%; border: 0; background: none; cursor: pointer; color: var(--text-2);
    transition: opacity var(--t2) var(--ease);
}
.slab-spine:hover { color: #fff; }
.slab-spine .n { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.slab-spine .nm { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.slab-spine .ico { width: 18px; height: 18px; color: var(--lav); }
.slab.is-open .slab-spine { opacity: 0; pointer-events: none; }
.slab-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.slab-art .code {
    position: absolute; left: -6px; top: 34px;
    font-family: var(--mono); font-size: clamp(64px, 9vw, 132px); font-weight: 800; line-height: .9; letter-spacing: -.04em;
    color: transparent; -webkit-text-stroke: 1px rgba(196, 181, 253, .16); white-space: nowrap;
}
.slab-art .hex {
    position: absolute; right: 30px; top: 66px; font-family: var(--mono); font-size: 11px; line-height: 1.9;
    color: rgba(196, 181, 253, .22); white-space: pre; text-align: right;
}
.slab-art .code, .slab-art .hex { opacity: 0; transition: opacity .5s var(--ease) .1s; }
.slab.is-open .slab-art .code, .slab.is-open .slab-art .hex { opacity: 1; }
.slab-art .glow { position: absolute; right: -10%; bottom: -30%; width: 70%; height: 80%; background: radial-gradient(50% 50% at 50% 50%, rgba(139, 92, 246, .28), transparent 70%); }
.slab-body {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 32px 34px;
    opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease) .1s, transform .5s var(--ease) .1s;
    background: linear-gradient(180deg, transparent, rgba(5, 3, 8, .85) 40%);
}
.slab.is-open .slab-body { opacity: 1; transform: none; }
.slab-top { position: absolute; left: 30px; right: 30px; top: 22px; z-index: 2; display: flex; justify-content: space-between;
    font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
    opacity: 0; transition: opacity var(--t2) var(--ease); }
.slab.is-open .slab-top { opacity: 1; }
.slab-top .live { display: inline-flex; align-items: center; gap: 8px; }
.slab-body h3 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 750; letter-spacing: -.045em; line-height: 1; }
.slab-body .label { display: block; margin-top: 10px; color: var(--lav); font-size: 15px; font-weight: 550; }
.slab-body p { margin-top: 12px; color: var(--text-2); max-width: 54ch; }
.slab-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.slab-list li { padding: 5px 10px; border: 1px solid var(--line-2); border-radius: var(--pill); background: rgba(255, 255, 255, .04); font-size: 12.5px; color: var(--text-2); }
.slab-body .btn { margin-top: 22px; }

/* ---- three principles in a row ------------------------------------------- */

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trio > div { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 14px; align-content: start; padding: 28px 28px 28px 4px; }
.trio > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.trio .ico { width: 19px; height: 19px; color: var(--lav); margin-top: 3px; }
.trio h3 { font-size: 16.5px; }
.trio p { grid-column: 2; color: var(--text-2); font-size: 15px; }

/* ---- stepper ------------------------------------------------------------- */

.stepper { position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.stepper::before { /* the rail */
    content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 25px; height: 1px; background: var(--line-2);
}
.stepper::after { /* light travelling along it */
    content: ""; position: absolute; left: calc(100% / 12); top: 25px; height: 1px; width: 22%;
    background: linear-gradient(90deg, transparent, var(--lav), transparent);
    box-shadow: 0 0 10px var(--glow); animation: travel 6s var(--ease) infinite;
}
@keyframes travel { 0% { transform: translateX(-30%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(360%); opacity: 0; } }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-ic {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid var(--line-2); background: #0d0914; color: var(--text-2);
    transition: border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease), color var(--t2) var(--ease);
}
.step-ic .ico { width: 20px; height: 20px; }
.step:hover .step-ic, .step.on .step-ic { border-color: var(--lav-2); color: #fff; box-shadow: 0 0 0 6px rgba(139, 92, 246, .12), 0 0 30px -4px var(--glow); }
.step .n { margin-top: 18px; font-family: var(--mono); font-size: 11px; color: var(--lav); }
.step h3 { margin-top: 8px; font-size: 17px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 14px; max-width: 22ch; }

/* ---- stats band ------------------------------------------------------------ */

.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--glass); overflow: hidden; }
.band > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.band > div:last-child { border-right: 0; }
.band b { display: block; font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.band span { display: block; margin-top: 10px; color: var(--text-2); font-size: 14.5px; }

/* ---- FAQ ---------------------------------------------------------------- */

.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head .title { margin-top: 22px; }
.faq-head .lead { margin-top: 18px; }
.faq-head .btn { margin-top: 28px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
    list-style: none; display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; align-items: center; gap: 8px;
    padding: 22px 4px; cursor: pointer; font-size: 17px; font-weight: 550; letter-spacing: -.015em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .n { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.qa summary .ico { width: 18px; height: 18px; color: var(--muted); transition: transform var(--t2) var(--ease), color var(--t1) var(--ease); }
.qa summary:hover .ico { color: #fff; }
.qa[open] summary .ico { transform: rotate(45deg); color: var(--lav); }
.qa p { padding: 0 32px 24px 46px; color: var(--text-2); }

/* ---- final call ---------------------------------------------------------- */

.final {
    position: relative; isolation: isolate; overflow: hidden; text-align: center;
    padding: 96px 32px; border: 1px solid var(--lav-line); border-radius: 32px;
    background: radial-gradient(60% 100% at 50% 0%, rgba(109, 40, 217, .35), transparent 70%), linear-gradient(180deg, #120c1c, #07050b);
}
.final .title { max-width: 16ch; margin: 22px auto 0; }
.final .lead { margin: 18px auto 0; }
.final .actions { justify-content: center; margin-top: 34px; }


/* ------------------------------------------------------------- 9 bento */

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.card {
    position: relative; overflow: hidden; min-width: 0;
    border: 1px solid var(--line-2); border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    padding: 26px;
}
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: radial-gradient(60% 50% at 50% 0%, rgba(139, 92, 246, .08), transparent 70%); }
.c-2 { grid-column: span 2; } .c-3 { grid-column: span 3; } .c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; }
.card-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--lav-line); background: var(--lav-wash); color: var(--lav); }
.card-ic .ico { width: 19px; height: 19px; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.card .say { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.card .say span { color: var(--muted); font-weight: 500; }
.card .vis { position: relative; z-index: 1; margin-top: 26px; }
.card .say.mt { margin-top: 24px; }
.card .kicker.mt-step { display: block; margin-top: 18px; }
.card .kicker.mt-step + h3 { margin-top: 6px; }
.card .mt-btn { margin-top: 20px; }
.card .files { margin-top: 6px; }

/* A row of capabilities with one lit at a time, cycling. */
.card:has(.icons-row) { display: flex; flex-direction: column; }
.icons-row { flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 30px 0 8px; }
.icons-row div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.icons-row i {
    display: grid; place-items: center; width: 76px; height: 76px; border-radius: 18px;
    border: 1px solid var(--line-2); background: #0c0912; color: var(--muted);
    animation: lightup 10s var(--ease) infinite;
}
.icons-row i .ico { width: 26px; height: 26px; }
.icons-row small { font-size: 12px; color: var(--muted); animation: lightlabel 10s var(--ease) infinite; }
@keyframes lightup { 0%, 22% { color: #fff; border-color: var(--lav-2); box-shadow: 0 0 0 5px rgba(139, 92, 246, .1), 0 0 34px -6px var(--glow); transform: translateY(-6px); } 30%, 100% { color: var(--muted); border-color: var(--line-2); box-shadow: none; transform: none; } }
@keyframes lightlabel { 0%, 22% { color: #fff; } 30%, 100% { color: var(--muted); } }
.icons-row div:nth-child(2) i, .icons-row div:nth-child(2) small { animation-delay: 2s; }
.icons-row div:nth-child(3) i, .icons-row div:nth-child(3) small { animation-delay: 4s; }
.icons-row div:nth-child(4) i, .icons-row div:nth-child(4) small { animation-delay: 6s; }
.icons-row div:nth-child(5) i, .icons-row div:nth-child(5) small { animation-delay: 8s; }

/* Files stacked like cards in a drawer, one pulled forward. */
.files { position: relative; height: 210px; }
.files div {
    position: absolute; right: -26px; display: flex; align-items: center; gap: 10px;
    height: 46px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px 0 0 12px;
    background: #110d18; font-family: var(--mono); font-size: 13px; color: var(--text-2);
}
.files .ico { width: 15px; height: 15px; color: var(--muted); }
.files div:nth-child(1) { top: 0;   left: 34%; }
.files div:nth-child(2) { top: 42px;  left: 26%; }
.files div:nth-child(3) { top: 84px;  left: 18%; }
.files div:nth-child(4) { top: 126px; left: 10%; }
.files div.on { top: 160px; left: 2%; height: 52px; background: linear-gradient(90deg, #7c3aed, #8b5cf6); border-color: transparent; color: #fff; box-shadow: 0 16px 40px -14px var(--glow); }
.files div.on .ico { color: #fff; }

/* A terminal that has just finished. */
.term { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #08060c; font-family: var(--mono); font-size: 13px; line-height: 1.8; }
.term .who { display: flex; align-items: center; gap: 10px; color: #fff; }
.term .who .logo { width: 18px; height: 18px; }
.term .out { margin-top: 10px; color: var(--text-2); }
.term .out b { color: var(--coral); font-weight: 600; } .term .out i { font-style: normal; color: var(--amber); } .term .out u { text-decoration: none; color: var(--mint); }
.term .cur { display: inline-block; width: 8px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--lav); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* A grid of check names, some lit. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
    display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
    border: 1px solid var(--line-2); border-radius: 11px; background: #0d0a13; font-size: 13px; color: var(--muted);
}
.chips span .ico { width: 14px; height: 14px; }
.chips span.on { color: #fff; border-color: var(--line-3); background: #15111d; }
.chips span.ghost { width: 90px; color: transparent; }

/* Status tiles and a progress bar. */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .02); }
.tile .ico { width: 17px; height: 17px; color: var(--lav); }
.tile b { display: block; font-size: 14px; font-weight: 600; }
.tile small { display: block; font-size: 12.5px; color: var(--muted); }
.progress { margin-top: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .02); }
.progress div { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.progress div span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--lav); }
.progress i { display: block; height: 3px; margin-top: 12px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.progress i::before { content: ""; display: block; height: 100%; width: 64%; border-radius: inherit; background: linear-gradient(90deg, var(--violet-d), var(--lav)); animation: fill 7s var(--ease) infinite; }
@keyframes fill { 0% { width: 8%; } 80%, 100% { width: 96%; } }

/* Severity tiers. */
.tiers-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.tiers-bar i { height: 3px; border-radius: 3px; }
.tiers-bar i:nth-child(1) { background: var(--mint); } .tiers-bar i:nth-child(2) { background: var(--amber); }
.tiers-bar i:nth-child(3) { background: var(--coral); } .tiers-bar i:nth-child(4) { background: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tier { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .02); }
.tier b { font-size: 14px; font-weight: 600; }
.tier small { grid-column: 2 / -1; font-size: 12.5px; color: var(--muted); }
.tier em { font-style: normal; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; }
.tier.t1 em { color: var(--mint); } .tier.t2 em { color: var(--amber); } .tier.t3 em { color: var(--coral); } .tier.t4 em { color: var(--text-2); }

/* Two rows of artifacts drifting in opposite directions. */
.marquee { display: grid; gap: 10px; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-row { display: flex; gap: 10px; width: max-content; animation: tl 48s linear infinite; }
.mq-row.rev { animation-direction: reverse; animation-duration: 56s; }
.mq-row span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--pill); background: #0e0a15; color: var(--text-2); font-size: 13.5px; white-space: nowrap; }
.mq-row span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lav-2); }


/* ---------------------------------------------------------- 10 sub-pages */

.page-hero { position: relative; isolation: isolate; padding: 170px 0 0; text-align: center; overflow: hidden; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.page-hero .title { margin-top: 26px; max-width: 18ch; font-size: clamp(40px, 5.6vw, 72px); }
.page-hero .lead { margin-top: 22px; }
.page-hero .actions { margin-top: 34px; justify-content: center; }
.page-hero .beams { opacity: .8; }

/* A glass console. */
.console { border: 1px solid var(--line-2); border-radius: 22px; background: linear-gradient(180deg, #0f0b16, #07050b); overflow: hidden; box-shadow: 0 50px 100px -50px rgba(109, 40, 217, .6); }
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.console-bar .dots { display: flex; gap: 7px; }
.console-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.console-bar b { color: #fff; font-weight: 600; }
.console-bar .live { display: inline-flex; align-items: center; gap: 8px; color: var(--lav); }
.log { list-style: none; padding: 18px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.95; }
.log li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; opacity: 0; animation: logline .45s var(--ease) forwards; }
.log .t { color: var(--dim); }
.log .m { color: var(--text-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log .r { text-align: right; color: var(--muted); }
.log .r.ok { color: var(--mint); } .log .r.part { color: var(--amber); } .log .r.hit { color: var(--coral); } .log .r.lav { color: var(--lav); }
@keyframes logline { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.log li:nth-child(1) { animation-delay: .1s; }  .log li:nth-child(2) { animation-delay: .3s; }  .log li:nth-child(3) { animation-delay: .5s; }
.log li:nth-child(4) { animation-delay: .7s; }  .log li:nth-child(5) { animation-delay: .9s; }  .log li:nth-child(6) { animation-delay: 1.1s; }
.log li:nth-child(7) { animation-delay: 1.3s; } .log li:nth-child(8) { animation-delay: 1.5s; } .log li:nth-child(9) { animation-delay: 1.7s; }
.log li:nth-child(10) { animation-delay: 1.9s; } .log li:nth-child(11) { animation-delay: 2.1s; } .log li:nth-child(12) { animation-delay: 2.3s; }
.console-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 12px 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* Lists inside glass cards. */
.rows { list-style: none; margin-top: 18px; }
.rows li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.rows li b { color: #fff; font-weight: 600; }
.rows li span { color: var(--text-2); }
.rows code, .card code, .entry code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--lav); font-size: 12.5px; overflow-wrap: anywhere; }

pre.code {
    margin: 0; padding: 22px 24px; overflow-x: auto;
    border: 1px solid var(--line-2); border-radius: 18px; background: #08060c;
    color: var(--text-2); font-size: 13.5px; line-height: 1.8;
}
pre.code code { font-size: inherit; }
pre.code .c { color: var(--dim); } pre.code .k { color: var(--lav); } pre.code .s { color: var(--mint); }

/* ---- detection catalogue ---------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.filters a { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--glass); color: var(--text-2); font-size: 14px; }
.filters a:hover { color: #fff; border-color: var(--lav-line); background: var(--lav-wash); }
.filters a span { font-family: var(--mono); font-size: 11px; color: var(--lav); }
.cat { scroll-margin-top: 110px; }
.cat + .cat { margin-top: 110px; }
.cat-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.cat-h .title-sm { margin-top: 14px; }
.cat-h p { max-width: 56ch; color: var(--text-2); }
.entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.entry {
    display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line-2); border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    transition: border-color var(--t2) var(--ease), transform var(--t2) var(--ease);
}
.entry:hover { border-color: var(--lav-line); transform: translateY(-2px); }
.entry .n { font-family: var(--mono); font-size: 11px; color: var(--lav); }
.entry h3 { margin-top: 10px; }
.entry .what { margin-top: 8px; color: var(--text-2); font-size: 14.5px; flex: 1; }
.entry .limit { display: flex; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(242, 195, 107, .06); border: 1px solid rgba(242, 195, 107, .14); color: var(--text-2); font-size: 13.5px; }
.entry .limit b { flex: 0 0 auto; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); padding-top: 2px; }

/* ---- schematics ------------------------------------------------------------- */

.fig { padding: 26px; border: 1px solid var(--line-2); border-radius: 24px; background: linear-gradient(180deg, #0e0a15, #07050b); }
.fig svg { width: 100%; height: auto; }
.fig-cap { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.s-box { fill: #120e19; stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.s-box-uv { fill: rgba(139, 92, 246, .1); stroke: rgba(196, 181, 253, .4); stroke-width: 1; }
.s-box-in { fill: #0b0810; stroke: rgba(255, 255, 255, .1); stroke-width: 1; }
.s-ttl { fill: #fff; font-family: var(--sans); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.s-sub { fill: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; }
.s-mono { fill: var(--text-2); font-family: var(--mono); font-size: 11.5px; }
.s-mono-uv { fill: var(--lav); font-family: var(--mono); font-size: 11.5px; }
.s-line { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1.25; }
.s-line-uv { fill: none; stroke: var(--lav-2); stroke-width: 1.5; stroke-dasharray: 5 6; animation: dash 1.4s linear infinite; }
.s-arrow { fill: rgba(255, 255, 255, .5); } .s-arrow-uv { fill: var(--lav-2); }
.s-note { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
.s-life { stroke: rgba(255, 255, 255, .12); stroke-width: 1; stroke-dasharray: 3 5; }
.s-head { fill: #fff; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; }
.s-msg { fill: var(--text); font-family: var(--sans); font-size: 13px; font-weight: 550; }
.s-step { fill: rgba(139, 92, 246, .18); stroke: var(--lav-2); stroke-width: 1; }
.s-step-t { fill: #fff; font-family: var(--mono); font-size: 11px; font-weight: 700; }
@keyframes dash { to { stroke-dashoffset: -22; } }

/* ---- property table as glass rows ------------------------------------------- */

.ptable { display: grid; gap: 10px; }
.prow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 4fr); gap: 24px; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--glass); }
.prow h3 { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.card-ic.sm { width: 32px; height: 32px; border-radius: 10px; }
.card-ic.sm .ico { width: 16px; height: 16px; }
.card .tier + p { margin-top: 14px; }
.prow p { color: var(--text-2); font-size: 14.5px; }
.prow .not { color: var(--muted); }
.prow .not::before { content: "Does not establish — "; color: var(--amber); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }


/* ----------------------------------------------------- 11 documentation */

.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 80px; }
.toc { position: sticky; top: 110px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--glass); }
.toc .kicker { display: block; margin-bottom: 10px; }
.toc ol { list-style: none; counter-reset: toc; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); font-size: 14px; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--dim); padding-top: 2px; }
.toc a:hover { color: #fff; background: var(--glass-2); }
.prose { max-width: 76ch; color: var(--text-2); font-size: 16px; line-height: 1.75; }
.prose > section { scroll-margin-top: 110px; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008)); }
.prose > section + section { margin-top: 20px; }
.prose .kicker { display: block; margin-bottom: 10px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.04em; margin-bottom: 18px; }
.prose h3 { margin: 30px 0 10px; font-size: 17px; color: #fff; }
.prose h3 code { font-size: 14.5px; background: none; padding: 0; color: var(--lav); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--lav-2); }
.prose strong { color: #fff; font-weight: 600; }
.prose code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--lav); font-size: .84em; }
.prose pre.code { margin: 0 0 20px; }
.prose pre.code code { background: none; padding: 0; color: inherit; font-size: inherit; }
.tbl-wrap { position: relative; overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl th { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .025); }
.tbl td strong { color: #fff; }
.tbl .sub { display: block; margin-top: 2px; }
.prose .tbl td:first-child { white-space: nowrap; }
.note { display: flex; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--lav-line); border-radius: 14px; background: var(--lav-wash); font-size: 15px; }
.note .ico { width: 18px; height: 18px; color: var(--lav); margin-top: 3px; }
.note.warn { border-color: rgba(242, 195, 107, .25); background: rgba(242, 195, 107, .06); }
.note.warn .ico { color: var(--amber); }
.note p { margin: 0; }
.role-chip { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lav); }


/* -------------------------------------------------------------- 12 footer */

.s-footer { position: relative; margin-top: 160px; border-top: 1px solid var(--line); overflow: hidden; }
.s-footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: 60%; height: 1px; transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--lav-2), transparent); }
.s-footer::after { content: ""; position: absolute; left: 50%; top: 0; width: 700px; height: 300px; transform: translateX(-50%); z-index: -1;
    background: radial-gradient(50% 60% at 50% 0%, rgba(109, 40, 217, .2), transparent 70%); pointer-events: none; }
.f-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px var(--gutter); padding: 72px 0 48px; }
.f-about { margin-top: 18px; max-width: 38ch; color: var(--text-2); font-size: 15px; }
.f-grid .btn { margin-top: 22px; }
.f-col h2 { margin-bottom: 16px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.f-col ul { list-style: none; display: grid; gap: 12px; }
.f-col a { color: var(--text); font-size: 15px; }
.f-col a:hover { color: var(--lav); }
.f-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.f-base span { display: inline-flex; align-items: center; gap: 8px; }
.wordmark {
    margin: 10px 0 -0.22em; text-align: center; font-size: clamp(72px, 17vw, 250px); font-weight: 800; letter-spacing: -.06em; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px rgba(196, 181, 253, .32);
    background: linear-gradient(180deg, rgba(196, 181, 253, .12), transparent 70%); -webkit-background-clip: text; background-clip: text;
    user-select: none; white-space: nowrap;
}


/* -------------------------------------------------------- 13 status pages */

.status-page { display: grid; place-items: center; min-height: 70vh; padding-top: 140px; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; max-width: 520px; }
.empty-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--lav-line); background: var(--lav-wash); color: var(--lav); }
.empty-icon .ico { width: 24px; height: 24px; }
.empty .eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--lav); }
.empty h1 { font-size: 52px; font-weight: 700; letter-spacing: -.05em; }
.empty p { color: var(--text-2); }
.empty code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--lav); }
.cluster { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }


/* ------------------------------------------------ 14 motion and responsive */

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .9s var(--ease) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .34s; } .rise.d5 { animation-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .tl-track, .mq-row { animation: none; }
    .beams i { animation: none; opacity: .35; }
    .log li { opacity: 1; animation: none; }
    .stepper::after { display: none; }
}

@media (max-width: 1080px) {
    .navbar { padding: 8px 12px; }
    .navbar-inner { display: flex; justify-content: space-between; max-width: none; width: 100%; min-height: 48px; padding: 6px 14px 6px 16px; }
    .navbar-scrolled .navbar-inner { max-width: none; padding: 6px 14px 6px 16px; border-radius: 20px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .04); }
    .navbar-center, .navbar-right { display: none; }
    .nav-mobile { display: block; }
    .navbar-logo { z-index: 9999; }
    .navbar-logo .logo { width: 24px; height: 24px; }
    .navbar-logo-text { font-size: 15px; margin-left: 6px; }
    .slabs { flex-direction: column; height: auto; }
    .slab { flex: none; height: 76px; }
    .slab.is-open { height: 460px; }
    .slab-spine { flex-direction: row; padding: 0 24px; }
    .slab-spine .nm { writing-mode: horizontal-tb; transform: none; }
    .bento .c-2, .bento .c-4 { grid-column: span 3; }
    .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .faq-head { position: static; }
    .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .toc { position: static; }
    .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv { grid-template-columns: minmax(0, 1fr); }
    .pv-side { display: none; }
}

@media (max-width: 820px) {
    :root { --gutter: 18px; }
    .hero { padding-top: 140px; }
    .page-hero { padding-top: 130px; }
    .sec { padding-top: 110px; }
    .sec-body { margin-top: 44px; }
    .trio { grid-template-columns: minmax(0, 1fr); }
    .trio > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 4px; }
    .stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .stepper::before, .stepper::after { display: none; }
    .band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .band > div:nth-child(2) { border-right: 0; }
    .band > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .bento { grid-template-columns: minmax(0, 1fr); }
    .bento .card { grid-column: auto; }
    .entries { grid-template-columns: minmax(0, 1fr); }
    .prow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .f-grid > :first-child { grid-column: 1 / -1; }
    .pv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-stat:nth-child(2) { border-right: 0; }
    .pv-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .pv-grid { grid-template-columns: minmax(0, 1fr); }
    .pv-grid > .pv-card:last-child { display: none; }
    .prose > section { padding: 24px 20px; }
}

@media (max-width: 520px) {
    .navbar { padding: 6px 8px; }
    .navbar-inner, .navbar-scrolled .navbar-inner { padding: 6px 10px 6px 12px; min-height: 42px; }
    .timeline { height: 190px; margin-top: 64px; }
    .icons-row { gap: 8px; }
    .icons-row i { width: 54px; height: 54px; border-radius: 14px; }
    .icons-row small { display: none; }
    .files div:nth-child(n) { left: 6%; }
    .files div.on { left: 0; }
    .tiles, .tiers { grid-template-columns: minmax(0, 1fr); }
    .card { padding: 22px 18px; }
    .slab-body { padding: 24px 20px; }
    .slab-art .hex { display: none; }
    .slab.is-open { height: 520px; }
    .log li { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 8px; font-size: 12px; }
    .rows li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .toc ol { grid-template-columns: minmax(0, 1fr); }
    .actions .btn { flex: 1 1 auto; }
    .final { padding: 64px 20px; }
    .pv-rows li { grid-template-columns: 60px minmax(0, 1fr) 90px; }
    .pv-rows .w { display: none; }
    .qa p { padding: 0 8px 22px 46px; }
}

@media print {
    .navbar, .s-footer, .beams, .timeline { display: none !important; }
}
