:root {
    --color-bg: #ffffff;
    --color-text: #0f0f11;
    --color-accent: #f853a3;
    --color-accent-hover: #e03a88;
    --color-surface: #f8f9fb;
    --color-border: rgba(0,0,0,0.06);
    --color-muted: #666666;
    
    --radius-soft: 20px;
    --radius-sharp: 8px;
    --radius-pill: 50px;
    
    --space-xs: 0.5rem;
    --space-sm: 1.5rem;
    --space-md: 3rem;
    --space-lg: 6rem;
    --space-xl: 10rem;
    
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 12px 32px rgba(0,0,0,0.05);
    --shadow-hover: 0 24px 48px rgba(0,0,0,0.08);
    
    --font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --transition: 0.15s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Typography Base */
.cipher {
    word-break: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
}

.apex {
    white-space: normal;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Nav Styles (Mandatory Reuse) */
.helm-cloak {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.helm {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.route {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    min-width: 0;
}

.wire {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.wire:hover {
    color: var(--color-accent);
}

.wire.active {
    color: var(--color-accent);
}

/* Layout Core */
.tunnel-tunnel {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.cloak-bound {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw;
    width: 100%;
}

/* Hero Article (Acquire) */
.portal-article {
    padding: var(--space-xl) 0 var(--space-lg);
    background: radial-gradient(circle at 80% 20%, #fdf2f7 0%, #ffffff 50%);
    position: relative;
    overflow: hidden;
}

.portal-matrix {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
}

.portal-cipher-pod {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.apex-portal {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    color: var(--color-text);
}

.cipher-portal {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-muted);
    max-width: 480px;
}

.trigger-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    background-color: var(--color-accent);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(248, 83, 163, 0.2);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    width: fit-content;
}

.trigger-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(248, 83, 163, 0.3);
}

.portal-lens-pod {
    flex: 1;
    min-width: 320px;
    display: flex;
    justify-content: center;
    position: relative;
}

.lens-portal {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-md);
    display: block;
    object-fit: cover;
}

.glyph-flow {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cipher-meta {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Matrix Div (Platform Selection) */
.vortex-div {
    padding: var(--space-lg) 0;
    background-color: var(--color-surface);
}

.apex-tunnel {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: var(--space-xs);
}

.cipher-tunnel {
    text-align: center;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto var(--space-md);
    font-size: 1.1rem;
}

.node-pod {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-sm);
}

.vault-platform {
    background: var(--color-bg);
    border-radius: var(--radius-soft);
    padding: 2.5rem 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition);
    min-width: 0;
}

.vault-platform:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(248, 83, 163, 0.2);
}

.glyph-vault {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

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

.apex-vault {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cipher-vault {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.trigger-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: var(--color-surface);
    color: var(--color-text);
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--transition);
    border: 1px solid var(--color-border);
    width: 100%;
}

.trigger-secondary:hover {
    background-color: var(--color-text);
    color: #fff;
}

.lens-matrix-decor {
    width: 100%;
    max-width: 800px;
    margin: var(--space-md) auto 0;
    display: block;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-md);
}

/* Changelog Aside (Comparison/History) */
.nexus-aside {
    padding: var(--space-lg) 0;
    background-color: var(--color-bg);
}

.nexus-matrix {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: flex-start;
}

.nexus-cipher-pod {
    flex: 1;
    min-width: 300px;
}

.lens-aside {
    width: 100%;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-sm);
    margin-top: var(--space-sm);
}

.flow-log {
    flex: 1.5;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.flow-log::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--color-surface);
    z-index: 0;
}

.dot-version {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.glyph-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.vault-log {
    background: var(--color-surface);
    padding: 1.5rem;
    border-radius: var(--radius-sharp);
    flex-grow: 1;
    border: 1px solid var(--color-border);
}

.apex-log {
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.cipher-date {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-weight: 500;
}

.flow-changes {
    list-style: none;
    margin-top: 1rem;
}

.flow-changes li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.flow-changes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-text);
    opacity: 0.3;
}

/* Footer Section */
.anchor-tunnel {
    background-color: var(--color-text);
    color: #ffffff;
    padding: var(--space-md) 0 var(--space-sm);
}

.anchor-matrix {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.apex-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.route-tail {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.wire-tail {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.wire-tail:hover {
    color: #ffffff;
}

.cipher-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    text-align: center;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .portal-matrix, .nexus-matrix {
        gap: var(--space-sm);
    }
}

@media (max-width: 768px) {
    .helm {
        flex-direction: column;
        gap: 1rem;
    }
    
    .route {
        justify-content: center;
        width: 100%;
    }

    .portal-article {
        padding: var(--space-md) 0;
        text-align: center;
    }

    .trigger-primary {
        margin: 0 auto;
    }

    .glyph-flow {
        justify-content: center;
    }

    .node-pod {
        grid-template-columns: 1fr;
    }

    .flow-log::before {
        display: none;
    }

    .dot-version {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .glyph-marker {
        display: none;
    }
    
    .anchor-matrix {
        flex-direction: column;
        text-align: center;
    }
    
    .route-tail {
        justify-content: center;
    }
}

.helm-helm-cloak {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--ink-main);
}
.helm-helm-cloak,
.helm-helm-cloak *,
.helm-helm-cloak *::before,
.helm-helm-cloak *::after {
    box-sizing: border-box;
}

.helm-helm-cloak [role="navigation"],
.helm-helm-cloak div,
.helm-helm-cloak section,
.helm-helm-cloak article,
.helm-helm-cloak aside,
.helm-helm-cloak p,
.helm-helm-cloak h1,
.helm-helm-cloak h2,
.helm-helm-cloak h3,
.helm-helm-cloak h4,
.helm-helm-cloak h5,
.helm-helm-cloak h6,
.helm-helm-cloak a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

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

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

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

.helm-helm-cloak a.helm-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;
}

.helm-helm-cloak a.helm-wire,
.helm-helm-cloak a.helm-wire:hover,
.helm-helm-cloak a.helm-wire:focus,
.helm-helm-cloak a.helm-wire:active,
.helm-helm-cloak a.helm-wire.active,
.helm-helm-cloak a.helm-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);
}

.helm-helm-cloak{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(0,0,0,0.04);
        }

.helm-helm-cloak .helm-helm{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem 4vw;
        }

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

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

.helm-helm-cloak .helm-route{
            display: flex;
            flex-wrap: wrap;
            gap: 2.5rem;
            align-items: center;
        }

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

.helm-helm-cloak .helm-wire{
            text-decoration: none;
            color: #4a4a52;
            font-size: 0.95rem;
            font-weight: 500;
            transition: color 0.15s ease;
            position: relative;
        }

.helm-helm-cloak .helm-wire:hover, .helm-helm-cloak .helm-wire.active{
            color: #0f0f11;
        }

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

@media (max-width: 768px){.helm-helm-cloak .helm-route{
                display: none; 
            }}

.helm-helm-cloak {
    background: rgb(255, 255, 255);
    background-image: none;
}

.anchor-tail {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--ink-main);
}
.anchor-tail,
.anchor-tail *,
.anchor-tail *::before,
.anchor-tail *::after {
    box-sizing: border-box;
}

.anchor-tail [role="navigation"],
.anchor-tail div,
.anchor-tail section,
.anchor-tail article,
.anchor-tail aside,
.anchor-tail p,
.anchor-tail h1,
.anchor-tail h2,
.anchor-tail h3,
.anchor-tail h4,
.anchor-tail h5,
.anchor-tail h6,
.anchor-tail a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

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

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

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

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

.anchor-tail{
            background-color: #ffffff;
            padding: 3rem 4vw;
            border-top: 1px solid rgba(0,0,0,0.04);
        }

.anchor-tail .anchor-anchor{
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
        }

.anchor-tail .anchor-anchor > *{ min-width: 0; }

.anchor-tail .anchor-root-brand{
            font-size: 1.5rem;
            font-weight: 800;
            color: #0f0f11;
            letter-spacing: -0.02em;
        }

.anchor-tail .anchor-root-cipher{
            color: #888891;
            font-size: 0.9rem;
        }

@media (max-width: 768px){.anchor-tail .anchor-anchor{
                flex-direction: column;
                text-align: center;
            }}