:root {
    --color-primary: #c33ade;
    --color-primary-hover: #d94eff;
    --color-bg-base: #050508;
    --color-bg-surface: #0f1016;
    --color-bg-elevated: #181922;
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(195, 58, 222, 0.3);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-pill: 9999px;
    
    --transition: all 0.35s ease;
}

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

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

/* Base Utility */
.vault {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cluster {
    display: flex;
    flex-wrap: wrap;
}

.cluster > * {
    min-width: 0;
}

.rune {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Typography */
.apex {
    white-space: normal;
    word-break: break-word;
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
}

.apex-nexus {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apex-tunnel {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.apex-packet {
    font-size: 1.25rem;
    color: #fff;
}

p.rune {
    margin: 0 0 1.5rem 0;
    color: var(--color-text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Links & Buttons */
.bond {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.bond:hover {
    color: var(--color-primary);
}

.pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.pulse-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(195, 58, 222, 0.2);
}

.pulse-primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: 0 6px 25px rgba(195, 58, 222, 0.4);
    transform: translateY(-2px);
}

/* Navigation (Strict Override) */
.helm {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

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

.helm-inner > * {
    min-width: 0;
}

.sigil {
    display: flex;
    align-items: center;
}

.sigil img {
    height: 32px;
    width: auto;
}

.array {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.array > * {
    min-width: 0;
}

.array .bond {
    font-size: 0.95rem;
    font-weight: 500;
}

.array .active,
.array .active {
    color: var(--color-primary);
}

/* Main Layout Structure */
.matrix-tunnel {
    padding-top: 72px; /* Offset for fixed header */
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-bottom: 6rem;
}

/* Section Header / Crown */
.crown {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* Article 1: Nexus (Hero Intro) */
.nexus {
    position: relative;
    padding: 8rem 0 4rem;
    background: radial-gradient(ellipse at top left, rgba(195, 58, 222, 0.15) 0%, transparent 50%);
}

.nexus .vault {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.nexus-shell {
    flex: 1 1 500px;
}

.nexus-lens {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* SVG Motion Container */
.motion-glyph {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(195, 58, 222, 0.2));
}

@keyframes pulse-node {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes flow-line {
    to { stroke-dashoffset: -20; }
}

.svg-node-core {
    animation: pulse-node 4s infinite ease-in-out;
    transform-origin: center;
}
.svg-flow-path {
    stroke-dasharray: 6 4;
    animation: flow-line 1s linear infinite;
}

/* Section 2: Steps (Matrix) */
.steps-matrix {
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.packet {
    background-color: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.packet:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.packet-glyph {
    width: 56px;
    height: 56px;
    background: rgba(195, 58, 222, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.packet-glyph svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

/* Aside 3: Capability Grid (Tunnel) */
.tunnel {
    background-color: var(--color-bg-surface);
    padding: 6rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.shard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.shard {
    padding: 2rem;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(24, 25, 34, 0.6) 0%, rgba(24, 25, 34, 0.2) 100%);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.shard:hover {
    background: linear-gradient(145deg, rgba(24, 25, 34, 0.9) 0%, rgba(24, 25, 34, 0.4) 100%);
    border-color: rgba(195, 58, 222, 0.2);
}

.shard-glyph {
    margin-bottom: 1.25rem;
    color: #fff;
}
.shard-glyph svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

/* Div 4: Guide Steps (Vault) */
.guide-stream {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--color-bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.blip:hover {
    border-color: var(--color-border-hover);
}

.blip-glyph {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(195, 58, 222, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.blip-glyph svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.blip-shell {
    flex: 1 1 300px;
}

.blip .apex-packet {
    margin-bottom: 0.5rem;
}

.blip .rune {
    margin-bottom: 0;
}

/* Footer (Depth) */
.depth {
    background-color: var(--color-bg-surface);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.depth-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.tail-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    display: block;
}

.depth-apex {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.depth-array {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tail-anchor {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .array {
        display: none; /* In a real app, a burger menu would handle this */
    }
}

@media (max-width: 768px) {
    .matrix-tunnel {
        gap: 4rem;
        padding-bottom: 4rem;
    }
    
    .nexus {
        padding: 6rem 0 3rem;
    }
    
    .nexus .vault {
        gap: 2rem;
    }
    
    .depth-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blip {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

.helm-helm {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text-main);
}
.helm-helm,
.helm-helm *,
.helm-helm *::before,
.helm-helm *::after {
    box-sizing: border-box;
}

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

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

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

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

.helm-helm a.helm-bond.helm-active,
.helm-helm a.helm-bond {
    --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;
}

.helm-helm a.helm-bond.helm-active,
.helm-helm a.helm-bond.helm-active:hover,
.helm-helm a.helm-bond.helm-active:focus,
.helm-helm a.helm-bond.helm-active:active,
.helm-helm a.helm-bond.helm-active.active,
.helm-helm a.helm-bond.helm-active[aria-current="page"],
.helm-helm a.helm-bond,
.helm-helm a.helm-bond:hover,
.helm-helm a.helm-bond:focus,
.helm-helm a.helm-bond:active,
.helm-helm a.helm-bond.active,
.helm-helm a.helm-bond[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);
}

.helm-helm .helm-helm-inner, .helm-helm .helm-array{
            display: flex;
            flex-wrap: wrap;
        }

.helm-helm .helm-helm-inner > *, .helm-helm .helm-array > *{
            min-width: 0;
        }

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

.helm-helm{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(5, 5, 8, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding: 1rem 0;
            transition: all 0.35s ease;
        }

.helm-helm .helm-helm-inner{
            justify-content: space-between;
            align-items: center;
        }

.helm-helm .helm-sigil{
            display: flex;
            align-items: center;
        }

.helm-helm .helm-sigil img{
            height: 32px;
            width: auto;
            display: block;
        }

.helm-helm .helm-array{
            gap: 1.5rem;
            align-items: center;
        }

.helm-helm .helm-bond{
            color: #94a3b8;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.35s ease;
            white-space: nowrap;
        }

.helm-helm .helm-bond:hover, .helm-helm .helm-bond:focus, .helm-helm .helm-bond.helm-active{
            color: #f8fafc;
        }

.helm-helm .helm-bond.helm-active{
            position: relative;
        }

.helm-helm .helm-bond.helm-active::after{
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #c33ade;
            border-radius: 2px;
        }

@media (max-width: 768px){.helm-helm .helm-helm-inner{
                flex-direction: column;
                gap: 1rem;
            }

.helm-helm .helm-array{
                width: 100%;
                justify-content: center;
                flex-wrap: nowrap;
                overflow-x: auto;
                padding-bottom: 0.5rem;
                -webkit-overflow-scrolling: touch;
            }}

.helm-helm {
    background: rgb(5, 5, 8);
    background-image: none;
}

.depth-anchor {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text-main);
}
.depth-anchor,
.depth-anchor *,
.depth-anchor *::before,
.depth-anchor *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.depth-anchor .depth-array, .depth-anchor .depth-anchor-inner{
            display: flex;
            flex-wrap: wrap;
        }

.depth-anchor .depth-array > *, .depth-anchor .depth-anchor-inner > *{
            min-width: 0;
        }

.depth-anchor .depth-rune{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.depth-anchor .depth-rune{
            word-break: keep-all; 
        }

.depth-anchor .depth-vault{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 5vw;
        }

.depth-anchor .depth-array{
            gap: 1.5rem;
            align-items: center;
        }

.depth-anchor .depth-bond{
            color: #94a3b8;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.35s ease;
            white-space: nowrap;
        }

.depth-anchor .depth-bond:hover, .depth-anchor .depth-bond:focus{
            color: #f8fafc;
        }

.depth-anchor{
            background-color: #030305;
            padding: 5rem 0 3rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

.depth-anchor .depth-anchor-inner{
            justify-content: space-between;
            align-items: flex-start;
            gap: 3rem;
            padding-bottom: 3rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            margin-bottom: 3rem;
        }

.depth-anchor .depth-anchor-brand{
            max-width: 300px;
        }

.depth-anchor .depth-anchor-apex{
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
            color: #fff;
        }

.depth-anchor .depth-rune{
            color: #94a3b8;
            font-size: 0.95rem;
        }

.depth-anchor .depth-anchor-links{
            display: flex;
            gap: 4rem;
            flex-wrap: wrap;
        }

.depth-anchor .depth-anchor-cluster{
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

.depth-anchor .depth-anchor-cluster-apex{
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 0.5rem;
        }

.depth-anchor .depth-anchor-bottom{
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

@media (max-width: 768px){.depth-anchor .depth-array{
                width: 100%;
                justify-content: center;
                flex-wrap: nowrap;
                overflow-x: auto;
                padding-bottom: 0.5rem;
                -webkit-overflow-scrolling: touch;
            }

.depth-anchor .depth-anchor-inner{
                flex-direction: column;
            }

.depth-anchor .depth-anchor-links{
                gap: 2rem;
                flex-direction: column;
            }

.depth-anchor .depth-anchor-bottom{
                flex-direction: column;
                text-align: center;
            }}