:root {
    color-scheme: dark;
    --void: #010102;
    --bg: #040507;
    --surface: #0a0c10;
    --surface-2: #101318;
    --surface-3: #171b22;
    --panel: rgba(8, 10, 14, 0.97);
    --panel-soft: rgba(10, 12, 16, 0.94);
    --panel-strong: rgba(4, 5, 8, 0.96);
    --panel-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006) 44%, transparent);
    --line: #252b34;
    --line-strong: #434b57;
    --text: #c8ced6;
    --copy: #9aa3ad;
    --muted: #8a939e;
    --faint: #5d6670;
    --green: #62c476;
    --cyan: #56aab0;
    --amber: #b88d3f;
    --red: #b85a52;
    --blueprint: rgba(111, 200, 207, 0.1);
    --green-soft: rgba(123, 216, 143, 0.13);
    --amber-soft: rgba(214, 166, 77, 0.14);
    --red-soft: rgba(217, 107, 98, 0.14);
    --shadow: 0 26px 70px rgba(0, 0, 0, 0.48), 0 0 36px rgba(123, 216, 143, 0.055);
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.32), 0 0 24px rgba(111, 200, 207, 0.045);
    --readability-shadow: 0 2px 18px rgba(0, 0, 0, 0.72), 0 0 22px rgba(123, 216, 143, 0.08);
    --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --sans: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --max: 1220px;
    --cyber-laser-cycle: 2.8s;
    --cyber-wobble-cycle: 14s;
    --cyber-wobble-burst: 0.85s;
    --cyber-border-travel: 8s;
    --cyber-border-width: 2px;
    --cyber-clip: polygon(
        0 12px,
        12px 0,
        calc(100% - 18px) 0,
        100% 18px,
        100% calc(100% - 12px),
        calc(100% - 12px) 100%,
        18px 100%,
        0 calc(100% - 18px)
    );
    --cyber-clip-sm: polygon(
        0 8px,
        8px 0,
        calc(100% - 10px) 0,
        100% 10px,
        100% calc(100% - 8px),
        calc(100% - 8px) 100%,
        10px 100%,
        0 calc(100% - 10px)
    );
    --cyber-clip-btn: polygon(
        0 6px,
        6px 0,
        calc(100% - 6px) 0,
        100% 6px,
        100% calc(100% - 6px),
        calc(100% - 6px) 100%,
        6px 100%,
        0 calc(100% - 6px)
    );
    --cyber-clip-form: polygon(
        0 8px,
        8px 0,
        calc(100% - 12px) 0,
        100% 12px,
        100% calc(100% - 8px),
        calc(100% - 8px) 100%,
        8px 100%,
        0 calc(100% - 8px)
    );
    --cyber-border: rgba(111, 200, 207, 0.28);
    --cyber-border-hover: rgba(98, 217, 130, 0.52);
    --cyber-tile-bg:
        linear-gradient(135deg, rgba(86, 170, 176, 0.04), rgba(8, 10, 14, 0.98) 52%),
        var(--panel);
    --cyber-tile-inset: inset 0 0 24px rgba(86, 170, 176, 0.025);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 4% -18%, rgba(98, 196, 118, 0.08), transparent 43rem),
        radial-gradient(circle at 96% -22%, rgba(184, 141, 63, 0.06), transparent 38rem),
        radial-gradient(circle at 76% 18%, rgba(86, 170, 176, 0.04), transparent 34rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 28rem),
        var(--bg);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.55;
    overflow-x: hidden;
}

body.is-lightbox-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 16%, transparent 66%, rgba(0, 0, 0, 0.74)),
        radial-gradient(ellipse at center, transparent 0, transparent 44%, rgba(0, 0, 0, 0.78) 100%),
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px) 0 0 / 100% 4px;
    opacity: 0.92;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea,
summary {
    font: inherit;
}

.mono {
    font-family: var(--mono);
}

.matrix-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.matrix-layer::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(90deg, rgba(98, 196, 118, 0.03) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(180deg, rgba(86, 170, 176, 0.02) 0 1px, transparent 1px 58px);
    opacity: 0.48;
    content: "";
}

.matrix-layer__canvas {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.34;
}

.matrix-layer__glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at 18% 22%, rgba(123, 216, 143, 0.12), transparent 30rem),
        radial-gradient(circle at 78% 18%, rgba(111, 200, 207, 0.1), transparent 26rem),
        radial-gradient(circle at 48% 108%, rgba(123, 216, 143, 0.07), transparent 34rem),
        linear-gradient(90deg, rgba(3, 4, 5, 0.74), rgba(3, 4, 5, 0.16) 30%, rgba(3, 4, 5, 0.12) 70%, rgba(3, 4, 5, 0.74)),
        linear-gradient(180deg, rgba(3, 4, 5, 0.54), rgba(3, 4, 5, 0.045) 34%, rgba(3, 4, 5, 0.62));
}

.page-main,
.site-footer {
    position: relative;
    z-index: 2;
}

/* Command rail — single authoritative sticky navigation chrome */
.command-rail {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(6, 8, 11, 0.9), rgba(6, 8, 11, 0.74));
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    transition: background 220ms ease, box-shadow 220ms ease;
}

.command-rail::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(123, 216, 143, 0.55) 18%,
        rgba(111, 200, 207, 0.45) 50%,
        rgba(214, 166, 77, 0.4) 82%,
        transparent
    );
    opacity: 0.88;
    filter: drop-shadow(0 0 10px rgba(123, 216, 143, 0.22));
}

.command-rail.is-scrolled {
    background: linear-gradient(180deg, rgba(4, 6, 8, 0.97), rgba(4, 6, 8, 0.9));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.46);
}

.rail-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(var(--max), calc(100% - 40px));
    min-height: 58px;
    margin: 0 auto;
}

.rail-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-weight: 900;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.rail-mark {
    display: block;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(98, 217, 130, 0.42);
    border-radius: 50%;
    background: #000;
    box-shadow: 0 0 16px rgba(98, 217, 130, 0.14);
    object-fit: cover;
}

.rail-word {
    font-size: 0.96rem;
}

.rail-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    margin-left: auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.rail-nav::-webkit-scrollbar {
    display: none;
}

.btn,
.segment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    text-decoration: none;
    white-space: nowrap;
}

.rail-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 0;
    clip-path: var(--cyber-clip-btn);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.rail-link::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.rail-link:hover {
    border-color: rgba(111, 200, 207, 0.28);
    background: rgba(111, 200, 207, 0.06);
    box-shadow: inset 0 0 16px rgba(111, 200, 207, 0.05);
    color: var(--text);
}

.rail-link--active {
    border-color: rgba(98, 217, 130, 0.35);
    background: rgba(123, 216, 143, 0.08);
    color: var(--green);
}

.rail-link:hover::after,
.rail-link--active::after {
    transform: scaleX(1);
}

.rail-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
    border-left: 1px solid var(--line);
    color: var(--faint);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(98, 217, 130, 0.5);
    animation: rail-pulse 2600ms ease-out infinite;
}

@keyframes rail-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(98, 217, 130, 0.5);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(98, 217, 130, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(98, 217, 130, 0);
    }
}

.hero,
.status-hero {
    width: min(var(--max), calc(100% - 40px));
    min-height: calc(100svh - 58px);
    margin: 0 auto;
    padding: 44px 0 54px;
}

.hero-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
}

.brand-mark {
    display: block;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 4px;
    border: 1px solid rgba(98, 217, 130, 0.46);
    border-radius: 0;
    background: rgba(98, 217, 130, 0.1);
    clip-path: var(--cyber-clip-sm);
    object-fit: contain;
}

.hero-nav nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.hero-nav nav a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.hero-nav nav a:hover {
    color: var(--text);
}

.hero-text,
.status-copy,
.tool-hero-copy {
    position: relative;
    text-shadow: var(--readability-shadow);
}

.hero-text::before,
.status-copy::before,
.tool-hero-copy::before {
    content: "";
    position: absolute;
    inset: -28px 0 -30px;
    z-index: -1;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(3, 4, 5, 0.84), rgba(3, 4, 5, 0.54) 62%, transparent);
    box-shadow: 0 0 34px rgba(3, 4, 5, 0.62);
    filter: blur(2px);
}

.draft-notice {
    margin: 0 0 22px;
    padding: 13px 15px;
    border: 1px solid rgba(214, 166, 77, 0.42);
    border-radius: 0;
    background: rgba(214, 166, 77, 0.11);
    clip-path: var(--cyber-clip-sm);
    color: #f1d79b;
    font-family: var(--mono);
    font-size: 0.82rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    align-items: center;
    gap: 26px;
}

.status-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
    align-items: center;
    gap: 42px;
    min-height: calc(100svh - 190px);
}

.hero-eyebrow,
.section-eyebrow {
    margin: 0 0 14px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(98, 196, 118, 0.18);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    color: var(--text);
    font-size: 5.8rem;
    line-height: 0.96;
    letter-spacing: 0;
}

h2 {
    max-width: 900px;
    margin-bottom: 0;
    color: var(--text);
    font-size: 3rem;
    line-height: 1.05;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1.12rem;
    line-height: 1.28;
    letter-spacing: 0;
}

.page-main h2,
.page-main h3,
.cyber-heading {
    font-family: var(--mono);
    letter-spacing: 0.03em;
}

.page-main .section-header > p:not(.section-eyebrow),
.page-main .system-card p,
.page-main .status-card p,
.page-main .channel-card p,
.page-main .doc-card p,
.page-main .workflow-card p,
.page-main .legal-card p,
.page-main .legal-panel p,
.page-main .product-card-body p,
.page-main .product-pain,
.page-main .contact-section .section-header > p,
.page-main .void-cta p:not(.section-eyebrow),
.page-main .tool-panel p,
.page-main .tool-note-card p,
.page-main .tool-step-card p,
.page-main .status-copy p {
    font-family: var(--mono);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.58;
    letter-spacing: 0.02em;
    color: var(--copy);
}

.page-main .section-header > p:not(.section-eyebrow) {
    font-size: 0.92rem;
}

.glitch-text {
    position: relative;
    display: block;
    font-family: var(--mono);
    letter-spacing: 0.04em;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    overflow: hidden;
    color: var(--text);
    pointer-events: none;
    opacity: 0;
}

.glitch-text.is-glitching::before {
    transform: translate(2px, 0);
    clip-path: inset(0 0 54% 0);
    color: var(--cyan);
    opacity: 0.75;
    animation: glitch-a 520ms steps(2, end) 2;
}

.glitch-text.is-glitching::after {
    transform: translate(-2px, 0);
    clip-path: inset(46% 0 0 0);
    color: var(--red);
    opacity: 0.75;
    animation: glitch-b 620ms steps(2, end) 2;
}

.hero-title-accent {
    display: block;
    color: var(--green);
    text-shadow: 0 0 12px rgba(98, 196, 118, 0.16);
}

.hero-claim {
    max-width: 44rem;
    color: var(--text);
    font-family: var(--mono);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.03em;
}

.cyber-heading {
    position: relative;
    padding-left: 18px;
    font-weight: 800;
}

.cyber-wobble {
    display: inline-block;
    animation: cyber-wobble var(--cyber-wobble-cycle) ease-in-out infinite;
}

.cyber-spark {
    position: relative;
    display: inline-block;
}

.cyber-spark::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(86, 170, 176, 0.45);
    opacity: 0;
    animation: cyber-spark-line var(--cyber-wobble-cycle) linear infinite;
}

.cyber-heading::before {
    content: "";
    position: absolute;
    top: 0.14em;
    bottom: 0.14em;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--green), var(--cyan));
    clip-path: polygon(0 10px, 100% 0, 100% calc(100% - 10px), 0 100%);
    box-shadow: 0 0 12px rgba(123, 216, 143, 0.35);
}

.cyber-heading--sm {
    font-size: 1.65rem;
    margin-bottom: 14px;
}

.cyber-brief {
    position: relative;
    max-width: 44rem;
    margin-top: 18px;
    padding: 1rem 1.2rem 1.35rem;
    border: 1px solid rgba(111, 200, 207, 0.28);
    background:
        linear-gradient(135deg, rgba(111, 200, 207, 0.07), rgba(14, 17, 23, 0.94) 48%),
        var(--panel);
    clip-path: polygon(
        0 14px,
        14px 0,
        calc(100% - 22px) 0,
        100% 22px,
        100% calc(100% - 14px),
        calc(100% - 14px) 100%,
        22px 100%,
        0 calc(100% - 22px)
    );
    box-shadow: inset 0 0 28px rgba(111, 200, 207, 0.04), var(--shadow-soft);
    overflow: hidden;
}


.cyber-brief--lead {
    max-width: 52rem;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(111, 200, 207, 0.028) 3px,
            rgba(111, 200, 207, 0.028) 4px
        ),
        linear-gradient(135deg, rgba(111, 200, 207, 0.09), rgba(14, 17, 23, 0.96) 52%),
        var(--panel);
}

.cyber-brief__sweep {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(111, 200, 207, 0.14), rgba(123, 216, 143, 0.1), transparent);
    transform: translateX(-110%);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.cyber-brief--lead:has(.cyber-laser.is-scanning) .cyber-brief__sweep {
    animation: brief-scan-once var(--cyber-laser-cycle) ease-in-out forwards;
}

.cyber-brief--lead .cyber-laser {
    position: relative;
    z-index: 3;
}

.cyber-brief--lead .cyber-laser__text {
    font-family: var(--mono);
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.58;
}

.cyber-brief--lead .cyber-laser__base {
    color: rgba(111, 200, 207, 0.34);
    text-shadow: 0 0 10px rgba(111, 200, 207, 0.12);
}

.cyber-brief--lead .cyber-laser__reveal {
    color: var(--text);
    text-shadow:
        0 0 14px rgba(111, 200, 207, 0.22),
        0 0 26px rgba(123, 216, 143, 0.14);
}

.cyber-prompt {
    color: var(--green);
    font-weight: 900;
    text-shadow: 0 0 12px rgba(123, 216, 143, 0.45);
}

.cyber-token {
    color: var(--cyan);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(86, 170, 176, 0.2);
}

.cyber-laser--inline {
    display: block;
}

.cyber-laser--inline .cyber-laser__text {
    font-size: 1.06rem;
    font-weight: 500;
}

.cyber-glow-frame {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    isolation: isolate;
    clip-path: polygon(
        0 8%,
        8% 0,
        92% 0,
        100% 8%,
        100% 92%,
        92% 100%,
        8% 100%,
        0 92%
    );
}

.cyber-glow-frame--fill {
    width: 100%;
}

.overview-grid > .cyber-glow-frame {
    min-width: 0;
}

.cyber-border-beam {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.cyber-border-beam__track {
    opacity: 0.28;
    transition: opacity 280ms ease;
}

.cyber-glow-frame.is-glow-active .cyber-border-beam__track {
    opacity: 0.52;
}

.cyber-border-beam__pulse {
    stroke-dasharray: 7 93;
    stroke-dashoffset: -100;
    opacity: 0;
    animation: none;
    filter:
        drop-shadow(0 0 3px rgba(111, 200, 207, 0.95))
        drop-shadow(0 0 7px rgba(123, 216, 143, 0.55));
    transition: opacity 180ms ease;
}

.cyber-border-beam__pulse.is-active {
    opacity: 1;
}

.cyber-glow-portal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 140;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 120ms ease;
}

.cyber-glow-portal.is-visible {
    opacity: 1;
}

.cyber-glow-portal__orb {
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--green);
    box-shadow:
        0 0 10px rgba(111, 200, 207, 0.95),
        0 0 22px rgba(123, 216, 143, 0.75),
        0 0 36px rgba(123, 216, 143, 0.35);
}

.cyber-glow-portal__trail {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 2px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(111, 200, 207, 0.15), rgba(111, 200, 207, 0.95), rgba(123, 216, 143, 1));
    box-shadow: 0 0 10px rgba(123, 216, 143, 0.55);
    opacity: 0.9;
}

.cyber-glow-surface {
    position: relative;
    z-index: 1;
    margin: var(--cyber-border-width);
    overflow: hidden;
    border: 0;
    box-shadow: none;
    clip-path: none;
}

.cyber-glow-frame .cyber-metric-card.cyber-glow-surface {
    background:
        linear-gradient(135deg, rgba(111, 200, 207, 0.07), rgba(14, 17, 23, 0.94) 52%),
        var(--panel);
}

.cyber-glow-frame .cyber-brief.cyber-glow-surface {
    background:
        linear-gradient(135deg, rgba(111, 200, 207, 0.07), rgba(14, 17, 23, 0.94) 48%),
        var(--panel);
}

.cyber-glow-frame .cyber-brief.cyber-glow-surface.cyber-brief--lead {
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(111, 200, 207, 0.028) 3px,
            rgba(111, 200, 207, 0.028) 4px
        ),
        linear-gradient(135deg, rgba(111, 200, 207, 0.09), rgba(14, 17, 23, 0.96) 52%),
        var(--panel);
}

.cyber-glow-frame .glitch-card.cyber-glow-surface {
    background: var(--glitch-form-bg);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.45);
}

.cyber-brief__tag {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 4;
    padding: 3px 9px;
    border-top: 1px solid rgba(123, 216, 143, 0.35);
    border-left: 1px solid rgba(123, 216, 143, 0.35);
    background: rgba(6, 8, 11, 0.92);
    color: var(--green);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.cyber-laser {
    position: relative;
    overflow: hidden;
}

.cyber-laser__text {
    position: relative;
    margin: 0;
    font-family: var(--mono);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.hero-text .cyber-laser__text {
    font-size: 1.28rem;
    line-height: 1.35;
}

.cyber-laser__base {
    display: block;
    color: var(--faint);
}

.cyber-laser__reveal {
    position: absolute;
    inset: 0;
    display: block;
    color: var(--text);
    text-shadow: 0 0 10px rgba(98, 196, 118, 0.16);
    clip-path: inset(0 100% 0 0);
}

.cyber-laser__beam {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -2%;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--cyan), var(--green), transparent);
    box-shadow: 0 0 16px rgba(111, 200, 207, 0.85), 0 0 30px rgba(123, 216, 143, 0.35);
    opacity: 0;
    pointer-events: none;
}

.cyber-laser.is-scanning .cyber-laser__reveal {
    animation: cyber-text-reveal-once var(--cyber-laser-cycle) ease-in-out forwards;
}

.cyber-laser.is-scanning .cyber-laser__beam {
    animation: cyber-laser-beam-once var(--cyber-laser-cycle) ease-in-out forwards;
}

.cyber-laser.is-scanned .cyber-laser__reveal {
    clip-path: inset(0 0 0 0);
}

.cyber-laser.is-scanned .cyber-laser__beam {
    opacity: 0;
}

.cyber-scan-list {
    display: grid;
    gap: 12px;
    max-width: 920px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cyber-scan-list__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-left: 3px solid rgba(123, 216, 143, 0.45);
    background:
        var(--panel-sheen),
        rgba(10, 12, 16, 0.9);
}

.cyber-scan-list__index {
    display: inline-block;
    min-width: 2.6rem;
    padding: 5px 12px 5px 8px;
    border: 1px solid rgba(111, 200, 207, 0.45);
    background: rgba(111, 200, 207, 0.1);
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 900;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

.cyber-scan-list__body h3 {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.cyber-scan-list__body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.cyber-panel .cyber-brief {
    max-width: none;
    margin-top: 10px;
}

.slogan-wrap {
    height: 4.2rem;
    max-width: 42rem;
    overflow: hidden;
    color: var(--muted);
}

.slogan-track {
    transition: transform 420ms ease;
}

.slogan-item {
    display: flex;
    min-height: 4.2rem;
    align-items: flex-start;
    margin: 0;
    font-size: 1.06rem;
    color: var(--muted);
}

.status-lede {
    max-width: 48rem;
    color: var(--muted);
    font-size: 1.06rem;
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.btn {
    padding: 0 18px;
    border: 1px solid rgba(111, 200, 207, 0.38);
    border-radius: 0;
    background: rgba(8, 10, 14, 0.88);
    box-shadow: inset 0 0 18px rgba(111, 200, 207, 0.04);
    clip-path: var(--cyber-clip-btn);
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.segment:hover,
.text-link:hover {
    transform: translateY(-1px);
}

.btn-primary {
    border-color: rgba(98, 217, 130, 0.72);
    background:
        linear-gradient(135deg, rgba(123, 216, 143, 0.96), rgba(98, 217, 130, 0.82)),
        var(--green);
    box-shadow: 0 0 22px rgba(98, 217, 130, 0.28), inset 0 0 18px rgba(255, 255, 255, 0.14);
    color: #061008;
}

.btn-primary:hover {
    border-color: rgba(98, 217, 130, 0.9);
    box-shadow: 0 0 30px rgba(98, 217, 130, 0.38), inset 0 0 22px rgba(255, 255, 255, 0.16);
}

.btn-ghost {
    border-color: rgba(123, 216, 143, 0.32);
    background: rgba(6, 8, 11, 0.82);
    box-shadow: inset 0 0 20px rgba(111, 200, 207, 0.04);
    color: var(--green);
}

.btn-ghost:hover {
    border-color: rgba(123, 216, 143, 0.68);
    background: rgba(123, 216, 143, 0.08);
    box-shadow: 0 0 24px rgba(123, 216, 143, 0.18), inset 0 0 22px rgba(123, 216, 143, 0.06);
    color: var(--text);
}

.btn-small {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
}

.hero-console {
    border: 1px solid rgba(123, 216, 143, 0.32);
    border-radius: 0;
    background: var(--cyber-tile-bg);
    box-shadow: var(--cyber-tile-inset), var(--shadow), inset 0 0 70px rgba(111, 200, 207, 0.025);
    clip-path: var(--cyber-clip);
    overflow: hidden;
}

.console-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.console-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 18px rgba(98, 217, 130, 0.9);
}

.status-row {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 14px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(43, 52, 64, 0.82);
    color: var(--muted);
}

.status-row strong {
    color: var(--text);
    font-weight: 750;
}

.console-preview {
    padding: 14px;
}

.console-preview img,
.featured-thumb img,
.hero-showcase img {
    width: 100%;
    border: 1px solid rgba(89, 98, 113, 0.72);
    border-radius: 0;
    background: #080a0f;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36);
}

.console-note {
    display: grid;
    gap: 7px;
    padding: 15px 14px;
    color: var(--muted);
}

.console-note strong {
    color: var(--green);
}

.hero-showcase {
    display: grid;
    justify-self: end;
    gap: 10px;
    width: min(100%, 520px);
    padding: 12px;
    border: 1px solid rgba(123, 216, 143, 0.32);
    border-radius: 0;
    background: var(--cyber-tile-bg);
    box-shadow: var(--cyber-tile-inset), var(--shadow-soft), 0 0 32px rgba(123, 216, 143, 0.08);
    clip-path: var(--cyber-clip);
    opacity: 0.95;
}

.showcase-label {
    color: var(--faint);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.live-slider {
    position: relative;
    display: grid;
    gap: 10px;
}

.live-slider__stage {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border: 1px solid var(--cyber-border);
    border-radius: 0;
    background: #080a0f;
    clip-path: var(--cyber-clip);
    contain: layout style paint;
}

.live-slide {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 280ms ease, filter 280ms ease;
}

.live-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 3;
}

.live-slide.is-leaving {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    z-index: 2;
    filter: saturate(0.75);
}

.live-slide.is-glitching .live-slide__media img {
    animation: cyber-glitch-image 420ms steps(2, end);
}

.live-slide.is-glitching .live-slide__title {
    animation: cyber-glitch-text 420ms steps(2, end);
}

.live-slide__media {
    position: relative;
    display: block;
    overflow: hidden;
}

.live-slide__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 320ms ease, filter 320ms ease;
}

.live-slide__media:hover img {
    transform: scale(1.02);
    filter: saturate(1.08);
}

.live-slide__glitch {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0, rgba(123, 216, 143, 0.12) 45%, transparent 100%),
        repeating-linear-gradient(0deg, rgba(111, 200, 207, 0.08) 0 2px, transparent 2px 4px);
    opacity: 0;
    mix-blend-mode: screen;
}

.live-slide.is-glitching .live-slide__glitch {
    animation: cyber-glitch-scan 420ms ease;
}

.live-slide__copy {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 14px 14px 12px;
    border-top: 1px solid var(--line);
    background:
        var(--panel-sheen),
        rgba(10, 12, 16, 0.94);
}

.live-slide__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tt-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    flex: none;
}

.live-slide__category .tt-icon {
    color: var(--green);
}

.live-slide__title {
    margin: 0;
    min-height: 2.45em;
    font-size: 1.35rem;
    line-height: 1.2;
}

.live-slide__caption {
    margin: 0;
    min-height: 2.9em;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.live-slide__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
}

.live-slide__status {
    color: var(--amber);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.live-slider__chrome {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.live-slider__arrow {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--cyber-border);
    border-radius: 0;
    background: rgba(10, 12, 16, 0.9);
    clip-path: var(--cyber-clip-sm);
    color: var(--green);
    cursor: pointer;
    font-family: var(--mono);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.live-slider__arrow:hover {
    border-color: rgba(123, 216, 143, 0.55);
    box-shadow: 0 0 16px rgba(123, 216, 143, 0.18);
}

.live-slider__dots {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    max-width: 220px;
}

.live-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(125, 135, 147, 0.55);
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.live-slider__dot.is-active {
    background: var(--green);
    box-shadow: 0 0 12px rgba(123, 216, 143, 0.45);
    transform: scale(1.2);
}

.live-slider__counter {
    justify-self: end;
    color: var(--faint);
    font-size: 0.72rem;
    font-weight: 900;
}

.product-ticker {
    position: relative;
    z-index: 12;
    display: flex;
    align-items: center;
    min-height: 3rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(8, 10, 14, 0.94);
}

.product-ticker__wrap {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 3rem;
    overflow: hidden;
}

.product-ticker__track {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 3rem;
    line-height: 1;
    white-space: nowrap;
    animation: ticker-scroll 42s linear infinite;
}

.product-ticker__wrap:hover .product-ticker__track {
    animation-play-state: paused;
}

.product-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    height: 3rem;
    padding: 0 0.95rem;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: color 160ms ease, text-shadow 160ms ease;
}

.product-ticker__item:hover {
    color: var(--green);
    text-shadow: 0 0 14px rgba(123, 216, 143, 0.35);
}

.product-ticker__item .tt-icon {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    color: var(--cyan);
}

.product-ticker__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 1rem;
    line-height: 1;
}

.product-ticker__name {
    letter-spacing: 0.01em;
    line-height: 1.15;
}

.product-ticker__meta {
    color: var(--faint);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.product-ticker__sep {
    display: inline-flex;
    align-items: center;
    align-self: center;
    height: 3rem;
    padding: 0 0.35rem;
    color: var(--green);
    font-size: 0.72rem;
    line-height: 1;
    opacity: 0.55;
}

.page-glitch[hidden] {
    display: none !important;
    pointer-events: none !important;
}

.page-glitch {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(123, 216, 143, 0.12), transparent 42%),
        rgba(3, 4, 5, 0.94);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.page-glitch.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    animation: page-glitch-in 520ms ease forwards;
}

.page-glitch__scan,
.page-glitch__noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-glitch__scan {
    background:
        repeating-linear-gradient(180deg, rgba(123, 216, 143, 0.08) 0 2px, transparent 2px 6px),
        linear-gradient(90deg, transparent, rgba(111, 200, 207, 0.16), transparent);
    mix-blend-mode: screen;
    animation: page-glitch-scan 620ms steps(6, end);
}

.page-glitch__noise {
    opacity: 0.35;
    background-image:
        linear-gradient(90deg, rgba(217, 107, 98, 0.18) 1px, transparent 1px),
        linear-gradient(rgba(111, 200, 207, 0.12) 1px, transparent 1px);
    background-size: 3px 100%, 100% 3px;
    animation: page-glitch-noise 180ms steps(3, end) infinite;
}

.page-glitch__label {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--green);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: cyber-glitch-text 620ms steps(3, end);
}

.page-glitch__label .tt-icon {
    margin-right: 8px;
    color: var(--cyan);
}

.overview,
.section,
.void-cta {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.overview {
    padding: 0 0 64px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 10px 8px 14px;
}

.overview-card,
.system-card,
.status-card,
.channel-card,
.source-state-card,
.product-card,
.preview-card,
.doc-card,
.workflow-card,
.legal-card,
.legal-panel,
.visual-card,
.featured-card,
.pain-card,
.payoff-card,
.slide-stage,
.tool-hero-media,
.tool-local-nav,
.tool-panel,
.tool-note-card,
.tool-step-card,
.tool-architecture-step,
.tool-capability-card,
.tool-dossier-card,
.tool-action-card,
.tool-signal-card,
.tool-context-panel,
.tool-fact,
.embed-card,
.tool-resource-card,
.related-card,
.profile-console,
.profile-signal-card,
.profile-skill-card,
.profile-experience-card,
.profile-education-card,
.profile-evidence-card,
.profile-fit-card,
.profile-anchor-card,
.contact-panel,
.contact-route-card {
    position: relative;
    border: 1px solid var(--cyber-border);
    border-radius: 0;
    background: var(--cyber-tile-bg);
    box-shadow: var(--cyber-tile-inset), var(--shadow-soft);
    clip-path: var(--cyber-clip);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.overview-card {
    padding: 22px;
    text-align: center;
}

.cyber-metric-card {
    border-color: var(--cyber-border);
    background: var(--cyber-tile-bg);
    box-shadow: var(--cyber-tile-inset), var(--shadow-soft);
    clip-path: var(--cyber-clip);
    padding: 22px 18px 30px;
}

.cyber-metric-card__tag {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 4;
    padding: 3px 9px;
    border-top: 1px solid rgba(123, 216, 143, 0.35);
    border-left: 1px solid rgba(123, 216, 143, 0.35);
    background: rgba(6, 8, 11, 0.92);
    color: var(--green);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.overview-value {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-shadow: 0 0 12px rgba(98, 196, 118, 0.14);
}

.cyber-metric-card .overview-value {
    position: relative;
    z-index: 3;
    font-size: 2.15rem;
}

.overview-card p,
.cyber-metric-card__label {
    position: relative;
    z-index: 3;
    margin: 0;
    color: var(--copy);
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.section {
    padding: 86px 0;
}

.section-tight {
    padding-top: 34px;
}

.section-header {
    display: grid;
    gap: 12px;
    margin-bottom: 34px;
}

.section-header p:not(.section-eyebrow):not(.cyber-laser__text) {
    max-width: 740px;
    margin-bottom: 0;
}

.section-header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.system-grid,
.status-grid,
.source-state-grid,
.channel-grid,
.visual-grid,
.preview-grid,
.doc-grid,
.workflow-grid,
.legal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.system-card,
.status-card,
.source-state-card,
.channel-card,
.preview-card,
.doc-card,
.workflow-card,
.legal-card {
    padding: 20px;
}

.card-index,
.workflow-step {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 4px 10px;
    border: 1px solid rgba(111, 200, 207, 0.35);
    background: rgba(6, 8, 11, 0.9);
    clip-path: polygon(0 4px, 4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%);
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.system-card p,
.status-card p,
.source-state-card p,
.channel-card p,
.preview-card p,
.doc-card p,
.workflow-card p,
.legal-card p,
.product-card p,
.featured-card p,
.legal-panel p,
.legal-panel li {
    color: var(--muted);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.status-section {
    padding-top: 22px;
}

.status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-card {
    padding: 20px;
}

.status-card strong {
    display: block;
    margin-bottom: 12px;
    color: var(--green);
    line-height: 1.25;
}

.source-state-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.source-state-card {
    min-height: 176px;
    padding: 20px;
}

.source-state-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.source-state-card strong {
    display: block;
    margin-bottom: 12px;
    color: var(--green);
    font-family: var(--mono);
    font-size: 1.45rem;
    line-height: 1.15;
}

.channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.channel-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    padding: 22px;
}

.channel-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(123, 216, 143, 0.78), rgba(111, 200, 207, 0.16) 58%, transparent);
    box-shadow: 0 0 32px rgba(123, 216, 143, 0.28);
}

.channel-card--marketplace::before {
    background:
        linear-gradient(180deg, rgba(214, 166, 77, 0.86), rgba(123, 216, 143, 0.16) 58%, transparent);
    box-shadow: 0 0 32px rgba(214, 166, 77, 0.24);
}

.channel-card--company::before {
    background:
        linear-gradient(180deg, rgba(111, 200, 207, 0.76), rgba(214, 166, 77, 0.16) 58%, transparent);
    box-shadow: 0 0 32px rgba(111, 200, 207, 0.22);
}

.channel-card h3 {
    max-width: 12rem;
}

.channel-card .btn {
    margin-top: 12px;
}

.visual-section {
    padding-top: 42px;
}

.visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visual-card {
    display: grid;
    grid-template-columns: minmax(160px, 0.34fr) minmax(0, 0.66fr);
    overflow: hidden;
}

.visual-image {
    border-right: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(111, 200, 207, 0.035) 1px, transparent 1px) 0 0 / 34px 34px,
        linear-gradient(rgba(111, 200, 207, 0.03) 1px, transparent 1px) 0 0 / 34px 34px,
        #080a0f;
}

.visual-image img {
    width: 100%;
    height: 100%;
    min-height: 176px;
    object-fit: cover;
    opacity: 0.82;
}

.visual-copy {
    padding: 20px;
}

.visual-copy p {
    color: var(--muted);
}

.visual-copy .text-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.visual-copy .text-link:hover {
    color: var(--green);
}

.product-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 240px;
    min-width: 0;
    border-right: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 38%, rgba(86, 170, 176, 0.07), transparent 58%),
        #06080c;
    padding: 12px 10px;
}

.product-thumb img,
.product-thumb svg,
.product-thumb__art {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
    flex: 1 1 auto;
    object-fit: cover;
    object-position: center;
}

.product-card-body {
    padding: 18px 20px 20px;
}

.product-pain {
    margin: 0 0 10px;
    color: var(--amber);
    font-size: 0.88rem;
    font-style: italic;
}

.product-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.product-signal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 8px;
    border: 1px solid rgba(111, 200, 207, 0.22);
    background: rgba(6, 8, 11, 0.72);
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.product-signal span {
    color: var(--cyan);
    font-family: var(--mono);
    font-weight: 900;
    text-transform: uppercase;
}

.product-source-facts {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(43, 52, 64, 0.82);
}

.product-source-facts div {
    display: grid;
    gap: 4px;
}

.product-source-facts dt {
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-source-facts dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.pain-payoff-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pain-card,
.payoff-card {
    padding: 26px;
}

.pain-card {
    border-color: rgba(214, 166, 77, 0.42);
    box-shadow: inset 0 0 28px rgba(214, 166, 77, 0.04), var(--shadow-soft);
}

.payoff-card {
    border-color: rgba(123, 216, 143, 0.42);
    box-shadow: inset 0 0 28px rgba(123, 216, 143, 0.04), var(--shadow-soft);
}

.pain-card h3,
.payoff-card h3 {
    margin-bottom: 14px;
    font-size: 1.65rem;
}

.pain-card p,
.payoff-card p {
    color: var(--muted);
}

.deliver-list {
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.deliver-list li + li {
    margin-top: 8px;
}

.pain-prose,
.payoff-prose {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.68;
}

.pain-prose p,
.payoff-prose p {
    margin: 0;
}

.pain-prose p + p,
.payoff-prose p + p {
    margin-top: 14px;
}

.pain-signals {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(214, 166, 77, 0.18);
}

.payoff-card .deliver-list {
    padding-top: 14px;
    border-top: 1px solid rgba(123, 216, 143, 0.18);
}

.brief-list-label {
    margin: 0 0 10px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(214, 166, 77, 0.72);
}

.pain-signals ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.pain-signals li + li {
    margin-top: 8px;
}

.pain-card .cyber-brief--lead,
.payoff-card .cyber-brief--lead {
    margin-top: 0;
}

.slide-gallery {
    display: grid;
    gap: 16px;
}

.slide-stage {
    margin: 0;
    overflow: hidden;
    background: #080a0f;
    box-shadow: var(--shadow);
}

.slide-stage-button {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.slide-stage-button:focus-visible {
    outline: 1px solid var(--green);
    outline-offset: -2px;
}

.slide-stage-button img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #080a0f;
}

.slide-stage-open-hint {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(111, 200, 207, 0.5);
    background: rgba(3, 5, 8, 0.78);
    color: var(--faint);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
}

.slide-stage-copy {
    display: grid;
    gap: 8px;
    padding: 18px 20px 20px;
    border-top: 1px solid var(--line);
    background:
        var(--panel-sheen),
        var(--panel);
}

.slide-role {
    color: var(--cyan);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.slide-stage-copy strong {
    font-size: 1.2rem;
    line-height: 1.35;
}

.slide-stage-copy p {
    margin: 0;
    color: var(--muted);
}

.slide-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
}

.slide-thumb {
    flex: 0 0 168px;
    display: grid;
    gap: 6px;
    padding: 0;
    border: 1px solid var(--cyber-border);
    border-radius: 0;
    background: #080a0f;
    clip-path: var(--cyber-clip-sm);
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.slide-thumb.is-active {
    border-color: rgba(123, 216, 143, 0.68);
    box-shadow: 0 0 22px rgba(123, 216, 143, 0.2), inset 0 0 16px rgba(123, 216, 143, 0.06);
}

.slide-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    opacity: 0.82;
}

.slide-thumb-label {
    padding: 0 8px 8px;
    color: var(--faint);
    font-size: 0.68rem;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
}

.slide-lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 26px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease;
}

.slide-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.slide-lightbox[hidden] {
    display: none;
}

.slide-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 4, 0.95);
}

.slide-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(1300px, 100%);
    max-height: min(86svh, 100%);
    display: grid;
    gap: 12px;
    border: 1px solid var(--cyber-border);
    background: var(--panel);
    box-shadow: 0 24px 80px rgba(1, 2, 3, 0.62);
    padding: 14px;
    overflow: auto;
}

.slide-lightbox__panel img {
    width: 100%;
    max-height: min(66svh, 780px);
    object-fit: contain;
    background: #080a0f;
}

.slide-lightbox__copy {
    display: grid;
    gap: 8px;
    padding: 6px 4px 2px;
}

.slide-lightbox__copy strong {
    font-size: 1.2rem;
    line-height: 1.35;
}

.slide-lightbox__copy p {
    margin: 0;
    color: var(--muted);
}

.slide-lightbox__close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2;
    border: 1px solid rgba(214, 166, 77, 0.5);
    background: rgba(6, 8, 11, 0.88);
    color: var(--faint);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.slide-lightbox__strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
}

.slide-lightbox__strip.is-hidden {
    display: none;
}

.slide-lightbox__thumb {
    flex: 0 0 160px;
    display: grid;
    gap: 6px;
    padding: 0;
    border: 1px solid var(--cyber-border);
    border-radius: 0;
    background: #080a0f;
    clip-path: var(--cyber-clip-sm);
    cursor: pointer;
    scroll-snap-align: start;
}

.slide-lightbox__thumb.is-active {
    border-color: rgba(123, 216, 143, 0.68);
    box-shadow: 0 0 22px rgba(123, 216, 143, 0.2), inset 0 0 16px rgba(123, 216, 143, 0.06);
}

.slide-lightbox__thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.slide-lightbox__thumb span {
    padding: 0 8px 8px;
    color: var(--faint);
    font-size: 0.68rem;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
}

.featured-card {
    display: block;
    padding: 22px;
    box-shadow: var(--cyber-tile-inset), var(--shadow-soft), inset 0 0 42px rgba(123, 216, 143, 0.02);
}

.featured-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px;
    align-items: start;
    gap: 14px;
}

.featured-thumb {
    align-self: start;
    opacity: 0.78;
}

.featured-thumb img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.featured-body ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.featured-body li {
    padding: 5px 10px;
    border: 1px solid rgba(98, 213, 217, 0.32);
    border-radius: 0;
    background: rgba(111, 200, 207, 0.06);
    clip-path: polygon(0 4px, 4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px));
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.featured-tagline {
    color: var(--text) !important;
    font-weight: 760;
}

.segments {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--cyber-border);
    border-radius: 0;
    background: rgba(6, 8, 11, 0.94);
    clip-path: var(--cyber-clip-sm);
}

.segment {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    clip-path: var(--cyber-clip-btn);
    color: var(--muted);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.segment.is-active {
    border-color: rgba(98, 217, 130, 0.72);
    background:
        linear-gradient(135deg, rgba(123, 216, 143, 0.94), rgba(98, 217, 130, 0.82)),
        var(--green);
    box-shadow: 0 0 16px rgba(98, 217, 130, 0.24);
    color: #061008;
}

.segment:hover:not(.is-active) {
    border-color: rgba(111, 200, 207, 0.32);
    background: rgba(111, 200, 207, 0.06);
    color: var(--text);
}

.product-card {
    display: grid;
    grid-template-columns: minmax(156px, 200px) minmax(0, 1fr);
    min-height: 286px;
    overflow: hidden;
    padding: 0;
}

.product-card.is-hidden {
    display: none;
}

.product-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-topline span {
    color: var(--cyan);
}

.product-topline strong {
    max-width: 12rem;
    color: var(--amber);
    font-size: inherit;
    text-align: right;
    text-transform: none;
}

.product-card-body > p:last-of-type {
    flex: 1;
}

.preview-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.preview-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 310px;
    padding: 20px;
    overflow: hidden;
}

.preview-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(123, 216, 143, 0.84), rgba(111, 200, 207, 0.28), rgba(214, 166, 77, 0.14));
    box-shadow: 0 0 22px rgba(123, 216, 143, 0.18);
}

.preview-card__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.preview-card__topline .card-index {
    margin-bottom: 0;
}

.preview-card__topline strong {
    max-width: 8.5rem;
    color: var(--amber);
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: right;
}

.preview-card h3 {
    margin-top: 0;
}

.preview-card__value {
    flex: 1;
    color: var(--green);
    font-weight: 800;
}

details {
    margin: 4px 0 14px;
}

summary {
    color: var(--green);
    cursor: pointer;
    font-weight: 850;
}

details p {
    margin: 10px 0 0;
}

.text-link {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-decoration-color: rgba(98, 217, 130, 0.52);
    text-decoration-thickness: 2px;
    text-transform: uppercase;
    text-underline-offset: 4px;
}

.is-muted {
    color: var(--faint);
    opacity: 0.82;
}

.tool-page,
.tool-section,
.profile-hero,
.profile-section {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.tool-page,
.profile-hero {
    padding: 34px 0 0;
}

.tool-nav {
    padding-bottom: 22px;
}

.hero-actions .btn-fab {
    min-height: 46px;
    padding: 0 24px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.tool-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
    align-items: center;
    gap: 34px;
    min-height: calc(84svh - 120px);
    padding-bottom: 64px;
}

.tool-hero h1 {
    font-size: 4.8rem;
}

.tool-hero-media,
.tool-local-nav,
.tool-panel,
.tool-note-card,
.tool-step-card,
.tool-architecture-step,
.tool-capability-card,
.tool-dossier-card,
.tool-action-card,
.tool-signal-card,
.tool-context-panel,
.tool-fact,
.embed-card,
.tool-resource-card,
.related-card,
.profile-console,
.profile-signal-card,
.profile-skill-card,
.profile-experience-card,
.profile-education-card,
.profile-evidence-card,
.profile-fit-card,
.profile-anchor-card,
.contact-panel,
.contact-route-card {
    min-width: 0;
}

.tool-hero-media {
    justify-self: end;
    width: min(100%, 520px);
    overflow: hidden;
    border: 1px solid var(--cyber-border);
    background:
        radial-gradient(circle at 50% 42%, rgba(86, 170, 176, 0.06), transparent 62%),
        #06080c;
    box-shadow: var(--shadow-soft);
    clip-path: var(--cyber-clip-sm);
    opacity: 1;
}

.tool-hero-media__open {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.tool-hero-media__open:focus-visible {
    outline: 1px solid var(--cyan);
    outline-offset: -2px;
}

.tool-hero-media img,
.tool-hero-media__art {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--line);
    background: #040507;
    object-fit: contain;
    object-position: center;
}

.tool-media-caption {
    display: grid;
    gap: 6px;
    padding: 16px;
    color: var(--muted);
}

.tool-media-caption span {
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tool-media-caption strong {
    color: var(--text);
    font-size: 0.95rem;
}

.tool-page-model {
    max-width: 760px;
    margin: 18px 0 0;
    padding: 14px 0 14px 18px;
    border-left: 2px solid rgba(123, 216, 143, 0.72);
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.65;
}

.tool-hero-media-open-hint {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(111, 200, 207, 0.5);
    background: rgba(3, 5, 8, 0.78);
    color: var(--faint);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
}

.tool-local-nav {
    position: sticky;
    top: 76px;
    z-index: 35;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: -34px 0 34px;
    padding: 12px;
    background: rgba(5, 7, 10, 0.88);
    backdrop-filter: blur(14px);
}

.tool-local-nav span {
    padding: 0 10px;
    color: var(--cyan);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tool-local-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(111, 200, 207, 0.28);
    background: rgba(8, 12, 17, 0.82);
    color: var(--copy);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.tool-local-nav a:hover,
.tool-local-nav a:focus-visible {
    border-color: rgba(123, 216, 143, 0.62);
    background: rgba(123, 216, 143, 0.08);
    color: var(--green);
    outline: none;
}

.tool-section {
    padding: 70px 0;
}

.tool-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tool-panel {
    padding: 26px;
}

.tool-panel h2 {
    margin-bottom: 18px;
    font-size: 2.1rem;
}

.tool-panel p,
.tool-note-card p,
.tool-step-card p,
.tool-architecture-step p,
.tool-capability-card p,
.tool-dossier-card p,
.tool-action-card dd,
.tool-context-panel p,
.tool-resource-card p,
.related-card p,
.tool-inline-note {
    color: var(--muted);
}

.tool-panel--accent {
    border-color: rgba(98, 217, 130, 0.34);
    background:
        linear-gradient(135deg, rgba(123, 216, 143, 0.11), transparent 58%),
        var(--panel);
}

.tool-card-grid,
.tool-info-grid,
.tool-resource-grid,
.related-grid {
    display: grid;
    gap: 14px;
}

.tool-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-architecture-flow,
.tool-capability-grid,
.tool-dossier-grid,
.tool-action-grid,
.tool-proof-grid,
.tool-context-grid {
    display: grid;
    gap: 14px;
}

.tool-architecture-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-architecture-step {
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 230px;
    padding: 22px;
}

.tool-chip {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid rgba(111, 200, 207, 0.34);
    background: rgba(4, 7, 10, 0.88);
    color: var(--cyan);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tool-architecture-step h3,
.tool-capability-card h3,
.tool-dossier-card h3,
.tool-action-card h3,
.tool-context-panel h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.25;
}

.tool-architecture-step p,
.tool-capability-card p,
.tool-dossier-card p,
.tool-context-panel p {
    margin: 0;
}

.tool-capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-capability-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
}

.tool-capability-card ul {
    display: grid;
    gap: 10px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.tool-capability-card li {
    position: relative;
    padding-left: 18px;
    color: var(--copy);
    font-size: 0.94rem;
    line-height: 1.5;
}

.tool-capability-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 6px;
    height: 6px;
    border: 1px solid rgba(123, 216, 143, 0.72);
    background: rgba(123, 216, 143, 0.18);
}

.tool-dossier-section {
    display: grid;
    gap: 16px;
}

.tool-dossier-section + .tool-dossier-section {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(43, 52, 64, 0.82);
}

.tool-dossier-section .section-header {
    margin-bottom: 0;
}

.tool-dossier-section h3 {
    max-width: 980px;
    color: var(--text);
    font-size: 1.75rem;
    line-height: 1.18;
}

.tool-dossier-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-dossier-card {
    display: flex;
    min-height: 310px;
    flex-direction: column;
    gap: 13px;
    padding: 20px;
}

.tool-dossier-card .tool-chip {
    margin-bottom: 2px;
}

.tool-dossier-card ul {
    display: grid;
    gap: 9px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.tool-dossier-card li {
    position: relative;
    padding-left: 17px;
    color: var(--copy);
    font-size: 0.9rem;
    line-height: 1.48;
}

.tool-dossier-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.67em;
    width: 5px;
    height: 5px;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(111, 200, 207, 0.28);
}

.tool-action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-action-card {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.tool-action-card dl {
    display: grid;
    gap: 14px;
    margin: auto 0 0;
}

.tool-action-card dt {
    margin-bottom: 4px;
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tool-action-card dd {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.tool-proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-signal-card {
    display: grid;
    gap: 10px;
    min-height: 132px;
    padding: 18px;
}

.tool-signal-card span {
    color: var(--cyan);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tool-signal-card strong {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.35;
}

.tool-context-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.tool-context-panel {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
}

.tool-context-list {
    display: grid;
    gap: 12px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.tool-context-list li {
    padding-top: 12px;
    border-top: 1px solid rgba(43, 52, 64, 0.82);
}

.tool-context-list span {
    display: block;
    margin-bottom: 5px;
    color: var(--green);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tool-context-list p {
    margin: 0;
    color: var(--copy);
    font-size: 0.94rem;
    line-height: 1.48;
}

.tool-note-card,
.tool-step-card,
.tool-resource-card,
.related-card {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    padding: 20px;
}

.tool-step-card .workflow-step {
    margin-bottom: 18px;
}

.tool-note-card p,
.tool-step-card p {
    margin-bottom: 0;
}

.tool-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-fact {
    display: grid;
    gap: 10px;
    min-height: 132px;
    padding: 18px;
}

.tool-fact span {
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tool-fact strong {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tool-list {
    display: grid;
    margin-top: 14px;
}

.tool-inline-note {
    margin: 0;
    padding: 13px 0;
    border-top: 1px solid rgba(43, 52, 64, 0.82);
}

.tool-resource-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.embed-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.embed-card {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    padding: 20px;
}

.embed-card p {
    color: var(--muted);
}

.embed-frame {
    display: grid;
    min-height: 128px;
    margin: 16px 0;
    place-items: center;
    padding: 16px;
    border: 1px dashed rgba(111, 200, 207, 0.34);
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(111, 200, 207, 0.08), transparent 62%),
        rgba(5, 7, 10, 0.78);
    clip-path: var(--cyber-clip-sm);
    text-align: center;
}

.embed-frame p {
    margin: 0;
    font-size: 0.9rem;
}

.embed-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 6px;
    background: #05070a;
}

.embed-frame.is-loaded {
    display: block;
    min-height: auto;
    padding: 0;
    border-style: solid;
    overflow: hidden;
}

.embed-frame--pending {
    border-color: rgba(125, 135, 147, 0.28);
    background: rgba(5, 7, 10, 0.62);
}

.tool-resource-card .text-link,
.related-card .text-link {
    margin-top: auto;
}

.related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
    align-items: center;
    gap: 36px;
    min-height: calc(84svh - 120px);
    padding-bottom: 60px;
}

.profile-hero h1 {
    font-size: 4.8rem;
}

.profile-hero-copy {
    max-width: 860px;
}

.profile-console {
    display: grid;
    gap: 18px;
    justify-self: end;
    width: min(100%, 500px);
    padding: 24px;
}

.profile-avatar {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border: 1px solid rgba(98, 217, 130, 0.56);
    border-radius: 0;
    background:
        linear-gradient(160deg, rgba(123, 216, 143, 0.24), rgba(111, 200, 207, 0.07)),
        rgba(5, 7, 10, 0.84);
    clip-path: var(--cyber-clip);
    color: var(--green);
    font-family: var(--mono);
    font-size: 1.2rem;
    font-weight: 950;
}

.profile-console strong {
    display: block;
    color: var(--text);
    font-size: 1.02rem;
}

.profile-console p,
.profile-resume-note,
.profile-signal-card p,
.profile-experience-card p,
.profile-experience-card li,
.profile-education-card p,
.profile-evidence-card p,
.profile-fit-card p,
.profile-anchor-card p {
    color: var(--muted);
}

.profile-signal-grid,
.profile-skill-grid,
.profile-experience-grid,
.profile-education-grid,
.profile-evidence-grid,
.profile-fit-grid {
    display: grid;
    gap: 14px;
}

.profile-signal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-skill-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-education-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-evidence-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-fit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-signal-card,
.profile-skill-card,
.profile-experience-card,
.profile-education-card,
.profile-evidence-card,
.profile-fit-card,
.profile-anchor-card {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    padding: 20px;
}

.profile-experience-card {
    min-height: 330px;
}

.profile-education-card {
    min-height: 230px;
}

.profile-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.profile-card-head strong {
    color: var(--faint);
    font-size: 0.84rem;
    text-align: right;
}

.profile-company {
    margin-top: -6px;
    color: var(--green) !important;
    font-weight: 900;
}

.profile-resume-note {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(43, 52, 64, 0.82);
    font-size: 0.95rem;
}

.profile-experience-card ul {
    display: grid;
    gap: 9px;
    margin: 12px 0 0;
    padding-left: 1.1rem;
}

.profile-skill-card ul {
    display: grid;
    gap: 9px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.profile-skill-card li {
    padding: 9px 0;
    border-top: 1px solid rgba(43, 52, 64, 0.82);
    color: var(--muted);
}

.profile-evidence-card .text-link {
    margin-top: auto;
}

.tool-cta {
    margin-top: 22px;
}

.workflow-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.legal-grid,
.doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.void-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    margin-top: 36px;
    margin-bottom: 80px;
    padding: 42px;
    border: 1px solid rgba(98, 217, 130, 0.42);
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(123, 216, 143, 0.13), rgba(111, 200, 207, 0.04) 42%, transparent),
        var(--panel);
    box-shadow: var(--cyber-tile-inset), var(--shadow);
    clip-path: var(--cyber-clip);
}

.void-cta h2 {
    margin-bottom: 16px;
}

.void-cta p:not(.section-eyebrow) {
    max-width: 760px;
    color: var(--muted);
}

.contact-section {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto 86px;
    padding-top: 26px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
    gap: 20px;
    align-items: start;
}

.contact-panel {
    padding: 24px;
}

.contact-panel--glitch {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    clip-path: none;
    overflow: visible;
    min-width: 0;
}

.contact-panel--glitch:hover {
    border-color: transparent;
    box-shadow: none;
}

.contact-aside {
    display: grid;
    align-content: start;
    gap: 16px;
}

.contact-route-card {
    padding: 20px;
}

.contact-route-card p {
    color: var(--muted);
}

.glitch-form {
    --glitch-form-bg: rgba(8, 10, 14, 0.98);
    --glitch-form-primary: var(--cyan);
    --glitch-form-secondary: var(--green);
    --glitch-form-text: var(--text);
    --glitch-form-duration: 0.5s;
    --glitch-form-pad-x: 2rem;
    --glitch-form-pad-top: 0;
    --glitch-form-pad-bottom: 2.25rem;
    --glitch-form-header-pad-y: 0.85rem;
    width: 100%;
    font-family: var(--mono);
}

.glitch-card {
    width: 100%;
    border: 1px solid rgba(111, 200, 207, 0.24);
    background: var(--glitch-form-bg);
    animation: none;
    box-shadow:
        0 0 22px rgba(111, 200, 207, 0.1),
        inset 0 0 12px rgba(0, 0, 0, 0.45);
    clip-path: var(--cyber-clip);
    overflow: hidden;
}

.glitch-form .glitch-card {
    position: relative;
    isolation: isolate;
    margin: 0;
    clip-path: var(--cyber-clip-form);
    overflow: hidden;
}

.glitch-card__header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgba(111, 200, 207, 0.2);
    background: rgba(0, 0, 0, 0.28);
}

.glitch-form .glitch-card__header {
    padding: var(--glitch-form-header-pad-y) var(--glitch-form-pad-x);
}

.glitch-card__title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--glitch-form-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.glitch-card__title svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke: var(--glitch-form-primary);
}

.glitch-card__dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 5px;
    border-radius: 50%;
    background: rgba(125, 135, 147, 0.55);
}

.glitch-card__dots span:nth-child(1) {
    background: rgba(217, 107, 98, 0.75);
}

.glitch-card__dots span:nth-child(2) {
    background: rgba(214, 166, 77, 0.75);
}

.glitch-card__dots span:nth-child(3) {
    background: rgba(123, 216, 143, 0.75);
}

.glitch-card__body {
    position: relative;
    z-index: 3;
    padding: 1.45rem 1.5rem 1.6rem;
}

.glitch-form .glitch-card__body {
    padding:
        1.65rem
        var(--glitch-form-pad-x)
        var(--glitch-form-pad-bottom);
}

.contact-form,
.glitch-contact-form {
    display: grid;
    gap: 16px;
}

.glitch-contact-form {
    gap: 1.4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.glitch-form .form-grid {
    gap: 1.1rem 1.5rem;
}

.glitch-form .form-group {
    position: relative;
    margin-bottom: 0.5rem;
}

.glitch-form .form-label {
    position: absolute;
    top: 0.75em;
    left: 0;
    font-size: 0.92rem;
    color: var(--glitch-form-primary);
    opacity: 0.62;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: none;
    transition: all 0.3s ease;
}

.glitch-form .form-group input,
.glitch-form .form-group select,
.glitch-form .form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid rgba(111, 200, 207, 0.3);
    background: transparent;
    color: var(--glitch-form-text);
    font-family: inherit;
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glitch-form .form-group input,
.glitch-form .form-group select {
    min-height: 42px;
    padding: 0.75em 0 0.35em;
}

.glitch-form .form-group--message {
    min-height: 0;
    margin-top: 0.35rem;
}

.glitch-form .form-group textarea {
    display: block;
    box-sizing: border-box;
    min-height: 9.5rem;
    height: 9.5rem;
    resize: vertical;
    padding: 1.55em 0 0.65em;
    line-height: 1.45;
}

.glitch-form .form-group select {
    appearance: none;
    cursor: pointer;
    padding-right: 1.4rem;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--glitch-form-primary) 50%),
        linear-gradient(135deg, var(--glitch-form-primary) 50%, transparent 50%);
    background-position:
        calc(100% - 14px) calc(50% + 2px),
        calc(100% - 8px) calc(50% + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.glitch-form .form-group input:focus,
.glitch-form .form-group select:focus,
.glitch-form .form-group textarea:focus {
    border-color: var(--glitch-form-primary);
    box-shadow: 0 6px 18px rgba(111, 200, 207, 0.08);
}

.glitch-form .form-group input:focus + .form-label,
.glitch-form .form-group input:not(:placeholder-shown) + .form-label,
.glitch-form .form-group textarea:focus + .form-label,
.glitch-form .form-group textarea:not(:placeholder-shown) + .form-label,
.glitch-form .form-group--select .form-label,
.glitch-form .form-group--message .form-label {
    top: -1.15em;
    font-size: 0.72rem;
    opacity: 1;
}

.glitch-form .form-group input:focus + .form-label::before,
.glitch-form .form-group input:focus + .form-label::after,
.glitch-form .form-group textarea:focus + .form-label::before,
.glitch-form .form-group textarea:focus + .form-label::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--glitch-form-bg);
}

.glitch-form .form-group input:focus + .form-label::before,
.glitch-form .form-group textarea:focus + .form-label::before {
    color: var(--glitch-form-secondary);
    animation: glitch-form-anim var(--glitch-form-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.glitch-form .form-group input:focus + .form-label::after,
.glitch-form .form-group textarea:focus + .form-label::after {
    color: var(--glitch-form-primary);
    animation: glitch-form-anim var(--glitch-form-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both;
}

.glitch-form-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 0.5rem;
    padding: 0.35rem 0.15rem 0;
    color: var(--copy);
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.glitch-form-check input {
    width: 17px;
    min-height: 17px;
    margin-top: 3px;
    accent-color: var(--green);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0.65rem;
}

.glitch-form .form-actions {
    gap: 14px;
    margin-top: 1.35rem;
    padding-top: 0.35rem;
}

.glitch-form .glitch-submit-btn,
.glitch-form .glitch-secondary-btn {
    min-height: 50px;
    padding: 0.95em 1.35em;
}

.glitch-submit-btn {
    flex: 1 1 220px;
    padding: 0.82em 1em;
    border: 2px solid var(--glitch-form-primary);
    border-radius: 0;
    background: transparent;
    clip-path: var(--cyber-clip-btn);
    color: var(--glitch-form-primary);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glitch-submit-btn:hover,
.glitch-submit-btn:focus {
    background: var(--glitch-form-primary);
    color: var(--void);
    box-shadow: 0 0 24px rgba(111, 200, 207, 0.45);
    outline: none;
}

.glitch-submit-btn:active {
    transform: scale(0.98);
}

.glitch-submit-btn .btn-text {
    position: relative;
    z-index: 1;
    transition: opacity 0.2s ease;
}

.glitch-submit-btn:hover .btn-text,
.glitch-submit-btn:focus .btn-text {
    opacity: 0;
}

.glitch-submit-btn::before,
.glitch-submit-btn::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: var(--glitch-form-primary);
    transition: opacity 0.2s ease;
}

.glitch-submit-btn:hover::before,
.glitch-submit-btn:focus::before {
    opacity: 1;
    color: var(--glitch-form-secondary);
    animation: glitch-form-anim var(--glitch-form-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.glitch-submit-btn:hover::after,
.glitch-submit-btn:focus::after {
    opacity: 1;
    color: var(--void);
    animation: glitch-form-anim var(--glitch-form-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both;
}

.glitch-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72em 1em;
    border: 1px solid rgba(123, 216, 143, 0.42);
    border-radius: 0;
    background: rgba(6, 8, 11, 0.82);
    box-shadow: inset 0 0 18px rgba(111, 200, 207, 0.04);
    clip-path: var(--cyber-clip-btn);
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.glitch-secondary-btn:hover {
    border-color: rgba(123, 216, 143, 0.72);
    background: rgba(123, 216, 143, 0.08);
    box-shadow: 0 0 20px rgba(123, 216, 143, 0.2), inset 0 0 18px rgba(123, 216, 143, 0.05);
    color: var(--text);
}

.form-status {
    min-height: 1.3em;
    margin: 0;
    color: var(--green);
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 800;
}

.glitch-form .form-status {
    margin-top: 0.65rem;
}

@keyframes glitch-form-anim {
    0% {
        transform: translate(0);
        clip-path: inset(0 0 0 0);
    }

    20% {
        transform: translate(-5px, 3px);
        clip-path: inset(50% 0 20% 0);
    }

    40% {
        transform: translate(3px, -2px);
        clip-path: inset(20% 0 60% 0);
    }

    60% {
        transform: translate(-4px, 2px);
        clip-path: inset(80% 0 5% 0);
    }

    80% {
        transform: translate(4px, -3px);
        clip-path: inset(30% 0 45% 0);
    }

    100% {
        transform: translate(0);
        clip-path: inset(0 0 0 0);
    }
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px max(20px, calc((100% - var(--max)) / 2));
    border-top: 1px solid var(--line);
    background: rgba(5, 6, 8, 0.94);
    color: var(--muted);
}

.site-footer > div,
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer a {
    color: var(--muted);
    font-weight: 800;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--green);
}

.legal-page {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 60px 0 82px;
}

.legal-page h1 {
    font-size: 4.2rem;
}

.legal-panel {
    margin-top: 16px;
    padding: 22px;
}

.legal-panel h2 {
    margin-bottom: 14px;
    font-size: 1.5rem;
}

.legal-panel ul {
    margin: 0;
    padding-left: 1.25rem;
}

.legal-panel li + li {
    margin-top: 8px;
}

.legal-muted,
.legal-date {
    color: var(--faint);
}

.legal-date {
    margin-top: 22px;
}

.legal-draft {
    margin-top: 12px;
}

.error-page {
    min-height: 76svh;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.system-card:hover,
.status-card:hover,
.channel-card:hover,
.product-card:hover,
.doc-card:hover,
.workflow-card:hover,
.legal-card:hover,
.overview-card:hover,
.featured-card:hover,
.visual-card:hover,
.pain-card:hover,
.payoff-card:hover,
.slide-stage:hover,
.tool-local-nav:hover,
.tool-panel:hover,
.tool-note-card:hover,
.tool-step-card:hover,
.tool-architecture-step:hover,
.tool-capability-card:hover,
.tool-dossier-card:hover,
.tool-action-card:hover,
.tool-signal-card:hover,
.tool-context-panel:hover,
.tool-fact:hover,
.embed-card:hover,
.tool-resource-card:hover,
.related-card:hover,
.profile-console:hover,
.profile-signal-card:hover,
.profile-skill-card:hover,
.profile-experience-card:hover,
.profile-education-card:hover,
.profile-evidence-card:hover,
.profile-fit-card:hover,
.profile-anchor-card:hover,
.contact-panel:hover,
.contact-route-card:hover {
    border-color: var(--cyber-border-hover);
    box-shadow:
        var(--cyber-tile-inset),
        var(--shadow-soft),
        0 0 36px rgba(123, 216, 143, 0.16),
        0 0 64px rgba(111, 200, 207, 0.06);
}

.pain-card:hover {
    border-color: rgba(214, 166, 77, 0.62);
    box-shadow: inset 0 0 32px rgba(214, 166, 77, 0.06), var(--shadow-soft), 0 0 36px rgba(214, 166, 77, 0.12);
}

.payoff-card:hover {
    border-color: rgba(123, 216, 143, 0.62);
    box-shadow: inset 0 0 32px rgba(123, 216, 143, 0.06), var(--shadow-soft), 0 0 36px rgba(123, 216, 143, 0.14);
}

.slide-thumb:hover {
    border-color: rgba(111, 200, 207, 0.48);
    box-shadow: 0 0 18px rgba(111, 200, 207, 0.14);
}

/* Instrument-grade detailing */
[id] {
    scroll-margin-top: 84px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 1px solid var(--green);
    outline-offset: 3px;
    border-radius: 4px;
}

.tool-hero-media,
.void-cta {
    position: relative;
}

.tool-hero-media::after,
.void-cta::after {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    background:
        linear-gradient(var(--cyan), var(--cyan)) 0 0 / 14px 1px no-repeat,
        linear-gradient(var(--cyan), var(--cyan)) 0 0 / 1px 14px no-repeat,
        linear-gradient(var(--cyan), var(--cyan)) 100% 0 / 14px 1px no-repeat,
        linear-gradient(var(--cyan), var(--cyan)) 100% 0 / 1px 14px no-repeat,
        linear-gradient(var(--cyan), var(--cyan)) 0 100% / 14px 1px no-repeat,
        linear-gradient(var(--cyan), var(--cyan)) 0 100% / 1px 14px no-repeat,
        linear-gradient(var(--cyan), var(--cyan)) 100% 100% / 14px 1px no-repeat,
        linear-gradient(var(--cyan), var(--cyan)) 100% 100% / 1px 14px no-repeat;
}

@keyframes cyber-text-reveal-once {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes brief-scan-once {
    0% {
        transform: translateX(-110%);
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    88% {
        transform: translateX(110%);
        opacity: 1;
    }

    100% {
        transform: translateX(110%);
        opacity: 0;
    }
}

@keyframes cyber-laser-beam-once {
    0% {
        left: -3%;
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    92% {
        left: 103%;
        opacity: 1;
    }

    100% {
        left: 103%;
        opacity: 0;
    }
}

@keyframes cyber-wobble {
    0%,
    90%,
    100% {
        transform: none;
        margin-left: 0;
    }

    91% {
        transform: skew(-2deg);
        margin-left: -2px;
    }

    92% {
        transform: skew(2deg);
        margin-left: 2px;
    }

    93% {
        transform: skew(-1deg);
        margin-left: -1px;
    }

    94%,
    95% {
        transform: none;
        margin-left: 0;
    }
}

@keyframes cyber-spark-line {
    0%,
    88%,
    100% {
        bottom: -2px;
        opacity: 0;
    }

    89% {
        opacity: 1;
    }

    94% {
        bottom: calc(100% + 1px);
        opacity: 1;
    }

    95% {
        opacity: 0;
    }
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes live-slide-in {
    from {
        opacity: 0;
        transform: translateY(8px);
        filter: hue-rotate(12deg) saturate(1.2);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: none;
    }
}

@keyframes cyber-glitch-image {
    0%, 100% {
        transform: translate(0);
        filter: none;
        clip-path: inset(0 0 0 0);
    }
    20% {
        transform: translate(-3px, 1px);
        filter: hue-rotate(24deg) saturate(1.35);
        clip-path: inset(8% 0 62% 0);
    }
    40% {
        transform: translate(3px, -1px);
        filter: contrast(1.2);
        clip-path: inset(48% 0 18% 0);
    }
    60% {
        transform: translate(-2px, 0);
        clip-path: inset(18% 0 58% 0);
    }
}

@keyframes cyber-glitch-text {
    0%, 100% {
        transform: translate(0);
        text-shadow: none;
    }
    25% {
        transform: translate(-2px, 0);
        text-shadow: 2px 0 rgba(111, 200, 207, 0.8), -2px 0 rgba(217, 107, 98, 0.7);
    }
    50% {
        transform: translate(2px, 0);
        text-shadow: -2px 0 rgba(123, 216, 143, 0.8), 2px 0 rgba(214, 166, 77, 0.7);
    }
}

@keyframes cyber-glitch-scan {
    0%, 100% {
        opacity: 0;
    }
    35%, 65% {
        opacity: 0.75;
    }
}

@keyframes page-glitch-in {
    0% {
        opacity: 0;
        filter: hue-rotate(0deg);
    }
    18%, 72% {
        opacity: 1;
        filter: hue-rotate(12deg) contrast(1.08);
    }
    100% {
        opacity: 1;
        filter: none;
    }
}

@keyframes page-glitch-scan {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@keyframes page-glitch-noise {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-6px, 4px);
    }
}

@keyframes glitch-a {
    0%, 88%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    90% {
        transform: translate(3px, -1px);
        opacity: 0.8;
    }
    94% {
        transform: translate(-2px, 1px);
        opacity: 0.7;
    }
}

@keyframes glitch-b {
    0%, 84%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    86% {
        transform: translate(-3px, 1px);
        opacity: 0.72;
    }
    91% {
        transform: translate(2px, -1px);
        opacity: 0.65;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .product-ticker__track,
    .glitch-text.is-glitching::before,
    .glitch-text.is-glitching::after,
    .cyber-wobble,
    .cyber-spark::after,
    .live-slide,
    .live-slide.is-glitching .live-slide__media img,
    .live-slide.is-glitching .live-slide__title,
    .page-glitch.is-active,
    .page-glitch__scan,
    .page-glitch__noise,
    .page-glitch__label,
    .cyber-laser__reveal,
    .cyber-laser__beam {
        animation: none;
    }

    .cyber-laser__reveal {
        position: static;
        clip-path: none;
        color: var(--text);
    }

    .glitch-text::before,
    .glitch-text::after {
        display: none;
    }

    .cyber-laser__beam {
        display: none;
    }

    .glitch-form .form-group input:focus + .form-label::before,
    .glitch-form .form-group input:focus + .form-label::after,
    .glitch-form .form-group textarea:focus + .form-label::before,
    .glitch-form .form-group textarea:focus + .form-label::after,
    .glitch-submit-btn:hover::before,
    .glitch-submit-btn:focus::before,
    .glitch-submit-btn:hover::after,
    .glitch-submit-btn:focus::after {
        animation: none;
        opacity: 0;
    }

    .glitch-submit-btn:hover .btn-text,
    .glitch-submit-btn:focus .btn-text {
        opacity: 1;
    }

    .cyber-border-beam__pulse.is-active {
        stroke-dashoffset: -24;
        opacity: 0.65;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1040px) {
    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 2.45rem;
    }

    .hero-grid,
    .status-layout,
    .tool-hero,
    .tool-split,
    .profile-hero-grid,
    .void-cta,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        justify-self: start;
        width: min(100%, 100%);
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .system-grid,
    .status-grid,
    .source-state-grid,
    .channel-grid,
    .visual-grid,
    .preview-grid,
    .workflow-grid,
    .overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .visual-card {
        grid-template-columns: 1fr;
    }

    .visual-image {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .pain-payoff-grid {
        grid-template-columns: 1fr;
    }

    .tool-card-grid,
    .tool-architecture-flow,
    .tool-capability-grid,
    .tool-dossier-grid,
    .tool-action-grid,
    .tool-proof-grid,
    .tool-context-grid,
    .tool-info-grid,
    .tool-resource-grid,
    .embed-grid,
    .related-grid,
    .profile-signal-grid,
    .profile-skill-grid,
    .profile-experience-grid,
    .profile-education-grid,
    .profile-evidence-grid,
    .profile-fit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-header-row {
        grid-template-columns: 1fr;
    }

    .segments {
        justify-content: flex-start;
        width: fit-content;
    }
}

@media (max-width: 720px) {
    body {
        overflow-x: hidden;
    }

    .rail-inner {
        gap: 12px;
        width: calc(100% - 20px);
        min-height: 52px;
    }

    .rail-link {
        padding: 0 10px;
        font-size: 0.82rem;
    }

    .rail-word,
    .rail-status {
        display: none;
    }

    .hero,
    .tool-page,
    .profile-hero,
    .status-hero {
        width: min(100% - 28px, var(--max));
        padding-top: 28px;
    }

    .featured-head {
        grid-template-columns: 1fr;
    }

    .featured-thumb {
        width: min(100%, 220px);
    }

    .hero-text::before,
    .status-copy::before,
    .tool-hero-copy::before {
        inset: -18px 0 -20px;
    }

    h1 {
        font-size: clamp(2.75rem, 13vw, 3.15rem);
    }

    h2 {
        font-size: 2rem;
    }

    .hero-claim {
        font-size: 1.15rem;
    }

    .hero-actions,
    .button-row {
        width: 100%;
    }

    .hero-actions .btn,
    .button-row .btn {
        min-width: 0;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .tool-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3rem);
    }

    .tool-local-nav {
        position: static;
        margin: -18px 0 28px;
    }

    .tool-local-nav span {
        width: 100%;
    }

    .tool-local-nav a {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        text-align: center;
    }

    .tool-page-model {
        padding-left: 14px;
        font-size: 0.96rem;
    }

    .tool-architecture-step,
    .tool-capability-card,
    .tool-dossier-card,
    .tool-action-card,
    .tool-context-panel {
        min-height: 0;
        padding: 18px;
    }

    .profile-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3rem);
    }

    .status-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .overview,
    .section,
    .tool-section,
    .profile-section,
    .status-hero,
    .contact-section,
    .void-cta,
    .legal-page {
        width: min(100% - 28px, var(--max));
    }

    .overview-grid,
    .system-grid,
    .status-grid,
    .source-state-grid,
    .channel-grid,
    .visual-grid,
    .preview-grid,
    .tool-card-grid,
    .tool-architecture-flow,
    .tool-capability-grid,
    .tool-dossier-grid,
    .tool-action-grid,
    .tool-proof-grid,
    .tool-context-grid,
    .tool-info-grid,
    .tool-resource-grid,
    .embed-grid,
    .related-grid,
    .profile-signal-grid,
    .profile-skill-grid,
    .profile-experience-grid,
    .profile-education-grid,
    .profile-evidence-grid,
    .profile-fit-grid,
    .doc-grid,
    .workflow-grid,
    .legal-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .tool-section {
        padding: 62px 0;
    }

    .void-cta {
        padding: 24px;
    }

    .contact-panel,
    .contact-route-card {
        padding: 18px;
    }

    .contact-panel--glitch {
        padding: 0;
    }

    .glitch-form {
        --glitch-form-pad-x: 1.25rem;
        --glitch-form-pad-bottom: 1.85rem;
        --glitch-form-header-pad-y: 0.7rem;
    }

    .glitch-form .glitch-card__body {
        padding-top: 1.35rem;
    }

    .glitch-form .form-group textarea {
        min-height: 8.5rem;
        height: 8.5rem;
    }

    .glitch-form .form-actions {
        margin-top: 1.1rem;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-thumb {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .product-thumb {
        min-height: 200px;
        padding: 12px 16px 14px;
    }

    .product-thumb img,
    .product-thumb svg,
    .product-thumb__art {
        width: min(100%, 220px);
        min-height: 0;
        margin: 0 auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        padding-right: 18px;
        padding-left: 18px;
    }

    .legal-page h1 {
        font-size: 2.9rem;
    }
}

@media (max-width: 420px) {
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tool-local-nav a {
        flex-basis: 100%;
    }
}

@media (max-width: 360px) {
    .hero,
    .tool-page,
    .profile-hero,
    .status-hero,
    .overview,
    .section,
    .tool-section,
    .profile-section,
    .contact-section,
    .void-cta,
    .legal-page {
        width: min(100% - 48px, var(--max));
    }

    h1 {
        font-size: 2.55rem;
    }

    .tool-hero h1,
    .profile-hero h1,
    .legal-page h1 {
        font-size: 2.25rem;
    }

    .hero-claim {
        font-size: 1.06rem;
    }
}

/* ============================================================
   TINY TOOL ATLAS - 3D Orrery
   A WebGL solar system (UMCP = sun, tools = planets on visible
   orbits, bridges = flying satellites). UI panels dock inside the
   stage. Built on existing tokens / palette only. No web fonts.
   ============================================================ */
.atlas-page .page-main { padding-top: 0; }
.atlas-page { overflow-x: hidden; }

.atlas {
    position: relative;
    padding: 18px clamp(10px, 3vw, 34px) 26px;
}

.atlas__frame {
    position: relative;
    display: flex;
    flex-direction: column;
    height: min(90vh, 980px);
    min-height: 580px;
    border: 1px solid rgba(86, 170, 176, 0.26);
    background: linear-gradient(180deg, rgba(6, 10, 16, 0.72), rgba(3, 5, 9, 0.82));
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    clip-path: polygon(0 14px, 14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px));
    overflow: hidden;
}
.atlas__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(86, 170, 176, 0.5), transparent) top / 100% 1px no-repeat;
    opacity: 0.5;
    animation: atlas-frame-sweep var(--cyber-border-travel, 9s) linear infinite;
}
@keyframes atlas-frame-sweep {
    0% { background-position-x: -40%; }
    100% { background-position-x: 140%; }
}

.atlas__transmissions {
    display: grid; grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 38px);
    align-items: center; margin-top: 14px; padding: clamp(16px, 2.5vw, 28px);
    border: 1px solid rgba(86, 170, 176, 0.22);
    background: linear-gradient(120deg, rgba(7, 12, 18, 0.92), rgba(5, 9, 14, 0.70));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
    clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.atlas__transmissions-head { align-self: start; padding-top: 8px; }
.atlas__transmissions-kicker { display: inline-flex; align-items: center; gap: 9px; color: #7bd88f; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; }
.atlas__transmissions-head h2 { margin: 12px 0 9px; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.08; }
.atlas__transmissions-head p { margin: 0; max-width: 32rem; color: var(--faint, #97a9ac); font-size: 0.76rem; line-height: 1.6; }
.atlas__transmissions-slider { min-width: 0; }
.atlas__transmissions .live-slider__stage { min-height: 310px; }
.atlas__transmissions .live-slide { grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.7fr); }
.atlas__transmissions .live-slide__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.atlas__transmissions .live-slide__copy { min-height: 0; align-content: center; border-top: 0; border-left: 1px solid var(--line); }
.atlas__transmissions .live-slide__title { min-height: 0; }
.atlas__transmissions .live-slide__caption { min-height: 0; }

/* ---- top bar ---------------------------------------------------------- */
.atlas__bar {
    position: relative;
    z-index: 6;
    flex: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 12px clamp(12px, 2vw, 22px);
    border-bottom: 1px solid rgba(86, 170, 176, 0.18);
    background: linear-gradient(180deg, rgba(8, 13, 19, 0.86), rgba(8, 13, 19, 0.4));
    backdrop-filter: blur(8px);
}
.atlas__brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text, #e8f1f2); text-decoration: none; }
.atlas__mark {
    display: inline-grid;
    place-items: center;
    width: 34px; height: 34px;
    font-family: var(--mono, monospace);
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
    color: #cffaf0;
    border: 1px solid rgba(123, 216, 196, 0.5);
    background: radial-gradient(circle at 50% 35%, rgba(123, 216, 196, 0.4), rgba(86, 170, 176, 0.08));
    clip-path: polygon(0 6px, 6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
.atlas__brandtext { display: flex; flex-direction: column; line-height: 1.18; }
.atlas__eyebrow { font-size: 0.58rem; letter-spacing: 0.34em; color: var(--cyan, #56aab0); text-transform: uppercase; }
.atlas__title { font-family: var(--mono, monospace); font-size: 1.0rem; font-weight: 600; color: var(--text, #e8f1f2); }

.atlas__modes {
    display: inline-flex; gap: 4px; justify-self: center;
    padding: 4px; border: 1px solid rgba(86, 170, 176, 0.2);
    background: rgba(4, 8, 12, 0.6);
    clip-path: polygon(0 6px, 6px 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}
.atlas__mode {
    appearance: none; border: 0; cursor: pointer;
    padding: 7px 14px; font-family: var(--mono, monospace); font-size: 0.72rem; letter-spacing: 0.04em;
    color: var(--faint, #7c9197); background: transparent; transition: color 0.2s, background 0.2s;
}
.atlas__mode:hover { color: var(--text, #e8f1f2); }
.atlas__mode.is-active {
    color: #03110d; font-weight: 600;
    background: linear-gradient(120deg, #7bd88f, #56aab0);
}
.atlas__bar-right { display: inline-flex; align-items: center; gap: 14px; justify-self: end; }
.atlas__search {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 11px; border: 1px solid rgba(86, 170, 176, 0.26);
    background: rgba(4, 8, 12, 0.6);
}
.atlas__search:focus-within { border-color: rgba(86, 170, 176, 0.6); box-shadow: 0 0 0 1px rgba(86, 170, 176, 0.3); }
.atlas__search svg { width: 14px; height: 14px; flex: none; color: var(--faint, #7c9197); }
.atlas__search input {
    border: 0; outline: 0; background: transparent; color: var(--text, #e8f1f2);
    font-family: var(--mono, monospace); font-size: 0.78rem; width: clamp(90px, 14vw, 180px);
}
.atlas__search input::placeholder { color: var(--faint, #7c9197); }
.atlas__links { display: inline-flex; gap: 14px; }
.atlas__links a {
    position: relative; color: var(--faint, #7c9197); text-decoration: none;
    font-family: var(--mono, monospace); font-size: 0.74rem; transition: color 0.2s;
}
.atlas__links a:hover { color: var(--text, #e8f1f2); }
@media (max-width: 900px) { .atlas__links { display: none; } }

/* ---- main / stage ----------------------------------------------------- */
.atlas__main { position: relative; flex: 1 1 auto; min-height: 0; }
.atlas__stage {
    position: absolute; inset: 0; outline: none; cursor: grab;
    background:
        radial-gradient(circle at 50% 45%, rgba(68, 170, 160, 0.10), transparent 23%),
        radial-gradient(ellipse at 52% 48%, rgba(23, 72, 92, 0.16), transparent 56%),
        radial-gradient(120% 90% at 50% 42%, transparent 34%, rgba(2, 4, 8, 0.62) 100%);
}
.atlas__stage:active,
.atlas__stage.is-rotating,
.atlas__stage.is-panning { cursor: grabbing; }
.atlas__stage::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background:
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0 1px, transparent 1px 3px);
    opacity: 0.35; mix-blend-mode: overlay;
}
.atlas__stage::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background:
        radial-gradient(circle at 50% 45%, rgba(123, 216, 196, 0.10), transparent 15%),
        linear-gradient(90deg, transparent 49.95%, rgba(86, 170, 176, 0.05) 50%, transparent 50.05%),
        linear-gradient(0deg, transparent 49.95%, rgba(86, 170, 176, 0.035) 50%, transparent 50.05%);
    opacity: 0.72;
}
.atlas__three { position: absolute; inset: 0; z-index: 0; }
.atlas__three canvas { display: block; width: 100% !important; height: 100% !important; }

.atlas__corner {
    position: absolute; width: 18px; height: 18px; z-index: 5; pointer-events: none;
    border: 1.5px solid rgba(123, 216, 196, 0.55);
}
.atlas__corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.atlas__corner--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.atlas__corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.atlas__corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ---- planet labels (DOM overlay) ------------------------------------- */
.atlas__labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.atlas__label {
    position: absolute; top: 0; left: 0; transform: translate(-50%, -50%);
    pointer-events: auto; cursor: pointer; white-space: nowrap;
    padding: 3px 9px; border: 1px solid rgba(86, 170, 176, 0.3);
    background: rgba(4, 9, 13, 0.72); color: var(--text, #e8f1f2);
    font-family: var(--mono, monospace); font-size: 0.66rem; letter-spacing: 0.03em;
    border-radius: 2px; backdrop-filter: blur(4px); will-change: transform, opacity;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.24);
    transition: opacity 0.18s, border-color 0.2s, color 0.2s, background 0.2s;
}
.atlas__label:hover { border-color: rgba(123, 216, 196, 0.8); color: #cffaf0; }
.atlas__label.is-key { font-weight: 600; border-color: rgba(123, 216, 196, 0.5); }
.atlas__label.is-selected { color: #03110d; background: linear-gradient(120deg, #7bd88f, #56aab0); border-color: transparent; }
.atlas__label.is-dim { color: var(--faint, #7c9197); border-color: rgba(86, 170, 176, 0.12); }
.atlas__label:focus-visible { outline: 2px solid #7bd88f; outline-offset: 3px; }

/* ---- right presentation panel / control dock ------------------------- */
.atlas__presentation {
    position: absolute; top: 18px; left: 18px; z-index: 6;
    width: clamp(264px, 24vw, 330px);
    padding: 12px;
    display: flex; flex-direction: column; gap: 0;
    border: 1px solid rgba(86, 170, 176, 0.24);
    background: linear-gradient(145deg, rgba(7, 13, 19, 0.90), rgba(4, 8, 13, 0.68));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36), inset 0 0 32px rgba(86, 170, 176, 0.025);
    backdrop-filter: blur(12px);
    border-radius: 2px;
    transition: opacity 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
}
.atlas__presentation-head {
    position: relative; z-index: 2;
    flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    min-height: 30px; padding: 0 0 10px;
    border-bottom: 1px solid rgba(86, 170, 176, 0.14);
}
.atlas__presentation-head .showcase-label {
    display: inline-flex; align-items: center; gap: 7px; min-width: 0;
    color: var(--faint, #7c9197); font-size: 0.66rem; line-height: 1.2;
}
.atlas__hud-pulse {
    display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%;
    background: #7bd88f; box-shadow: 0 0 0 0 rgba(123, 216, 143, 0.62);
    animation: atlas-hud-pulse 2.4s ease-out infinite;
}
@keyframes atlas-hud-pulse {
    0% { box-shadow: 0 0 0 0 rgba(123, 216, 143, 0.55); }
    68%, 100% { box-shadow: 0 0 0 8px rgba(123, 216, 143, 0); }
}
.atlas__presentation-head .tt-icon { width: 14px; height: 14px; color: #7bd88f; }
.atlas__panel-toggle {
    appearance: none; cursor: pointer; display: grid; place-items: center;
    width: 30px; height: 30px; flex: none;
    border: 1px solid rgba(86, 170, 176, 0.3); background: rgba(4, 8, 12, 0.72);
    color: var(--faint, #7c9197);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.atlas__panel-toggle .tt-icon { width: 15px; height: 15px; }
.atlas__panel-toggle:hover,
[data-atlas].control-dock-open .atlas__panel-toggle {
    color: #03110d; border-color: transparent; background: linear-gradient(120deg, #7bd88f, #56aab0);
}
.atlas__hud { display: grid; gap: 7px; padding: 13px 2px 2px; }
.atlas__hud-kicker { color: #7bd88f; font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; }
.atlas__hud-title { color: var(--text, #e8f1f2); font-size: 1rem; line-height: 1.22; }
.atlas__hud-copy { margin: 0; color: var(--faint, #97a9ac); font-size: 0.69rem; line-height: 1.48; }
.atlas__hud-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.atlas__hud-meta span {
    padding: 3px 7px; color: #b7d7d9; font-size: 0.57rem; letter-spacing: 0.04em;
    border: 1px solid rgba(86, 170, 176, 0.22); background: rgba(86, 170, 176, 0.06);
}
.atlas__dock {
    position: absolute; top: 0; left: calc(100% + 10px); z-index: 3;
    width: clamp(300px, 27vw, 370px); max-height: min(70vh, 650px);
    display: flex; flex-direction: column; gap: 0;
    padding: 14px 14px 16px; overflow-y: auto;
    border: 1px solid rgba(86, 170, 176, 0.24);
    background: linear-gradient(180deg, rgba(7, 12, 18, 0.9), rgba(5, 8, 13, 0.82));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    clip-path: polygon(0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    transform: translateX(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.atlas__dock::-webkit-scrollbar { width: 7px; }
.atlas__dock::-webkit-scrollbar-thumb { background: rgba(86, 170, 176, 0.3); border-radius: 4px; }
[data-atlas].control-dock-open .atlas__presentation { border-color: rgba(123, 216, 196, 0.48); }
[data-atlas].control-dock-open .atlas__dock { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; }
.atlas__dock-toggle {
    position: absolute; top: 12px; right: 12px; width: 22px; height: 22px;
    display: grid; place-items: center; cursor: pointer;
    border: 1px solid rgba(86, 170, 176, 0.3); background: rgba(4, 8, 12, 0.7);
    color: var(--faint, #7c9197); font-size: 0.8rem; line-height: 1; transition: color 0.2s, border-color 0.2s;
}
.atlas__dock-toggle .tt-icon { width: 13px; height: 13px; }
.atlas__dock-toggle:hover { color: #7bd88f; border-color: rgba(123, 216, 176, 0.5); }
.atlas__mode-note {
    margin: 2px 26px 12px 0; padding-bottom: 12px;
    border-bottom: 1px solid rgba(86, 170, 176, 0.14);
    font-size: 0.68rem; line-height: 1.5; color: var(--faint, #7c9197); letter-spacing: 0.02em;
}
.atlas__panel { display: none; flex-direction: column; gap: 14px; min-height: 0; }
.atlas__panel.is-active { display: flex; min-height: 0; }
.atlas__panel[hidden] { display: none; }
.atlas__panel[data-atlas-panel="problem"].is-active {
    flex: 1 1 auto;
}

.rail__group { display: flex; flex-direction: column; gap: 8px; }
.rail__group + .rail__group { margin-top: 14px; }
.rail__label { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan, #56aab0); }
.rail__hint { margin: 0; color: var(--faint, #7c9197); font-size: 0.62rem; line-height: 1.45; }
.rail__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rail__chip {
    appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; font-family: var(--mono, monospace); font-size: 0.68rem;
    color: var(--faint, #7c9197); border: 1px solid rgba(86, 170, 176, 0.22);
    background: rgba(4, 8, 12, 0.5); transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.rail__chip:hover { color: var(--text, #e8f1f2); border-color: rgba(86, 170, 176, 0.5); }
.rail__chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chip-accent, #56aab0); box-shadow: 0 0 8px var(--chip-accent, #56aab0); }
.rail__chip.is-active {
    color: var(--text, #fff); border-color: var(--chip-accent, #56aab0);
    background: color-mix(in srgb, var(--chip-accent, #56aab0) 18%, transparent);
}
.rail__chip--own.is-active { color: #03110d; background: linear-gradient(120deg, #7bd88f, #56aab0); border-color: transparent; }
.rail__chip--lifecycle { flex: 1 1 78px; justify-content: center; }
[data-atlas-lifecycle="current"] .rail__chip--lifecycle.is-active { color: #03110d; background: #7bd88f; border-color: #7bd88f; }
[data-atlas-lifecycle="roadmap"] .rail__chip--lifecycle.is-active { color: #170f02; background: #d6a64d; border-color: #d6a64d; }
[data-atlas-lifecycle="all"] .rail__chip--lifecycle.is-active { color: #03110d; background: #6fc8cf; border-color: #6fc8cf; }

.rail__legend-row {
    display: flex; align-items: center; gap: 9px;
    font-size: 0.68rem; line-height: 1.35; color: var(--muted, #aab8bb);
}
.rail__mag { display: inline-grid; place-items: center; width: 20px; flex: none; }
.rail__mag i { display: block; border-radius: 50%; background: currentColor; }
.rail__mag--sun { color: #d8fff0; }
.rail__mag--sun i { width: 14px; height: 14px; box-shadow: 0 0 12px #7bd8c4; }
.rail__mag--1 { color: #6fc8cf; }
.rail__mag--1 i { width: 11px; height: 11px; box-shadow: 0 0 8px #6fc8cf; }
.rail__mag--3 { color: #62c476; }
.rail__mag--3 i { width: 7px; height: 7px; box-shadow: 0 0 6px #62c476; }
.rail__sat {
    display: inline-block; width: 12px; height: 12px; flex: none; margin: 0 4px;
    background: #b88d3f; box-shadow: 0 0 10px #b88d3f;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.rail__linekey { display: inline-block; width: 22px; height: 0; flex: none; border-top: 2px solid; }
.rail__linekey--feeds { border-color: #62d982; }
.rail__linekey--unlocks { border-color: #7bd88f; border-top-style: solid; }
.rail__linekey--bridge { border-color: #b88d3f; border-top-style: dashed; }
.rail__linekey--complements { border-color: #56aab0; opacity: 0.7; }
.rail__linekey--planned { border-color: #d6a64d; border-top-style: dashed; opacity: 0.58; }
.rail__linekey--catalog { border-color: #52636b; border-top-style: dotted; opacity: 0.5; }
.atlas-chord--planned { stroke-dasharray: 10 12; opacity: 0.32; }
.atlas-chord__flow--planned { display: none; }

.rail__problem-search {
    display: flex; align-items: center; gap: 8px;
    min-height: 36px; padding: 0 10px;
    border: 1px solid rgba(86, 170, 176, 0.24);
    background: rgba(4, 8, 12, 0.62);
}
.rail__problem-search svg { width: 15px; height: 15px; flex: none; color: var(--cyan, #56aab0); opacity: 0.86; }
.rail__problem-search input {
    width: 100%; min-width: 0; border: 0; outline: 0; background: transparent;
    color: var(--text, #e8f1f2); font-family: var(--mono, monospace); font-size: 0.72rem;
}
.rail__problem-search input::placeholder { color: var(--faint, #7c9197); opacity: 0.95; }
.rail__problem-empty {
    margin: 0; padding: 9px 10px;
    border: 1px solid rgba(184, 141, 63, 0.28);
    background: rgba(184, 141, 63, 0.07);
    color: var(--faint, #7c9197); font-size: 0.68rem; line-height: 1.45;
}
.rail__group--problems {
    flex: 1 1 auto; min-height: 0;
}
.rail__problem-scroll {
    display: flex; flex-direction: column; gap: 8px;
    flex: 1 1 auto; min-height: 0; max-height: none;
    padding-right: 4px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: rgba(86, 170, 176, 0.42) rgba(4, 8, 12, 0.38);
}
.rail__problem-scroll:focus-visible {
    outline: 1px solid rgba(123, 216, 176, 0.64);
    outline-offset: 3px;
}
.rail__problem-scroll::-webkit-scrollbar { width: 7px; }
.rail__problem-scroll::-webkit-scrollbar-track { background: rgba(4, 8, 12, 0.36); }
.rail__problem-scroll::-webkit-scrollbar-thumb { background: rgba(86, 170, 176, 0.42); border-radius: 4px; }
.rail__problem-category {
    border: 1px solid rgba(86, 170, 176, 0.18);
    background: rgba(4, 8, 12, 0.34);
}
.rail__problem-category[hidden] { display: none; }
.rail__problem-category summary {
    cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center;
    padding: 10px 11px; list-style: none;
}
.rail__problem-category summary::-webkit-details-marker { display: none; }
.rail__problem-category summary::before {
    content: "+"; grid-column: 2; grid-row: 1; align-self: start; justify-self: end;
    transform: translateY(1px); color: var(--cyan, #56aab0); font-family: var(--mono, monospace); font-size: 0.72rem;
}
.rail__problem-category[open] summary::before { content: "-"; }
.rail__problem-category__main { display: grid; gap: 3px; min-width: 0; padding-right: 24px; }
.rail__problem-category__label { color: var(--text, #e8f1f2); font-size: 0.76rem; font-weight: 700; line-height: 1.25; }
.rail__problem-category__desc { color: var(--faint, #7c9197); font-size: 0.64rem; line-height: 1.35; }
.rail__problem-category__count {
    grid-column: 2; grid-row: 1; align-self: end; justify-self: end;
    min-width: 21px; padding: 2px 5px; text-align: center;
    color: #7bd88f; border: 1px solid rgba(123, 216, 143, 0.28); background: rgba(123, 216, 143, 0.08);
    font-size: 0.6rem;
}
.rail__problem-category .rail__problems { padding: 0 8px 9px; border-top: 1px solid rgba(86, 170, 176, 0.12); }
.rail__problems { display: flex; flex-direction: column; gap: 8px; }
.rail__problem {
    appearance: none; cursor: pointer; text-align: left; display: grid; gap: 3px;
    padding: 10px 12px; border: 1px solid rgba(86, 170, 176, 0.2); background: rgba(4, 8, 12, 0.5);
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.rail__problem:hover { border-color: rgba(123, 216, 176, 0.5); transform: translateX(2px); }
.rail__problem.is-active { border-color: #7bd88f; background: rgba(123, 216, 143, 0.1); }
.rail__problem__q { font-size: 0.62rem; color: #7bd88f; letter-spacing: 0.1em; }
.rail__problem__label { font-size: 0.8rem; font-weight: 600; color: var(--text, #e8f1f2); }
.rail__problem__desc { font-size: 0.68rem; line-height: 1.4; color: var(--faint, #7c9197); }

/* ---- mission builder / tokens ---------------------------------------- */
.atlas-stack__chosen { display: flex; flex-wrap: wrap; gap: 6px; }
.atlas-stack__empty { font-size: 0.7rem; color: var(--faint, #7c9197); line-height: 1.5; margin: 0; }
.atlas-token {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 9px;
    font-family: var(--mono, monospace); font-size: 0.68rem; color: var(--text, #e8f1f2);
    border: 1px solid color-mix(in srgb, var(--acc, #56aab0) 50%, transparent);
    background: color-mix(in srgb, var(--acc, #56aab0) 14%, rgba(4, 8, 12, 0.6));
}
.atlas-token__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc, #56aab0); box-shadow: 0 0 7px var(--acc, #56aab0); }
.atlas-token__x { appearance: none; border: 0; cursor: pointer; background: transparent; color: var(--faint, #7c9197); font-size: 0.85rem; line-height: 1; padding: 0 2px; }
.atlas-token__x:hover { color: var(--red, #b85a52); }
.atlas-stack__result { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.atlas-stack__card {
    padding: 10px 12px; border: 1px solid rgba(86, 170, 176, 0.22); background: rgba(4, 8, 12, 0.5);
}
.atlas-stack__card.is-complete { border-color: #7bd88f; background: rgba(123, 216, 143, 0.1); }
.atlas-stack__card header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.atlas-stack__card header strong { font-size: 0.82rem; color: var(--text, #e8f1f2); }
.atlas-stack__card header span { font-family: var(--mono, monospace); font-size: 0.68rem; color: #7bd88f; }
.atlas-stack__card p { font-size: 0.7rem; line-height: 1.45; color: var(--faint, #7c9197); margin: 0; }
.atlas-stack__missing { margin-top: 6px !important; color: var(--amber, #b88d3f) !important; }
.atlas-stack__clear { margin-top: 6px; }

/* ---- bottom controls -------------------------------------------------- */
.atlas__controls {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 6;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
    max-width: calc(100% - 24px);
    padding: 7px 9px; border: 1px solid rgba(86, 170, 176, 0.24);
    background: rgba(6, 11, 16, 0.84); backdrop-filter: blur(8px);
    clip-path: polygon(0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px));
}
.atlas__ctl {
    appearance: none; cursor: pointer; display: grid; place-items: center;
    width: 32px; height: 32px; font-size: 1rem; line-height: 1;
    color: var(--text, #e8f1f2); border: 1px solid rgba(86, 170, 176, 0.24); background: rgba(4, 8, 12, 0.6);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.atlas__ctl:hover { color: #7bd88f; border-color: rgba(123, 216, 176, 0.6); }
.atlas__play { border-color: rgba(123, 216, 176, 0.5); }
.atlas__play-ic { position: relative; display: inline-block; width: 14px; height: 14px; color: currentColor; }
.atlas__play-ic::before, .atlas__play-ic::after { content: ""; position: absolute; top: 1px; bottom: 1px; width: 4px; background: currentColor; }
.atlas__play-ic::before { left: 2px; }
.atlas__play-ic::after { right: 2px; }
.atlas__play.is-paused .atlas__play-ic::before {
    left: 3px; top: 0; bottom: 0; width: 0; background: transparent;
    border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.atlas__play.is-paused .atlas__play-ic::after { display: none; }
.atlas__speedctl {
    display: inline-flex; align-items: center; gap: 7px; min-width: 146px; max-width: 190px;
    padding-left: 7px; border-left: 1px solid rgba(86, 170, 176, 0.16);
}
.atlas__speed {
    appearance: none; flex: 1 1 98px; min-width: 82px; height: 18px; margin: 0;
    background: transparent; cursor: pointer;
}
.atlas__speed::-webkit-slider-runnable-track {
    height: 4px; border: 1px solid rgba(86, 170, 176, 0.28);
    background: linear-gradient(90deg, rgba(123, 216, 143, 0.75), rgba(86, 170, 176, 0.28));
}
.atlas__speed::-webkit-slider-thumb {
    appearance: none; width: 14px; height: 14px; margin-top: -6px;
    border: 1px solid rgba(123, 216, 176, 0.95); border-radius: 50%;
    background: #7bd88f; box-shadow: 0 0 12px rgba(123, 216, 176, 0.65);
}
.atlas__speed::-moz-range-track {
    height: 4px; border: 1px solid rgba(86, 170, 176, 0.28);
    background: linear-gradient(90deg, rgba(123, 216, 143, 0.75), rgba(86, 170, 176, 0.28));
}
.atlas__speed::-moz-range-thumb {
    width: 14px; height: 14px; border: 1px solid rgba(123, 216, 176, 0.95); border-radius: 50%;
    background: #7bd88f; box-shadow: 0 0 12px rgba(123, 216, 176, 0.65);
}
.atlas__speed:focus-visible { outline: 1px solid #7bd88f; outline-offset: 3px; }
.atlas__speed-readout { min-width: 38px; text-align: right; font-size: 0.68rem; color: var(--faint, #7c9197); }
.atlas__zoomctl { display: inline-flex; align-items: center; gap: 6px; padding-left: 6px; border-left: 1px solid rgba(86, 170, 176, 0.16); }
.atlas__zoom { min-width: 42px; text-align: center; font-size: 0.7rem; color: var(--faint, #7c9197); }

/* ---- loading / a11y / noscript --------------------------------------- */
.atlas__loading {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
    font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan, #56aab0);
    transition: opacity 0.5s ease;
}
.atlas__loading::after { content: ""; animation: atlas-dots 1.4s steps(4, end) infinite; }
@keyframes atlas-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
[data-atlas-state="ready"] .atlas__loading { opacity: 0; pointer-events: none; }
[data-atlas-state="fallback"] .atlas__loading::before { content: "WebGL unavailable — see the full index below"; }
[data-atlas-state="fallback"] .atlas__loading { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: none; color: var(--amber, #b88d3f); }
[data-atlas-state="fallback"] .atlas__loading::after { content: ""; animation: none; }
.atlas-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.atlas-noscript {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
    max-width: 320px; text-align: center; font-size: 0.8rem; color: var(--faint, #7c9197);
}

/* ---- inspector (right dock) ------------------------------------------ */
.atlas__inspector {
    position: absolute; top: 16px; right: 16px; bottom: 16px; z-index: 7;
    width: clamp(280px, 30vw, 372px);
    display: flex; transform: translateX(calc(100% + 26px)); opacity: 0;
    transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.32s;
    pointer-events: none;
}
[data-atlas].has-inspector .atlas__inspector { transform: translateX(0); opacity: 1; pointer-events: auto; }
.insp {
    width: 100%; overflow-y: auto;
    border: 1px solid rgba(86, 170, 176, 0.28);
    background: linear-gradient(180deg, rgba(8, 13, 19, 0.94), rgba(5, 8, 13, 0.92));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.insp::-webkit-scrollbar { width: 8px; }
.insp::-webkit-scrollbar-thumb { background: rgba(86, 170, 176, 0.3); border-radius: 4px; }
.insp__head {
    position: relative; padding: 18px 18px 14px; border-bottom: 1px solid rgba(86, 170, 176, 0.16);
    background: linear-gradient(180deg, color-mix(in srgb, var(--acc, #56aab0) 16%, transparent), transparent);
}
.insp__head--route { background: linear-gradient(180deg, rgba(123, 216, 143, 0.12), transparent); }
.insp__head--planned { background: linear-gradient(180deg, rgba(214, 166, 77, 0.18), transparent); }
.insp__head--catalog { background: linear-gradient(180deg, rgba(82, 99, 107, 0.20), transparent); }
.insp__head--problem { background: linear-gradient(180deg, rgba(184, 141, 63, 0.14), transparent); }
.insp__close {
    position: absolute; top: 12px; right: 12px; width: 26px; height: 26px;
    appearance: none; cursor: pointer; display: grid; place-items: center;
    border: 1px solid rgba(86, 170, 176, 0.3); background: rgba(4, 8, 12, 0.7);
    color: var(--faint, #7c9197); font-size: 1rem; line-height: 1;
}
.insp__close:hover { color: var(--red, #b85a52); border-color: rgba(184, 90, 82, 0.5); }
.insp__tag { font-family: var(--mono, monospace); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan, #56aab0); }
.insp__name { margin: 6px 28px 8px 0; font-size: 1.18rem; line-height: 1.2; color: var(--text, #fff); }
.insp__name--route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1.02rem; }
.insp__route-end { color: var(--acc, #56aab0); font-weight: 600; }
.insp__route-link { color: var(--faint, #7c9197); }
.insp__status { display: inline-block; padding: 3px 9px; font-family: var(--mono, monospace); font-size: 0.62rem; letter-spacing: 0.04em; border: 1px solid currentColor; }
.insp__status--paid { color: #7bd88f; }
.insp__status--free { color: #62d982; }
.insp__status--preview { color: #b88d3f; }
.insp__tagline { padding: 14px 18px 0; font-size: 0.86rem; line-height: 1.5; color: var(--text, #d6e4e6); }
.insp__summary { padding: 10px 18px 0; font-size: 0.76rem; line-height: 1.55; color: var(--faint, #97a9ac); }
.insp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 18px 4px; }
.insp__block { padding: 0 18px 14px; }
.insp__grid .insp__block { padding: 0; }
.insp__label { display: block; font-family: var(--mono, monospace); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint, #7c9197); margin-bottom: 6px; }
.insp__label--reads { color: #6fc8cf; }
.insp__label--does { color: #62c476; }
.insp__label--gives { color: #7bd88f; }
.insp__label--never { color: #b85a52; }
.insp__label--current { color: #7bd88f; }
.insp__label--target { color: #d6a64d; }
.insp__proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 12px 0 14px;
}
.insp__proof span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid rgba(111, 200, 207, 0.18);
    background: rgba(8, 14, 18, 0.72);
    color: var(--muted, #b6c4c6);
    font-size: 0.66rem;
    line-height: 1.35;
}
.insp__proof b {
    color: #6fc8cf;
    font-family: var(--mono, monospace);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.insp__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.insp__list li { position: relative; padding-left: 14px; font-size: 0.74rem; line-height: 1.4; color: var(--muted, #b6c4c6); }
.insp__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; background: currentColor; opacity: 0.5; }
.insp__list--gives li { color: #cfeede; }
.insp__plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.insp__plain li { font-size: 0.76rem; line-height: 1.45; color: var(--faint, #97a9ac); }
.insp__plain strong { color: var(--text, #e8f1f2); }

.insp__combos { display: flex; flex-direction: column; gap: 6px; }
.insp__combo {
    appearance: none; cursor: pointer; text-align: left; display: flex; align-items: flex-start; gap: 9px;
    padding: 9px 11px; border: 1px solid rgba(86, 170, 176, 0.2); background: rgba(4, 8, 12, 0.5);
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.insp__combo:hover { border-color: rgba(123, 216, 176, 0.55); background: rgba(123, 216, 143, 0.08); transform: translateX(2px); }
.insp__combo-dot { width: 9px; height: 9px; margin-top: 3px; flex: none; border-radius: 50%; background: var(--acc, #56aab0); box-shadow: 0 0 8px var(--acc, #56aab0); }
.insp__combo-main { display: flex; flex-direction: column; gap: 2px; }
.insp__combo-name { font-size: 0.8rem; font-weight: 600; color: var(--text, #e8f1f2); }
.insp__combo-life {
    justify-self: start; width: fit-content; padding: 1px 5px;
    color: #7bd88f; border: 1px solid currentColor;
    font-family: var(--mono, monospace); font-size: 0.52rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.insp__combo-life--planned { color: #d6a64d; }
.insp__combo-life--catalog { color: #7c9197; }
.insp__combo-gain { font-size: 0.68rem; line-height: 1.4; color: var(--faint, #97a9ac); }
.insp__badges { display: flex; flex-wrap: wrap; gap: 5px; }
.insp__badge { padding: 3px 8px; font-family: var(--mono, monospace); font-size: 0.62rem; color: var(--faint, #97a9ac); border: 1px solid rgba(86, 170, 176, 0.22); }
.insp__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 18px 20px; }
.insp__action {
    flex: 1 1 auto; text-align: center; text-decoration: none; padding: 9px 12px;
    font-family: var(--mono, monospace); font-size: 0.72rem; color: var(--text, #e8f1f2);
    border: 1px solid rgba(86, 170, 176, 0.4); transition: background 0.2s, color 0.2s;
}
.insp__action:hover { background: rgba(86, 170, 176, 0.14); }
.insp__action--primary { color: #03110d; font-weight: 600; background: linear-gradient(120deg, #7bd88f, #56aab0); border-color: transparent; }
.insp__action--primary:hover { filter: brightness(1.08); }

@media (max-width: 980px) {
    .atlas__dock {
        top: calc(100% + 9px); left: 0; width: min(360px, calc(100vw - 48px));
        max-height: min(58vh, 560px);
    }
}
@media (max-width: 720px) {
    .atlas { padding: 10px 8px 18px; }
    .atlas__frame { height: max(680px, calc(100dvh - 20px)); min-height: 680px; }
    .atlas__inspector { left: 12px; right: 12px; width: auto; top: auto; bottom: 12px; height: min(58dvh, 520px); }
    [data-atlas].has-inspector .atlas__controls { opacity: 0; pointer-events: none; }
    [data-atlas].has-inspector .atlas__presentation { opacity: 0; pointer-events: none; transform: translateY(-10px); }
    .atlas__presentation {
        left: 12px; right: 12px; top: 12px; bottom: auto;
        width: auto;
    }
    .atlas__hud { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; }
    .atlas__hud-kicker, .atlas__hud-title, .atlas__hud-copy { grid-column: 1; }
    .atlas__hud-copy { display: none; }
    .atlas__hud-meta { grid-column: 2; grid-row: 1 / span 2; align-content: center; justify-content: flex-end; max-width: 122px; }
    .atlas__dock { top: calc(100% + 8px); left: 0; right: 0; width: auto; max-height: min(54dvh, 460px); }
    .atlas__bar { grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: stretch; }
    .atlas__brand { min-width: 0; }
    .atlas__modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-self: stretch; width: 100%; }
    .atlas__mode { min-width: 0; padding: 7px 5px; font-size: 0.62rem; letter-spacing: 0; white-space: normal; }
    .atlas__bar-right { justify-self: stretch; justify-content: stretch; }
    .atlas__search { flex: 1 1 auto; }
    .atlas__search input { width: 100%; }
    .atlas__controls { bottom: 12px; gap: 6px; flex-wrap: nowrap; padding: 6px 7px; }
    .atlas__ctl { width: 30px; height: 30px; }
    .atlas__speedctl { gap: 5px; min-width: 108px; max-width: 108px; padding-left: 5px; }
    .atlas__speed { flex-basis: 64px; min-width: 64px; }
    .atlas__speed-readout { min-width: 30px; font-size: 0.62rem; }
    .atlas__zoomctl { gap: 4px; padding-left: 5px; }
    .atlas__zoom { min-width: 34px; font-size: 0.62rem; }
    .insp__close { width: 44px; height: 44px; top: 8px; right: 8px; font-size: 1.2rem; }
    .insp__name { margin-right: 48px; }
    .atlas__transmissions { grid-template-columns: 1fr; gap: 16px; margin-top: 10px; padding: 14px; }
    .atlas__transmissions-head { padding: 2px 2px 0; }
    .atlas__transmissions-head h2 { margin-top: 9px; }
    .atlas__transmissions .live-slider__stage { min-height: 440px; }
    .atlas__transmissions .live-slide { grid-template-columns: 1fr; grid-template-rows: minmax(180px, 46%) minmax(0, 1fr); }
    .atlas__transmissions .live-slide__media img { height: 100%; }
    .atlas__transmissions .live-slide__copy { align-content: start; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 350px) {
    .atlas__controls { flex-wrap: wrap; }
}

/* ---- full index (fallback / SEO) ------------------------------------- */
.atlas-index { position: relative; z-index: 2; }
.atlas-overview { margin-top: 26px; }
.atlas-overview__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(154px, 1fr)); gap: 12px; }
.atlas-overview__card {
    min-height: 128px; padding: 14px;
    border: 1px solid rgba(123, 216, 176, 0.18); background: rgba(6, 11, 16, 0.52);
}
.atlas-overview__value { display: block; margin-bottom: 10px; font-size: clamp(1.35rem, 3vw, 2.15rem); line-height: 1; color: #7bd88f; }
.atlas-overview__card strong { display: block; margin-bottom: 6px; font-size: 0.8rem; color: var(--text, #e8f1f2); }
.atlas-overview__card p { margin: 0; font-size: 0.68rem; line-height: 1.45; color: var(--faint, #97a9ac); }
.atlas-overview__note {
    margin: 12px 0 0; padding: 10px 12px; font-size: 0.72rem; line-height: 1.5;
    color: var(--faint, #97a9ac); border: 1px solid rgba(86, 170, 176, 0.18);
    background: rgba(86, 170, 176, 0.06);
}
.atlas-index__clusters { display: flex; flex-direction: column; gap: 30px; margin-top: 26px; }
.atlas-index__cluster { border-left: 2px solid var(--cluster-accent, #56aab0); padding-left: clamp(14px, 2vw, 22px); }
.atlas-index__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; margin-bottom: 16px; }
.atlas-index__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cluster-accent, #56aab0); box-shadow: 0 0 12px var(--cluster-accent, #56aab0); }
.atlas-index__head h3 { margin: 0; font-size: 1.1rem; color: var(--text, #e8f1f2); }
.atlas-index__head p { grid-column: 2; margin: 0; font-size: 0.78rem; color: var(--faint, #7c9197); }
.atlas-index__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 14px; }
.atlas-index__card {
    display: flex; flex-direction: column; gap: 8px; padding: 16px;
    border: 1px solid rgba(86, 170, 176, 0.2); background: rgba(6, 11, 16, 0.6);
    transition: border-color 0.2s, transform 0.2s;
}
.atlas-index__card:hover { border-color: color-mix(in srgb, var(--cluster-accent, #56aab0) 60%, transparent); transform: translateY(-2px); }
.atlas-index__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.atlas-index__top strong { font-size: 0.92rem; color: var(--text, #e8f1f2); }
.atlas-index__status { font-size: 0.62rem; color: var(--faint, #7c9197); white-space: nowrap; }
.atlas-index__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 20px; }
.atlas-index__source, .atlas-index__release, .atlas-index__plugin {
    max-width: 100%; padding: 3px 7px; font-size: 0.58rem; line-height: 1.2; overflow-wrap: anywhere;
    color: var(--faint, #97a9ac); border: 1px solid rgba(86, 170, 176, 0.22);
    background: rgba(86, 170, 176, 0.06);
}
.atlas-index__source--registry-only { color: #ffd27a; border-color: rgba(255, 210, 122, 0.32); background: rgba(255, 210, 122, 0.07); }
.atlas-index__source--fact-backed { color: #7bd88f; border-color: rgba(123, 216, 176, 0.32); background: rgba(123, 216, 176, 0.07); }
.atlas-index__source--website-copy { color: #9bc9ff; border-color: rgba(155, 201, 255, 0.28); background: rgba(155, 201, 255, 0.06); }
.atlas-index__release--released { color: #7bd88f; border-color: rgba(123, 216, 176, 0.3); }
.atlas-index__release--publishment, .atlas-index__release--preview { color: #9bc9ff; border-color: rgba(155, 201, 255, 0.28); }
.atlas-index__release--internal, .atlas-index__release--design { color: #ffd27a; border-color: rgba(255, 210, 122, 0.32); }
.atlas-index__plugin { color: var(--muted, #bac9cc); }
.atlas-index__card p { margin: 0; font-size: 0.76rem; line-height: 1.5; color: var(--faint, #97a9ac); }
.atlas-index__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 4px; }

/* ---- reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .atlas__frame::before,
    .atlas__loading::after { animation: none; }
    .atlas__label, .atlas__inspector, .atlas__presentation, .atlas__slides, .atlas__dock, .insp__combo, .rail__problem { transition: none; }
}
