:root {
    --bg: #050608;
    --surface: #0d1015;
    --surface-hover: #161a22;
    --primary: #3ec6d8;
    --primary-dim: rgba(62, 198, 216, 0.15);
    --primary-glow: rgba(62, 198, 216, 0.4);
    --text-main: #f0f6fc;
    --text-muted: #8b949e;
    --radius: 12px;
    --fold-width: 1200px;
    --transition: 0.25s ease;
}

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

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text-main);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Base Flex & Text Rules */
.flex {
    display: flex;
    flex-wrap: wrap;
}
.flex-item {
    min-width: 0;
}
.yarn-wrap {
    word-break: break-word;
    overflow-wrap: break-word;
}
.yarn-zh {
    word-break: keep-all;
}

/* Navigation (Reused Structure) */
.nexus-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 6, 8, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.fold {
    max-width: var(--fold-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}
.nexus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.mark {
    min-width: 0;
    display: flex;
    align-items: center;
}
.mark img {
    height: 32px;
    width: auto;
    display: block;
}
.queue {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    min-width: 0;
}
.wire {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
    min-width: 0;
}
.wire:hover, .wire:focus {
    color: var(--text-main);
    outline: none;
}
.wire.active, .wire.active {
    color: var(--primary);
}

/* Main Content Area */
.zone {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    min-height: calc(100vh - 72px);
}

/* Hero Section (Vertical Stack Variant) */
.pulse {
    padding: 140px 0 80px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pulse::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-dim) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.pulse > .fold {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pulse-glyph {
    width: 64px;
    height: 64px;
    color: var(--primary);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}
.pulse-vox {
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--text-main);
    white-space: normal;
    max-width: 800px;
}
.pulse-yarn {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0;
}

/* Steps Section */
.beacon {
    padding: 8rem 0;
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(to bottom, transparent, rgba(13, 16, 21, 0.5));
}
.beacon-vox {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 0 4rem 0;
    font-weight: 700;
}
.knot {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
}
.node {
    flex: 1 1 300px;
    min-width: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%);
    position: relative;
    transition: transform var(--transition);
}
.node:hover {
    transform: translateY(-5px);
}
.node-inner {
    background-color: var(--surface);
    border-radius: calc(var(--radius) - 1px);
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 10px 30px rgba(0,0,0,0.3);
}
.step-glyph {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border: 1px solid rgba(62, 198, 216, 0.2);
}
.node-vox {
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
    color: var(--text-main);
}
.node-yarn {
    color: var(--text-muted);
    margin: 0;
    font-size: 1rem;
}

/* Config Details (Article) */
.flare {
    padding: 8rem 0;
    display: flex;
    flex-wrap: wrap;
}
.flare-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}
.flare-fold {
    flex: 1 1 400px;
    min-width: 0;
}
.flare-visual {
    flex: 1 1 500px;
    min-width: 0;
}
.flare-vox {
    font-size: 2.5rem;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    line-height: 1.2;
}
.flare-yarn {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0 0 2rem 0;
}
.pod {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.pod-glyph {
    color: var(--primary);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}
.pod-yarn {
    min-width: 0;
}
.pod-vox {
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}
.pod-yarn {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Mock Config Window */
.fold {
    background: #000;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(62,198,216,0.1);
}
.vein {
    background: #111;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vein-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}
.fold-body {
    padding: 1.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
    color: #a5b4fc;
}
.fold-line {
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.fold-pip {
    color: var(--text-muted);
    width: 120px;
}
.fold-val {
    color: var(--primary);
}
.fold-highlight {
    color: var(--primary);
    font-weight: bold;
}

/* FAQ Section (Div) */
.hub {
    padding: 8rem 0;
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(to top, transparent, rgba(13, 16, 21, 0.5));
}
.hub-vox {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 0 4rem 0;
    font-weight: 700;
}
.packet-knot {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}
.packet {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.03);
    transition: background var(--transition);
}
.packet:hover {
    background: var(--surface-hover);
}
.packet-vox {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.packet-glyph {
    color: #e2b340;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}
.packet-yarn {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}
.packet-code {
    display: inline-block;
    background: rgba(226, 179, 64, 0.15);
    color: #e2b340;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85em;
}

/* Action / Ping button */
.ping {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
    height: 3.5rem;
    background: var(--text-main);
    color: var(--bg);
    font-weight: 600;
    border-radius: 28px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    transition: transform var(--transition), box-shadow var(--transition);
    min-width: 0;
}
.ping:hover, .ping:focus {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255,255,255,0.2);
    outline: none;
}

/* Footer Section */
.root {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 4rem 0 2rem 0;
    background: var(--bg);
    display: flex;
    flex-wrap: wrap;
}
.bed {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.sole {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin: 0;
}
.root-queue {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-width: 0;
}
.root-wire {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}
.root-wire:hover {
    color: var(--text-main);
}
.root-yarn {
    color: var(--text-muted);
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .nexus {
        height: auto;
        padding: 1rem 0;
        flex-direction: column;
        gap: 1rem;
    }
    .queue {
        justify-content: center;
    }
    .pulse {
        padding: 100px 0 60px 0;
    }
    .beacon, .flare, .hub {
        padding: 4rem 0;
    }
    .flare-grid {
        flex-direction: column;
    }
    .bed {
        flex-direction: column;
        text-align: center;
    }
    .root-queue {
        justify-content: center;
    }
}

.nexus-nexus-wrap {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
}
.nexus-nexus-wrap,
.nexus-nexus-wrap *,
.nexus-nexus-wrap *::before,
.nexus-nexus-wrap *::after {
    box-sizing: border-box;
}

.nexus-nexus-wrap nav,
.nexus-nexus-wrap div,
.nexus-nexus-wrap section,
.nexus-nexus-wrap article,
.nexus-nexus-wrap aside,
.nexus-nexus-wrap p,
.nexus-nexus-wrap h1,
.nexus-nexus-wrap h2,
.nexus-nexus-wrap h3,
.nexus-nexus-wrap h4,
.nexus-nexus-wrap h5,
.nexus-nexus-wrap h6,
.nexus-nexus-wrap a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.nexus-nexus-wrap p,
.nexus-nexus-wrap h1,
.nexus-nexus-wrap h2,
.nexus-nexus-wrap h3,
.nexus-nexus-wrap h4,
.nexus-nexus-wrap h5,
.nexus-nexus-wrap h6 {
    text-decoration: none;
}

.nexus-nexus-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.nexus-nexus-wrap {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.nexus-nexus-wrap a.nexus-wire.nexus-active,
.nexus-nexus-wrap a.nexus-wire {
    --aisite-shell-nav-padding: 0;
    --aisite-shell-nav-margin: 0;
    --aisite-shell-nav-line-height: normal;
    --aisite-shell-nav-display: inline;
    --aisite-shell-nav-height: auto;
    --aisite-shell-nav-min-height: auto;
}

.nexus-nexus-wrap a.nexus-wire.nexus-active,
.nexus-nexus-wrap a.nexus-wire.nexus-active:hover,
.nexus-nexus-wrap a.nexus-wire.nexus-active:focus,
.nexus-nexus-wrap a.nexus-wire.nexus-active:active,
.nexus-nexus-wrap a.nexus-wire.nexus-active.active,
.nexus-nexus-wrap a.nexus-wire.nexus-active[aria-current="page"],
.nexus-nexus-wrap a.nexus-wire,
.nexus-nexus-wrap a.nexus-wire:hover,
.nexus-nexus-wrap a.nexus-wire:focus,
.nexus-nexus-wrap a.nexus-wire:active,
.nexus-nexus-wrap a.nexus-wire.active,
.nexus-nexus-wrap a.nexus-wire[aria-current="page"] {
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    padding: var(--aisite-shell-nav-padding, 0);
    margin: var(--aisite-shell-nav-margin, 0);
    line-height: var(--aisite-shell-nav-line-height, normal);
    display: var(--aisite-shell-nav-display, inline);
    height: var(--aisite-shell-nav-height, auto);
    min-height: var(--aisite-shell-nav-min-height, auto);
}

.nexus-nexus-wrap .nexus-queue, .nexus-nexus-wrap .nexus-fold{
            display: flex;
            flex-wrap: wrap;
        }

.nexus-nexus-wrap .nexus-queue > *, .nexus-nexus-wrap .nexus-fold > *{
            min-width: 0;
        }

.nexus-nexus-wrap .nexus-fold{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 5vw;
        }

.nexus-nexus-wrap{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(5, 6, 8, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid #21262d;
        }

.nexus-nexus-wrap .nexus-nexus{
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

.nexus-nexus-wrap .nexus-mark img{
            height: 28px;
            width: auto;
            filter: drop-shadow(0 0 8px rgba(62, 198, 216, 0.15));
        }

.nexus-nexus-wrap .nexus-queue{
            gap: 2rem;
            align-items: center;
        }

.nexus-nexus-wrap .nexus-wire{
            color: #8b949e;
            font-size: 0.95rem;
            font-weight: 500;
            position: relative;
        }

.nexus-nexus-wrap .nexus-wire:hover, .nexus-nexus-wrap .nexus-wire.nexus-active{
            color: #3ec6d8;
        }

.nexus-nexus-wrap .nexus-wire.nexus-active::after{
            content: '';
            position: absolute;
            bottom: -24px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #3ec6d8;
            box-shadow: 0 -2px 10px rgba(62, 198, 216, 0.4);
        }

@media (max-width: 768px){.nexus-nexus-wrap .nexus-nexus{
                flex-direction: column;
                height: auto;
                padding: 1rem 0;
                gap: 1rem;
            }

.nexus-nexus-wrap .nexus-queue{
                gap: 1rem;
                flex-wrap: wrap;
                justify-content: center;
            }}

.nexus-nexus-wrap {
    background: rgb(5, 6, 8);
    background-image: none;
}

.root-root {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
}
.root-root,
.root-root *,
.root-root *::before,
.root-root *::after {
    box-sizing: border-box;
}

.root-root nav,
.root-root div,
.root-root section,
.root-root article,
.root-root aside,
.root-root p,
.root-root h1,
.root-root h2,
.root-root h3,
.root-root h4,
.root-root h5,
.root-root h6,
.root-root a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.root-root p,
.root-root h1,
.root-root h2,
.root-root h3,
.root-root h4,
.root-root h5,
.root-root h6 {
    text-decoration: none;
}

.root-root img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.root-root {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.root-root a,
.root-root a:hover,
.root-root a:focus,
.root-root a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.root-root .root-fold{
            display: flex;
            flex-wrap: wrap;
        }

.root-root .root-fold > *{
            min-width: 0;
        }

.root-root .root-fold{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 5vw;
        }

.root-root{
            border-top: 1px solid #21262d;
            padding: 4rem 0;
            background: #050608;
            text-align: center;
        }

.root-root .root-sole-vox{
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 2px;
            margin-bottom: 1rem;
            color: #f0f6fc;
        }

.root-root .root-sole-yarn{
            color: #8b949e;
            font-size: 0.9rem;
        }