:root {
  --cyan-primary: #33b5ec;
  --cyan-glow: rgba(51, 181, 236, 0.35);
  --bg-dark: #0b1120;
  --bg-surface: #131c2e;
  --bg-elevated: #1a263d;
  --border-color: rgba(51, 181, 236, 0.2);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(51, 181, 236, 0.15);
  --transition: all 0.15s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

/* Header Styles */
.strata {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 181, 236, 0.15);
}

.nexus {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

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

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

.weave {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.thread {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  word-break: keep-all;
}

.thread:hover,
.thread.active {
  color: #ffffff;
  background: rgba(51, 181, 236, 0.15);
  border: 1px solid rgba(51, 181, 236, 0.3);
}

/* Main Layout Setup */
main {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-bottom: 100px;
}

/* Top-level Block 1: Article (ai_hero) */
.beacon {
  position: relative;
  padding-top: 100px;
  padding-bottom: 60px;
  background: radial-gradient(circle at 50% 20%, rgba(51, 181, 236, 0.15) 0%, transparent 65%);
  border-bottom: 1px solid rgba(51, 181, 236, 0.1);
}

.aura {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.vertex {
  flex: 1 1 500px;
  min-width: 0;
}

.crown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(51, 181, 236, 0.12);
  border: 1px solid rgba(51, 181, 236, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--cyan-primary);
  margin-bottom: 24px;
  word-break: keep-all;
}

.prose-h1 {
  font-size: 44px;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  white-space: normal;
}

.node-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.orbit {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.trigger-prime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, #33b5ec 0%, #1a82ad 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 25px var(--cyan-glow);
  transition: var(--transition);
  word-break: keep-all;
}

.trigger-prime:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(51, 181, 236, 0.5);
}

.trigger-subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  word-break: keep-all;
}

.trigger-subtle:hover {
  background: var(--bg-elevated);
  border-color: var(--cyan-primary);
  color: #ffffff;
}

.spark-stage {
  flex: 1 1 450px;
  min-width: 0;
  position: relative;
}

.shard-halo {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.shard-halo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(51, 181, 236, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.sigil-node {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sigil-node:last-child {
  margin-bottom: 0;
}

.vox-tally {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(51, 181, 236, 0.15);
  border: 1px solid rgba(51, 181, 236, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan-primary);
}

/* Top-level Block 2: Section (workflow_collaboration) */
.matrix {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.prose-h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 16px;
}

.node-desc {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.transit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.spark-media {
  flex: 1 1 500px;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background: var(--bg-surface);
}

.spark-media img {
  width: 100%;
  height: auto;
  display: block;
}

.packet-flow {
  flex: 1 1 450px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.capsule-sigil {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: var(--transition);
}

.capsule-sigil:hover {
  background: var(--bg-elevated);
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
}

.prose-h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Top-level Block 3: Aside (prompt_personas) */
.haven {
  background: var(--bg-surface);
  border-top: 1px solid rgba(51, 181, 236, 0.15);
  border-bottom: 1px solid rgba(51, 181, 236, 0.15);
  padding: 80px 0;
}

.vault-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-personas {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.shard-persona {
  flex: 1 1 260px;
  min-width: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.shard-persona:hover {
  border-color: var(--cyan-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.vox-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(51, 181, 236, 0.2) 0%, rgba(26, 130, 173, 0.2) 100%);
  border: 1px solid var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  margin-bottom: 20px;
}

.prose-role {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.node-role {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.pulse-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(51, 181, 236, 0.1);
  color: var(--cyan-primary);
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
  word-break: keep-all;
}

/* Top-level Block 4: Div (web_cloud_access) */
.vault {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.halo-packet {
  background: linear-gradient(135deg, #131c2e 0%, #1a263d 100%);
  border: 1px solid var(--cyan-primary);
  border-radius: var(--radius);
  padding: 48px 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
}

.halo-packet::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  pointer-events: none;
}

.prose-web {
  flex: 1 1 500px;
  min-width: 0;
}

.ping-box {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sigil-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
}

.vox-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(51, 181, 236, 0.2);
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer Styles */
.gazer {
  background: #070b16;
  border-top: 1px solid rgba(51, 181, 236, 0.15);
  padding: 60px 0 30px 0;
  margin-top: 40px;
}

.anchor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.echo {
  flex: 1 1 300px;
  min-width: 0;
}

.prose-brand {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.floor {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  min-width: 0;
}

.floor-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 140px;
}

.prose-meta {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.thread-foot {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  word-break: keep-all;
}

.thread-foot:hover {
  color: var(--cyan-primary);
}

.copyright {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 24px 24px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .nexus {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .weave {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  
  .prose-h1 {
    font-size: 30px;
  }
  
  .prose-h2 {
    font-size: 24px;
  }
  
  main {
    gap: 50px;
  }

  .beacon {
    padding-top: 40px;
  }

  .halo-packet {
    padding: 28px 20px;
  }
}

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

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

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

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

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

.nexus-strata a.nexus-thread {
    --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;
}

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

.nexus-strata{
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(11, 17, 32, 0.85);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

.nexus-strata .nexus-nexus{
            max-width: 1320px;
            margin: 0 auto;
            padding: 16px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

.nexus-strata .nexus-glyph{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.nexus-strata .nexus-glyph img{
            height: 38px;
            width: auto;
            display: block;
        }

.nexus-strata .nexus-weave{
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            min-width: 0;
        }

.nexus-strata .nexus-thread{
            color: #94a3b8;
            text-decoration: none;
            padding: 8px 16px;
            font-size: 15px;
            font-weight: 500;
            border-radius: 10px;
            transition: all 0.15s ease;
            white-space: nowrap;
        }

.nexus-strata .nexus-thread:hover, .nexus-strata .nexus-thread.active{
            color: #ffffff;
            background: rgba(51, 181, 236, 0.15);
            border: 1px solid rgba(51, 181, 236, 0.3);
            box-shadow: 0 0 12px rgba(51, 181, 236, 0.2);
        }

@media (max-width: 768px){.nexus-strata .nexus-nexus{
                flex-direction: column;
                gap: 16px;
            }}

.nexus-strata {
    background: rgb(11, 17, 32);
    background-image: none;
}

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

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

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

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

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

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

.anchor-gazer .anchor-node-desc{
            font-size: 16px;
            color: #94a3b8;
            line-height: 1.8;
        }

.anchor-gazer{
            background: #070b14;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 70px 24px 30px 24px;
            color: #94a3b8;
        }

.anchor-gazer .anchor-anchor-grid{
            max-width: 1320px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            gap: 50px;
            justify-content: space-between;
            margin-bottom: 50px;
        }

.anchor-gazer .anchor-echo-col{
            flex: 1 1 220px;
            min-width: 0;
        }

.anchor-gazer .anchor-prose-foot{
            font-size: 20px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 16px;
        }

.anchor-gazer .anchor-weave-foot{
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

.anchor-gazer .anchor-thread-foot{
            color: #94a3b8;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.15s ease;
        }

.anchor-gazer .anchor-thread-foot:hover{
            color: #33b5ec;
        }

.anchor-gazer .anchor-floor-node{
            max-width: 1320px;
            margin: 0 auto;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
            font-size: 14px;
        }