:root {
    --bg: #04070d;
    --bg-2: #0a1019;
    --panel: rgba(10, 15, 24, 0.8);
    --panel-strong: rgba(8, 13, 22, 0.94);
    --line: rgba(87, 242, 255, 0.18);
    --line-soft: rgba(255, 255, 255, 0.08);
    --text: #eef7ff;
    --muted: #93a4b7;
    --cyan: #57f2ff;
    --blue: #4e7cff;
    --lime: #c6ff5f;
    --chrome: #cad8e7;
    --glow: 0 24px 70px rgba(60, 126, 255, 0.17);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: rgba(87, 242, 255, 0.55) rgba(255, 255, 255, 0.06);
    scrollbar-width: thin;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Sora", sans-serif;
    background: radial-gradient(circle at top, rgba(62, 117, 255, 0.14), transparent 24%), var(--bg);
    overflow-x: hidden;
}

body::-webkit-scrollbar,
.chat-thread::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track,
.chat-thread::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb,
.chat-thread::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(87, 242, 255, 0.82), rgba(78, 124, 255, 0.82));
    border: 2px solid rgba(3, 6, 12, 0.85);
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover,
.chat-thread::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(111, 223, 255, 0.98), rgba(92, 142, 255, 0.98));
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

.background-layer {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 0%, rgba(87, 242, 255, 0.1), transparent 23%),
        linear-gradient(180deg, #05080f 0%, #03060c 100%);
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.2;
}

.orb-cyan {
    top: 0;
    left: -8%;
    width: 420px;
    height: 420px;
    background: var(--cyan);
}

.orb-lime {
    top: 26%;
    right: -10%;
    width: 360px;
    height: 360px;
    background: var(--lime);
}

.orb-blue {
    bottom: -8%;
    left: 35%;
    width: 380px;
    height: 380px;
    background: var(--blue);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.15));
}

.noise-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0.6px, transparent 0.7px);
    background-size: 18px 18px;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        var(--panel);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--glow);
    backdrop-filter: blur(18px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(3, 6, 12, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    position: relative;
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(87, 242, 255, 0.18);
}

.brand-mark-xl {
    width: 92px;
    height: 92px;
}

.brand-text {
    display: grid;
    gap: 0.12rem;
}

.brand-mark .agent-launch-code {
    font-size: 0.96rem;
}

.brand-text strong,
.section-heading h2,
.hero-copy h1,
.contact-copy h2 {
    font-family: "Space Grotesk", sans-serif;
}

.brand-text strong {
    display: block;
    font-size: 1.12rem;
}

.brand-tag,
.eyebrow,
.frame-label,
.systems-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--cyan);
}

.site-nav {
    display: inline-flex;
    justify-content: center;
    gap: 1.35rem;
}

.site-nav a,
.footer-links a {
    color: #dce9f8;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.footer-links a:hover,
.contact-card a:hover {
    color: var(--cyan);
}

.header-actions,
.hero-buttons,
.ai-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #021117;
    background: linear-gradient(135deg, #74e6ff 0%, #59b8ff 46%, #4e7cff 100%);
    box-shadow: 0 12px 28px rgba(78, 124, 255, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-primary:hover {
    box-shadow: 0 16px 34px rgba(78, 124, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button-secondary,
.button-ghost {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--line);
    color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
    background: rgba(78, 124, 255, 0.12);
    border-color: rgba(87, 242, 255, 0.2);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
    margin: 0 auto;
}

.hero-section {
    padding: 3.5rem 0 2.5rem;
}

.hero-layout,
.ai-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.2rem;
    align-items: center;
}

.hero-copy h1,
.contact-copy h2,
.section-heading h2 {
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 0.96;
}

.hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 7vw, 6.4rem);
}

.hero-viewer-intro {
    max-width: 920px;
    margin-bottom: 1.5rem;
}

.hero-viewer-intro h1 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.3rem, 4.8vw, 4.75rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    max-width: 13ch;
}

.hero-viewer-intro p:last-of-type {
    max-width: 64ch;
}

.hero-viewer-layout {
    margin-top: 1.25rem;
}

.contact-copy h2,
.section-heading h2 {
    font-size: clamp(2.1rem, 5vw, 4.1rem);
}

.hero-text,
.section-heading p,
.service-card p,
.systems-list li,
.contact-copy p {
    color: var(--muted);
    line-height: 1.75;
}

.hero-text {
    max-width: 62ch;
    margin: 1.5rem 0 0;
}

.hero-metrics {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.hero-metrics article {
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.025);
}

.hero-metrics strong {
    display: block;
    color: var(--lime);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.hero-metrics span {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-stage {
    padding: 1.2rem;
    background:
        linear-gradient(180deg, rgba(78, 124, 255, 0.09), rgba(0, 0, 0, 0)),
        var(--panel-strong);
}

.stage-header,
.frame-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
}

.stage-header > span,
.frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.stage-header > span:nth-child(1),
.frame-dots span:nth-child(1) { background: #fd5c74; }
.stage-header > span:nth-child(2),
.frame-dots span:nth-child(2) { background: #ffcb54; }
.stage-header > span:nth-child(3),
.frame-dots span:nth-child(3) { background: #6ef0a4; }

.stage-label,
.frame-url,
#summary-output,
.stage-line {
    font-family: "IBM Plex Mono", monospace;
}

.stage-label,
.frame-url {
    color: #afbdd0;
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stage-screen {
    margin-top: 1rem;
    border-radius: 24px;
    padding: 1.1rem;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.03), rgba(0, 0, 0, 0)),
        rgba(4, 8, 16, 0.92);
}

.stage-line {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line-soft);
    color: #dbeefe;
}

.token-cyan {
    color: var(--cyan);
}

.stage-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.stage-grid article {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.stage-grid h3,
.service-card h3,
.viewer-copy strong,
.contact-card a,
.frame-meta h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
}

.stage-grid p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.signal-strip {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.4rem;
    margin-top: 1rem;
}

.signal-strip span {
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(87, 242, 255, 0.15), rgba(198, 255, 95, 0.8));
}

.signal-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.signal-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.1rem;
    color: #c8d8eb;
    font-size: 0.92rem;
}

.signal-inner span::before {
    content: "/";
    color: var(--blue);
    margin-right: 0.45rem;
}

.section {
    padding: 5.2rem 0;
}

.section-heading {
    max-width: 770px;
    margin-bottom: 2.4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.service-card {
    padding: 1.35rem;
    color: inherit;
    text-decoration: none;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    align-content: start;
    gap: 0.75rem;
    height: 100%;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.service-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(87, 242, 255, 0.3);
    background: linear-gradient(180deg, rgba(87, 242, 255, 0.04), rgba(255, 255, 255, 0.01)), var(--panel);
}

.service-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(87, 242, 255, 0.18), var(--glow);
}

.service-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(87, 242, 255, 0.18), rgba(78, 124, 255, 0.16));
    color: var(--cyan);
    font-size: 1.25rem;
}

.service-card h3 {
    font-size: 1.35rem;
    margin: 0;
}

.service-card p {
    margin: 0;
}

.service-card-link {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--cyan);
}

.service-card:hover .service-card-link,
.service-card:focus-visible .service-card-link {
    color: var(--lime);
}

.viewer-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    max-width: none;
}

.viewer-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1rem;
    align-items: start;
}

.viewer-sidebar {
    display: grid;
    gap: 0.75rem;
}

.viewer-site {
    text-align: left;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.viewer-site:hover,
.viewer-site.is-active {
    border-color: rgba(87, 242, 255, 0.34);
    background: rgba(87, 242, 255, 0.06);
    transform: translateY(-1px);
}

.viewer-index {
    font-family: "IBM Plex Mono", monospace;
    color: var(--lime);
    font-size: 0.92rem;
    padding-top: 0.1rem;
}

.viewer-copy small {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted);
}

.viewer-frame {
    padding: 1rem;
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.06), rgba(0, 0, 0, 0)),
        var(--panel-strong);
}

.frame-topbar {
    padding: 0 0.2rem;
}

.frame-dots {
    display: inline-flex;
    gap: 0.35rem;
}

#frame-external {
    color: var(--cyan);
    font-size: 0.92rem;
}

.frame-meta {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    align-items: start;
}

.frame-meta h3 {
    font-size: 1.55rem;
    margin-top: 0.35rem;
}

.frame-meta p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.iframe-shell {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background: #02050a;
    min-height: 720px;
}

#project-frame {
    width: 100%;
    height: 720px;
    border: 0;
    background: #fff;
}

.viewer-mobile-note {
    display: none;
    margin-top: 1rem;
}

.viewer-mobile-note p {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.systems-panel {
    padding: 1.2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
    background:
        linear-gradient(180deg, rgba(198, 255, 95, 0.05), rgba(0, 0, 0, 0)),
        var(--panel-strong);
}

.systems-map {
    min-height: 560px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at 50% 16%, rgba(78, 124, 255, 0.14), transparent 24%),
        radial-gradient(circle at 50% 76%, rgba(87, 242, 255, 0.08), transparent 28%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        rgba(4, 8, 16, 0.94);
    background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

.systems-diagram {
    position: absolute;
    inset: 0;
    min-height: 560px;
    isolation: isolate;
}

.systems-diagram[data-systems-board] > .systems-path {
    display: none;
}

.systems-route-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    mix-blend-mode: screen;
    filter: saturate(1.1) brightness(1.06);
}

.systems-diagram .post-flow-route-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.systems-diagram .post-route-segment {
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(57, 78, 109, 0.18), rgba(113, 214, 255, 0.46), rgba(57, 78, 109, 0.18));
    box-shadow: 0 0 0 1px rgba(113, 214, 255, 0.05), 0 0 16px rgba(87, 242, 255, 0.08);
    opacity: 0.14;
    transform-origin: center center;
    transition:
        opacity 0.48s ease,
        filter 0.48s ease,
        background 0.48s ease,
        box-shadow 0.48s ease;
}

.systems-diagram .post-route-segment-horizontal {
    height: 2px;
}

.systems-diagram .post-route-segment-vertical {
    width: 2px;
}

.systems-diagram .post-route-segment.is-complete {
    opacity: 0.42;
    background: linear-gradient(90deg, rgba(57, 78, 109, 0.2), rgba(113, 214, 255, 0.34), rgba(57, 78, 109, 0.2));
}

.systems-diagram .post-route-segment.is-future {
    opacity: 0.1;
    background: linear-gradient(90deg, rgba(57, 78, 109, 0.12), rgba(113, 214, 255, 0.18), rgba(57, 78, 109, 0.12));
}

.systems-diagram .post-route-segment.is-current {
    opacity: 0.92;
    background: linear-gradient(90deg, rgba(87, 242, 255, 0.18), rgba(113, 214, 255, 0.92), rgba(87, 242, 255, 0.18));
    box-shadow: 0 0 0 1px rgba(113, 214, 255, 0.14), 0 0 18px rgba(87, 242, 255, 0.34);
    animation: systemsRouteFade 1.15s ease-in-out infinite;
    animation-delay: 0s;
}

.systems-diagram::before,
.systems-diagram::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.systems-diagram::before {
    inset: 14% 16% 10%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(78, 124, 255, 0.16), rgba(8, 13, 22, 0) 62%);
    filter: blur(28px);
    opacity: 0.78;
}

.systems-diagram::after {
    inset: 0;
    background:
        radial-gradient(circle at 50% 22%, rgba(87, 242, 255, 0.08), transparent 16%),
        radial-gradient(circle at 50% 84%, rgba(78, 124, 255, 0.1), transparent 22%);
}

.systems-path,
.systems-path::before,
.systems-path::after {
    position: absolute;
    display: block;
    border-radius: 999px;
    pointer-events: none;
}

.systems-path,
.systems-path::before,
.systems-path::after {
    background: linear-gradient(90deg, rgba(57, 78, 109, 0.18), rgba(113, 214, 255, 0.48), rgba(57, 78, 109, 0.18));
    box-shadow: 0 0 0 1px rgba(113, 214, 255, 0.05), 0 0 14px rgba(87, 242, 255, 0.09);
    opacity: 0.28;
    animation: systemsSignal 4.8s ease-in-out infinite;
    animation-delay: var(--signal-delay, 0s);
}

.systems-diagram[data-systems-board] .systems-path {
    transition:
        opacity 0.35s ease,
        filter 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.systems-path::before,
.systems-path::after {
    content: "";
}

.systems-path-horizontal {
    height: 2px;
}

.systems-path-elbow-right {
    background: none;
    box-shadow: none;
}

.systems-path-elbow-right::before {
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(57, 78, 109, 0.18), rgba(113, 214, 255, 0.48), rgba(57, 78, 109, 0.18));
}

.systems-path-elbow-right::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
}

.systems-path-scales-dashboard {
    left: 26.8%;
    top: 21.8%;
    width: 8.8%;
    --signal-delay: 0.15s;
}

.systems-path-dashboard-ai {
    left: 64.8%;
    top: 23.2%;
    width: 7.6%;
    --signal-delay: 0.7s;
}

.systems-path-ai-woo {
    left: 39%;
    top: 29.4%;
    width: 23.8%;
    height: 22.4%;
    --signal-delay: 1.3s;
}

.systems-path-woo-credomatic {
    left: 39.3%;
    top: 52.8%;
    width: 27.9%;
    --signal-delay: 1.95s;
}

.systems-path-credomatic-quickbooks {
    left: 39.3%;
    top: 56%;
    width: 27.9%;
    height: 21.4%;
    --signal-delay: 2.6s;
}

.systems-path-quickbooks-bsides {
    left: 39.3%;
    top: 77.2%;
    width: 30.7%;
    --signal-delay: 3.25s;
}

.systems-path-bsides-factura {
    left: 50.4%;
    top: 77.2%;
    width: 19.6%;
    height: 13%;
    --signal-delay: 3.9s;
}

.systems-route-segment {
    opacity: 1;
}

.systems-route-segment-base,
.systems-route-segment-flow {
    fill: none;
    vector-effect: non-scaling-stroke;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

.systems-route-segment-base {
    stroke: rgba(113, 214, 255, 0.12);
    stroke-width: 3;
    opacity: 0.3;
    filter: drop-shadow(0 0 4px rgba(87, 242, 255, 0.08));
}

.systems-route-segment-flow {
    stroke: rgba(111, 223, 255, 0.88);
    stroke-width: 3.2;
    opacity: 0.42;
    stroke-dasharray: 8 10;
    animation: systemsRouteDash 5.4s linear infinite;
    animation-delay: var(--signal-delay, 0s);
    filter: drop-shadow(0 0 9px rgba(87, 242, 255, 0.22));
}

.systems-route-segment.is-complete .systems-route-segment-base {
    opacity: 0.38;
}

.systems-route-segment.is-complete .systems-route-segment-flow {
    opacity: 0.72;
    stroke: rgba(111, 223, 255, 0.86);
    animation-duration: 6.8s;
}

.systems-route-segment.is-future .systems-route-segment-base {
    opacity: 0.16;
}

.systems-route-segment.is-future .systems-route-segment-flow {
    opacity: 0.16;
    animation-duration: 8.4s;
}

.systems-route-segment.is-current .systems-route-segment-base {
    opacity: 0.5;
}

.systems-route-segment.is-current .systems-route-segment-flow {
    opacity: 1;
    stroke: rgba(124, 232, 255, 0.98);
    stroke-width: 3.35;
    animation-duration: 3.8s;
    filter: drop-shadow(0 0 12px rgba(87, 242, 255, 0.5));
}

@keyframes systemsRouteDash {
    from {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: -120;
    }
}

@keyframes systemsRouteFade {
    0%, 100% {
        opacity: 0.58;
        filter: saturate(1.02);
        box-shadow: 0 0 0 1px rgba(113, 214, 255, 0.08), 0 0 10px rgba(87, 242, 255, 0.18);
    }
    45%, 60% {
        opacity: 1;
        filter: saturate(1.32);
        box-shadow: 0 0 0 1px rgba(113, 214, 255, 0.16), 0 0 24px rgba(87, 242, 255, 0.42);
    }
}

.systems-node {
    position: absolute;
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 0.32rem;
    min-height: 88px;
    padding: 0.95rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(113, 214, 255, 0.1);
    background: linear-gradient(180deg, rgba(18, 28, 43, 0.84), rgba(8, 13, 22, 0.97));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 22px 38px rgba(0, 0, 0, 0.28);
}

.systems-node::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid rgba(113, 214, 255, 0.08);
    box-shadow: 0 0 0 rgba(87, 242, 255, 0);
    opacity: 0.45;
    pointer-events: none;
    transition:
        opacity 0.48s ease,
        box-shadow 0.48s ease,
        border-color 0.48s ease;
}

.systems-diagram[data-systems-board] .systems-node {
    transition:
        opacity 0.48s ease,
        transform 0.48s ease,
        box-shadow 0.48s ease,
        border-color 0.48s ease,
        filter 0.48s ease;
}

.systems-diagram[data-systems-board] .systems-node.is-complete {
    opacity: 0.84;
    filter: saturate(0.96);
}

.systems-diagram[data-systems-board] .systems-node.is-future {
    opacity: 0.62;
    filter: saturate(0.92);
}

.systems-diagram[data-systems-board] .systems-node.is-current {
    opacity: 1;
    filter: saturate(1.12);
    border-color: rgba(113, 214, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 46px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(87, 242, 255, 0.14),
        0 0 32px rgba(87, 242, 255, 0.18);
}

.systems-diagram[data-systems-board] .systems-node.is-current::after {
    opacity: 0.98;
    animation: systemsNodeGlow 1.15s ease-in-out infinite;
}

.systems-diagram[data-systems-board] .systems-node.is-current .systems-core-mark {
    animation: pulseGlow 1.15s ease-in-out infinite;
}

.systems-diagram[data-systems-board] .systems-node.is-current .systems-core-ring-inner {
    animation-duration: 1.15s;
}

.systems-diagram[data-systems-board] .systems-path.is-complete {
    opacity: 0.34;
}

.systems-diagram[data-systems-board] .systems-path.is-future {
    opacity: 0.12;
    filter: saturate(0.92);
}

.systems-diagram[data-systems-board] .systems-path.is-current {
    opacity: 1;
    filter: saturate(1.38);
    background: linear-gradient(90deg, rgba(87, 242, 255, 0.2), rgba(113, 214, 255, 0.94), rgba(87, 242, 255, 0.2));
    box-shadow: 0 0 0 1px rgba(113, 214, 255, 0.12), 0 0 24px rgba(87, 242, 255, 0.3);
    animation: systemsSignal 1.65s ease-in-out infinite;
}

.systems-node-title {
    position: relative;
    z-index: 1;
    font-family: "Sora", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.systems-node small {
    position: relative;
    z-index: 1;
    color: #9cb0c8;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.systems-node-scales {
    --node-delay: 0.15s;
    left: 5.2%;
    top: 12%;
    width: 21.5%;
}

.systems-node-dashboard {
    --node-delay: 0.7s;
    left: 35.6%;
    top: 8%;
}

.systems-node-ai {
    --node-delay: 1.3s;
    left: 71.6%;
    top: 16.3%;
    width: 20.8%;
}

.systems-node-woo {
    --node-delay: 1.95s;
    left: 15.1%;
    top: 42%;
    width: 24.2%;
}

.systems-node-credomatic {
    --node-delay: 2.6s;
    left: 67.2%;
    top: 43%;
    width: 20.2%;
}

.systems-node-quickbooks {
    --node-delay: 3.25s;
    left: 20.4%;
    top: 69%;
    width: 19.2%;
}

.systems-node-bsides {
    --node-delay: 3.9s;
    left: 70.1%;
    top: 69%;
    width: 14.8%;
}

.systems-node-factura {
    --node-delay: 4.55s;
    left: 35.8%;
    top: 82.4%;
    width: 28.4%;
}

.systems-node-primary {
    width: 30.6%;
    min-height: 108px;
    grid-template-columns: auto 0.5fr;
    align-items: center;
    gap: 0.65rem 1rem;
    border-color: rgba(87, 242, 255, 0.16);
    background: linear-gradient(180deg, rgba(20, 39, 60, 0.9), rgba(8, 13, 22, 0.97));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 54px rgba(15, 37, 82, 0.24),
        0 0 0 1px rgba(87, 242, 255, 0.07);
}

.systems-node-primary .systems-node-title {
    font-size: 1.08rem;
}

.systems-node-primary small {
    grid-column: 2;
}

.systems-core-mark {
    position: relative;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(87, 242, 255, 0.18);
}

.systems-core-ring {
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    border: 2px solid rgba(111, 214, 255, 0.34);
    animation: pulseGlow 3.2s ease-in-out infinite;
}

.systems-core-ring-inner {
    inset: 8px;
    border-width: 1px;
    border-color: rgba(52, 116, 196, 0.18);
    border-top-color: rgba(52, 116, 196, 0.96);
    border-right-color: rgba(52, 116, 196, 0.96);
    animation: orbit-spin 2.2s linear infinite reverse;
}

.systems-core-hub {
    position: absolute;
    inset: 12px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0 16%, rgba(2, 8, 15, 0.94) 17% 100%);
    border: 1px solid rgba(105, 221, 255, 0.14);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.55);
}

.systems-core-code {
    position: relative;
    z-index: 1;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 700;
    font-size: 0.92rem;
    color: #74dcff;
    letter-spacing: -0.04em;
}

.systems-copy {
    padding: 1rem 1rem 1rem 0.2rem;
    display: grid;
    align-content: start;
    gap: 0.9rem;
}

.systems-summary {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.systems-brief-stack {
    display: grid;
    gap: 0.8rem;
}

.systems-brief-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.95rem;
    align-items: start;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        rgba(8, 13, 22, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.systems-brief-index {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(87, 242, 255, 0.18), rgba(78, 124, 255, 0.22));
    color: var(--cyan);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.78rem;
}

.systems-brief-card strong,
.systems-signal-card strong,
.motion-card h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
}

.systems-brief-card p,
.systems-signal-card span {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.92rem;
}

.systems-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.systems-signal-card {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
}

.systems-signal-card-optional {
    border-color: rgba(198, 255, 95, 0.16);
    background: linear-gradient(180deg, rgba(198, 255, 95, 0.08), rgba(198, 255, 95, 0.02));
}

.systems-signal-card-optional strong {
    color: #ebfbb7;
}

.case-sequence-intro {
    max-width: 760px;
    margin-top: 2rem;
}

.case-sequence-intro h2 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: -0.04em;
}

.case-sequence-intro p:last-child {
    color: var(--muted);
    line-height: 1.7;
}

.motion-gallery {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.motion-gallery-home {
    margin-top: 1rem;
}

.motion-card {
    padding: 1.15rem;
    display: grid;
    gap: 0.95rem;
}

.motion-card-head {
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
    align-items: start;
}

.motion-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(87, 242, 255, 0.14);
    background: rgba(87, 242, 255, 0.08);
    color: #d9f6ff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.motion-card p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.motion-screen {
    position: relative;
    min-height: 220px;
    padding: 1rem;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        radial-gradient(circle at top right, rgba(78, 124, 255, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        rgba(4, 8, 16, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.motion-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.9;
    pointer-events: none;
}

.motion-screen-top,
.motion-page-strip,
.motion-chip-row,
.motion-stat-strip,
.motion-route-grid {
    position: relative;
    z-index: 1;
}

.motion-screen-top {
    display: grid;
    grid-template-columns: repeat(3, 10px) 1fr;
    gap: 0.35rem;
    align-items: center;
}

.motion-screen-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.motion-screen-top span:nth-child(1) { background: #fd5c74; }
.motion-screen-top span:nth-child(2) { background: #ffcb54; }
.motion-screen-top span:nth-child(3) { background: #6ef0a4; }

.motion-screen-label,
.motion-command,
.motion-footer-label,
.motion-page-strip span {
    font-family: "IBM Plex Mono", monospace;
}

.motion-screen-label {
    justify-self: end;
    color: #afbdd0;
    font-size: 0.76rem;
}

.motion-command,
.motion-footer-label {
    position: relative;
    z-index: 1;
    margin-top: 0.9rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: #dbeefe;
    font-size: 0.82rem;
}

.motion-row-grid,
.motion-log-stack,
.motion-ledger,
.motion-table {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.7rem;
    margin-top: 0.9rem;
}

.motion-row-grid span,
.motion-ledger-row,
.motion-log-line,
.motion-table-row {
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.motion-row-grid span {
    width: var(--row-width, 80%);
    height: 10px;
    position: relative;
    overflow: hidden;
}

.motion-row-grid span::after,
.motion-table-row::after,
.motion-ledger-row::after,
.motion-route-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(121, 221, 255, 0.7), transparent);
    transform: translateX(-120%);
    animation: motionSweep 2.8s ease-in-out infinite;
}

.motion-chip-row,
.motion-stat-strip,
.motion-page-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.motion-chip-row span,
.motion-stat-strip span,
.motion-page-strip span,
.motion-route-node {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(87, 242, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #def6ff;
    font-size: 0.76rem;
}

.motion-table-row,
.motion-ledger-row {
    position: relative;
    overflow: hidden;
    height: 36px;
}

.motion-table-row.is-success {
    background: linear-gradient(90deg, rgba(87, 242, 255, 0.08), rgba(87, 242, 255, 0.03));
}

.motion-table-row.is-info {
    background: linear-gradient(90deg, rgba(78, 124, 255, 0.12), rgba(78, 124, 255, 0.04));
}

.motion-table-row.is-warning {
    background: linear-gradient(90deg, rgba(198, 255, 95, 0.1), rgba(198, 255, 95, 0.03));
}

.motion-log-line {
    position: relative;
    overflow: hidden;
    height: 22px;
}

.motion-log-line::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: rgba(87, 242, 255, 0.68);
    box-shadow: 0 0 10px rgba(87, 242, 255, 0.24);
}

.motion-log-line.is-bright::before {
    background: rgba(198, 255, 95, 0.8);
    box-shadow: 0 0 12px rgba(198, 255, 95, 0.24);
}

.motion-ledger-row {
    height: 32px;
}

.motion-route-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 1rem;
}

.motion-route-node {
    justify-content: center;
    text-align: center;
}

.motion-route-line {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(87, 242, 255, 0.08), rgba(78, 124, 255, 0.18));
}

.motion-page-strip {
    align-items: center;
}

.motion-scan {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(121, 221, 255, 0.1) 48%, transparent 100%);
    opacity: 0.42;
    transform: translateY(-120%);
    animation: motionScan 4.2s linear infinite;
    pointer-events: none;
}

@keyframes motionSweep {
    0%,
    100% {
        transform: translateX(-120%);
        opacity: 0;
    }
    28%,
    68% {
        transform: translateX(120%);
        opacity: 1;
    }
}

@keyframes motionScan {
    from {
        transform: translateY(-120%);
    }
    to {
        transform: translateY(120%);
    }
}

.case-grid,
.growth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.case-overview,
.case-delivery,
.growth-card {
    padding: 1.25rem;
}

.case-points,
.delivery-track {
    display: grid;
    gap: 0.9rem;
}

.case-point,
.delivery-step {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.case-point strong,
.delivery-step h3 {
    display: block;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
}

.case-point p,
.delivery-step p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.case-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.case-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(87, 242, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #dff5ff;
    font-size: 0.84rem;
}

.delivery-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
}

.delivery-step span {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(87, 242, 255, 0.18), rgba(78, 124, 255, 0.22));
    color: var(--cyan);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.82rem;
}

.delivery-step h3 {
    font-size: 1.08rem;
}

.ai-form {
    padding: 1.2rem;
}

.agent-shell {
    display: grid;
    gap: 1rem;
}

.agent-header,
.agent-summary-head,
.agent-actions,
.agent-route {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.agent-header h3 {
    margin: 0.25rem 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.45rem;
}

.agent-status,
#agent-phase {
    color: var(--muted);
    font-size: 0.88rem;
}

.agent-starters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.starter-chip {
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(87, 242, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.starter-chip:hover {
    background: rgba(87, 242, 255, 0.08);
    border-color: rgba(87, 242, 255, 0.3);
    transform: translateY(-1px);
}

.chat-thread {
    min-height: 320px;
    max-height: 420px;
    overflow-y: auto;
    display: grid;
    gap: 0.85rem;
    padding: 0.35rem;
}

.chat-bubble {
    max-width: 88%;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    line-height: 1.65;
    white-space: pre-wrap;
}

.chat-bubble.assistant {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(87, 242, 255, 0.12);
}

.chat-bubble.user {
    justify-self: end;
    background: rgba(87, 242, 255, 0.08);
    border: 1px solid rgba(87, 242, 255, 0.18);
}

.agent-composer {
    display: grid;
    gap: 0.75rem;
}

.panel-lite {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.agent-summary pre {
    margin-top: 0.8rem;
}

.agent-route {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.agent-route.is-hidden {
    display: none;
}

.agent-launch {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem 0.7rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(87, 242, 255, 0.22);
    background:
        linear-gradient(135deg, rgba(87, 242, 255, 0.12), rgba(78, 124, 255, 0.12)),
        rgba(8, 13, 22, 0.94);
    box-shadow: 0 18px 40px rgba(5, 12, 24, 0.42), 0 0 0 1px rgba(87, 242, 255, 0.08);
    backdrop-filter: blur(18px);
    color: var(--text);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.agent-launch:hover {
    border-color: rgba(87, 242, 255, 0.4);
    box-shadow: 0 22px 46px rgba(5, 12, 24, 0.5), 0 0 30px rgba(87, 242, 255, 0.14);
    transform: translateY(-2px);
}

.agent-launch-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
}

.agent-launch-mark {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(87, 242, 255, 0.18);
    overflow: hidden;
}

.agent-launch-ring {
    position: absolute;
    inset: 5px;
    border-radius: 999px;
    border: 2px solid rgba(111, 214, 255, 0.42);
    animation: pulseGlow 3.2s ease-in-out infinite;
}

.agent-launch-ring-inner {
    inset: 8px;
    border-width: 1px;
    border-color: rgba(52, 116, 196, 0.14);
    border-top-color: rgba(52, 116, 196, 0.96);
    border-right-color: rgba(52, 116, 196, 0.96);
    animation-name: orbit-spin;
    animation-duration: 2.2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: reverse;
}

.agent-launch-hub {
    position: absolute;
    inset: 12px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0 16%, rgba(2, 8, 15, 0.92) 17% 100%);
    border: 1px solid rgba(105, 221, 255, 0.14);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.52);
}

.agent-launch-code {
    position: relative;
    z-index: 1;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 700;
    font-size: 0.64rem;
    line-height: 1;
    color: #74dcff;
}

.agent-launch-copy {
    display: grid;
    gap: 0;
}

.agent-launch-copy strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: var(--text);
}

@keyframes orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes systemsSignal {
    0%, 18%, 100% {
        opacity: 0.18;
        filter: saturate(1);
    }
    8%, 10% {
        opacity: 1;
        filter: saturate(1.35);
    }
}

@keyframes systemsNodeGlow {
    0%, 18%, 100% {
        opacity: 0.36;
        box-shadow: 0 0 0 rgba(87, 242, 255, 0);
        border-color: rgba(113, 214, 255, 0.08);
    }
    8%, 10% {
        opacity: 0.96;
        box-shadow: 0 0 18px rgba(87, 242, 255, 0.16);
        border-color: rgba(113, 214, 255, 0.26);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.52;
        box-shadow: 0 0 0 rgba(111, 214, 255, 0);
    }
    50% {
        opacity: 0.96;
        box-shadow: 0 0 12px rgba(111, 214, 255, 0.18);
    }
}

@keyframes endpointHalo {
    0%, 22%, 100% {
        opacity: 0;
    }
    11% {
        opacity: 0.72;
    }
}

@keyframes endpointBox {
    0%, 22%, 100% {
        stroke: var(--endpoint-stroke);
        fill: var(--endpoint-fill);
    }
    11% {
        stroke: var(--endpoint-active-stroke);
        fill: var(--endpoint-active-fill);
    }
}

@keyframes endpointText {
    0%, 22%, 100% {
        opacity: 0.92;
    }
    11% {
        opacity: 1;
    }
}

@keyframes flowPulse {
    from {
        opacity: 0;
        stroke-dashoffset: 100;
    }
    18% {
        opacity: 1;
    }
    42% {
        opacity: 0.94;
        stroke-dashoffset: 0;
    }
    to {
        opacity: 0;
        stroke-dashoffset: 0;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

label span {
    display: block;
    margin-bottom: 0.45rem;
    color: #dceaf8;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    padding: 0.95rem 1rem;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(87, 242, 255, 0.35);
    background: rgba(87, 242, 255, 0.05);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

#summary-output {
    margin-top: 1rem;
    min-height: 230px;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    white-space: pre-wrap;
    color: #daf4ff;
    line-height: 1.7;
}

.contact-card {
    padding: 1.3rem;
    display: grid;
    gap: 0.9rem;
    justify-items: start;
}

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

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    grid-template-areas: "copyright links contact";
    gap: 1rem 1.25rem;
    align-items: center;
    color: var(--muted);
}

.footer-inner > p {
    grid-area: copyright;
    margin: 0;
    white-space: nowrap;
}

.footer-links {
    grid-area: links;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem 1rem;
    min-width: 0;
}

.footer-contact {
    grid-area: contact;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    color: var(--chrome);
    font-size: 0.92rem;
    text-align: right;
}

.footer-contact span {
    color: var(--muted);
}

.seo-link-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.support-link-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.seo-link-card {
    padding: 1.15rem;
    min-height: 220px;
    display: grid;
    align-content: start;
    gap: 0.7rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.seo-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(87, 242, 255, 0.2);
    box-shadow: 0 24px 60px rgba(38, 90, 194, 0.2);
}

.seo-link-card h3,
.subpage-hero h1,
.detail-card h2,
.detail-card h3,
.cta-band h2,
.content-system-header h2,
.content-card h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
}

.seo-link-card p:last-child,
.subpage-hero p,
.detail-card p,
.detail-card li,
.cta-band p,
.content-card li,
.content-card p {
    color: var(--muted);
    line-height: 1.7;
}

.subpage-main {
    padding-bottom: 4rem;
}

.subpage-hero {
    padding-top: 5rem;
}

.breadcrumbs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.24);
}

.subpage-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 1rem;
    align-items: start;
}

.subpage-copy {
    display: grid;
    gap: 1rem;
}

.subpage-copy p {
    margin: 0;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.pill-list span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(87, 242, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: #dff5ff;
    font-size: 0.84rem;
}

.subpage-proof,
.detail-card,
.content-card,
.cta-band {
    padding: 1.3rem;
}

.subpage-proof {
    display: grid;
    gap: 0.9rem;
}

.subpage-metrics {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.subpage-metric {
    padding: 1.1rem 1.2rem;
    display: grid;
    gap: 0.45rem;
}

.subpage-metric strong,
.related-link-card strong {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.02rem;
}

.subpage-metric p,
.related-link-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.subpage-proof ul,
.detail-card ul,
.content-card ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.55rem;
}

.detail-grid,
.content-system-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.detail-card {
    display: grid;
    gap: 0.75rem;
}

.detail-card > p:last-child {
    margin: 0;
}

.detail-card .systems-kicker,
.content-card .systems-kicker {
    margin: 0;
}

.cta-band {
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.content-system-header {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.agent-studio {
    padding: 1.35rem;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: start;
}

.agent-studio-copy {
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.agent-studio-mark {
    display: inline-flex;
    width: fit-content;
}

.agent-studio-panel {
    padding: 1.1rem;
    display: grid;
    gap: 0.8rem;
}

.agent-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.agent-form label {
    display: grid;
    gap: 0.35rem;
}

.agent-form span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.agent-form input,
.agent-form select {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 10, 16, 0.76);
    color: var(--text);
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.agent-form input:focus,
.agent-form select:focus {
    outline: none;
    border-color: rgba(87, 242, 255, 0.4);
    box-shadow: 0 0 0 2px rgba(87, 242, 255, 0.09);
}

.field-wide {
    grid-column: 1 / -1;
}

.agent-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.agent-status-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.agent-status-row p {
    margin: 0;
    color: var(--muted);
}

.agent-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.post-workflow-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.post-workflow-step {
    padding: 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background: rgba(255, 255, 255, 0.025);
    display: grid;
    gap: 0.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.post-workflow-step span,
.post-flag,
.post-queue-chip {
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-workflow-step span,
.post-flag {
    font-size: 0.74rem;
    color: var(--cyan);
}

.post-workflow-step strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
}

.post-workflow-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.agent-draft-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.agent-draft-card {
    padding: 1.2rem;
    display: grid;
    gap: 0.75rem;
}

.agent-draft-card h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.18rem;
    line-height: 1.05;
}

.agent-draft-card p,
.agent-draft-card li {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.agent-draft-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.92rem;
}

.agent-draft-select {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: #dff5ff;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
}

.agent-draft-select input {
    appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border-radius: 4px;
    border: 1px solid rgba(87, 242, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    position: relative;
}

.agent-draft-select input:checked {
    border-color: rgba(87, 242, 255, 0.52);
    background: rgba(87, 242, 255, 0.16);
}

.agent-draft-select input:checked::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 2px;
    background: #72dcff;
    box-shadow: 0 0 12px rgba(87, 242, 255, 0.28);
}

.post-bundle-header {
    display: grid;
    gap: 0.65rem;
}

.post-bundle-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.post-queue-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    color: #d8efff;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.post-bundle-preview {
    padding: 0.95rem;
    border-radius: 20px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(6, 10, 18, 0.3), rgba(255, 255, 255, 0.02)),
        rgba(4, 7, 13, 0.78);
    display: grid;
    gap: 0.85rem;
    overflow: hidden;
}

.post-bundle-preview-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
}

.brand-mark-mini {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
}

.brand-mark-mini .agent-launch-code {
    font-size: 0.72rem;
}

.post-bundle-preview-copy {
    display: grid;
    gap: 0.25rem;
}

.post-bundle-preview-copy h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    line-height: 1.1;
}

.post-bundle-preview-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.post-flag-alt {
    color: var(--lime);
}

.post-bundle-preview--hero,
.post-bundle-preview--transparent,
.post-bundle-preview--motion,
.post-bundle-preview--integration {
    gap: 1rem;
}

.post-bundle-stage {
    position: relative;
    min-height: 286px;
    overflow: hidden;
}

.post-stage-topline {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.post-stage-route {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.post-stage-route span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #d9f7ff;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-stage-topline .post-queue-chip {
    justify-content: center;
}

.post-bundle-stage::before,
.post-bundle-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.post-bundle-stage::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.82;
}

.post-bundle-stage::after {
    background:
        radial-gradient(circle at 20% 26%, rgba(87, 242, 255, 0.16), transparent 20%),
        radial-gradient(circle at 80% 74%, rgba(78, 124, 255, 0.14), transparent 24%);
    mix-blend-mode: screen;
    animation: cardGlowPulse 6s ease-in-out infinite;
}

.post-stage-screen {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(6, 10, 18, 0.35), rgba(255, 255, 255, 0.02)),
        rgba(4, 7, 13, 0.8);
    padding: 0.95rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.post-stage-body {
    display: grid;
    gap: 0.85rem;
}

.post-stage-body--hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.72fr);
    align-items: stretch;
    gap: 0.95rem;
}

.post-hero-viewer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(180px, 0.58fr);
    gap: 0.85rem;
    align-items: stretch;
}

.post-stage-screen--hero {
    display: grid;
    justify-items: center;
}

.post-hero-preview-shell {
    width: min(100%, 332px);
    display: grid;
    gap: 0.68rem;
    justify-items: center;
    margin-inline: auto;
}

.post-hero-preview-head {
    display: grid;
    gap: 0.3rem;
    justify-items: start;
    width: 100%;
}

.post-hero-preview-head h4 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    line-height: 1.08;
}

.post-hero-preview-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
    font-size: 0.86rem;
}

.post-hero-preview-kicker {
    color: var(--cyan);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.post-hero-phone-shell {
    width: 100%;
    padding: 0.62rem;
    border-radius: 38px;
    border: 1px solid rgba(87, 242, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.05), rgba(0, 0, 0, 0)),
        rgba(3, 6, 12, 0.98);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 28px 60px rgba(0, 0, 0, 0.28);
}

.post-hero-phone-topbar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.1rem 0.25rem 0.72rem;
}

.post-hero-phone-topbar .post-hero-browser-dot {
    width: 9px;
    height: 9px;
}

.post-hero-phone-screen {
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border-radius: 24px;
    border: 1px solid rgba(87, 242, 255, 0.1);
    background: #fff;
}

.post-hero-phone-screen iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.post-hero-viewer-frame,
.post-hero-side-rail {
    min-width: 0;
}

.post-hero-viewer-frame {
    border-radius: 20px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.04), rgba(0, 0, 0, 0)),
        rgba(7, 12, 19, 0.9);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.post-hero-viewer-frame--compact {
    min-height: 0;
}

.post-hero-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(87, 242, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.post-hero-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(111, 214, 255, 0.5);
    box-shadow: 0 0 12px rgba(111, 214, 255, 0.25);
}

.post-hero-browser-dot:nth-child(1) {
    background: #ff6f8a;
}

.post-hero-browser-dot:nth-child(2) {
    background: #ffd66f;
}

.post-hero-browser-dot:nth-child(3) {
    background: #6fffd0;
}

.post-hero-browser-url {
    margin-left: auto;
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.post-hero-browser-body {
    padding: 0.82rem;
    display: grid;
    gap: 0.75rem;
}

.post-hero-browser-body--compact {
    grid-template-rows: auto auto auto;
    align-content: start;
    min-height: 0;
}

.post-stage-main--hero {
    min-height: 132px;
}

.post-hero-preview-label {
    margin: 0;
    color: var(--cyan);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.post-hero-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.post-hero-mini-links span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.24rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #d9f7ff;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-hero-preview-proof {
    display: grid;
    gap: 0.18rem;
    padding: 0.72rem 0.82rem;
    border-radius: 18px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    align-self: start;
}

.post-hero-preview-proof span {
    color: var(--cyan);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-hero-preview-proof strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.96rem;
}

.post-hero-preview-proof small {
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-hero-side-rail {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.post-stage-main {
    padding: 0.9rem 0.95rem;
    border-radius: 20px;
    border: 1px solid rgba(87, 242, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    display: grid;
    gap: 0.6rem;
    align-content: start;
}

.post-hero-stack {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

.post-stage-brand {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.post-stage-brand strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.98rem;
}

.post-stage-main h4 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.96rem;
    line-height: 1.15;
}

.post-stage-main p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 0.9rem;
}

.post-stage-main--hero p {
    max-width: 36ch;
}

.post-stage-side {
    display: grid;
    gap: 0.85rem;
}

.post-stage-card {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.05), rgba(255, 255, 255, 0.01)),
        rgba(7, 12, 19, 0.9);
    display: grid;
    gap: 0.18rem;
    align-content: start;
    min-height: 104px;
}

.post-stage-card small {
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-stage-card span,
.post-transparent-card span,
.post-motion-pill span {
    font-family: "IBM Plex Mono", monospace;
    color: var(--cyan);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-stage-card strong,
.post-transparent-card strong,
.post-motion-pill strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.98rem;
    line-height: 1.12;
}

.post-transparent-stack {
    position: relative;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    align-items: start;
}

.post-transparent-card {
    position: relative;
    width: auto;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(87, 242, 255, 0.14);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
    display: grid;
    gap: 0.2rem;
}

.post-transparent-card small {
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-transparent-card-back {
    opacity: 0.72;
    margin-right: 10%;
}

.post-transparent-card-mid {
    opacity: 0.84;
    margin-left: 8%;
}

.post-transparent-card-front {
    opacity: 1;
    margin-right: 4%;
    z-index: 2;
}

.post-transparent-footer {
    position: relative;
    right: auto;
    bottom: auto;
    padding: 0.8rem 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(87, 242, 255, 0.14);
    background: rgba(7, 12, 19, 0.88);
    display: grid;
    gap: 0.2rem;
    min-width: 150px;
}

.post-transparent-footer strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.96rem;
}

.post-transparent-footer small {
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-motion-strip {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    align-items: stretch;
    min-height: 0;
    border-radius: 20px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.03), rgba(0, 0, 0, 0)),
        rgba(5, 8, 14, 0.74);
    overflow: hidden;
    padding: 1rem;
}

.post-motion-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.75;
}

.post-motion-line {
    display: none;
}

.post-motion-track {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.post-motion-pill {
    position: relative;
    z-index: 1;
    padding: 0.8rem 0.85rem;
    border-radius: 18px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.05), rgba(255, 255, 255, 0.01)),
        rgba(7, 12, 19, 0.88);
    display: grid;
    gap: 0.28rem;
    align-content: start;
    min-height: 96px;
}

.post-motion-pill strong {
    font-size: 0.9rem;
    text-align: left;
    max-width: none;
}

.post-motion-pill small {
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-systems-mini-shell {
    position: relative;
    width: 100%;
    height: 760px;
    min-height: 760px;
    padding: 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.03), rgba(0, 0, 0, 0)),
        rgba(5, 8, 14, 0.74);
    overflow: hidden;
}

.post-systems-mini-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.78;
}

.post-systems-diagram-mini {
    position: relative;
    inset: auto;
    min-height: 0;
    height: 100%;
    width: 100%;
    margin-left: 0;
    transform: none;
    transform-origin: top center;
}

.post-systems-social-preview {
    min-height: 920px;
    height: 920px;
    touch-action: none;
}

.post-systems-social-preview .systems-node {
    padding: 0.86rem 0.92rem;
    min-height: 0;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    opacity: 0.94;
    transition:
        opacity 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        filter 0.35s ease;
}

.post-systems-social-preview .systems-node::after {
    animation: none;
    opacity: 0.1;
}

.post-systems-social-preview .systems-node.is-dragging {
    cursor: grabbing;
    opacity: 0.88;
    z-index: 5;
}

.post-systems-social-preview .systems-node-primary {
    min-height: 0;
}

.post-systems-social-preview .systems-node.is-complete {
    opacity: 0.92;
}

.post-systems-social-preview .systems-node.is-future {
    opacity: 0.96;
    filter: saturate(0.98);
    pointer-events: auto;
}

.post-systems-social-preview .systems-node.is-current {
    opacity: 1;
    filter: saturate(1.08);
    border-color: rgba(113, 214, 255, 0.26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 24px 42px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(87, 242, 255, 0.12),
        0 0 34px rgba(87, 242, 255, 0.14);
}

.post-systems-social-preview .systems-node.is-current::after {
    opacity: 0.95;
    animation: systemsNodeGlow 1.15s ease-in-out infinite;
    animation-duration: 1.15s;
}

.post-systems-social-preview .systems-node.is-current .systems-core-mark {
    animation: pulseGlow 1.15s ease-in-out infinite;
}

.post-systems-social-preview .systems-node.is-current .systems-core-ring-inner {
    animation-duration: 1.15s;
}

.post-systems-social-preview .systems-node.is-complete::after {
    opacity: 0.2;
    animation: none;
}

.post-systems-social-preview .systems-node.is-future::after {
    opacity: 0.22;
    animation: none;
}

.post-systems-social-preview .systems-node-title {
    font-size: 0.92rem;
    line-height: 1.08;
}

.post-systems-social-preview .systems-node small {
    font-size: 0.67rem;
}

.post-systems-social-preview .systems-core-mark {
    width: 48px;
    height: 48px;
}

.post-systems-social-preview .systems-diagram {
    position: relative;
    touch-action: none;
}

.post-systems-social-preview .post-flow-route-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.post-systems-social-preview .post-route-segment {
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(57, 78, 109, 0.18), rgba(113, 214, 255, 0.46), rgba(57, 78, 109, 0.18));
    box-shadow: 0 0 0 1px rgba(113, 214, 255, 0.05), 0 0 16px rgba(87, 242, 255, 0.08);
    opacity: 0.14;
    transform-origin: center center;
    transition:
        opacity 0.48s ease,
        filter 0.48s ease,
        background 0.48s ease,
        box-shadow 0.48s ease;
}

.post-systems-social-preview .post-route-segment-horizontal {
    height: 2px;
}

.post-systems-social-preview .post-route-segment-vertical {
    width: 2px;
}

.post-systems-social-preview .post-route-segment.is-complete {
    opacity: 0.42;
    background: linear-gradient(90deg, rgba(57, 78, 109, 0.2), rgba(113, 214, 255, 0.34), rgba(57, 78, 109, 0.2));
}

.post-systems-social-preview .post-route-segment.is-future {
    opacity: 0.1;
    background: linear-gradient(90deg, rgba(57, 78, 109, 0.12), rgba(113, 214, 255, 0.18), rgba(57, 78, 109, 0.12));
}

.post-systems-social-preview .post-route-segment.is-current {
    opacity: 0.92;
    background: linear-gradient(90deg, rgba(87, 242, 255, 0.18), rgba(113, 214, 255, 0.92), rgba(87, 242, 255, 0.18));
    box-shadow: 0 0 0 1px rgba(113, 214, 255, 0.14), 0 0 18px rgba(87, 242, 255, 0.34);
    animation: systemsRouteFade 1.15s ease-in-out infinite;
    animation-delay: 0s;
}

.post-systems-social-preview .post-systems-route-svg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.post-systems-social-preview .post-route-line {
    fill: none;
    stroke: rgba(113, 214, 255, 0.18);
    stroke-width: 0.28;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    opacity: 0.28;
    transition:
        opacity 0.35s ease,
        filter 0.35s ease,
        stroke 0.35s ease;
}

.post-systems-social-preview .post-route-line.is-complete {
    opacity: 0.78;
    stroke: rgba(113, 214, 255, 0.34);
}

.post-systems-social-preview .post-route-line.is-future {
    opacity: 0.34;
    stroke: rgba(113, 214, 255, 0.22);
}

.post-systems-social-preview .post-route-line.is-current {
    opacity: 1;
    stroke: rgba(87, 242, 255, 0.88);
    filter: drop-shadow(0 0 10px rgba(87, 242, 255, 0.34));
}

.post-systems-social-preview .systems-node-drag-handle {
    position: absolute;
    top: 0.42rem;
    right: 0.42rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    width: 1.6rem;
    height: 1rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    opacity: 0.18;
    cursor: grab;
}

.post-systems-social-preview .systems-node[style*="top"] {
    transition: left 0.12s ease, top 0.12s ease, width 0.12s ease, height 0.12s ease;
}

.post-systems-social-preview .systems-node-drag-handle span {
    width: 0.18rem;
    height: 0.18rem;
    border-radius: 999px;
    background: rgba(223, 245, 255, 0.8);
}

.post-systems-social-preview .systems-node:hover .systems-node-drag-handle,
.post-systems-social-preview .systems-node.is-dragging .systems-node-drag-handle,
.post-systems-social-preview [data-flow-board][data-editable="true"] .systems-node-drag-handle {
    opacity: 0.55;
}

.post-flow-editor {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.03), rgba(0, 0, 0, 0)),
        rgba(5, 8, 14, 0.74);
}

.post-flow-editor summary {
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.65rem;
    list-style: none;
}

.post-flow-editor summary::-webkit-details-marker {
    display: none;
}

.post-flow-editor summary span {
    color: #dff5ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.post-flow-editor summary small {
    color: #9cb0c8;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-flow-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin-top: 0.9rem;
}

.post-flow-editor-nudges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.38rem;
    margin-top: 0.15rem;
}

.post-flow-editor-nudges .button {
    width: 100%;
    padding-inline: 0.4rem;
}

.post-flow-editor-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.9rem;
}

.post-flow-editor-node {
    display: grid;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: 18px;
    border: 1px solid rgba(87, 242, 255, 0.1);
    background: rgba(8, 13, 22, 0.8);
}

.post-flow-editor-node-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.post-flow-editor-node-head strong {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #72dcff;
}

.post-flow-editor-node-head span {
    color: #9cb0c8;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-flow-editor-node label {
    display: grid;
    gap: 0.28rem;
}

.post-flow-editor-node label span {
    color: #9cb0c8;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-flow-editor-node input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background: rgba(3, 7, 13, 0.88);
    color: #dff5ff;
    padding: 0.48rem 0.58rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.82rem;
}

.post-flow-editor-coords {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
}

.post-flow-editor-coords label {
    gap: 0.18rem;
}

.post-flow-editor-coords input {
    padding: 0.4rem 0.45rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
}

.post-motion-card-mini {
    padding: 1rem;
    transform: scale(0.88);
    transform-origin: top center;
    width: 113%;
    margin-left: -6.5%;
}

.post-motion-card-mini .motion-card-head h3 {
    font-size: 1.02rem;
}

.post-motion-card-mini .motion-screen {
    min-height: 190px;
}

.post-motion-card-mini .motion-command {
    font-size: 0.72rem;
}

.post-motion-card-mini .motion-row-grid {
    gap: 0.55rem;
}

.post-motion-card-mini .motion-chip-row {
    gap: 0.38rem;
}

.post-motion-card-mini .motion-chip-row span {
    padding: 0.3rem 0.55rem;
    font-size: 0.6rem;
}

.post-motion-card-mini .motion-footer-label {
    font-size: 0.62rem;
}

.post-integration-grid-shell--3x3 {
    position: relative;
    min-height: 488px;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.03), rgba(0, 0, 0, 0)),
        rgba(5, 8, 14, 0.78);
    overflow: hidden;
}

.post-integration-grid-shell--3x3::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.82;
}

.post-integration-grid-shell--3x3::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 18%, rgba(87, 242, 255, 0.14), transparent 20%),
        radial-gradient(circle at 82% 78%, rgba(78, 124, 255, 0.12), transparent 24%);
    mix-blend-mode: screen;
    animation: cardGlowPulse 6s ease-in-out infinite;
}

.post-integration-grid-shell--3x3 .post-integration-grid-lines {
    position: absolute;
    inset: 1rem;
    pointer-events: none;
    z-index: 1;
}

.post-integration-grid-shell--3x3 .post-integration-line {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(57, 78, 109, 0.14), rgba(113, 214, 255, 0.56), rgba(57, 78, 109, 0.14));
    box-shadow: 0 0 0 1px rgba(113, 214, 255, 0.05), 0 0 16px rgba(87, 242, 255, 0.14);
    opacity: 0.34;
    animation: systemsSignal 5.6s ease-in-out infinite;
}

.post-integration-line-a {
    left: 25%;
    top: 24%;
    width: 18%;
    height: 2px;
    transform: rotate(30deg);
    transform-origin: left center;
    --signal-delay: 0s;
}

.post-integration-line-b {
    left: 50%;
    top: 24%;
    width: 18%;
    height: 2px;
    transform: rotate(-30deg);
    transform-origin: left center;
    --signal-delay: 0.72s;
}

.post-integration-line-c {
    left: 57%;
    top: 32%;
    width: 34%;
    height: 2px;
    transform: rotate(128deg);
    transform-origin: left center;
    --signal-delay: 1.44s;
}

.post-integration-line-d {
    left: 33%;
    top: 64%;
    width: 39%;
    height: 2px;
    --signal-delay: 2.16s;
}

.post-integration-line-e {
    display: none;
}

.post-integration-line-e {
    left: 33%;
    top: 64%;
    width: 39%;
    height: 2px;
    --signal-delay: 2.88s;
}

.post-integration-grid-shell--3x3 .post-integration-grid {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 448px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(118px, 0.9fr) minmax(150px, 1.16fr) minmax(118px, 0.9fr);
    gap: 0.88rem 0.84rem;
    align-items: stretch;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.16rem;
    padding: 0.86rem 0.9rem;
    min-height: 118px;
    border-radius: 18px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(18, 28, 43, 0.9), rgba(8, 13, 22, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 20px 36px rgba(0, 0, 0, 0.22);
    animation: systemsNodeGlow 6.2s ease-in-out infinite;
    animation-delay: var(--node-delay, 0s);
    overflow: hidden;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid rgba(113, 214, 255, 0.08);
    opacity: 0.42;
    pointer-events: none;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node strong {
    position: relative;
    z-index: 1;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.92rem;
    line-height: 1.08;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node small {
    position: relative;
    z-index: 1;
    color: #9cb0c8;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.54rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node--primary {
    min-height: 154px;
    padding: 1rem 1.02rem;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node-copy {
    display: grid;
    gap: 0.14rem;
    max-width: 100%;
    overflow: hidden;
}

.post-integration-grid-shell--3x3 .post-integration-kicker {
    position: relative;
    z-index: 1;
    color: var(--cyan);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.61rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node--dashboard {
    background:
        linear-gradient(180deg, rgba(21, 31, 48, 0.95), rgba(8, 13, 22, 0.98));
    min-height: 154px;
    grid-row: 2;
    grid-column: 2;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node--dashboard .post-integration-grid-node-copy {
    min-height: 100%;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node--source,
.post-integration-grid-shell--3x3 .post-integration-grid-node--woo,
.post-integration-grid-shell--3x3 .post-integration-grid-node--quickbooks {
    min-height: 122px;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node--ai,
.post-integration-grid-shell--3x3 .post-integration-grid-node--credomatic,
.post-integration-grid-shell--3x3 .post-integration-grid-node--bsides,
.post-integration-grid-shell--3x3 .post-integration-grid-node--factura {
    min-height: 122px;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node--dashboard .post-integration-kicker {
    color: #8cecff;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node--dashboard strong {
    font-size: 0.98rem;
}

.post-integration-grid-shell--3x3 .post-integration-grid-node--dashboard .post-integration-grid-node-copy {
    justify-content: center;
    min-height: 100%;
}

.post-bundle-preview--integration .post-bundle-stage {
    min-height: 520px;
}

.post-bundle-preview--integration .post-integration-grid-shell--3x3 {
    min-height: 488px;
    padding: 0.9rem;
}

.post-bundle-mini-map {
    position: relative;
    min-height: 228px;
    border-radius: 18px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.03), rgba(0, 0, 0, 0)),
        rgba(5, 8, 14, 0.74);
    overflow: hidden;
}

.post-bundle-mini-map::before,
.post-bundle-mini-map::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.post-bundle-mini-map::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.9;
}

.post-integration-mini-shell {
    position: relative;
    min-height: 388px;
    padding: 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.03), rgba(0, 0, 0, 0)),
        rgba(5, 8, 14, 0.76);
    overflow: hidden;
}

.post-integration-mini-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.82;
}

.post-integration-mini-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 18%, rgba(87, 242, 255, 0.16), transparent 22%),
        radial-gradient(circle at 84% 74%, rgba(78, 124, 255, 0.12), transparent 24%);
    mix-blend-mode: screen;
    animation: cardGlowPulse 6s ease-in-out infinite;
}

.post-integration-mini-path {
    position: absolute;
    inset: 0.95rem;
    z-index: 1;
    pointer-events: none;
}

.post-integration-mini-line {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(57, 78, 109, 0.14), rgba(113, 214, 255, 0.52), rgba(57, 78, 109, 0.14));
    box-shadow: 0 0 0 1px rgba(113, 214, 255, 0.05), 0 0 14px rgba(87, 242, 255, 0.12);
    opacity: 0.38;
    animation: systemsSignal 4.8s ease-in-out infinite;
}

.post-integration-mini-line-a {
    left: 19%;
    top: 29%;
    width: 40%;
    height: 2px;
}

.post-integration-mini-line-b {
    right: 25%;
    top: 29%;
    width: 2px;
    height: 31%;
}

.post-integration-mini-line-c {
    left: 19%;
    top: 60%;
    width: 40%;
    height: 2px;
    --signal-delay: 1.45s;
}

.post-integration-mini-line-d {
    left: 19%;
    top: 29%;
    width: 2px;
    height: 31%;
    --signal-delay: 0.7s;
}

.post-integration-mini-grid {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
}

.post-integration-mini-node {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.22rem;
    padding: 0.85rem 0.9rem;
    min-height: 116px;
    border-radius: 18px;
    border: 1px solid rgba(87, 242, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(18, 28, 43, 0.88), rgba(8, 13, 22, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 30px rgba(0, 0, 0, 0.2);
}

.post-integration-mini-node::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid rgba(113, 214, 255, 0.08);
    opacity: 0.45;
    pointer-events: none;
    animation: systemsNodeGlow 4.8s ease-in-out infinite;
}

.post-integration-mini-node strong {
    position: relative;
    z-index: 1;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.94rem;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.post-integration-mini-node small {
    position: relative;
    z-index: 1;
    color: #9cb0c8;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.post-integration-mini-kicker {
    position: relative;
    z-index: 1;
    color: var(--cyan);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.post-integration-mini-node-primary {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.8rem;
}

.post-integration-mini-node-primary .post-integration-mini-copy {
    display: grid;
    gap: 0.18rem;
}

.post-integration-mini-mark {
    position: relative;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.post-integration-mini-node-source {
    grid-column: 1;
    grid-row: 1;
}

.post-integration-mini-node-build {
    grid-column: 2;
    grid-row: 1;
}

.post-integration-mini-node-proof {
    grid-column: 1;
    grid-row: 2;
}

.post-integration-mini-node-publish {
    grid-column: 2;
    grid-row: 2;
}

.post-bundle-mini-map::after {
    background:
        radial-gradient(circle at 22% 32%, rgba(87, 242, 255, 0.16), transparent 18%),
        radial-gradient(circle at 72% 54%, rgba(78, 124, 255, 0.18), transparent 20%);
    mix-blend-mode: screen;
    animation: cardGlowPulse 6s ease-in-out infinite;
}

.post-mini-flow {
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(87, 242, 255, 0.08), rgba(87, 242, 255, 0.92), rgba(78, 124, 255, 0.08));
    box-shadow: 0 0 18px rgba(87, 242, 255, 0.22);
    overflow: hidden;
}

.post-mini-flow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    background-size: 220% 100%;
    animation: flowScan 2.8s linear infinite;
}

.post-mini-flow-a {
    top: 26%;
    left: 22%;
    width: 22%;
    height: 2px;
}

.post-mini-flow-b {
    top: 14%;
    left: 48%;
    width: 2px;
    height: 52%;
}

.post-mini-flow-c {
    top: 25%;
    left: 48%;
    width: 34%;
    height: 2px;
}

.post-mini-node {
    position: relative;
    padding: 0.8rem 0.85rem;
    border-radius: 18px;
    border: 1px solid rgba(87, 242, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(87, 242, 255, 0.05), rgba(255, 255, 255, 0.01)),
        rgba(7, 12, 19, 0.88);
    min-width: 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    display: grid;
    gap: 0.15rem;
    animation: nodePulse 4.5s ease-in-out infinite;
    z-index: 1;
}

.post-bundle-mini-map--integration .post-mini-node {
    position: absolute;
    width: min(31%, 190px);
}

.post-mini-node-source {
    top: 16%;
    left: 5%;
}

.post-mini-node-build {
    top: 4%;
    left: 35%;
}

.post-mini-node-proof {
    top: 30%;
    right: 5%;
}

.post-mini-node-cta {
    bottom: 8%;
    left: 33%;
}

.post-mini-node strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.88rem;
    line-height: 1.08;
}

.post-mini-node span {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cyan);
}

.post-mini-node small {
    color: var(--muted);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@keyframes flowScan {
    0% {
        background-position: -120% 0;
    }
    100% {
        background-position: 120% 0;
    }
}

@keyframes nodePulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 0 0 rgba(87, 242, 255, 0);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), 0 0 20px rgba(87, 242, 255, 0.1);
    }
}

@keyframes cardGlowPulse {
    0%, 100% {
        opacity: 0.65;
    }
    50% {
        opacity: 1;
    }
}

.agent-draft-card ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}

.agent-copy-button {
    justify-self: start;
}

.content-card {
    display: grid;
    gap: 0.8rem;
}

.content-card-group {
    display: grid;
    gap: 0.45rem;
}

.related-links-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.related-link-card {
    padding: 1.15rem;
    min-height: 220px;
    display: grid;
    align-content: start;
    gap: 0.7rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(87, 242, 255, 0.2);
    box-shadow: 0 24px 60px rgba(38, 90, 194, 0.2);
}

.json-note {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 1100px) {
    .hero-layout,
    .ai-layout,
    .contact-layout,
    .viewer-layout,
    .systems-panel,
    .services-grid,
    .case-grid,
    .growth-grid,
    .subpage-grid,
    .subpage-metrics,
    .detail-grid,
    .agent-studio,
    .agent-draft-grid,
    .post-workflow-strip,
    .content-system-grid,
    .related-links-grid {
        grid-template-columns: 1fr;
    }

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

    .systems-stage-grid,
    .systems-stat-grid,
    .motion-gallery {
        grid-template-columns: 1fr;
    }

    .post-stage-body--hero,
    .post-hero-viewer-layout,
    .post-motion-track {
        grid-template-columns: 1fr;
    }

    .post-bundle-mini-map--integration {
        min-height: 420px;
    }

    .post-bundle-mini-map--integration .post-mini-node {
        width: min(44%, 220px);
    }

    .post-systems-diagram-mini {
        width: 144%;
        margin-left: -22%;
        transform: scale(0.66);
    }

    .post-systems-mini-shell {
        height: 620px;
        min-height: 620px;
    }

    .post-motion-card-mini {
        width: 118%;
        margin-left: -9%;
        transform: scale(0.92);
    }

    .systems-copy {
        padding: 0.4rem 0 0;
    }

    .frame-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .header-inner {
        grid-template-columns: auto auto;
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 86px;
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        gap: 0.9rem;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(3, 6, 12, 0.96);
        border: 1px solid var(--line-soft);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero-viewer-intro h1 {
        max-width: none;
    }

    .header-actions {
        display: none;
    }

    .form-row,
    .hero-metrics,
    .stage-grid,
    .motion-route-grid {
        grid-template-columns: 1fr;
    }

    .seo-link-grid,
    .support-link-grid {
        grid-template-columns: 1fr;
    }

    .agent-header,
    .agent-summary-head,
    .agent-actions,
    .agent-route {
        align-items: flex-start;
        flex-direction: column;
    }

    .agent-launch {
        right: 0.85rem;
        bottom: 0.85rem;
        left: auto;
    }

    .viewer-heading {
        flex-direction: column;
        align-items: start;
    }

    .viewer-mobile-note {
        display: block;
    }

    .iframe-shell,
    #project-frame {
        display: block;
        min-height: 0;
        height: auto;
    }

    .iframe-shell {
        overflow: hidden;
        aspect-ratio: 9 / 16;
        max-height: 82vh;
    }

    #project-frame {
        width: 100%;
        min-height: 0;
        height: 100%;
    }

    .systems-map,
    .systems-diagram {
        min-height: 720px;
    }

    .systems-diagram {
        position: absolute;
        inset: 0;
        display: block;
        padding: 0;
        min-height: 720px;
    }

    .systems-diagram::before {
        inset: 11% 11% 8%;
        opacity: 0.62;
    }

    .systems-diagram::after {
        opacity: 0.92;
    }

    .systems-path {
        opacity: 0.18;
    }

    .systems-node,
    .systems-node-scales,
    .systems-node-dashboard,
    .systems-node-ai,
    .systems-node-woo,
    .systems-node-credomatic,
    .systems-node-quickbooks,
    .systems-node-bsides,
    .systems-node-factura {
        position: absolute;
        inset: auto;
        transform: none;
        min-height: 0;
        padding: 0.7rem 0.76rem;
        overflow: hidden;
        box-sizing: border-box;
    }

    .systems-node-scales {
        left: 0.75%;
        top: 26.4%;
        width: 26.25%;
        height: 10%;
    }

    .systems-node-dashboard {
        left: 27.5%;
        top: 1.4%;
        width: 44%;
        height: 20%;
    }

    .systems-node-ai {
        left: 56.4074%;
        top: 25.9565%;
        width: 31%;
        height: 14%;
    }

    .systems-node-woo {
        left: 0.75%;
        top: 46%;
        width: 44.25%;
        height: 14%;
    }

    .systems-node-credomatic {
        left: 70.75%;
        top: 47.4783%;
        width: 28.5%;
        height: 15%;
    }

    .systems-node-quickbooks {
        left: 0.75%;
        top: 69.0435%;
        width: 38.25%;
        height: 14%;
    }

    .systems-node-bsides {
        left: 69.75%;
        top: 69.4783%;
        width: 29.5%;
        height: 13%;
    }

    .systems-node-factura {
        left: 38.5%;
        top: 83.4%;
        width: 25.5%;
        height: 15.2%;
    }

    .systems-node-primary {
        min-height: 0;
        gap: 0.35rem 0.72rem;
        padding-inline: 0.8rem;
    }

    .systems-node-primary .systems-node-title {
        font-size: 0.92rem;
    }

    .systems-node-title {
        font-size: 0.78rem;
        line-height: 1.04;
        overflow-wrap: anywhere;
    }

    .systems-node small {
        font-size: 0.54rem;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

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

    .agent-status-row {
        flex-direction: column;
        align-items: start;
    }

    .agent-status-actions {
        width: 100%;
    }

    .post-bundle-preview-head {
        grid-template-columns: 1fr;
    }

    .post-hero-viewer-layout {
        grid-template-columns: 1fr;
    }

    .post-motion-track {
        grid-template-columns: 1fr;
    }

    .post-bundle-mini-map--integration {
        min-height: 460px;
    }

    .post-bundle-mini-map--integration .post-mini-node {
        width: min(56%, 260px);
    }

    .post-systems-diagram-mini {
        width: 136%;
        margin-left: -18%;
        transform: scale(0.74);
    }

    .post-systems-mini-shell {
        height: 560px;
        min-height: 560px;
    }

    .post-motion-card-mini {
        width: 100%;
        margin-left: 0;
        transform: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 1.2rem), var(--container));
    }

    .hero-section,
    .section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .brand img {
        width: 240px;
    }

    .panel,
    .hero-stage,
    .viewer-frame,
    .ai-form,
    .systems-panel,
    .contact-card {
        border-radius: 24px;
    }

    .iframe-shell,
    #project-frame {
        min-height: 0;
        height: auto;
    }

    .iframe-shell {
        aspect-ratio: 9 / 16;
        max-height: 84vh;
    }

    #project-frame {
        width: 100%;
        min-height: 0;
        height: 100%;
    }

    .systems-diagram {
        min-height: 680px;
    }

    .systems-node,
    .systems-node-scales,
    .systems-node-dashboard,
    .systems-node-ai,
    .systems-node-woo,
    .systems-node-credomatic,
    .systems-node-quickbooks,
    .systems-node-bsides,
    .systems-node-factura {
        min-height: 0;
        padding: 0.72rem 0.76rem;
        overflow: hidden;
        box-sizing: border-box;
    }

    .systems-node-primary {
        min-height: 88px;
    }

    .systems-core-mark {
        width: 44px;
        height: 44px;
    }

    .systems-signal-grid {
        grid-template-columns: 1fr;
    }

    .post-systems-mini-shell {
        min-height: 460px;
    }

    .post-systems-diagram-mini {
        width: 100%;
        margin-left: 0;
        transform: none;
    }

    .post-motion-card-mini {
        width: 100%;
        margin-left: 0;
        transform: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copyright"
            "links"
            "contact";
        justify-items: start;
    }

    .footer-links,
    .footer-contact {
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }
}
