/* ==========================================================================
   OM · 首页补充样式
   ========================================================================== */

/* ══════════ Hero ══════════ */
.hero {
  position: relative;
  padding: var(--s-18) 0 var(--s-12);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__bg::before {
  content: ""; position: absolute; inset: -1px;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(115% 78% at 72% 8%, #000 22%, transparent 72%);
  mask-image: radial-gradient(115% 78% at 72% 8%, #000 22%, transparent 72%);
}
.hero__bg::after {
  content: ""; position: absolute; top: -220px; right: -160px;
  width: 900px; height: 720px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, var(--hero-glow), transparent 68%);
  filter: blur(6px);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 588px);
  gap: var(--s-18); align-items: center;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  font-size: 13px; color: var(--text-2);
}
.hero__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.hero__badge .mono { font-size: 12px; color: var(--text-1); }

.hero__title {
  margin-top: var(--s-6);
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--text-full);
}
.hero__title .l2 { display: block; margin-top: 8px; }
.hero__title .fade {
  background: linear-gradient(92deg, var(--text-3) 4%, var(--text-full) 46%, var(--text-3) 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .swap {
  font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.04em;
  color: var(--accent);
  font-size: 0.86em;
}

.hero__sub {
  margin-top: var(--s-5);
  font-size: 17px; line-height: 27px; color: var(--text-2); max-width: 46ch;
}
.hero__sub b { color: var(--text-1); font-weight: 500; }
.hero__cta { margin-top: var(--s-8); display: flex; flex-wrap: wrap; gap: var(--s-3); }

.hero__facts {
  margin-top: var(--s-10);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-1); padding-top: var(--s-5); gap: var(--s-4);
}
.fact__k { font-family: var(--font-mono); font-size: 20px; line-height: 26px; color: var(--text-full); letter-spacing: -0.02em; }
.fact__v { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--text-2); }

/* —— Hero 主视觉：内核转发台的剖面 —— */
.console {
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.console__bar {
  display: flex; align-items: center; gap: var(--s-2);
  height: 44px; padding: 0 14px;
  border-bottom: 1px solid var(--line-1);
  background: var(--surface-2);
}
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-3); }
.console__title {
  margin-left: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--text-2);
}
.console__live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.console__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.console__body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.lane { border: 1px solid var(--line-1); border-radius: var(--r-md); background: var(--surface-0); padding: 12px; }
.lane__label {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 10px;
}
.lane__label em { font-style: normal; color: var(--text-2); letter-spacing: 0; text-transform: none; font-family: var(--font-sans); font-size: 12px; }

.proto-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.proto-chip {
  display: flex; flex-direction: column; gap: 3px;
  padding: 9px 10px; border: 1px solid var(--line-1); border-radius: var(--r-sm);
  background: var(--surface-1);
  transition: border-color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.proto-chip b { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-1); }
.proto-chip span { font-size: 11px; color: var(--text-3); }
.proto-chip.is-hot { border-color: var(--accent-line); background: var(--accent-soft); }
.proto-chip.is-hot b { color: var(--accent); }
/* 逐条点亮：一条请求在四种入口之间被识别 */
.hero-anim .proto-chip { animation: chipHit 7.2s var(--ease) infinite; }
.hero-anim .proto-chip:nth-child(2) { animation-delay: 1.8s; }
.hero-anim .proto-chip:nth-child(3) { animation-delay: 3.6s; }
.hero-anim .proto-chip:nth-child(4) { animation-delay: 5.4s; }
@keyframes chipHit {
  0%, 4%, 16%, 100% { border-color: var(--line-1); background: var(--surface-1); }
  6%, 14% { border-color: var(--accent-line); background: var(--accent-soft); }
}

.stage-flow { display: flex; align-items: stretch; gap: 6px; }
.stage {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 9px 10px; border-radius: var(--r-sm);
  border: 1px solid var(--line-1); background: var(--surface-1);
}
.stage b { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage span { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-arrow { display: flex; align-items: center; color: var(--text-3); flex: none; }
.stage-arrow svg { width: 12px; height: 12px; }
.hero-anim .stage { animation: stageHit 7.2s var(--ease) infinite; }
.hero-anim .stage:nth-of-type(2) { animation-delay: .35s; }
.hero-anim .stage:nth-of-type(3) { animation-delay: .7s; }
.hero-anim .stage:nth-of-type(4) { animation-delay: 1.05s; }
@keyframes stageHit {
  0%, 2%, 10%, 100% { border-color: var(--line-1); }
  4%, 8% { border-color: var(--accent-line); box-shadow: inset 0 0 0 1px var(--accent-soft); }
}

.chan-list { display: flex; flex-direction: column; gap: 6px; }
.chan {
  display: grid; grid-template-columns: 1fr auto auto 66px;
  align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--r-sm);
  border: 1px solid var(--line-1); background: var(--surface-1);
}
.chan__name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.chan__name b { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chan__w { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.chan__p { font-family: var(--font-mono); font-size: 11px; color: var(--text-2); }
.chan__bar { height: 4px; border-radius: 2px; background: var(--line-1); overflow: hidden; position: relative; }
.chan__bar i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--accent); }
.chan--pick { border-color: var(--accent-line); }
.hero-anim .chan--pick .chan__bar i { animation: fillBar 7.2s var(--ease) infinite; }
@keyframes fillBar { 0%, 12% { width: 0; } 24%, 100% { width: var(--w, 60%); } }

.console__foot {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 11px 16px; border-top: 1px solid var(--line-1); background: var(--surface-2);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-3);
  overflow: hidden; white-space: nowrap;
}
.console__foot .ok { color: var(--ok); }
.console__foot .q { color: var(--text-1); }
.console__foot .sep { flex: none; width: 1px; height: 12px; background: var(--line-2); }

/* ══════════ 能力跑马灯（取代三方 logo：我们只说自己能做什么） ══════════ */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: logoScroll 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: 10px; padding-right: 10px; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px;
  border: 1px solid var(--line-1); border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-2); white-space: nowrap;
  background: var(--surface-1);
}
.marquee__item svg { width: 13px; height: 13px; color: var(--accent); }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════ 协议卡（模型卡版式，纹理改自绘） ══════════ */
.proto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.proto-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-1); border-radius: var(--r-card);
  background: var(--surface-1); overflow: hidden;
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.proto-card:hover { border-color: var(--line-3); transform: translateY(-2px); }
.proto-card__art { position: relative; height: 168px; flex: none; overflow: hidden; border-bottom: 1px solid var(--line-1); }
.proto-card__art::before {
  content: ""; position: absolute; inset: 8px; border-radius: var(--r-sm);
  background:
    radial-gradient(70% 90% at 18% 12%, var(--a1), transparent 62%),
    radial-gradient(60% 80% at 88% 78%, var(--a2), transparent 60%),
    var(--surface-2);
}
.proto-card__art::after {
  content: ""; position: absolute; inset: 8px; border-radius: var(--r-sm);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(160deg, #000 10%, transparent 76%);
  mask-image: linear-gradient(160deg, #000 10%, transparent 76%);
}
.proto-card--a { --a1: rgba(111, 155, 255, 0.34); --a2: rgba(111, 155, 255, 0.10); }
.proto-card--b { --a1: rgba(74, 222, 128, 0.26); --a2: rgba(111, 155, 255, 0.16); }
.proto-card--c { --a1: rgba(230, 192, 123, 0.26); --a2: rgba(248, 113, 113, 0.14); }
html[data-theme="light"] .proto-card--a { --a1: rgba(37, 99, 235, 0.20); --a2: rgba(37, 99, 235, 0.07); }
html[data-theme="light"] .proto-card--b { --a1: rgba(22, 163, 74, 0.16); --a2: rgba(37, 99, 235, 0.10); }
html[data-theme="light"] .proto-card--c { --a1: rgba(217, 119, 6, 0.16); --a2: rgba(220, 38, 38, 0.08); }
.proto-card__path {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  font-family: var(--font-mono); font-size: 13px; color: var(--text-full);
  padding: 5px 10px; border-radius: var(--r-sm);
  background: var(--surface-0); border: 1px solid var(--line-2);
}
.proto-card__idx {
  position: absolute; right: 20px; top: 20px; z-index: 1;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--text-3);
}
.proto-card__body { padding: var(--s-6); }
.proto-card__body h3 { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--text-full); }
.proto-card__body p { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--text-2); }
.proto-card__div { height: 1px; background: var(--line-1); }
.spec-list { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); }
.spec-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 22px; }
.spec-row dt { font-size: 14px; color: var(--text-2); }
.spec-row dd { font-family: var(--font-mono); font-size: 13px; color: var(--text-full); display: flex; align-items: center; gap: 6px; }
.spec-row dd svg { width: 14px; height: 14px; }
.spec-row dd.yes { color: var(--ok); }
.spec-row dd.no { color: var(--text-3); }

/* ══════════ 能力格线（工具格版式） ══════════ */
.cap-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden;
  background: var(--surface-1);
}
.cap-cell {
  display: flex; gap: var(--s-4); padding: var(--s-5) var(--s-6);
  border-right: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1);
  min-height: 96px;
  transition: background-color var(--dur-1) var(--ease);
}
.cap-cell:hover { background: var(--surface-2); }
.cap-grid .cap-cell:nth-child(2n) { border-right: none; }
.cap-grid .cap-cell:nth-last-child(-n+2) { border-bottom: none; }
.cap-cell__ico {
  flex: none; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-1); border-radius: var(--r-md);
  background: var(--surface-0); color: var(--accent);
}
.cap-cell__ico svg { width: 18px; height: 18px; }
.cap-cell h3 { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--text-1); }
.cap-cell p { margin-top: 3px; font-size: 13px; line-height: 19px; color: var(--text-2); }
.cap-cell .mono { color: var(--text-3); font-size: 12px; }

/* ══════════ 架构四段 ══════════ */
.arch-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden;
  background: var(--surface-1);
}
.arch-cell { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); }
.arch-cell:not(:first-child) { border-left: 1px solid var(--line-1); }
.arch-cell__viz {
  height: 104px; border-radius: var(--r-sm); border: 1px solid var(--line-1);
  background: var(--surface-0); position: relative; overflow: hidden; padding: 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.viz-box {
  border: 1px solid var(--line-2); border-radius: 4px;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-2);
  padding: 5px 7px; background: var(--surface-1); white-space: nowrap;
}
.viz-box.acc { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }
.viz-stack { display: flex; flex-direction: column; gap: 5px; }
.viz-line { width: 1px; height: 18px; background: var(--line-2); }
.viz-arrow { color: var(--text-3); }
.viz-arrow svg { width: 14px; height: 14px; }
.viz-bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.viz-bars i { width: 9px; border-radius: 2px 2px 0 0; background: var(--line-3); }
.viz-bars i.acc { background: var(--accent); opacity: .85; }
.arch-cell__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--text-3); }
.arch-cell h3 { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text-full); }
.arch-cell p { font-size: 14px; line-height: 21px; color: var(--text-2); }
.arch-cell ul { margin-top: 2px; display: flex; flex-direction: column; gap: 6px; }
.arch-cell li { position: relative; padding-left: 16px; font-family: var(--font-mono); font-size: 12px; line-height: 18px; color: var(--text-2); }
.arch-cell li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 1px; background: var(--accent); }

/* ══════════ 左右分栏（协议 / 房间 / 计费） ══════════ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--s-12); align-items: start;
}
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.split__left { display: flex; flex-direction: column; gap: var(--s-6); min-width: 0; }
.split__right { position: sticky; top: calc(var(--nav-h) + var(--announce-h) + 24px); min-width: 0; }
.split__note { font-size: 14px; line-height: 22px; color: var(--text-2); }
.split__note .mono { font-size: 13px; color: var(--text-1); }

.route-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden;
  background: var(--surface-1);
}
.route {
  display: grid; gap: 4px 12px; text-align: left;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line-1);
  background: transparent;
  transition: background-color var(--dur-1) var(--ease);
}
.route:last-child { border-bottom: none; }
.route:hover { background: var(--surface-2); }
.route__path { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route__name { font-size: 15px; font-weight: 500; color: var(--text-1); }
.route__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.route[aria-selected="true"] { background: var(--surface-2); }
.route[aria-selected="true"]::before {
  content: ""; position: absolute; left: 0; width: 2px; height: 100%; background: var(--accent);
}
.route { position: relative; }
.route[aria-selected="true"] .route__path { color: var(--accent); }
.route[aria-selected="true"] .route__name { color: var(--text-full); }

/* 房间 */
.member-row { display: flex; gap: 10px; flex-wrap: wrap; }
.member {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px 0 6px;
  border: 1px solid var(--line-1); border-radius: var(--r-pill);
  background: var(--surface-1);
}
.member b {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  background: var(--surface-3); color: var(--text-1);
}
html[data-theme="light"] .member b { background: var(--accent-soft); color: var(--accent-strong); }
.member em { font-style: normal; font-size: 12px; color: var(--text-2); }
.member.is-owner b { background: var(--accent); color: var(--accent-ink); }
.member.is-owner em { color: var(--text-1); }
.member.is-full { border-style: dashed; opacity: .75; }

.room-pool { border: 1px solid var(--line-1); border-radius: var(--r-md); background: var(--surface-1); padding: var(--s-4); }
.room-pool__bar { height: 8px; border-radius: var(--r-pill); background: var(--line-1); overflow: hidden; }
.room-pool__bar i { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--accent-strong)); }
.room-pool__legend { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); flex-wrap: wrap; }
.room-pool__legend .mono { color: var(--text-full); font-size: 14px; }

.rules { display: flex; flex-direction: column; }
.rules li {
  display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: var(--s-4);
  padding: var(--s-3) 0; border-top: 1px solid var(--line-1);
  font-size: 14px; line-height: 21px; color: var(--text-2);
}
.rules li b { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--accent); letter-spacing: .04em; }
.rules .mono { font-size: 13px; color: var(--text-1); }

/* 计费 */
.formula-rows { display: flex; flex-direction: column; margin-bottom: var(--s-6); border-top: 1px solid var(--line-1); }
.formula-row {
  display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line-1);
}
.formula-row > .mono { font-size: 13px; color: var(--accent); }
.formula-row > span:nth-child(2) { font-size: 14px; color: var(--text-2); }
.formula-row > .num { font-size: 13px; color: var(--text-full); }

/* ══════════ 控制台预览：深色站内嵌浅色材质 ══════════ */
.panel-shot { border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; background: var(--surface-1); box-shadow: var(--shadow-2); }
.panel-shot__chrome {
  display: flex; align-items: center; gap: var(--s-3);
  height: 42px; padding: 0 14px; background: var(--surface-2);
  border-bottom: 1px solid var(--line-1);
}
.panel-shot__url {
  display: flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 12px; border-radius: var(--r-pill);
  background: var(--surface-1); border: 1px solid var(--line-1);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-2);
}
.panel-shot__url svg { width: 12px; height: 12px; color: var(--ok); }
.panel-shot__stage { background: #f6f7f9; padding: 0; }

.pv { font-size: 14px; color: #1f2937; background: #f6f7f9; }
.pv__top {
  display: flex; align-items: center; gap: var(--s-4);
  padding: 12px 20px; background: #fff; border-bottom: 1px solid #e4e7eb;
}
.pv__brand { font-weight: 700; font-size: 15px; color: #111827; }
.pv__tabs { display: flex; gap: 4px; }
.pv__tab { padding: 6px 14px; border-radius: 6px; color: #6b7280; font-size: 13px; }
.pv__tab.is-on { background: #eef2ff; color: #2563eb; font-weight: 600; }
.pv__token { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pv__token input {
  width: 210px; padding: 6px 10px; border: 1px solid #e4e7eb; border-radius: 6px;
  font-family: var(--font-mono); font-size: 12px; color: #6b7280; background: #fff;
}
.pv__body { padding: 20px; }
.pv__card { background: #fff; border: 1px solid #e4e7eb; border-radius: 10px; overflow: hidden; }
.pv__card-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #e4e7eb; }
.pv__card-head h4 { font-size: 15px; font-weight: 600; color: #111827; }
.pv__hint { font-size: 12px; color: #6b7280; }
.pv__btn { height: 30px; padding: 0 12px; border-radius: 6px; font-size: 13px; border: 1px solid #e4e7eb; background: #fff; color: #1f2937; }
.pv__btn--p { background: #2563eb; border-color: #2563eb; color: #fff; }

.pv__table { width: 100%; border-collapse: collapse; }
.pv__table th {
  text-align: left; padding: 10px 16px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase; color: #6b7280;
  border-bottom: 1px solid #e4e7eb; background: #fafbfc;
}
.pv__table td { padding: 12px 16px; border-bottom: 1px solid #e4e7eb; font-size: 13px; color: #1f2937; vertical-align: middle; }
.pv__table tbody tr:last-child td { border-bottom: none; }
.pv__table .m { font-family: var(--font-mono); font-size: 12px; }
.pv__table .n { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.pv__table .mut { color: #6b7280; }
.pv__badge { display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pv__badge--ok { background: #dcfce7; color: #16a34a; }
.pv__badge--warn { background: #fef3c7; color: #d97706; }
.pv__badge--off { background: #f3f4f6; color: #6b7280; }
.pv__pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 16px; border-top: 1px solid #e4e7eb; }
.pv__pager span { font-size: 12px; color: #6b7280; }

.pv__modal { position: relative; }
.pv__scrim { position: absolute; inset: 0; background: rgba(17, 24, 39, 0.45); display: flex; align-items: center; justify-content: center; }
.pv__dialog { width: min(430px, 88%); background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); overflow: hidden; }
.pv__dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #e4e7eb; font-weight: 600; font-size: 14px; color: #111827; }
.pv__x { color: #6b7280; font-size: 20px; line-height: 1; }
.pv__dialog-body { padding: 18px; }
.pv__keybox { background: #f3f4f6; border: 1px solid #e4e7eb; border-radius: 8px; padding: 12px; font-family: var(--font-mono); font-size: 12px; word-break: break-all; color: #111827; }
.pv__warn { color: #dc2626; font-weight: 600; font-size: 12px; margin: 10px 0 14px; }

/* ══════════ 快速开始（两栏，左代码右说明） ══════════ */
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.qs-col { border: 1px solid var(--line-1); border-radius: var(--r-card); background: var(--surface-1); overflow: hidden; display: flex; flex-direction: column; }
.qs-col__head { padding: var(--s-6); display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); border-bottom: 1px solid var(--line-1); }
.qs-col__head h3 { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--text-full); }
.qs-col__head p { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.qs-steps { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); }
.qs-step { display: flex; gap: var(--s-4); }
.qs-step__n {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px;
  border: 1px solid var(--line-2); color: var(--text-2); background: var(--surface-0);
}
.qs-step h4 { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--text-1); }
.qs-step p { margin-top: 3px; font-size: 13px; line-height: 20px; color: var(--text-2); }
.qs-step code { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.qs-foot { margin-top: auto; padding: var(--s-6); border-top: 1px solid var(--line-1); display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ══════════ 兼容格线 ══════════ */
.compat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden;
}
.compat-cell {
  display: flex; flex-direction: column; gap: 4px; justify-content: center;
  height: 96px; padding: 0 var(--s-6); background: var(--surface-1);
  border-right: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1);
}
.compat-grid .compat-cell:nth-child(4n) { border-right: none; }
.compat-grid .compat-cell:nth-child(n+9) { border-bottom: none; }
.compat-cell b { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--text-1); }
.compat-cell span { font-size: 12px; line-height: 17px; color: var(--text-3); }

/* ══════════ FAQ ══════════ */
.faq { border-top: 1px solid var(--line-1); }
.faq__item { border-bottom: 1px solid var(--line-1); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) 0; text-align: left;
  font-size: 17px; line-height: 24px; font-weight: 450; color: var(--text-1);
  transition: color var(--dur-1) var(--ease);
}
.faq__q:hover { color: var(--text-full); }
.faq__ico { flex: none; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.faq__ico svg { width: 15px; height: 15px; transition: transform var(--dur-2) var(--ease); }
.faq__item.is-open .faq__ico svg { transform: rotate(45deg); }
.faq__item.is-open .faq__q { color: var(--text-full); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--dur-2) var(--ease); }
.faq__a > div { padding: 0 0 var(--s-6); font-size: 15px; line-height: 24px; color: var(--text-2); max-width: 78ch; }
.faq__a code { font-family: var(--font-mono); font-size: 13px; color: var(--text-1); background: var(--surface-quiet); padding: 1px 5px; border-radius: 4px; }

/* ══════════ 收尾 CTA ══════════ */
.closer {
  border: 1px solid var(--line-2); border-radius: var(--r-card);
  background:
    radial-gradient(80% 140% at 12% 0%, var(--hero-glow), transparent 60%),
    var(--surface-1);
  padding: var(--s-14) var(--s-10);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-8); flex-wrap: wrap;
}
.closer h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; font-weight: 500; color: var(--text-full); letter-spacing: -0.02em; }
.closer p { margin-top: 10px; font-size: 15px; line-height: 22px; color: var(--text-2); max-width: 52ch; }
.closer__acts { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ══════════ 响应式 ══════════ */
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-12); }
  .hero__bg::after { right: -340px; }
  .proto-grid { grid-template-columns: 1fr; max-width: 560px; }
  .arch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch-cell:nth-child(odd) { border-left: none; }
  .arch-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line-1); }
}
@media (max-width: 1024px) {
  .hero { padding-top: var(--s-14); }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
  .qs-grid { grid-template-columns: 1fr; }
  .compat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compat-cell:nth-child(4n) { border-right: 1px solid var(--line-1); }
  .compat-cell:nth-child(2n) { border-right: none; }
  .compat-cell:nth-child(-n+8) { border-bottom: 1px solid var(--line-1); }
}
@media (max-width: 720px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-grid .cap-cell { border-right: none; border-bottom: 1px solid var(--line-1); }
  .cap-grid .cap-cell:last-child { border-bottom: none; }
  .arch-grid { grid-template-columns: 1fr; }
  .arch-cell { border-left: none !important; border-bottom: 1px solid var(--line-1); }
  .arch-cell:last-child { border-bottom: none; }
  .proto-row { grid-template-columns: repeat(2, 1fr); }
  .stage-flow { flex-wrap: wrap; }
  .stage { flex: 1 1 44%; }
  .stage-arrow { display: none; }
  .chan { grid-template-columns: 1fr auto; }
  .chan__p, .chan__bar { display: none; }
  .closer { padding: var(--s-8) var(--s-5); }
  .pv__token, .pv__table .hide-s { display: none; }
}
