:root {
  --graphite: #0c1015;
  --graphite-2: #151b23;
  --graphite-line: rgba(255, 255, 255, .08);
  --ink: #12161c;
  --ink-2: #4a5462;
  --ink-3: #8a93a0;
  --line: #e2e6eb;
  --paper: #ffffff;
  --paper-2: #f5f6f8;
  --accent: #e24a2a;
  --accent-soft: rgba(226, 74, 42, .12);
  --ok: #3cc8a8;
  --radius: 12px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* 顶栏 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 16, 21, .86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--graphite-line);
  color: #fff;
}
.topbar-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 30px; height: 30px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: .08em; }
.brand-sub { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; padding-left: 10px; border-left: 1px solid var(--graphite-line); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: #c5ccd6; }
.nav a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: #c93d20; transform: translateY(-1px); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .24); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }

/* 首屏 */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 78% 30%, rgba(226, 74, 42, .16), transparent 60%),
    linear-gradient(var(--graphite-line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--graphite-line) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--graphite);
  color: #fff;
  padding: 96px 0 104px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 800;
}
.hero-lead { margin-top: 22px; max-width: 30em; font-size: 18px; color: #b8c0cc; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 40px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--graphite-line); }
.hero-facts b { display: block; font-family: var(--mono); font-size: 28px; font-weight: 700; color: #fff; }
.hero-facts span { font-size: 13px; color: var(--ink-3); }

.console {
  background: linear-gradient(180deg, #18202a, #11161d);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: #c5ccd6;
  border-bottom: 1px solid var(--graphite-line);
  background: rgba(255, 255, 255, .02);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.dot-on { background: var(--ok); box-shadow: 0 0 0 4px rgba(60, 200, 168, .15); }
.console-state { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--ok); }
.console-steps { padding: 18px 18px 6px; counter-reset: step; }
.console-steps li {
  position: relative;
  padding: 0 0 18px 30px;
  counter-increment: step;
}
.console-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  font: 600 11px/18px var(--mono);
  text-align: center;
  color: #c5ccd6;
}
.console-steps li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 24px;
  bottom: 4px;
  width: 1px;
  background: var(--graphite-line);
}
.console-steps li:last-child::after { display: none; }
.step-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ok); }
.console-steps p { font-size: 14px; color: #dfe4ea; line-height: 1.6; }
.console-steps em {
  font-style: normal;
  font-size: 11px;
  padding: 1px 6px;
  margin-left: 4px;
  border-radius: 4px;
  background: rgba(60, 200, 168, .14);
  color: var(--ok);
}
.step-warn .step-tag { color: var(--accent); }
.console-steps .step-warn::before { border-color: var(--accent); color: var(--accent); }
.console figcaption {
  padding: 12px 18px;
  font-size: 12px;
  color: var(--ink-3);
  border-top: 1px solid var(--graphite-line);
}

/* 通用区块 */
.section { padding: 104px 0; }
.section-alt { background: var(--paper-2); }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; letter-spacing: -.01em; font-weight: 800; }
.section-lead { margin-top: 16px; max-width: 40em; font-size: 17px; color: var(--ink-2); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.pillar {
  position: relative;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.pillar:hover { border-color: rgba(226, 74, 42, .4); box-shadow: 0 16px 40px rgba(18, 22, 28, .06); }
.pillar::before { content: ""; position: absolute; left: 28px; top: 0; width: 36px; height: 3px; background: var(--accent); }
.pillar-no { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.pillar h3 { margin-top: 18px; font-size: 22px; }
.pillar-key {
  display: inline-block;
  margin: 10px 0 14px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.pillar p:last-child { color: var(--ink-2); font-size: 15px; }

.group-title { display: flex; align-items: center; gap: 14px; margin: 52px 0 18px; font-size: 18px; font-weight: 600; }
.group-title span {
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--graphite);
  color: #fff;
  font-size: 14px;
  letter-spacing: .1em;
}
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role { padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.role h4 { font-size: 17px; margin-bottom: 8px; }
.role h4::before { content: "▍"; color: var(--accent); margin-right: 4px; }
.role p { font-size: 14px; color: var(--ink-2); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.founder {
  margin-top: 36px;
  padding: 26px 28px;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.founder p { font-size: 17px; line-height: 1.8; }
.founder cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--ink-3); }
.why-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.why-list li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.why-list h3 { font-size: 18px; }
.why-list p { color: var(--ink-2); font-size: 15px; }

.section-dark {
  background:
    linear-gradient(var(--graphite-line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--graphite-line) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--graphite);
  color: #fff;
}
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 52px; }
.steps li {
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .02);
}
.steps span { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.steps h3 { margin: 12px 0 8px; font-size: 17px; }
.steps p { font-size: 14px; color: #aab3bf; }

.secure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 52px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.secure article { padding: 30px 26px; background: var(--paper); }
.secure h3 { font-size: 18px; margin-bottom: 10px; }
.secure h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--accent);
  vertical-align: middle;
}
.secure p { font-size: 14px; color: var(--ink-2); }

.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }

.contact { background: var(--graphite-2); color: #fff; }
.contact .section-lead { color: #b8c0cc; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.footer { background: var(--graphite); color: var(--ink-3); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; padding: 24px 28px; }
.footer a { color: inherit; }
.footer a:hover { color: #c5ccd6; }

.topbar-simple .topbar-inner { justify-content: space-between; }
.wrap.legal { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.legal h1 { font-size: 32px; margin: 0 0 8px; }
.legal h2 { font-size: 19px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.85; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.legal .legal-meta { color: var(--ink-3); font-size: 13px; }
.legal a { color: var(--accent); }

@media (max-width: 1024px) {
  .nav { display: none; }
  .topbar-inner { justify-content: space-between; }
  .hero-grid, .why-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillars { grid-template-columns: 1fr; }
  .roles, .secure { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .brand-sub { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero-facts { gap: 22px; flex-wrap: wrap; }
  .section { padding: 72px 0; }
  .roles, .secure, .steps { grid-template-columns: 1fr; }
  .why-list li { grid-template-columns: 1fr; gap: 6px; }
  .footer-inner { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pillar { transition: none; }
}
