:root {
  --primary: #5e75fa;
  --primary-glow: rgba(94, 117, 250, 0.35);
  --accent: #38bdf8;
  --surface: #141b2d;
  --surface-light: #1e2942;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --radius: 20px;
  --bg: #0b0f19;
}

* {
  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);
  color: var(--text-main);
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

/* 导航栏固定样式复用 */
.visor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(94, 117, 250, 0.15);
}

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

.sigil img {
  height: 36px;
  width: auto;
}

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

.tether {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.35s ease;
  min-width: 0;
}

.tether:hover,
.tether.active {
  color: #ffffff;
}

.tether.active {
  position: relative;
  font-weight: 600;
}

.tether.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary-glow);
}

.trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: linear-gradient(135deg, #5e75fa 0%, #4355d6 100%);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(94, 117, 250, 0.5);
}

/* 主结构与布局 */
.sheath {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  padding-top: 80px;
}

/* 顶部 Apex 下载 Hero 区块 */
.apex {
  width: 100%;
  padding: 80px 24px 60px 24px;
  background: radial-gradient(circle at 50% 20%, rgba(94, 117, 250, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
}

.sanctum {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.stratum {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

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

.capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(94, 117, 250, 0.12);
  border: 1px solid rgba(94, 117, 250, 0.3);
  border-radius: 30px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.rubric-primary {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.rune {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.rune-glow {
  color: #ffffff;
  font-weight: 500;
}

.latch-swathe {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.latch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  min-width: 0;
  cursor: pointer;
}

.latch-primary {
  background: linear-gradient(135deg, #5e75fa 0%, #3b4cca 100%);
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(94, 117, 250, 0.4);
}

.latch-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(94, 117, 250, 0.6);
}

.latch-secondary {
  background: var(--surface-light);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.latch-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: rgba(94, 117, 250, 0.4);
}

.glyph {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.prisma-vault {
  flex: 1 1 440px;
  min-width: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(94, 117, 250, 0.25);
  background: var(--surface);
}

.prisma {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 多端客户端获取 Citadel 区块 */
.citadel {
  padding: 80px 24px;
  background: rgba(20, 27, 45, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rubric-secondary {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 16px;
}

.rune-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.swathe-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.vault {
  flex: 1 1 320px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid rgba(94, 117, 250, 0.18);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.vault:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(94, 117, 250, 0.22);
  border-color: rgba(94, 117, 250, 0.45);
}

.vault-crest {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.vault-glyph-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(94, 117, 250, 0.12);
  border: 1px solid rgba(94, 117, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.rubric-vault {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.slab-info {
  background: rgba(11, 15, 25, 0.6);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.slab-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.slab-row:last-child {
  border-bottom: none;
}

.slab-key {
  color: var(--text-muted);
}

.slab-val {
  color: #ffffff;
  font-weight: 600;
}

.lever {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(94, 117, 250, 0.15);
  color: var(--accent);
  font-weight: 600;
  border: 1px solid rgba(94, 117, 250, 0.3);
  transition: all 0.35s ease;
}

.lever:hover {
  background: var(--primary);
  color: #ffffff;
}

/* 哈希校验 Harbor 区块 (使用 <div> 实现非 section 语义) */
.harbor {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.slab-hash {
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hash-box {
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid rgba(94, 117, 250, 0.3);
  border-radius: 12px;
  padding: 18px 24px;
  font-family: monospace;
  font-size: 14px;
  color: var(--accent);
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hash-code {
  word-break: break-all;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}

.step-vault {
  flex: 1 1 230px;
  min-width: 0;
  background: rgba(30, 41, 66, 0.5);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.step-rubric {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

/* FAQ Haven 区块 (使用 <aside> 语义) */
.haven {
  padding: 80px 24px;
  background: rgba(20, 27, 45, 0.6);
  border-top: 1px solid rgba(94, 117, 250, 0.15);
}

.faq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-vault {
  flex: 1 1 500px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
}

.faq-q {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-q-tag {
  color: var(--accent);
  font-weight: 800;
}

.faq-a {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* 页脚区域 */
.plinth {
  background: #070a12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 32px 30px 32px;
}

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

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

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

.anchor-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

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

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

.anchor {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.35s ease;
}

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

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

/* 响应式断点 */
@media (max-width: 768px) {
  .visor {
    padding: 12px 16px;
  }
  .passage {
    display: none;
  }
  .apex {
    padding: 60px 16px 40px 16px;
  }
  .citadel,
  .harbor,
  .haven {
    padding: 50px 16px;
  }
  .latch-swathe {
    flex-direction: column;
  }
  .latch {
    width: 100%;
    justify-content: center;
  }
  .slab-hash {
    padding: 24px 16px;
  }
}

.beacon-visor{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(11, 15, 25, 0.85);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 16px 32px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }

.beacon-visor .beacon-sigil{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.beacon-visor .beacon-sigil img{
            height: 38px;
            width: auto;
            display: block;
        }

.beacon-visor .beacon-passage{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 24px;
            min-width: 0;
        }

.beacon-visor .beacon-tether{
            color: #94a3b8;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            transition: all 0.35s ease;
            padding: 8px 14px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
        }

.beacon-visor .beacon-tether:hover, .beacon-visor .beacon-tether.active{
            color: #ffffff;
            background: rgba(94, 117, 250, 0.15);
        }

.beacon-visor .beacon-trigger{
            background: linear-gradient(135deg, #5e75fa 0%, #4355d6 100%);
            color: #ffffff;
            border: none;
            padding: 12px 26px;
            border-radius: 14px;
            font-weight: 600;
            font-size: 15px;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(94, 117, 250, 0.35);
            transition: all 0.35s ease;
            min-width: 0;
        }

.beacon-visor .beacon-trigger:hover{
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(94, 117, 250, 0.5);
            color: #ffffff;
        }

@media (max-width: 768px){.beacon-visor{
                padding: 12px 20px;
            }

.beacon-visor .beacon-passage{
                display: none; 
            }}

.beacon-visor {
    background: rgb(11, 15, 25);
    background-image: none;
}

.bedrock-plinth {
    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);
}
.bedrock-plinth,
.bedrock-plinth *,
.bedrock-plinth *::before,
.bedrock-plinth *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.bedrock-plinth .bedrock-rune-body{
            color: #94a3b8;
            font-size: 15px;
            line-height: 1.7;
        }

.bedrock-plinth{
            background: #070a12;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 60px 24px 40px 24px;
            width: 100%;
        }

.bedrock-plinth .bedrock-bedrock{
            max-width: 1240px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
        }

.bedrock-plinth .bedrock-brand-column{
            max-width: 360px;
        }

.bedrock-plinth .bedrock-brand-rubric{
            font-size: 24px;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 12px;
            letter-spacing: -0.01em;
        }

.bedrock-plinth .bedrock-links-column{
            display: flex;
            flex-wrap: wrap;
            gap: 60px;
        }

.bedrock-plinth .bedrock-stratum-links{
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

.bedrock-plinth .bedrock-stratum-rubric{
            font-size: 15px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 8px;
        }

.bedrock-plinth .bedrock-plinth-tether{
            color: #94a3b8;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.35s ease;
        }

.bedrock-plinth .bedrock-plinth-tether:hover{
            color: #5e75fa;
        }

.bedrock-plinth .bedrock-copyright-row{
            max-width: 1240px;
            margin: 40px auto 0 auto;
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            color: #94a3b8;
            font-size: 13px;
        }

@media (max-width: 768px){.bedrock-plinth .bedrock-links-column{
                gap: 32px;
            }}