:root {
  --ink: #121414;
  --ink-soft: #202323;
  --paper: #f1f0eb;
  --paper-bright: #faf9f5;
  --line: rgba(18, 20, 20, 0.16);
  --muted: #737773;
  --accent: #ff4d16;
  --accent-dark: #d93608;
  --cyan: #6ce5e8;
  --max: 1240px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
body { text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(255,77,22,.22); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.site-nav a:focus-visible, .nav-group-btn:focus-visible { outline-offset: -2px; border-radius: 999px; }

/* 阅读进度条（仅文章页，JS 注入） */
.read-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, var(--accent), #ff8a50);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 1000;
  padding: 8px 12px;
  background: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, height .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  height: 66px;
  background: rgba(18,20,20,.92);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: inset 0 -1px 0 rgba(255,77,22,.30), 0 10px 30px rgba(0,0,0,.18);
}
.nav-shell {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 210px; }
.brand-mark { display: grid; grid-template-columns: repeat(3, 4px); align-items: end; gap: 3px; width: 18px; height: 24px; }
.brand-mark i { display: block; background: var(--accent); }
.brand-mark i:nth-child(1) { height: 11px; }
.brand-mark i:nth-child(2) { height: 18px; }
.brand-mark i:nth-child(3) { height: 24px; }
.brand-name { font-size: 26px; font-weight: 900; line-height: 1; letter-spacing: .01em; }
.brand-meta { font-family: Consolas, monospace; font-size: 7px; line-height: 1.2; color: rgba(255,255,255,.52); }

/* —— 桌面导航：胶囊式 + 分组下拉 —— */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
}
.site-nav > a {
  position: relative;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
  color: rgba(255,255,255,.68);
  transition: color .18s ease, background-color .18s ease;
}
.site-nav > a:hover { color: #fff; background: rgba(255,255,255,.09); }
.site-nav > a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, rgba(255,77,22,.24), rgba(255,122,61,.14));
  box-shadow: inset 0 0 0 1px rgba(255,77,22,.38);
}
.site-nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

.nav-group { position: relative; display: flex; }
.nav-group-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px;
  border: 0; border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.68);
  font-size: 13px; white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}
.nav-group-btn::after { content: "▾"; font-size: 9px; opacity: .65; transition: transform .18s ease; }
.nav-group:hover .nav-group-btn,
.nav-group:focus-within .nav-group-btn { color: #fff; background: rgba(255,255,255,.09); }
.nav-group:hover .nav-group-btn::after,
.nav-group:focus-within .nav-group-btn::after { transform: rotate(180deg); }
.nav-group-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255,77,22,.24), rgba(255,122,61,.14));
  box-shadow: inset 0 0 0 1px rgba(255,77,22,.38);
}
.nav-sub {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 186px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(18,20,20,.08);
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(18,20,20,.18), 0 2px 8px rgba(18,20,20,.08);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-sub::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-sub a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 13px;
  border-radius: 9px;
  color: #333836;
  font-size: 13px; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.nav-sub a:hover { background: rgba(255,77,22,.07); color: var(--ink); }
.nav-sub a[aria-current="page"] { color: var(--accent-dark); font-weight: 700; background: rgba(255,77,22,.08); }
.nav-sub a[aria-current="page"]::after { content: "●"; font-size: 7px; color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  color: #fff; background: rgba(255,255,255,.05);
  cursor: pointer; font: 10px Consolas, monospace; text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.language-toggle:hover { color: var(--ink); background: #fff; transform: translateY(-1px); }

/* —— CTA：渐变胶囊，转化主按钮 —— */
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 0;
  padding: 10px 18px;
  border: 0; border-radius: 999px;
  color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
  background: linear-gradient(135deg, #ff4d16, #ff7a3d);
  box-shadow: 0 6px 18px rgba(255,77,22,.32);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 10px 26px rgba(255,77,22,.42);
  color: #fff;
}
.menu-toggle { display: none; }

/* —— 中等宽度：收紧胶囊，保证导航不换行 —— */
@media (max-width: 1240px) {
  .nav-shell { gap: 18px; }
  .brand { min-width: 0; }
  .site-nav > a, .nav-group-btn { padding: 8px 10px; font-size: 12.5px; }
}
@media (max-width: 1080px) {
  .brand-meta { display: none; }
  .nav-shell { gap: 12px; }
  .site-nav { padding: 4px; }
  .site-nav > a, .nav-group-btn { padding: 7px 9px; font-size: 12px; }
}

.hero {
  height: calc(100svh - 44px);
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--ink);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(18,20,20,.96) 0%, rgba(18,20,20,.76) 42%, rgba(18,20,20,.1) 72%, rgba(18,20,20,.42) 100%);
}
.hero::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(transparent, rgba(18,20,20,.7)); pointer-events: none; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero-content {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: auto;
  padding-top: calc(var(--header-h) + 10vh);
  padding-bottom: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; font-family: Consolas, monospace; font-size: 11px; font-weight: 700; letter-spacing: 0; color: rgba(255,255,255,.63); }
.eyebrow > span { width: 28px; height: 2px; background: var(--accent); }
.eyebrow.dark { color: #626763; }
.hero h1 { margin: 0; max-width: 780px; font-size: 102px; line-height: .95; font-weight: 850; }
.hero h1 em, .final-cta h2 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 560px; margin: 30px 0 0; font-size: 17px; color: rgba(255,255,255,.68); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 38px; font-size: 14px; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }
.text-link { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.72); }
.text-link span { margin-left: 7px; }
.hero-proof { display: flex; gap: 0; margin-top: 54px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-proof > div { min-width: 125px; padding: 17px 28px 0 0; margin-right: 28px; }
.hero-proof strong { display: block; font-size: 18px; }
.hero-proof span { display: block; font-size: 10px; color: rgba(255,255,255,.48); }
.hero-index { position: absolute; right: 4vw; top: 48%; display: flex; flex-direction: column; align-items: center; gap: 9px; z-index: 3; font: 10px Consolas, monospace; color: rgba(255,255,255,.6); }
.hero-index i { width: 1px; height: 75px; background: linear-gradient(var(--accent) 0 25%, rgba(255,255,255,.25) 25%); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 27px; display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,.5); font: 9px Consolas, monospace; transform: translateX(-50%); }
.scroll-cue i { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-style: normal; }
.route { position: absolute; z-index: 1; width: 37vw; height: 1px; transform-origin: left center; background: linear-gradient(90deg, transparent, rgba(108,229,232,.5), transparent); }
.route span { position: absolute; width: 5px; height: 5px; top: -2px; left: 38%; border-radius: 50%; background: white; box-shadow: 0 0 10px var(--cyan); animation: travel 5s linear infinite; }
.route-one { right: -3vw; top: 39%; transform: rotate(-14deg); }
.route-two { right: 12vw; top: 62%; transform: rotate(18deg); }
.route-three { right: -2vw; top: 72%; transform: rotate(-4deg); }
.route-two span { animation-delay: -1.8s; }
.route-three span { animation-delay: -3.2s; }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: 100%; opacity: 0; } }
.city { position: absolute; z-index: 2; right: 15%; top: 34%; display: flex; align-items: center; gap: 8px; font: 9px Consolas, monospace; color: rgba(255,255,255,.65); }
.city i { width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,77,22,.13); }
.city-hk { right: 29%; top: 58%; }
.city-tyo { right: 8%; top: 68%; }

.signal-strip { overflow: hidden; background: var(--accent); color: #fff; }
.signal-track { min-height: 50px; padding: 0 3vw; display: flex; align-items: center; justify-content: space-between; gap: 40px; white-space: nowrap; font: 10px Consolas, monospace; font-weight: 700; }
.signal-track span { display: inline-flex; align-items: center; gap: 10px; }
.signal-track i { width: 5px; height: 5px; background: var(--ink); border-radius: 50%; }
.density-strip { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 42px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-bottom: 1px solid var(--line); background: var(--line); }
.density-stat { min-height: 105px; padding: 20px 24px; background: var(--paper-bright); }
.density-stat strong { display: block; font: 700 26px Consolas, monospace; color: var(--accent); }
.density-stat span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }

.section { width: min(calc(100% - 48px), var(--max)); margin: auto; }
.intro { padding: 130px 0 100px; display: grid; grid-template-columns: .45fr 1.4fr .7fr; gap: 52px; align-items: start; }
.section-number { padding-top: 37px; font: 10px Consolas, monospace; color: #80847f; }
.intro h2, .locations h2, .system h2, .steps h2, .faq h2 { margin: 0; font-size: 66px; line-height: 1.08; font-weight: 780; }
.intro-copy { padding-top: 61px; }
.intro-copy > p:first-child { margin: 0; font-size: 17px; }
.fine-print { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }

.capability-grid { padding-bottom: 140px; display: grid; grid-template-columns: 1.35fr .85fr .85fr; gap: 1px; background: rgba(18,20,20,.13); border: 1px solid rgba(18,20,20,.13); }
.capability { min-height: 460px; padding: 34px; position: relative; overflow: hidden; background: var(--paper-bright); }
.capability-top { display: flex; justify-content: space-between; font: 11px Consolas, monospace; color: #8d908c; }
.capability h3 { max-width: 340px; margin: 72px 0 16px; font-size: 31px; line-height: 1.15; }
.capability p { max-width: 360px; margin: 0; color: var(--muted); font-size: 14px; }
.dark-card { color: white; background: var(--ink-soft); }
.dark-card p { color: rgba(255,255,255,.58); }
.accent-card { color: white; background: var(--accent); }
.accent-card .capability-top, .accent-card p { color: rgba(255,255,255,.72); }
.inline-link { position: absolute; left: 34px; right: 34px; bottom: 34px; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.36); font-size: 13px; font-weight: 800; }
.latency-viz { position: absolute; left: 34px; right: 34px; bottom: 34px; height: 90px; display: flex; align-items: end; gap: 6px; }
.latency-viz span { flex: 1; height: var(--h); background: var(--accent); transform-origin: bottom; animation: equalize 2.8s ease-in-out infinite alternate; }
.latency-viz span:nth-child(3n) { background: var(--cyan); animation-delay: -.7s; }
@keyframes equalize { to { transform: scaleY(.55); opacity: .6; } }
.chip { position: absolute; right: 32px; bottom: 32px; width: 132px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); }
.chip::before, .chip::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(108,229,232,.5); }
.chip::after { inset: 34px; background: rgba(108,229,232,.1); }
.chip span { z-index: 2; font: 10px Consolas, monospace; color: var(--cyan); }
.chip i { position: absolute; background: var(--cyan); }
.chip i:nth-of-type(1), .chip i:nth-of-type(2) { width: 12px; height: 1px; left: -6px; top: 26px; box-shadow: 0 78px 0 var(--cyan); }
.chip i:nth-of-type(2) { right: -6px; left: auto; }

.plans-preview { padding: 130px 0 140px; border-top: 1px solid var(--line); }
.section-headline { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 68px; }
.section-headline h2 { margin: 0; font-size: 66px; line-height: 1.08; }
.outline-link { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 26px; border: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.outline-link:hover { color: white; background: var(--ink); }
.plan-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.plan-teaser { min-height: 330px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--paper-bright); }
.plan-teaser:last-child { border-right: 0; }
.plan-teaser-featured { color: white; background: var(--ink-soft); }
.plan-index { font: 9px Consolas, monospace; color: var(--muted); }
.plan-teaser-featured .plan-index { color: var(--cyan); }
.plan-teaser h3 { margin: 54px 0 8px; font-size: 28px; }
.plan-teaser strong { font-size: 26px; color: var(--accent); }
.plan-teaser strong span { margin-left: 4px; font: 9px Consolas, monospace; color: var(--muted); }
.plan-teaser p { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.plan-teaser-featured p { color: rgba(255,255,255,.58); }
.plan-teaser a { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.plan-teaser-featured a { border-color: rgba(255,255,255,.15); }
.price-note { margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.official-notice { padding: 100px 0 74px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.official-notice h2, .official-plans h2, .coupon-section h2 { margin: 0; font-size: 54px; line-height: 1.08; }
.official-notice > div:last-child { padding-top: 36px; color: var(--muted); }
.plan-filter-band { padding: 76px 0; color: white; background: var(--ink); }
.plan-filter-inner { display: grid; grid-template-columns: .75fr 1.25fr; align-items: end; gap: 80px; }
.plan-filter-inner h2 { margin: 0; font-size: 40px; line-height: 1.1; }
.official-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.official-filters .choice-group { margin: 0; }
.official-filters .choice-group > span { color: rgba(255,255,255,.5); }
.official-filters .choice-buttons { flex-wrap: nowrap; }
.official-filters .choice-buttons button { flex: 1; }
.official-plans { padding: 120px 0; }
.table-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 58px; }
.table-heading > p { max-width: 380px; margin: 0; color: var(--muted); font-size: 13px; }
.official-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.official-plan { min-height: 390px; padding: 28px; display: flex; flex-direction: column; background: var(--paper-bright); }
.official-plan[hidden] { display: none; }
.official-plan:nth-child(3n+2) { color: white; background: var(--ink-soft); }
.official-plan:nth-child(3n+2) p, .official-plan:nth-child(3n+2) .plan-meta { color: rgba(255,255,255,.55); }
.plan-meta { display: flex; justify-content: space-between; color: var(--muted); font: 9px Consolas, monospace; }
.plan-meta b { color: var(--accent); font-weight: 400; }
.official-plan h3 { margin: 55px 0 18px; font: 700 22px Consolas, monospace; }
.spec-row { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-row span { padding: 5px 7px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.official-plan:nth-child(3n+2) .spec-row span { border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.66); }
.official-price { display: block; margin-top: 24px; color: var(--accent); font-size: 24px; }
.official-price small { color: var(--muted); font: 10px Consolas, monospace; }
.official-plan p { margin: 12px 0 22px; color: var(--muted); font-size: 12px; }
.official-plan .button { width: 100%; margin-top: auto; min-height: 46px; padding: 0 14px; gap: 10px; }
.official-plan { content-visibility: auto; contain-intrinsic-size: 390px; }
.coupon-section { padding: 0 0 120px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.coupon-card { padding: 38px; border: 1px solid var(--line); background: var(--paper-bright); }
.coupon-card strong { display: block; font-size: 22px; color: var(--accent); }
.coupon-card p { margin: 18px 0 22px; color: var(--muted); font-size: 14px; }
.coupon-card a { color: var(--accent-dark); font-size: 12px; font-weight: 800; }
.guide-steps { padding: 110px 0 130px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.guide-steps-head h2, .network-guide h2, .hardware-guide h2, .guide-safety h2 { margin: 0; font-size: 54px; line-height: 1.08; }
.guide-step-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.guide-step-list li { padding: 22px 0; display: grid; grid-template-columns: 54px 1fr; border-bottom: 1px solid var(--line); }
.guide-step-list li > span { color: var(--accent); font: 10px Consolas, monospace; }
.guide-step-list h3 { margin: 0 0 4px; font-size: 18px; }
.guide-step-list p { margin: 0; color: var(--muted); font-size: 13px; }
.network-guide { padding: 0 0 130px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.network-guide-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
.network-guide-grid article { padding: 26px 0; border-bottom: 1px solid var(--line); }
.network-guide-grid article > span { color: var(--accent); font: 10px Consolas, monospace; }
.network-guide-grid h3 { margin: 10px 0 6px; font-size: 20px; }
.network-guide-grid p { max-width: 670px; margin: 0; color: var(--muted); font-size: 13px; }
.hardware-guide { padding: 110px 7vw; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; color: white; background: var(--ink); }
.hardware-guide-copy p:not(.eyebrow) { margin: 26px 0 0; color: rgba(255,255,255,.6); font-size: 14px; }
.hardware-list { border-top: 1px solid rgba(255,255,255,.15); }
.hardware-list article { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.hardware-list span { display: block; color: var(--accent); font: 10px Consolas, monospace; }
.hardware-list strong { display: block; margin-top: 6px; font-size: 18px; }
.guide-safety { padding: 120px 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.safety-grid article { min-height: 190px; padding: 25px; background: var(--paper-bright); }
.safety-grid article > span { color: var(--accent); font: 10px Consolas, monospace; }
.safety-grid h3 { margin: 42px 0 6px; font-size: 18px; }
.safety-grid p { margin: 0; color: var(--muted); font-size: 12px; }

.locations { padding: 130px 0; border-top: 1px solid var(--line); }
.locations-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 70px; }
.segmented { padding: 4px; display: flex; border: 1px solid var(--line); }
.segmented button { min-height: 40px; padding: 0 17px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; }
.segmented button[aria-selected="true"] { color: white; background: var(--ink); }
.location-list { border-top: 1px solid var(--ink); }
.location-row { min-height: 126px; display: grid; grid-template-columns: 110px 1fr 1.2fr .9fr 48px; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s, opacity .25s; }
.location-row:hover { padding: 0 18px; background: var(--paper-bright); }
.location-row.is-hidden { display: none; }
.location-code { font: 12px Consolas, monospace; color: var(--accent); }
.location-name h3 { margin: 0; font-size: 26px; line-height: 1.2; }
.location-name span, .location-use span { display: block; margin-top: 3px; font: 9px Consolas, monospace; color: #939690; }
.location-use strong { display: block; margin-top: 5px; font-size: 13px; }
.location-route { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.location-route i { width: 6px; height: 6px; border-radius: 50%; background: #36b878; box-shadow: 0 0 0 4px rgba(54,184,120,.12); }
.round-link { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background .2s, color .2s, transform .2s; }
.round-link:hover { color: white; background: var(--accent); transform: rotate(45deg); }
.inventory-note { margin: 22px 0 0; font-size: 11px; color: var(--muted); }
.inventory-note span { color: #36b878; margin-right: 6px; }

.system { width: 100%; display: grid; grid-template-columns: 1fr 1fr; color: white; background: var(--ink); }
.system-visual { min-height: 690px; position: relative; overflow: hidden; border-right: 1px solid rgba(255,255,255,.1); background-color: #171919; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; }
.rings { position: absolute; left: 50%; top: 50%; width: min(65%, 430px); aspect-ratio: 1; transform: translate(-50%,-50%); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.rings::before, .rings::after, .rings i { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.rings::before { inset: 11%; }
.rings::after { inset: 24%; border-color: rgba(108,229,232,.4); }
.rings i:nth-child(1) { inset: -8%; border-style: dashed; animation: spin 20s linear infinite; }
.rings i:nth-child(2) { width: 11px; height: 11px; left: 5%; top: 24%; background: var(--accent); border: 0; box-shadow: 0 0 0 8px rgba(255,77,22,.1); }
.rings i:nth-child(3) { width: 7px; height: 7px; right: 13%; bottom: 17%; background: var(--cyan); border: 0; }
.rings span { width: 112px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); text-align: center; font: 12px Consolas, monospace; }
@keyframes spin { to { transform: rotate(360deg); } }
.system-label { position: absolute; font: 9px Consolas, monospace; color: rgba(255,255,255,.35); }
.label-one { left: 8%; top: 12%; }
.label-two { right: 8%; bottom: 12%; }
.label-three { left: 12%; bottom: 18%; color: var(--cyan); }
.system-content { min-height: 690px; padding: 90px max(5vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.system h2 { font-size: 64px; }
.feature-list { margin-top: 55px; }
.feature-list > div { padding: 19px 0; display: grid; grid-template-columns: 48px 1fr; border-top: 1px solid rgba(255,255,255,.12); }
.feature-list > div > span { font: 10px Consolas, monospace; color: var(--accent); }
.feature-list p { margin: 0; font-size: 13px; color: rgba(255,255,255,.55); }
.feature-list strong { display: block; margin-bottom: 3px; color: white; font-size: 15px; }

.steps { padding: 140px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.steps ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps li { min-height: 122px; padding: 26px 0; display: grid; grid-template-columns: 72px 1fr; border-bottom: 1px solid var(--line); }
.steps li > span { font: 11px Consolas, monospace; color: var(--accent); }
.steps strong { font-size: 20px; }
.steps p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }

.faq { padding: 0 0 150px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.accordion { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; min-height: 80px; padding: 0; display: flex; justify-content: space-between; align-items: center; border: 0; color: var(--ink); background: transparent; cursor: pointer; text-align: left; font-weight: 700; }
.faq-item button i { width: 30px; font-size: 20px; font-style: normal; font-weight: 400; text-align: center; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer p { min-height: 0; overflow: hidden; margin: 0; max-width: 660px; color: var(--muted); font-size: 13px; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding-bottom: 28px; }

.final-cta { min-height: 630px; position: relative; overflow: hidden; color: white; background: var(--accent); }
.cta-lines { position: absolute; inset: -30% -10%; opacity: .28; background: repeating-radial-gradient(circle at 75% 50%, transparent 0 34px, rgba(255,255,255,.55) 35px 36px); transform: rotate(-12deg); }
.final-inner { width: min(calc(100% - 48px), var(--max)); min-height: 630px; margin: auto; position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.final-cta .eyebrow > span { background: white; }
.final-cta h2 { margin: 0; font-size: 108px; line-height: .9; }
.final-cta h2 em { color: var(--ink); }
.final-cta p:not(.eyebrow) { max-width: 480px; margin: 28px 0; color: rgba(255,255,255,.8); }
.button-light { color: var(--ink); background: white; }

.site-footer { padding: 80px max(24px, calc((100vw - var(--max))/2)); color: white; background: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.footer-brand p { margin: 25px 0 0; color: rgba(255,255,255,.5); font-size: 13px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links span { margin-bottom: 9px; font: 9px Consolas, monospace; color: rgba(255,255,255,.35); text-transform: uppercase; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.72); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { grid-column: 1 / -1; padding-top: 28px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); font-size: 10px; }
.footer-bottom p { margin: 0; }

.back-top { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: var(--ink); cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.back-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
html[lang="en"] .hero h1 { font-size: 92px; }
html[lang="en"] .final-cta h2 { font-size: 94px; }
html[lang="en"] .subpage-hero h1 { max-width: 1100px; font-size: 72px; }

.subpage-body { background: var(--paper); }
.subpage-hero { min-height: 470px; padding: 150px max(24px, calc((100vw - var(--max))/2)) 76px; position: relative; overflow: hidden; color: white; background-color: var(--ink); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; }
.subpage-hero::after { content: ""; position: absolute; width: 34%; height: 1px; right: 4%; top: 48%; background: linear-gradient(90deg, transparent, var(--accent)); transform: rotate(-12deg); }
.subpage-hero h1 { max-width: 900px; margin: 0; font-size: 78px; line-height: .98; }
.subpage-hero p:not(.eyebrow) { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.62); }
.subpage-summary { margin-top: 42px; display: flex; gap: 44px; }
.subpage-summary span { font: 10px Consolas, monospace; color: rgba(255,255,255,.46); }
.subpage-summary strong { display: block; color: white; font-size: 15px; }

.faq-page-head h2 { margin: 0; font-size: 54px; line-height: 1.08; }
.budget-guide { padding-bottom: 120px; }

.choice-group { margin-bottom: 28px; }
.choice-group > span { display: block; margin-bottom: 10px; font: 10px Consolas, monospace; color: rgba(255,255,255,.45); }
.choice-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.choice-buttons button { min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.62); background: transparent; cursor: pointer; font-size: 12px; }
.choice-buttons button[aria-pressed="true"] { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }

.faq-page { padding: 100px 0 130px; }
.faq-page-head { max-width: 760px; margin-bottom: 75px; }
.faq-page-head p { color: var(--muted); }
.faq-category { margin-bottom: 76px; display: grid; grid-template-columns: .45fr 1.55fr; gap: 80px; }
.faq-category h2 { margin: 0; font-size: 28px; }
.faq-category .accordion { width: 100%; }
.faq-category .faq-answer p { max-width: 760px; }
.faq-category { content-visibility: auto; contain-intrinsic-size: 360px; }

.legal-page { padding: 100px 0 130px; display: grid; grid-template-columns: .45fr 1.55fr; gap: 90px; }
.legal-aside { position: sticky; top: 100px; align-self: start; }
.legal-aside p { color: var(--muted); font: 10px Consolas, monospace; }
.legal-content section { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 16px; font-size: 28px; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 14px; }
.legal-content a { color: var(--accent-dark); text-decoration: underline; }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-shell, .section, .hero-content, .final-inner { width: min(calc(100% - 36px), var(--max)); }
  .nav-shell { gap: 12px; }
  .brand { min-width: 0; }
  .brand-meta, .nav-cta { display: none; }
  .menu-toggle { margin-left: auto; width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; border: 0; color: white; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 23px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  /* —— 移动端全屏菜单：分组拍平 + 序号 + 交错入场 —— */
  .nav-group, .nav-sub { display: contents; }
  .nav-group-btn { display: none; }
  .site-nav {
    position: fixed; inset: 0; z-index: -1;
    padding: calc(var(--header-h) + 34px) 28px 40px;
    display: flex; flex-direction: column; justify-content: flex-start; gap: 0;
    background: rgba(18,20,20,.97);
    backdrop-filter: blur(18px) saturate(1.2);
    border: 0; border-radius: 0;
    counter-reset: navitem;
    opacity: 0; pointer-events: none; transform: translateY(-16px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .site-nav a {
    display: flex; align-items: baseline; gap: 16px;
    padding: 17px 4px;
    border: 0; border-bottom: 1px solid rgba(255,255,255,.09);
    border-radius: 0;
    font-size: 21px; font-weight: 700;
    color: rgba(255,255,255,.86);
    opacity: 0; transform: translateY(12px);
    transition: opacity .35s ease, transform .35s ease, color .2s ease;
    transition-delay: var(--d, 0s), var(--d, 0s), 0s;
  }
  .site-nav a::before {
    content: "0" counter(navitem);
    counter-increment: navitem;
    font: 11px Consolas, monospace;
    letter-spacing: .1em;
    color: var(--accent);
  }
  .site-nav a:hover { background: transparent; }
  .site-nav a[aria-current="page"] {
    color: #fff;
    background: transparent;
    box-shadow: none;
  }
  .site-nav a[aria-current="page"]::after {
    content: "";
    left: auto; right: 6px; bottom: auto;
    width: 8px; height: 8px;
    align-self: center;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(255,77,22,.8);
    transform: none;
  }
  .site-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav.is-open a { opacity: 1; transform: translateY(0); }
  .hero::before { background: linear-gradient(90deg, rgba(18,20,20,.95), rgba(18,20,20,.58)); }
  .hero h1 { font-size: 72px; }
  .city { display: none; }
  .intro { grid-template-columns: 1fr 2fr; }
  .intro-copy { grid-column: 2; padding-top: 0; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .feature-wide { grid-column: 1 / -1; }
  .section-headline h2 { font-size: 54px; }
  .plan-teaser-grid { grid-template-columns: 1fr; }
  .density-strip { grid-template-columns: 1fr 1fr; }
  .plan-teaser { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line); }
  .plan-teaser:last-child { border-bottom: 0; }
  .locations-head { align-items: flex-start; flex-direction: column; }
  .location-row { grid-template-columns: 70px 1fr 1fr 42px; }
  .location-use { display: none; }
  .system { grid-template-columns: 1fr; }
  .official-notice, .coupon-section { grid-template-columns: 1fr; gap: 52px; }
  .plan-filter-inner { grid-template-columns: 1fr; gap: 34px; }
  .official-plan-grid { grid-template-columns: 1fr 1fr; }
  .table-heading { align-items: flex-start; flex-direction: column; gap: 25px; }
  .guide-steps, .network-guide, .guide-safety { grid-template-columns: 1fr; gap: 52px; }
  .hardware-guide { grid-template-columns: 1fr; gap: 52px; padding: 90px 36px; }
  .system-visual { min-height: 520px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .system-content { min-height: 600px; }
  .steps, .faq { grid-template-columns: 1fr; gap: 60px; }
  .intro h2, .locations h2, .steps h2, .faq h2 { font-size: 54px; }
  .system h2 { font-size: 54px; }
  .final-cta h2 { font-size: 82px; }
  html[lang="en"] .hero h1 { font-size: 64px; }
  html[lang="en"] .final-cta h2 { font-size: 72px; }
  html[lang="en"] .subpage-hero h1 { font-size: 58px; }
  .subpage-hero h1 { font-size: 64px; }
  .faq-category { grid-template-columns: 1fr; gap: 30px; }
  .legal-page { grid-template-columns: 1fr; gap: 45px; }
  .legal-aside { position: static; }
}

@media (max-width: 640px) {
  .nav-shell, .section, .hero-content, .final-inner { width: min(calc(100% - 28px), var(--max)); }
  .hero-content { padding-top: 104px; padding-bottom: 42px; justify-content: center; }
  .hero::before { background: linear-gradient(90deg, rgba(18,20,20,.95), rgba(18,20,20,.62)), linear-gradient(0deg, rgba(18,20,20,.6), transparent 45%); }
  .hero-art img { object-position: 61% center; opacity: .68; }
  .hero h1 { font-size: 50px; }
  html[lang="en"] .hero h1 { font-size: 44px; }
  .hero-copy { margin-top: 24px; font-size: 15px; }
  .hero-actions { width: 100%; align-items: stretch; flex-direction: column; gap: 18px; margin-top: 30px; }
  .button { width: 100%; justify-content: space-between; }
  .text-link { text-align: center; }
  .hero-proof { width: 100%; margin-top: 35px; }
  .hero-proof > div { min-width: 0; flex: 1; padding-right: 8px; margin-right: 6px; }
  .hero-index, .scroll-cue { display: none; }
  .signal-track { min-height: 44px; overflow: hidden; justify-content: flex-start; }
  .signal-track span:nth-child(n+3) { display: none; }
  .density-strip { width: min(calc(100% - 28px), var(--max)); grid-template-columns: 1fr 1fr; padding: 28px 0; }
  .density-stat { min-height: 90px; padding: 15px; }
  .density-stat strong { font-size: 21px; }
  .intro { padding: 90px 0 70px; display: block; }
  .section-number { margin-bottom: 24px; padding: 0; }
  .intro h2, .locations h2, .steps h2, .faq h2 { font-size: 40px; }
  .intro-copy { padding-top: 36px; }
  .capability-grid { width: 100%; padding: 0 14px 90px; display: block; background: transparent; border: 0; }
  .capability { min-height: 390px; margin-bottom: 1px; padding: 28px; }
  .capability h3 { margin-top: 58px; font-size: 28px; }
  .official-notice { padding: 76px 0 55px; }
  .official-notice h2, .official-plans h2, .coupon-section h2 { font-size: 40px; }
  .official-filters { grid-template-columns: 1fr; gap: 18px; }
  .official-filters .choice-buttons { flex-wrap: wrap; }
  .official-filters .choice-buttons button { flex: 1 0 22%; }
  .official-plans { padding: 85px 0; }
  .official-plan-grid { grid-template-columns: 1fr; }
  .official-plan { min-height: 350px; }
  .coupon-section { padding-bottom: 85px; }
  .coupon-card { padding: 26px; }
  .guide-steps { padding: 76px 0 85px; }
  .network-guide { padding-bottom: 85px; }
  .guide-steps-head h2, .network-guide h2, .hardware-guide h2, .guide-safety h2 { font-size: 40px; }
  .hardware-guide { padding: 75px 20px; }
  .guide-safety { padding: 85px 0; }
  .safety-grid { grid-template-columns: 1fr; }
  .plans-preview { padding: 90px 0; }
  .section-headline { align-items: flex-start; flex-direction: column; margin-bottom: 45px; }
  .section-headline h2 { font-size: 40px; }
  .plan-teaser { min-height: 290px; padding: 26px; }
  .locations { padding: 90px 0; }
  .locations-head { margin-bottom: 48px; }
  .segmented { width: 100%; overflow-x: auto; }
  .segmented button { flex: 1 0 auto; padding: 0 13px; }
  .location-row { min-height: 108px; grid-template-columns: 48px 1fr 40px; gap: 13px; }
  .location-row:hover { padding: 0 8px; }
  .location-route { display: none; }
  .location-name h3 { font-size: 22px; }
  .system-visual { min-height: 410px; }
  .rings { width: 74%; }
  .system-content { min-height: 0; padding: 80px 20px; }
  .system h2 { font-size: 40px; }
  .steps { padding: 90px 0; gap: 45px; }
  .faq { padding-bottom: 90px; gap: 45px; }
  .faq-item button { min-height: 76px; gap: 20px; }
  .final-cta, .final-inner { min-height: 610px; }
  .final-cta h2 { font-size: 68px; }
  html[lang="en"] .final-cta h2 { font-size: 56px; }
  .site-footer { padding: 65px 20px 35px; grid-template-columns: 1fr; gap: 50px; }
  .footer-links { gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .subpage-hero { min-height: 410px; padding: 125px 14px 60px; }
  .subpage-hero h1 { font-size: 47px; }
  html[lang="en"] .subpage-hero h1 { font-size: 42px; }
  .subpage-hero p:not(.eyebrow) { font-size: 14px; }
  .subpage-summary { gap: 20px; flex-wrap: wrap; }
  .faq-page-head h2 { font-size: 39px; }
  .budget-guide { padding-bottom: 80px; }
  .faq-page { padding: 75px 0 90px; }
  .faq-category { margin-bottom: 55px; }
  .legal-page { padding: 75px 0 90px; }
}

@media (max-height: 670px) {
  .hero-content { padding-top: 84px; padding-bottom: 24px; }
  .hero h1 { font-size: 50px; }
  .hero-copy { margin-top: 18px; font-size: 14px; }
  .hero-actions { margin-top: 22px; }
  .hero-proof { display: none; }
  .eyebrow { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-data: reduce) {
  .hero-art img { opacity: .42; }
  .route, .latency-viz, .rings i { animation: none !important; }
}

/* Phase 2: compare table + budget guide */
.compare-section, .budget-guide { padding: 0 0 110px; }
.compare-scroll, .budget-scroll { overflow-x: auto; }
.compare-table, .budget-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 12px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { position: sticky; top: var(--header-h); background: var(--paper-bright); font: 700 11px Consolas, monospace; color: var(--muted); text-transform: uppercase; }
.compare-row:hover td { background: rgba(18, 20, 20, 0.04); }
.compare-plan a { color: var(--ink); font-weight: 700; text-decoration: none; }
.compare-plan a:hover { color: var(--accent); }
.compare-row.best-value td.col-best:nth-child(13) { background: rgba(255, 77, 22, 0.06); }
.compare-row.best-compute td.col-best:nth-child(14) { background: rgba(108, 229, 232, 0.1); }
.badge { display: inline-block; margin-left: 6px; padding: 2px 6px; font-size: 10px; font-weight: 800; border-radius: 2px; }
.badge-value { color: white; background: var(--accent); }
.badge-compute { color: var(--ink); background: var(--cyan); }
.budget-table th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.budget-table thead th { font: 700 11px Consolas, monospace; color: var(--muted); text-transform: uppercase; }
.budget-band { font: 700 13px Consolas, monospace; white-space: nowrap; }
.budget-cell { min-width: 220px; }
.budget-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); background: var(--paper-bright); }
.budget-card h3 { margin: 0; font: 700 14px Consolas, monospace; }
.budget-card p { margin: 0; color: var(--muted); font-size: 11px; }
.budget-card strong { color: var(--accent); font-size: 18px; }
.budget-card small { color: var(--muted); font: 10px Consolas, monospace; }
.budget-card .button { min-height: 40px; padding: 0 12px; gap: 8px; font-size: 12px; margin-top: 4px; }

/* Phase 3: plan interactions */
.plan-interactions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.plan-search { min-width: 240px; flex: 1 1 240px; padding: 10px 14px; border: 1px solid var(--line); background: var(--paper-bright); color: var(--ink); font-size: 13px; }
.plan-search:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.plan-sort-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.plan-sort { padding: 8px 10px; border: 1px solid var(--line); background: var(--paper-bright); color: var(--ink); font-size: 13px; }
.plan-result-count { margin: 0 0 0 auto; font: 11px Consolas, monospace; color: var(--muted); }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line); font-size: 14px; }

/* Dark filter-band adaptation: controls sit on var(--ink) */
.plan-filter-inner .plan-interactions { grid-column: 1 / -1; margin-top: 28px; }
.plan-filter-inner .plan-search,
.plan-filter-inner .plan-sort { border-color: rgba(255,255,255,.18); background: transparent; color: white; }
.plan-filter-inner .plan-search::placeholder { color: rgba(255,255,255,.45); }
.plan-filter-inner .plan-sort option { color: var(--ink); background: var(--paper-bright); }
.plan-filter-inner .plan-sort-label,
.plan-filter-inner .plan-result-count { color: rgba(255,255,255,.55); }
.plan-filter-inner .plan-search:focus { outline-color: var(--accent); }
.official-filters .choice-group:nth-child(3) { grid-column: 1 / -1; }

/* Phase 5: plan chips */
.plan-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.plan-chip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; background: #1c2023; color: #9aa7b0; border: 1px solid #2a3136; font-size: 11px; line-height: 20px; letter-spacing: .02em; }

/* 阶段 6：文章体系 */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.article-list-wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px 72px; }
.article-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 24px; }
.article-toolbar .segmented { border-radius: 10px; background: var(--paper-bright); flex-wrap: wrap; }
.article-toolbar .segmented button[aria-pressed="true"] { color: #fff; background: var(--ink); font-weight: 700; }
.article-search { min-width: 220px; flex: 1 1 220px; max-width: 340px; border-radius: 10px; }
.article-result-count { font: 12px Consolas, monospace; color: var(--muted); margin: 0 0 0 auto; }
.article-empty { padding: 48px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.article-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--paper-bright); }
.article-card-date { font: 11px Consolas, monospace; color: var(--muted); margin-bottom: 8px; }
.article-card h2 { font-size: 18px; margin: 0 0 10px; }
.article-card h2 a { color: var(--ink); text-decoration: none; }
.article-card h2 a:hover { color: var(--accent); }
.article-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.article-hero .article-meta { display: flex; gap: 12px; font: 12px Consolas, monospace; color: var(--muted); margin-top: 12px; }
.article-toc { max-width: 860px; margin: 0 auto 8px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(18,20,20,.05); }
.article-toc-title { font: 11px Consolas, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.article-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.article-toc li { break-inside: avoid; margin: 4px 0; }
.article-toc a { color: #3a403d; text-decoration: none; border-bottom: 1px dashed rgba(18,20,20,.25); transition: color .15s ease, border-color .15s ease; }
.article-toc a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.article-toc a.is-current { color: var(--accent-dark); border-bottom: 1px solid var(--accent); font-weight: 600; }
@media (max-width: 720px) { .article-toc ol { columns: 1; } }

/* 上一篇/下一篇 */
.article-pn { max-width: 860px; margin: 8px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pn-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 3px rgba(18,20,20,.05); transition: border-color .2s, transform .2s, box-shadow .2s; }
a.pn-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(18,20,20,.08); }
.pn-card small { font: 11px Consolas, monospace; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.pn-card strong { font-size: 14px; line-height: 1.5; }
.pn-next { text-align: right; }
@media (max-width: 720px) { .article-pn { grid-template-columns: 1fr; } .pn-next { text-align: left; } }

/* 文章内转化 CTA */
.article-cta { max-width: 860px; margin: 32px auto; }
.cta-box { padding: 36px 32px; border-radius: 18px; background: linear-gradient(135deg, rgba(255,77,22,.08), rgba(255,77,22,.02)); border: 1px solid rgba(255,77,22,.45); text-align: center; }
.cta-box h2 { font-size: 24px; margin: 8px 0 10px; }
.cta-sub { color: var(--muted); margin: 0 auto 22px; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-disclosure { display: block; margin-top: 18px; color: var(--muted); font-size: 12px; }

.article-body { max-width: 860px; line-height: 1.95; font-size: 16px; color: #272c2a; letter-spacing: .005em; }
.article-body p { margin: 0 0 18px; }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body h2 {
  margin: 46px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  font-size: 23px; line-height: 1.35;
  scroll-margin-top: 92px;
}
.article-body h3 { margin: 30px 0 12px; font-size: 18px; scroll-margin-top: 92px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 26px; }
.article-body li { margin: 7px 0; }
.article-body li::marker { color: var(--accent); }
.article-body a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: rgba(217,54,8,.32);
  text-underline-offset: 3px;
  transition: text-decoration-color .15s ease;
}
.article-body a:hover { text-decoration-color: currentColor; }

/* —— 代码块：深色终端风 —— */
.article-body pre {
  position: relative;
  margin: 20px 0;
  padding: 18px 20px;
  background: #16191a;
  color: #dde5e2;
  border-radius: 12px;
  overflow-x: auto;
  font: 13px/1.75 ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 2px 10px rgba(18,20,20,.08);
}
.code-copy {
  position: absolute;
  top: 10px; right: 10px;
  padding: 4px 12px;
  font: 11px Consolas, monospace;
  color: #9fb3ad;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 7px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s ease, color .15s ease, background .15s ease, border-color .15s ease;
}
.article-body pre:hover .code-copy,
.code-copy:focus-visible { opacity: 1; }
.code-copy:hover { color: #fff; background: rgba(255,255,255,.14); }
.code-copy.is-copied { color: #7de8c8; border-color: rgba(125,232,200,.5); opacity: 1; }
@media (hover: none) { .code-copy { opacity: .8; } }
.article-body pre code { background: transparent; border: 0; padding: 0; color: inherit; font-size: inherit; }
.article-body code {
  background: rgba(18,20,20,.06);
  border: 1px solid rgba(18,20,20,.09);
  padding: .08em .42em;
  border-radius: 6px;
  font-size: .85em;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

/* —— 表格：表头反白 + 斑马纹 + 窄屏横滚 —— */
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; display: block; overflow-x: auto; }
.article-body th { background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 10px 13px; text-align: left; vertical-align: top; }
.article-body tbody tr:nth-child(even) td { background: rgba(18,20,20,.028); }
.article-body tbody tr:hover td { background: rgba(255,77,22,.05); }

/* 阶段 7：阅读时间与相关文章 */
.reading-time { font-weight: 600; color: var(--accent); }
.related-articles { max-width: 1320px; margin: 0 auto; padding: 40px 32px; }
.related-articles h2 { font-size: 22px; margin: 0 0 20px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.related-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 20px; color: var(--ink); text-decoration: none; background: #fff; box-shadow: 0 1px 3px rgba(18,20,20,.05); transition: border-color .2s, transform .2s, box-shadow .2s; }
.related-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,20,20,.09); }
.related-card strong { font-size: 16px; }
.related-card small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.related-cat { font: 11px Consolas, monospace; color: var(--accent); }

/* 阶段 6：机房专题 */
.loc-badges { display: flex; gap: 8px; margin-top: 14px; }
.loc-badge { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font: 11px Consolas, monospace; color: var(--muted); }
.loc-other-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.loc-other-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; color: var(--ink); text-decoration: none; font-weight: 700; }
.loc-other-card:hover { border-color: var(--accent); color: var(--accent); }
.loc-prose { max-width: 860px; line-height: 1.8; font-size: 15px; }
.loc-prose h2 { margin: 24px 0 10px; font-size: 20px; }

/* 阶段 6：购买教程 */
.howto-body { max-width: 860px; line-height: 1.8; font-size: 15px; counter-reset: howto; }
.howto-body h2 { margin: 28px 0 12px; font-size: 20px; counter-increment: howto; }
.howto-body h2::before { content: "0" counter(howto) " · "; color: var(--accent); font: 12px Consolas, monospace; }
.howto-cta { text-align: center; padding: 40px 0; }
.howto-cta .nav-cta { display: inline-block; }

/* 阶段 6：面包屑与入口 */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 12px Consolas, monospace; color: var(--muted); max-width: 1320px; margin: 0 auto; padding: 18px 32px 0; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb span[aria-current="page"] { color: var(--ink); }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.hub-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 14px; padding: 22px; color: var(--ink); text-decoration: none; }
.hub-card:hover { border-color: var(--accent); }
.hub-card strong { font-size: 17px; }
.hub-card small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.hub-num { font: 11px Consolas, monospace; color: var(--accent); }

/* 阶段 7：首页最新文章 */
.latest-articles { max-width: 1320px; margin: 0 auto; padding: 40px 32px; }
.latest-articles h2 { font-size: 22px; margin: 0 0 20px; }

/* 404 page */
.notfound-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.notfound-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 3px rgba(18,20,20,.05); transition: border-color .2s, transform .2s, box-shadow .2s; }
.notfound-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(18,20,20,.08); }
.notfound-card strong { font-size: 16px; }
.notfound-card small { color: var(--muted); font-size: 12px; }
.notfound-tip { margin-top: 24px; color: var(--muted); font-size: 14px; }
.notfound-tip a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
