/* 01 global site — shared styles. No external fonts, no CDN. */
:root {
  --bg: #070b0a;
  --bg-soft: #0b1211;
  --panel: #0f1917;
  --panel-2: #12211e;
  --line: #1d302c;
  --text: #e8f4f0;
  --muted: #8aa8a0;
  --accent: #35e0b0;
  --accent-2: #7af0cd;
  --accent-dark: #04201a;
  --warn: #f5b83d;
  --max: 1120px;
  --radius: 16px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
code, pre { font-family: var(--mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 11, 10, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(29, 48, 44, .7);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; font-size: 18px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #46f0c2, #0f9f7d); color: #04201a;
  font-size: 13px; font-weight: 900; letter-spacing: -.02em;
  box-shadow: 0 6px 18px rgba(53, 224, 176, .25);
}
.brand small { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 13.5px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-side { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a {
  font-size: 11px; color: var(--muted); padding: 3px 8px; border-radius: 999px; line-height: 1.4;
}
.lang a:hover { color: var(--text); }
.lang a.active { background: var(--accent); color: var(--accent-dark); font-weight: 700; }
.nav-cta {
  background: var(--accent); color: var(--accent-dark); padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 800; white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-2); }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line); color: var(--text);
  width: 38px; height: 34px; border-radius: 9px; cursor: pointer;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 10px 22px 18px;
  }
  .nav-links.open a { padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(29, 48, 44, .5); }
  .nav-side .nav-cta { display: none; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 64px; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -220px; width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 224, 176, .16), rgba(53, 224, 176, 0) 66%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -220px; bottom: -260px; width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 235, .10), rgba(47, 111, 235, 0) 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 46px; align-items: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(53, 224, 176, .32); background: rgba(53, 224, 176, .08);
  color: var(--accent); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1 {
  font-size: clamp(38px, 5.2vw, 62px); line-height: 1.08; letter-spacing: -.03em;
  margin: 0 0 20px; font-weight: 800;
}
.gradient {
  background: linear-gradient(100deg, #9ff7de 0%, #35e0b0 45%, #38bdf8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(16px, 1.6vw, 19px); color: #b9d2cb; max-width: 620px; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 11px; font-size: 14px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-dark); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(15, 25, 23, .7); }
.btn-ghost:hover { border-color: rgba(53, 224, 176, .45); }
.chips { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 26px; color: var(--muted); font-size: 12px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; }
.chips span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .8; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .hero { padding: 58px 0 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
}

/* sections */
section { padding: 72px 0; }
section.alt { background: linear-gradient(180deg, rgba(15, 25, 23, .6), rgba(7, 11, 10, 0)); border-top: 1px solid rgba(29, 48, 44, .5); border-bottom: 1px solid rgba(29, 48, 44, .5); }
.eyebrow { color: var(--accent); font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.16; letter-spacing: -.02em; margin: 0 0 16px; font-weight: 800; }
.section-lead { color: var(--muted); font-size: 16px; max-width: 720px; margin: 0 0 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.card .num { font-family: var(--mono); color: var(--accent); font-size: 12px; letter-spacing: .08em; margin-bottom: 14px; }
.card .icon { width: 34px; height: 34px; margin-bottom: 14px; color: var(--accent); }
@media (max-width: 900px) {
  section { padding: 52px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split .copy p { color: var(--muted); font-size: 14.5px; }
.split-art { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 26px; } }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; font-size: 14px; color: #c4dad4; }
.checklist li::before {
  content: "✓"; flex: 0 0 20px; height: 20px; border-radius: 50%;
  background: rgba(53, 224, 176, .12); color: var(--accent);
  display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 2px;
}
.checklist li strong { color: var(--text); }
.checklist.no li::before {
  content: "×"; color: var(--warn); background: rgba(245, 184, 61, .1);
  font-size: 13px;
}

/* steps */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(53, 224, 176, .3);
  color: var(--accent); font-family: var(--mono); font-size: 13px;
  display: grid; place-items: center; background: rgba(53, 224, 176, .06);
}
.step h4 { margin: 4px 0 4px; font-size: 14.5px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

/* code */
.code-card { background: #08100e; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.code-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11.5px;
  font-family: var(--mono);
}
.copy-btn {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 6px; padding: 3px 8px; font-size: 10.5px; cursor: pointer;
}
.copy-btn:hover { color: var(--text); border-color: rgba(53, 224, 176, .4); }
pre { margin: 0; padding: 16px; overflow-x: auto; font-size: 12.5px; line-height: 1.75; color: #b7e8da; }
pre .c { color: #5f847b; }
pre .k { color: #7af0cd; }

/* mission */
.mission {
  text-align: center; padding: 90px 0;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(53, 224, 176, .13), transparent 70%),
    linear-gradient(180deg, #081210, #070b0a);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.mission blockquote {
  max-width: 880px; margin: 0 auto 30px; font-size: clamp(22px, 3vw, 34px);
  line-height: 1.4; letter-spacing: -.015em; font-weight: 700;
}
.mission .principles { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 13px; }

/* download */
.download-card {
  background: linear-gradient(120deg, rgba(53, 224, 176, .12), rgba(56, 189, 248, .08));
  border: 1px solid rgba(53, 224, 176, .28); border-radius: 22px; padding: 38px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center;
}
.download-card h2 { margin-bottom: 10px; }
.download-card p { color: #bfe0d6; font-size: 14px; margin: 0 0 18px; }
.download-note { color: var(--muted); font-size: 12px; margin-top: 14px; }
@media (max-width: 820px) { .download-card { grid-template-columns: 1fr; padding: 26px; } }

/* footer */
footer { border-top: 1px solid var(--line); padding: 46px 0 34px; background: #060a09; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 26px; }
.foot-grid h4 { margin: 0 0 10px; font-size: 12px; color: var(--text); letter-spacing: .04em; }
.foot-grid a { display: block; color: var(--muted); font-size: 12.5px; padding: 4px 0; }
.foot-grid a:hover { color: var(--accent); }
.foot-brand p { color: var(--muted); font-size: 12.5px; max-width: 300px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px;
  color: #5f7a73; font-size: 11.5px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* status page */
.status-hero { padding: 64px 0 28px; }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 10px 0 20px; }
.status-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.status-card .k { color: var(--muted); font-size: 11.5px; }
.status-card .v { font-family: var(--mono); font-size: 20px; margin-top: 6px; word-break: break-all; }
.status-card .h { color: var(--muted); font-size: 11px; margin-top: 4px; }
.status-bar {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; background: var(--panel); margin-bottom: 18px; font-size: 13px;
}
.status-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); }
.status-bar.ok .dot { background: var(--accent); box-shadow: 0 0 10px rgba(53, 224, 176, .7); }
.status-bar.bad .dot { background: #ff6b6b; }
.status-bar .right { margin-left: auto; color: var(--muted); font-size: 11.5px; font-family: var(--mono); }
.status-table td.mono { font-size: 11.5px; }
@media (max-width: 820px) { .status-grid { grid-template-columns: 1fr 1fr; } }

/* legal */
.legal { padding: 54px 0 70px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); }
.legal h2 { font-size: 20px; margin-top: 34px; }
.legal p, .legal li { color: #b6cdc7; font-size: 14px; }
.legal .updated { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent); }
.legal .note { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 14px 16px; color: var(--muted); font-size: 13px; }

/* misc */
.kbd { border: 1px solid var(--line); background: var(--panel-2); border-radius: 5px; padding: 1px 6px; font-family: var(--mono); font-size: 11px; }
.tag { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-size: 10.5px; color: var(--muted); }
.tag.ok { color: var(--accent); border-color: rgba(53, 224, 176, .35); background: rgba(53, 224, 176, .07); }
.tag.warn { color: var(--warn); border-color: rgba(245, 184, 61, .35); background: rgba(245, 184, 61, .07); }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }

/* 子域页面：页头与面包屑 */
.page-hero { padding: 58px 0 34px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -200px; top: -240px; width: 600px; height: 600px;
  border-radius: 50%; background: radial-gradient(circle, rgba(53, 224, 176, .13), rgba(53, 224, 176, 0) 68%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 22px; font-family: var(--mono); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .5; }

/* 链数据 / 创世锚点 */
.anchor-panel {
  border: 1px solid rgba(53, 224, 176, .3); border-radius: 16px; padding: 20px 22px;
  background: linear-gradient(120deg, rgba(53, 224, 176, .09), rgba(56, 189, 248, .05));
  margin: 20px 0 26px;
}
.anchor-panel > h3 { margin: 0 0 6px; font-size: 15px; }
.anchor-panel > p { margin: 0 0 10px; color: var(--muted); font-size: 12.5px; }
.anchor-row {
  display: grid; grid-template-columns: 160px 1fr; gap: 12px; align-items: center;
  padding: 9px 0; border-top: 1px dashed rgba(29, 48, 44, .9);
}
.anchor-row .k { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.anchor-row code { font-size: 12.5px; color: var(--accent-2); word-break: break-all; line-height: 1.6; }
@media (max-width: 620px) {
  .anchor-row { grid-template-columns: 1fr; gap: 3px; }
}
.hash-short { color: var(--muted); font-family: var(--mono); font-size: 11.5px; }

/* 网络地图 */
.net-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.net-card {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; transition: border-color .15s ease, transform .15s ease;
}
.net-card:hover { border-color: rgba(53, 224, 176, .4); transform: translateY(-1px); }
.net-card .host { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.net-card p { margin: 6px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .net-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .net-grid { grid-template-columns: 1fr; } }

/* 定价 */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px;
}
.plan.featured { border-color: rgba(53, 224, 176, .5); background: linear-gradient(165deg, rgba(53, 224, 176, .1), var(--panel) 62%); }
.plan .pname { font-size: 13px; color: var(--muted); font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.plan .amount { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan .amount small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; color: #bcd6cf; font-size: 13px; }
.plan ul li::before { content: "·"; color: var(--accent); margin-right: 8px; font-weight: 800; }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* 表格：文档、区域可用性、状态明细 */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); margin: 18px 0 24px;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  text-align: left; padding: 11px 14px; background: rgba(18, 33, 30, .75);
  color: var(--muted); font-weight: 600; font-size: 11.5px; letter-spacing: .05em;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
tbody td { padding: 11px 14px; border-bottom: 1px solid rgba(29, 48, 44, .55); color: #c4dad4; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(53, 224, 176, .035); }
td.mono, th.mono { font-family: var(--mono); font-size: 11.5px; }

/* 通用提示块 */
.note {
  border: 1px solid var(--line); background: var(--panel); border-radius: 12px;
  padding: 14px 16px; color: var(--muted); font-size: 13px;
}
.note strong { color: var(--text); }
.note.warn { border-color: rgba(245, 184, 61, .3); background: rgba(245, 184, 61, .05); }
