/* 基础与主题变量 */
:root {
  --primary: #4e53ee;
  --primary-hover: #3b40d9;
  --primary-light: rgba(78, 83, 238, 0.14);
  --bg-dark: #090b14;
  --bg-card: #13172b;
  --bg-elevated: #1a203a;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;
  --border-line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
}

* {
  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.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* 复用导航栏样式 */
.crest {
  background: rgba(9, 11, 20, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-line);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

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

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

.emblem img {
  height: 38px;
  width: auto;
  display: block;
}

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

.tether {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
  word-break: keep-all;
}

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

.tether.active {
  color: var(--primary);
  font-weight: 600;
}

/* 主版心与通用样式 */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Hero展示区块 (acquire) */
.citadel {
  background: linear-gradient(135deg, #090b14 0%, #151833 50%, #0d1024 100%);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 56px 40px;
  margin-bottom: 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

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

.stage-visage {
  flex: 1 1 400px;
  min-width: 0;
}

.check-capsule {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.signet-primary {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 18px;
  word-break: keep-all;
}

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

.pocket-triggers {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.latch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  word-break: keep-all;
}

.latch-primary {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 4px 20px rgba(78, 83, 238, 0.4);
}

.latch-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.latch-secondary {
  background: var(--bg-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-line);
}

.latch-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* 步骤标准流程区 (steps) */
.sanctum {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 48px 40px;
  margin-bottom: 48px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.signet-secondary {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.script-sub {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 36px;
  max-width: 800px;
}

.step-array {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-node {
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.step-node:hover {
  border-color: rgba(78, 83, 238, 0.5);
  transform: translateY(-2px);
}

.step-num {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(78, 83, 238, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

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

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

.step-script {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* 物理助记词备份区块 (steps) */
.rampart {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 48px 40px;
  margin-bottom: 48px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.warning-sanctum {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.warning-capsule {
  flex: 1 1 300px;
  min-width: 0;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.15s ease;
}

.warning-capsule:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.5);
}

.warning-signet {
  color: var(--accent-amber);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 自定义策略网络配置 (acquire) */
.bastion {
  background: linear-gradient(180deg, #13172b 0%, #0d1024 100%);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.policy-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.pod-policy {
  flex: 1 1 320px;
  min-width: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.15s ease;
}

.pod-policy:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(78, 83, 238, 0.2);
}

.rune-casing {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

/* SVG 图标 */
.rune {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 页脚样式 (anchor) */
.anchor {
  background: #06070d;
  border-top: 1px solid var(--border-line);
  padding: 48px 24px;
  margin-top: 60px;
}

.bedrock {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}

.haven-script {
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.haven-array {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.haven-tether {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
  word-break: keep-all;
}

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

.script-script {
  color: var(--text-muted);
  font-size: 13px;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .citadel,
  .sanctum,
  .rampart,
  .bastion {
    padding: 28px 20px;
  }
  
  .harbor {
    gap: 12px;
  }
  
  .signet-primary {
    font-size: 26px;
  }
  
  .signet-secondary {
    font-size: 20px;
  }
}

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

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

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

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

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

.harbor-crest a.harbor-tether {
    --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;
}

.harbor-crest a.harbor-tether,
.harbor-crest a.harbor-tether:hover,
.harbor-crest a.harbor-tether:focus,
.harbor-crest a.harbor-tether:active,
.harbor-crest a.harbor-tether.active,
.harbor-crest a.harbor-tether[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);
}

.harbor-crest{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(9, 11, 20, 0.85);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            padding: 16px 24px;
        }

.harbor-crest .harbor-casing-harbor{
            max-width: 1300px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

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

.harbor-crest .harbor-emblem img{
            height: 38px;
            width: auto;
            display: block;
        }

.harbor-crest .harbor-harbor{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
        }

.harbor-crest .harbor-tether{
            padding: 8px 16px;
            font-size: 15px;
            font-weight: 500;
            color: #94a3b8;
            border-radius: 8px;
            transition: all 0.15s ease;
            min-width: 0;
        }

.harbor-crest .harbor-tether:hover{
            color: #f1f5f9;
            background: rgba(78, 83, 238, 0.12);
        }

.harbor-crest .harbor-tether.active{
            color: #ffffff;
            background: #4e53ee;
            box-shadow: 0 0 15px rgba(78, 83, 238, 0.4);
        }

@media (max-width: 768px){.harbor-crest{
                padding: 12px 16px;
            }

.harbor-crest .harbor-harbor{
                width: 100%;
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 4px;
            }

.harbor-crest .harbor-tether{
                padding: 6px 12px;
                font-size: 14px;
                white-space: nowrap;
            }}

.harbor-crest {
    background: rgb(9, 11, 20);
    background-image: none;
}

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

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

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

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

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

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

.anchor-base .anchor-tether{
            padding: 8px 16px;
            font-size: 15px;
            font-weight: 500;
            color: #94a3b8;
            border-radius: 8px;
            transition: all 0.15s ease;
            min-width: 0;
        }

.anchor-base .anchor-tether:hover{
            color: #f1f5f9;
            background: rgba(78, 83, 238, 0.12);
        }

.anchor-base .anchor-tether.active{
            color: #ffffff;
            background: #4e53ee;
            box-shadow: 0 0 15px rgba(78, 83, 238, 0.4);
        }

.anchor-base{
            background: #06070d;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 60px 24px 30px 24px;
            color: #94a3b8;
            font-size: 14px;
        }

.anchor-base .anchor-haven{
            max-width: 1300px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
            margin-bottom: 40px;
        }

.anchor-base .anchor-casing-brand{
            flex: 1 1 300px;
            min-width: 0;
        }

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

.anchor-base .anchor-script-brand{
            color: #94a3b8;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 16px;
        }

.anchor-base .anchor-pocket-base-links{
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
        }

.anchor-base .anchor-node-base-col{
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-width: 140px;
        }

.anchor-base .anchor-signet-base-head{
            color: #ffffff;
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 6px;
        }

.anchor-base .anchor-bedrock{
            max-width: 1300px;
            margin: 0 auto;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            font-size: 13px;
        }

@media (max-width: 768px){.anchor-base .anchor-tether{
                padding: 6px 12px;
                font-size: 14px;
                white-space: nowrap;
            }}