/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background-color: var(--bg-matrix); color: var(--text-whisper); line-height: 1.7; scroll-behavior: smooth; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }

/* Design System Variables */
:root {
    --bg-matrix: #0a0e17;
    --bg-vessel: #121926;
    --bg-pod: #1a2332;
    --accent-ray: #21efeb;
    --accent-dim: rgba(33, 239, 235, 0.15);
    --accent-glow: rgba(33, 239, 235, 0.4);
    --text-vox: #ffffff;
    --text-whisper: #cbd5e1;
    --text-dim: #94a3b8;
    --radius-core: 18px;
    --radius-sm: 12px;
    --transition: 0.35s ease;
    --shadow-base: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
    --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
}

/* Typography Constraints */
.vox-h1 { color: var(--text-vox); font-weight: 700; line-height: 1.2; font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.5px; white-space: normal; word-break: break-word; overflow-wrap: break-word; margin-bottom: 1.5rem; }
.vox-h2 { color: var(--text-vox); font-weight: 600; line-height: 1.3; font-size: clamp(1.8rem, 3vw, 2.2rem); letter-spacing: -0.2px; white-space: normal; word-break: break-word; margin-bottom: 1rem; }
.vox-h3 { color: var(--text-vox); font-weight: 600; line-height: 1.4; font-size: 1.25rem; white-space: normal; word-break: break-word; margin-bottom: 0.75rem; }
.whisper-lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--text-dim); margin-bottom: 2rem; word-break: break-word; }
.whisper-body { font-size: 1rem; color: var(--text-whisper); margin-bottom: 1rem; word-break: break-word; }

/* Structural Rules */
.matrix { flex: 1; display: flex; flex-direction: column; width: 100%; }
.vessel-fluid { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 4vw; display: flex; flex-wrap: wrap; min-width: 0; }
.flex-col { display: flex; flex-direction: column; min-width: 0; }
.flex-row { display: flex; flex-wrap: wrap; min-width: 0; }

/* Navigation (Strict Reuse) */
.synapse { position: sticky; top: 0; z-index: 100; background: rgba(10, 14, 23, 0.85); backdrop-filter: blur(12px); border-bottom: var(--border-subtle); padding: 16px 4vw; }
.beacon { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-width: 0; }
.glyph { display: flex; align-items: center; min-width: 0; }
.glyph img { height: 32px; width: auto; object-fit: contain; }
.weave-sheath { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; min-width: 0; }
.synapse-thread { color: var(--text-whisper); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: var(--transition); position: relative; }
.synapse-thread:hover { color: var(--text-vox); }
.synapse-thread.active { color: var(--accent-ray); }
.synapse-thread.active::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px; background: var(--accent-ray); border-radius: 2px; box-shadow: 0 0 8px var(--accent-glow); }

@media (max-width: 768px) {
    .beacon { flex-direction: column; gap: 16px; }
    .weave-sheath { justify-content: center; gap: 16px; }
}

/* Pulsar (Hero/Intro Variant) - Offset Overlap Creative */
.pulsar { padding: 100px 0 120px; background: radial-gradient(circle at right 30%, var(--bg-vessel), var(--bg-matrix)); position: relative; overflow: hidden; }
.pulsar-realm { justify-content: space-between; align-items: center; gap: 60px; }
.pulsar-whisper-flock { flex: 1; min-width: 300px; max-width: 600px; z-index: 2; }
.pulsar-overlap-flock { flex: 1; min-width: 300px; position: relative; min-height: 400px; display: flex; justify-content: center; align-items: center; }

/* The Overlapping Prisms */
.prism-node { position: absolute; background: rgba(18, 25, 38, 0.7); backdrop-filter: blur(16px); border: var(--border-subtle); border-radius: var(--radius-core); padding: 24px; box-shadow: var(--shadow-base); transition: var(--transition); display: flex; align-items: center; gap: 16px; width: 280px; }
.prism-node:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--accent-dim); z-index: 10 !important; background: rgba(26, 35, 50, 0.9); }
.prism-node-1 { top: 10%; left: 10%; z-index: 3; }
.prism-node-2 { top: 40%; right: 5%; z-index: 2; }
.prism-node-3 { bottom: 10%; left: 20%; z-index: 1; }
.sigil-pulse { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-dim); display: flex; justify-content: center; align-items: center; color: var(--accent-ray); flex-shrink: 0; }
.prism-vox { font-weight: 600; color: var(--text-vox); font-size: 1.1rem; margin-bottom: 4px; }
.prism-whisper { font-size: 0.85rem; color: var(--text-dim); }
.connection-ray { position: absolute; background: linear-gradient(90deg, transparent, var(--accent-ray), transparent); height: 1px; width: 60%; top: 50%; left: 20%; transform: rotate(-25deg); opacity: 0.3; z-index: 0; }

@media (max-width: 1024px) {
    .pulsar-overlap-flock { min-height: 300px; }
    .prism-node { width: 220px; padding: 16px; }
}
@media (max-width: 768px) {
    .pulsar { padding: 60px 0; }
    .pulsar-overlap-flock { display: none; /* Simplify on small mobile to keep focus on path */ }
}

/* Common UI Elements */
.spark-primary { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; background: var(--accent-ray); color: #000; font-weight: 600; font-size: 1rem; border-radius: 30px; text-decoration: none; transition: var(--transition); box-shadow: 0 4px 15px var(--accent-glow); border: none; cursor: pointer; gap: 8px; }
.spark-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); background: #45f3f0; }

/* Pathway Realm (Key Path) */
.realm-pathway { padding: 80px 0; background-color: var(--bg-matrix); }
.pathway-pulse { text-align: center; margin-bottom: 60px; width: 100%; max-width: 800px; margin-inline: auto; padding: 0 4vw; }
.capsule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; width: 100%; }
.capsule-step { background: var(--bg-vessel); border: var(--border-subtle); border-radius: var(--radius-core); padding: 40px 30px; transition: var(--transition); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.capsule-step:hover { transform: translateY(-5px); border-color: rgba(33, 239, 235, 0.3); box-shadow: var(--shadow-hover); background: var(--bg-pod); }
.capsule-step::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--accent-ray); transition: var(--transition); }
.capsule-step:hover::before { height: 100%; }
.step-sigil { margin-bottom: 24px; display: inline-flex; }
.step-sigil svg { width: 40px; height: 40px; stroke: var(--accent-ray); stroke-width: 1.5; fill: none; }
.capsule-step .vox-h3 { display: flex; align-items: center; gap: 12px; }
.step-num { font-size: 0.9rem; color: var(--accent-ray); background: var(--accent-dim); padding: 4px 10px; border-radius: 20px; font-weight: 700; letter-spacing: 1px; }

/* Network Data Matrix (Table/List Hybrid) */
.data-sheath { background: rgba(18, 25, 38, 0.5); border-radius: var(--radius-sm); padding: 20px; margin-top: auto; border: 1px solid rgba(255,255,255,0.05); }
.data-ray { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 0.9rem; }
.data-ray:last-child { border-bottom: none; }
.data-echo { color: var(--text-dim); }
.data-value { color: var(--text-vox); font-family: monospace; }
.data-value.highlight { color: var(--accent-ray); }

/* Capability Aside (Usage Context & Security) */
.vessel-capability { padding: 80px 0; background: linear-gradient(180deg, var(--bg-matrix) 0%, var(--bg-vessel) 100%); }
.capability-flock { display: flex; flex-wrap: wrap; gap: 40px; width: 100%; align-items: stretch; }
.pod-guard { flex: 1; min-width: 300px; background: var(--bg-pod); border-radius: var(--radius-core); padding: 50px; border: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(33, 239, 235, 0.1); }
.pod-guard::after { content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px; background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%); border-radius: 50%; opacity: 0.5; pointer-events: none; }
.pod-guard .sigil-pulse { margin-bottom: 24px; background: rgba(0,0,0,0.3); border: 1px solid var(--accent-dim); }
.guard-weave { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.guard-strand { display: flex; align-items: flex-start; gap: 12px; }
.guard-strand svg { width: 20px; height: 20px; stroke: var(--accent-ray); flex-shrink: 0; margin-top: 2px; }

/* Horizon (Footer) */
.horizon { background-color: #05070a; padding: 60px 4vw 30px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: auto; }
.horizon-realm { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; min-width: 0; }
.horizon-brand { flex: 1; min-width: 250px; }
.brand-vox { font-size: 1.5rem; font-weight: 700; color: var(--text-vox); margin-bottom: 16px; letter-spacing: 1px; }
.horizon-flock { display: flex; flex-wrap: wrap; gap: 60px; min-width: 0; }
.echoes-col { display: flex; flex-direction: column; gap: 12px; min-width: 120px; }
.echoes-pulse { color: var(--text-vox); font-weight: 600; margin-bottom: 8px; font-size: 1rem; }
.echoes-thread { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.echoes-thread:hover { color: var(--accent-ray); }
.horizon-blip { max-width: 1280px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: var(--text-dim); font-size: 0.85rem; }

.synapse-synapse {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--text-whisper);
}
.synapse-synapse,
.synapse-synapse *,
.synapse-synapse *::before,
.synapse-synapse *::after {
    box-sizing: border-box;
}

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

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

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

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

.synapse-synapse a.synapse-synapse-thread {
    --aisite-shell-nav-padding: 10px 18px;
    --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;
}

.synapse-synapse a.synapse-synapse-thread,
.synapse-synapse a.synapse-synapse-thread:hover,
.synapse-synapse a.synapse-synapse-thread:focus,
.synapse-synapse a.synapse-synapse-thread:active,
.synapse-synapse a.synapse-synapse-thread.active,
.synapse-synapse a.synapse-synapse-thread[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);
}

.synapse-synapse{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(10, 14, 23, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding: 15px 4vw;
        }

.synapse-synapse .synapse-beacon{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }

.synapse-synapse .synapse-glyph{
            flex: 0 0 auto;
            min-width: 0;
            width: 140px;
        }

.synapse-synapse .synapse-weave-sheath{
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            min-width: 0;
        }

.synapse-synapse .synapse-synapse-thread{
            color: #cbd5e1;
            padding: 10px 18px;
            font-size: 0.95rem;
            font-weight: 500;
            border-radius: 8px;
            position: relative;
        }

.synapse-synapse .synapse-synapse-thread:hover{
            color: #21efeb;
            background: rgba(33, 239, 235, 0.15);
        }

.synapse-synapse .synapse-synapse-thread.active{
            color: #21efeb;
            background: rgba(33, 239, 235, 0.08);
            box-shadow: inset 0 -2px 0 #21efeb;
        }

@media (max-width: 768px){.synapse-synapse .synapse-beacon{ flex-direction: column; gap: 15px; }

.synapse-synapse .synapse-weave-sheath{ justify-content: center; }}

.synapse-synapse {
    background: rgb(10, 14, 23);
    background-image: none;
}

.horizon-horizon {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--text-whisper);
}
.horizon-horizon,
.horizon-horizon *,
.horizon-horizon *::before,
.horizon-horizon *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.horizon-horizon .horizon-weave-sheath{
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            min-width: 0;
        }

.horizon-horizon .horizon-vessel-core{
            max-width: 1300px;
            margin: 0 auto;
            width: 100%;
            padding: 0 4vw;
        }

.horizon-horizon{
            background: #121926;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 60px 4vw 40px;
            text-align: center;
        }

.horizon-horizon .horizon-horizon-vox{
            font-size: 1.8rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 2px;
            margin-bottom: 20px;
        }

.horizon-horizon .horizon-echoes{
            color: #94a3b8;
            font-size: 0.9rem;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

@media (max-width: 768px){.horizon-horizon .horizon-weave-sheath{ justify-content: center; }}