:root {
    --primary: #f642d5;
    --primary-hover: #d52bb7;
    --bg-light: #fdfdfd;
    --bg-muted: #f4f6f9;
    --bg-accent: #fff0fa;
    --text-main: #1e2022;
    --text-muted: #5a6268;
    --radius: 14px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(246, 66, 213, 0.08);
    --max-width: 1320px;
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --transition: all 0.25s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Base Text Styles */
.echo {
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.apex {
    white-space: normal;
    color: var(--text-main);
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}

/* Header & Navigation (Reused & Adapted) */
.prow {
    background: rgba(253, 253, 253, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.orbit {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.crest {
    display: flex;
    align-items: center;
    min-width: 0;
}

.crest img {
    height: 36px;
    width: auto;
    display: block;
}

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

.wire {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.wire.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

/* Main Layout */
.tunnel {
    width: 100%;
    overflow: hidden;
}

/* Section 1: Intro (Asymmetric Grid Variant) */
.nexus {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1.2fr);
    gap: 4rem;
    align-items: center;
}

.nexus .shell {
    min-width: 0;
}

.nexus .apex {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    letter-spacing: -0.02em;
    font-family: var(--font-serif);
}

.nexus .echo {
    font-size: 1.25rem;
    font-family: var(--font-serif);
    color: var(--text-main);
}

.portal {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, var(--bg-light) 0%, var(--bg-accent) 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(246, 66, 213, 0.1);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 0;
}

.portal::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(246, 66, 213, 0.05) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.glyph-nexus {
    width: 120px;
    height: 120px;
    color: var(--primary);
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: var(--transition);
}

.portal:hover .glyph-nexus {
    transform: translateY(-10px) scale(1.05);
}

/* Section 2: Steps */
.matrix {
    background-color: var(--bg-muted);
    padding: 6rem 2rem;
}

.matrix .shell {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.matrix .shell > div {
    min-width: 0;
    flex: 1 1 100%;
}

.matrix .apex {
    font-size: clamp(2rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 1rem;
}

.matrix .echo.center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    width: 100%;
}

.cell {
    flex: 1 1 minmax(280px, 350px);
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.cell:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(246, 66, 213, 0.2);
}

.band {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.cell:hover .band {
    opacity: 1;
}

.glyph-step {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cell .apex {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: left;
}

.cell .echo {
    font-size: 1rem;
    margin: 0;
}

/* Section 3: Detail */
.vessel {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    gap: 4rem;
    align-items: center;
}

.vessel .shell {
    min-width: 0;
}

.vessel .apex {
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.shard {
    background: var(--text-main);
    border-radius: var(--radius);
    padding: 2rem;
    color: var(--bg-light);
    box-shadow: var(--shadow-md);
    position: relative;
    min-width: 0;
    font-family: monospace;
}

.shard::before {
    content: '';
    display: block;
    width: 40px;
    height: 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.2);
    margin-bottom: 1.5rem;
}

.shard-echo {
    font-size: 0.9rem;
    color: #a0aab2;
    line-height: 2;
    word-break: break-all;
}

.ping {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(246, 66, 213, 0.3);
    border: 2px solid transparent;
    transition: var(--transition);
    margin-top: 1rem;
}

.ping:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 66, 213, 0.4);
}

/* Section 4: Closing */
.base {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-muted) 100%);
    padding: 6rem 2rem;
    text-align: center;
}

.base .shell {
    max-width: 800px;
    margin: 0 auto;
    min-width: 0;
}

.base .apex {
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.packet {
    margin-top: 3rem;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--bg-light);
    padding: 1rem 2rem;
    border-radius: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(246, 66, 213, 0.1);
    min-width: 0;
}

.packet-echo {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.packet-echo span {
    color: #10b981;
    font-family: monospace;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

/* Footer */
.wake {
    background-color: var(--text-main);
    color: var(--bg-muted);
    padding: 4rem 2rem 2rem;
}

.wake .shell {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.wake .cell {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    flex: 1 1 minmax(200px, auto);
}

.wake .cell:hover {
    transform: none;
}

.wake .apex {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.anchor {
    display: block;
    color: #a0aab2;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

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

.abyss {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .nexus, .vessel {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .array {
        display: none; /* In a real site, JS would toggle this, but we simulate flat [role="navigation"] for simple view */
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
    }
    
    /* Simulate mobile menu trigger state if needed, but per rules keep it simple */
    .prow:hover .array {
        display: flex;
    }

    .nexus, .vessel {
        grid-template-columns: 1fr;
    }

    .nexus {
        padding: 4rem 2rem;
    }

    .nexus .shell:nth-child(2) {
        order: -1; /* Portal image on top for mobile */
    }
    
    .vessel .shard {
        order: -1;
    }
}

.orbit-prow{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(253, 253, 253, 0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #e9ecef;
            padding: 1rem 0;
        }

.orbit-prow .orbit-orbit{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 5%;
        }

.orbit-prow .orbit-orbit > *{
            min-width: 0;
        }

.orbit-prow .orbit-crest{
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

.orbit-prow .orbit-crest img{
            height: 36px;
            width: auto;
            display: block;
        }

.orbit-prow .orbit-array{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 2rem;
        }

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

.orbit-prow .orbit-wire{
            text-decoration: none;
            color: #1e2022;
            font-weight: 500;
            font-size: 1rem;
            transition: color 0.25s ease;
            position: relative;
        }

.orbit-prow .orbit-wire:hover, .orbit-prow .orbit-wire.active{
            color: #f642d5;
        }

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

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

.orbit-prow .orbit-array{
                justify-content: center;
            }}

.orbit-prow {
    background: rgb(253, 253, 253);
    background-image: none;
}

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

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

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

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

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

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

.anchor-wake .anchor-echo{
            word-break: break-word;
            overflow-wrap: break-word;
            word-break: keep-all;
            margin-bottom: 1.2rem;
            color: #5a6268;
            font-size: 1.05rem;
        }

.anchor-wake .anchor-apex{
            white-space: normal;
            color: #1e2022;
            line-height: 1.3;
            margin-bottom: 1.5rem;
            font-weight: 700;
        }

.anchor-wake .anchor-vessel{
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 5%;
        }

.anchor-wake .anchor-array{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 2rem;
        }

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

.anchor-wake .anchor-wire{
            text-decoration: none;
            color: #1e2022;
            font-weight: 500;
            font-size: 1rem;
            transition: color 0.25s ease;
            position: relative;
        }

.anchor-wake .anchor-wire:hover, .anchor-wake .anchor-wire.active{
            color: #f642d5;
        }

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

.anchor-wake{
            background-color: #111;
            color: #ccc;
            padding: 4rem 0 2rem;
        }

.anchor-wake .anchor-vessel{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #333;
            padding-bottom: 2rem;
            margin-bottom: 2rem;
        }

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

.anchor-wake .anchor-apex{
            color: #fff;
            font-size: 1.5rem;
            margin-bottom: 0;
        }

.anchor-wake .anchor-echo{
            font-size: 0.9rem;
            color: #888;
            margin-bottom: 0;
            text-align: center;
        }

.anchor-wake .anchor-array{
            gap: 1.5rem;
        }

.anchor-wake .anchor-wire{
            color: #aaa;
            font-size: 0.95rem;
        }

.anchor-wake .anchor-wire:hover{
            color: #fff;
        }

@media (max-width: 768px){.anchor-wake .anchor-array{
                justify-content: center;
            }

.anchor-wake .anchor-vessel{
                flex-direction: column;
                gap: 1.5rem;
                text-align: center;
            }}