:root {
    --theme-primary: #443fdf;
    --theme-primary-hover: #5550f2;
    --theme-bg: #080b14;
    --theme-surface: #121829;
    --theme-surface-glow: #1a2238;
    --theme-border: rgba(68, 63, 223, 0.25);
    --theme-stamp-main: #f8fafc;
    --theme-stamp-sub: #94a3b8;
    --theme-radius: 12px;
}

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

body {
    background-color: var(--theme-bg);
    color: var(--theme-stamp-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* Header & Relay Navbar */
.tape-relay {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--theme-border);
}

.conduit {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

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

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

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

.route {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.dah {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--theme-stamp-sub);
    transition: all 0.35s ease;
    min-width: 0;
    word-break: keep-all;
}

.dah:hover {
    color: #ffffff;
    background: rgba(68, 63, 223, 0.15);
}

.dah.active {
    color: #ffffff;
    background: var(--theme-primary);
    box-shadow: 0 4px 12px rgba(68, 63, 223, 0.4);
}

/* Hero Beacon Section */
.beacon {
    padding: 90px 0 70px;
    background: radial-gradient(circle at 10% 20%, rgba(68, 63, 223, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.12) 0%, transparent 50%);
    border-bottom: 1px solid var(--theme-border);
    word-break: break-word;
    overflow-wrap: break-word;
}

.spark-knob {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.dispatch-frame {
    flex: 1;
    min-width: 320px;
}

.freq-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(68, 63, 223, 0.15);
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    color: #818cf8;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.beacon-glyph {
    color: #ffffff;
    line-height: 1.25;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    white-space: normal;
}

.beacon-glyph span {
    background: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.beacon-stamp {
    font-size: 1.125rem;
    color: var(--theme-stamp-sub);
    margin-bottom: 32px;
    max-width: 640px;
    line-height: 1.7;
}

.pulse-crest {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pulse {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.35s ease;
    cursor: pointer;
    min-width: 0;
    word-break: keep-all;
}

.pulse-primary {
    background: linear-gradient(135deg, #443fdf 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px -4px rgba(68, 63, 223, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pulse-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -2px rgba(68, 63, 223, 0.7);
}

.pulse-sub {
    background: rgba(18, 24, 41, 0.8);
    color: #ffffff;
    border: 1px solid var(--theme-border);
}

.pulse-sub:hover {
    background: var(--theme-surface-glow);
    border-color: rgba(68, 63, 223, 0.5);
    transform: translateY(-2px);
}

.beacon-ticker {
    flex: 1;
    min-width: 320px;
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
    padding: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.memo-stream {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.memo-node {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: rgba(8, 11, 20, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.memo-cipher {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(68, 63, 223, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.memo-glyph {
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.memo-stamp {
    font-size: 0.85rem;
    color: var(--theme-stamp-sub);
}

/* Ecosystem Section (Intro) */
.stream-cable {
    padding: 90px 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.head-glyph {
    text-align: center;
    margin-bottom: 50px;
}

.head-glyph h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.head-glyph p {
    color: var(--theme-stamp-sub);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
}

.dossier-crest {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.dossier-memo {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
    padding: 32px;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dossier-memo:hover {
    transform: translateY(-5px);
    border-color: rgba(68, 63, 223, 0.6);
    box-shadow: 0 16px 32px -8px rgba(68, 63, 223, 0.25);
}

.dossier-cipher {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(68, 63, 223, 0.3) 0%, rgba(56, 189, 248, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.dossier-glyph {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.dossier-stamp {
    font-size: 0.95rem;
    color: var(--theme-stamp-sub);
    line-height: 1.6;
}

/* Setup Tutorial Article */
.conduit-knob {
    padding: 90px 0;
    background: rgba(18, 24, 41, 0.4);
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
    word-break: break-word;
    overflow-wrap: break-word;
}

.step-stream {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.step-node {
    display: flex;
    flex-wrap: wrap;
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
    padding: 30px;
    gap: 24px;
    align-items: center;
    min-width: 0;
}

.step-keyer {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #443fdf 0%, #818cf8 100%);
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(68, 63, 223, 0.4);
}

.step-dossier {
    flex: 1;
    min-width: 260px;
}

.step-glyph {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.step-stamp {
    color: var(--theme-stamp-sub);
    font-size: 0.95rem;
}

.code-frame {
    background: #05070d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 16px;
    font-family: monospace;
    color: #38bdf8;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 8px;
}

/* Recommended Bots Div */
.recommend-hub {
    padding: 90px 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.bot-crest {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.bot-memo {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.bot-tape {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.bot-cipher {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-glyph {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.bot-stamp {
    color: var(--theme-stamp-sub);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.trigger-dah {
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(68, 63, 223, 0.2);
    color: #818cf8;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid rgba(68, 63, 223, 0.4);
    transition: all 0.35s ease;
}

.trigger-dah:hover {
    background: var(--theme-primary);
    color: #ffffff;
}

/* Security Permissions Aside */
.terminal-crest {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(8, 11, 20, 0.9) 0%, rgba(18, 24, 41, 0.6) 100%);
    border-top: 1px solid var(--theme-border);
    word-break: break-word;
    overflow-wrap: break-word;
}

.security-knob {
    background: rgba(18, 24, 41, 0.9);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--theme-radius);
    padding: 40px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.security-tape {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.security-cipher {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-glyph {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
}

.security-stream {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.security-node {
    background: rgba(8, 11, 20, 0.7);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.security-node h4 {
    color: #f87171;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.security-node p {
    color: var(--theme-stamp-sub);
    font-size: 0.9rem;
}

/* Footer Section */
.ground {
    background: #05070d;
    border-top: 1px solid var(--theme-border);
    padding: 60px 0 40px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.terminal-knob {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.terminus-brand {
    max-width: 360px;
}

.terminus-brand h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.terminus-brand p {
    color: var(--theme-stamp-sub);
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminus-stream {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.terminus-node h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 14px;
}

.terminus-node ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.terminus-node a {
    color: var(--theme-stamp-sub);
    font-size: 0.9rem;
    transition: color 0.35s ease;
}

.terminus-node a:hover {
    color: #ffffff;
}

.ground-lead {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--theme-stamp-sub);
    font-size: 0.85rem;
}

/* Responsive Rules */
@media (max-width: 768px) {
    .beacon {
        padding: 50px 0 40px;
    }
    .spark-knob {
        flex-direction: column;
        gap: 30px;
    }
    .beacon-ticker {
        width: 100%;
    }
    .dossier-crest, .bot-crest, .security-stream {
        grid-template-columns: 1fr;
    }
    .step-node {
        flex-direction: column;
        align-items: flex-start;
    }
    .route {
        display: none;
    }
}

.route-tape-relay {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--theme-fg);
}
.route-tape-relay,
.route-tape-relay *,
.route-tape-relay *::before,
.route-tape-relay *::after {
    box-sizing: border-box;
}

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

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

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

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

.route-tape-relay a.route-dah {
    --aisite-shell-nav-padding: 8px 16px;
    --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;
}

.route-tape-relay a.route-dah,
.route-tape-relay a.route-dah:hover,
.route-tape-relay a.route-dah:focus,
.route-tape-relay a.route-dah:active,
.route-tape-relay a.route-dah.active,
.route-tape-relay a.route-dah[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);
}

.route-tape-relay{
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(8, 11, 20, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(68, 63, 223, 0.25);
            padding: 16px 0;
        }

.route-tape-relay .route-conduit{
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

.route-tape-relay .route-relay-knob{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

.route-tape-relay .route-dit{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.route-tape-relay .route-dit img{
            height: 38px;
            width: auto;
            display: block;
        }

.route-tape-relay .route-route{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px;
        }

.route-tape-relay .route-dah{
            color: #94a3b8;
            text-decoration: none;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.35s ease;
        }

.route-tape-relay .route-dah:hover, .route-tape-relay .route-dah.active{
            color: #ffffff;
            background: rgba(68, 63, 223, 0.2);
            border: 1px solid rgba(68, 63, 223, 0.25);
        }

.route-tape-relay .route-dah.active{
            color: #38bdf8;
            border-color: rgba(56, 189, 248, 0.4);
            background: rgba(56, 189, 248, 0.1);
        }

@media (max-width: 768px){.route-tape-relay .route-relay-knob{
                flex-direction: column;
                align-items: flex-start;
            }

.route-tape-relay .route-route{
                width: 100%;
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 6px;
            }

.route-tape-relay .route-dah{
                padding: 6px 12px;
                font-size: 0.875rem;
                white-space: nowrap;
            }}

.route-tape-relay {
    background: rgb(8, 11, 20);
    background-image: none;
}

.ground-ground {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--theme-fg);
}
.ground-ground,
.ground-ground *,
.ground-ground *::before,
.ground-ground *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.ground-ground .ground-conduit{
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

.ground-ground{
            background: #04060c;
            border-top: 1px solid rgba(68, 63, 223, 0.25);
            padding: 60px 0 30px;
        }

.ground-ground .ground-terminal-crest{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 24px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            margin-bottom: 30px;
        }

.ground-ground .ground-terminus-brand{
            font-size: 1.4rem;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: -0.01em;
        }

.ground-ground .ground-terminus-relay{
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

.ground-ground .ground-terminus-dah{
            color: #94a3b8;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.35s ease;
        }

.ground-ground .ground-terminus-dah:hover{
            color: #38bdf8;
        }

.ground-ground .ground-terminus-stamp{
            text-align: center;
            color: #64748b;
            font-size: 0.875rem;
        }