/* ==========================================================================
   快连 KuaiLian · 官网设计系统
   首页 / 下载 / 文章列表 / 文章详情
   颜色与字号严格对齐 design-tokens.json
   ========================================================================== */

@font-face {
  font-family: "FontAwesome";
  src: url("vendor/font-awesome/fonts/fontawesome-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #F5F8FC;
  --surface: #FFFFFF;
  --surface-2: #EDF2F9;
  --navy: #0B1B33;
  --navy-2: #12284A;
  --text: #0B1220;
  --muted: #5B6B84;
  --line: #E3E9F2;
  --green: #22C55E;
  --green-ink: #062012;
  --cyan: #06B6D4;
  --blue: #2563EB;
  --warning: #F59E0B;
  --danger: #E11D48;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 24px rgba(11, 27, 51, 0.06);
  --shadow-lg: 0 24px 60px -30px rgba(11, 27, 51, 0.25);
  --container: 1200px;
  --font: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.5rem); line-height: 1.14; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); line-height: 1.28; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 1.2em; flex: none; text-align: center; font-size: 20px; line-height: 1; font-style: normal; }
.icon--sm { width: 1.1em; font-size: 14px; }
.icon--lg { width: 1.1em; font-size: 26px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--surface-2); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.lead { margin-top: 12px; color: var(--muted); font-size: 16px; }
.fineprint { margin-top: 14px; color: var(--muted); font-size: 13px; }
.fineprint--center { text-align: center; }
.tag-demo { display: inline-block; margin-left: 4px; padding: 1px 7px; border: 1px dashed #B9C6D8; border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 600; vertical-align: 1px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 14px; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.meta { color: var(--muted); font-size: 13px; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--green); color: var(--green-ink); font-weight: 700; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: none; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--green); color: var(--green-ink); }
.btn--primary:hover { background: #34D96C; }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #EAF2FF; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn .icon { font-size: 18px; }

/* ---------- 4. Notice ---------- */
.notice { background: var(--navy); color: #DBEAFE; font-size: 12.5px; }
.notice__inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; }
.notice__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.notice a { color: #67E8F9; text-decoration: underline; text-underline-offset: 2px; }
.notice__close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #9FB1C9; cursor: pointer; }
.notice__close:hover { background: rgba(255,255,255,.08); color: #fff; }
.notice.is-hidden { display: none; }

/* ---------- 法律 / iOS 说明页 ---------- */
.legal-page { max-width: 860px; margin: 0 auto; padding: 48px 0 80px; }
.legal-page h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.legal-page h2 { margin: 40px 0 12px; font-size: 1.5rem; scroll-margin-top: 96px; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page p { margin-top: 10px; }
.legal-page ul { display: grid; gap: 8px; margin-top: 12px; padding-left: 1.3em; list-style: disc; }
.legal-page a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-page .install-steps { grid-template-columns: repeat(3, 1fr); }
.page-ios .install-step h3 { font-size: 1rem; }

/* ---------- 5. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(245,248,252,.92); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: border-color .2s ease, background-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header--dark { background: var(--navy); border-bottom-color: transparent; color: #fff; }
.site-header--dark.is-scrolled { background: rgba(11,27,51,.94); border-bottom-color: rgba(255,255,255,.10); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .04em; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--navy); color: #4ADE80; }
.site-header--dark .brand__mark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.site-header--dark .brand__name { color: #fff; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; color: #40516C; }
.site-header--dark .nav { color: rgba(255,255,255,.72); }
.nav > a:hover { color: var(--blue); }
.site-header--dark .nav > a:hover { color: #fff; }
.nav__mobile-actions { display: none; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.login { border: 0; background: transparent; font-size: 14px; color: #40516C; cursor: pointer; }
.site-header--dark .login { color: rgba(255,255,255,.78); }
.login:hover { color: var(--blue); }
.site-header--dark .login:hover { color: #fff; }
.menu-toggle { display: none; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: inherit; cursor: pointer; }
.site-header--dark .menu-toggle { border-color: rgba(255,255,255,.18); }
.site-header--dark .header__actions .btn--primary { box-shadow: 0 8px 20px -10px rgba(34,197,94,.8); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 92px 0 104px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .45; }
.hero__glow--a { width: 560px; height: 560px; top: -230px; right: -140px; background: #0E7490; }
.hero__glow--b { width: 420px; height: 420px; bottom: -240px; left: -120px; background: #15803D; opacity: .3; }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(148,197,255,.16); stroke-width: 1; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 14px; border: 1px solid rgba(74,222,128,.28); border-radius: 999px; background: rgba(34,197,94,.10); color: #D1FAE5; font-size: 13px; font-weight: 600; }
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 { color: #fff; }
.grad { background: linear-gradient(100deg, #67E8F9 0%, #4ADE80 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 34em; color: rgba(226,240,255,.76); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn--ghost { border-color: rgba(255,255,255,.24); color: #fff; }
.hero .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: rgba(226,240,255,.7); font-size: 13px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { color: var(--green); }
.hero__proof { display: flex; align-items: center; gap: 12px; margin-top: 26px; color: rgba(226,240,255,.66); font-size: 13px; }
.hero__proof strong { color: #fff; }
.hero__note { margin-top: 24px; color: rgba(226,240,255,.66); font-size: 13px; }
.avatars { display: flex; }
.avatars span { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -8px; border: 2px solid var(--navy); border-radius: 50%; background: #1D3357; color: #BAE6FD; font-size: 10px; font-weight: 700; }
.avatars span:first-child { margin-left: 0; }

.hero__visual { position: relative; }
.app-card { position: relative; z-index: 1; border: 1px solid rgba(148,197,255,.22); border-radius: var(--radius-lg); background: linear-gradient(165deg, #14294A, #0C1C35 65%); box-shadow: 0 40px 80px -40px rgba(0,0,0,.65); overflow: hidden; }
.app-card__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(148,197,255,.14); color: rgba(255,255,255,.55); font-size: 12px; }
.traffic { display: flex; gap: 5px; }
.traffic i { width: 8px; height: 8px; border-radius: 50%; background: #29466C; }
.app-card__name { font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 3px 9px; border-radius: 999px; background: rgba(34,197,94,.12); color: #4ADE80; font-size: 11px; font-weight: 700; }
.status b { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.app-card__body { padding: 26px 24px 22px; }
.ring { width: 190px; height: 190px; margin: 0 auto; border-radius: 50%; background: conic-gradient(from 210deg, #22D3EE 0 18%, #22C55E 18% 62%, rgba(255,255,255,.07) 62% 100%); display: grid; place-items: center; position: relative; }
.ring::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(148,197,255,.16); }
.ring__inner { width: 158px; height: 158px; border-radius: 50%; background: #0D1D36; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.06); }
.ring__inner strong { font-size: 50px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.ring__inner small { margin-left: 2px; color: rgba(255,255,255,.6); font-size: 15px; font-weight: 600; }
.ring__inner span { color: rgba(255,255,255,.55); font-size: 11px; }
.server { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px; border: 1px solid rgba(148,197,255,.16); border-radius: 12px; background: rgba(255,255,255,.03); }
.server__code { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(34,197,94,.15); color: #4ADE80; font-size: 11px; font-weight: 800; }
.server b { display: block; font-size: 13px; color: #fff; }
.server small { color: rgba(255,255,255,.5); font-size: 11px; }
.server__chev { margin-left: auto; color: rgba(255,255,255,.4); }
.quality { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: rgba(255,255,255,.55); font-size: 11px; }
.quality__bars { display: flex; gap: 3px; margin-left: auto; }
.quality__bars i { width: 16px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); }
.quality__bars i:nth-child(-n+4) { background: var(--green); }
.quality b { color: #4ADE80; font-size: 11px; }
.app-card__cta { margin-top: 18px; padding: 11px; border-radius: 10px; background: rgba(34,197,94,.12); color: #4ADE80; text-align: center; font-size: 13px; font-weight: 700; }
.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid rgba(148,197,255,.26); border-radius: 13px; background: rgba(11,27,51,.88); backdrop-filter: blur(8px); box-shadow: 0 16px 36px -20px rgba(0,0,0,.7); color: rgba(255,255,255,.7); font-size: 11px; animation: float 6s ease-in-out infinite; }
.float-chip b { font-size: 17px; color: #fff; }
.float-chip span { display: block; }
.float-chip--latency { top: 8%; left: -30px; flex-direction: column; gap: 0; align-items: flex-start; }
.float-chip--safe { bottom: 14%; right: -22px; color: #fff; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 7. Platform strip ---------- */
.platform-strip { padding: 56px 0; background: var(--bg); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.platform-card { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .18s ease, transform .18s ease; }
.platform-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.platform-card.is-detected { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.platform-card__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: #EDF4FF; color: var(--blue); }
.platform-card.is-detected .platform-card__icon { background: #EAFBF0; color: #15803D; }
.platform-card b { display: block; font-size: 15px; }
.platform-card small { color: var(--muted); font-size: 12px; }
.platform-card__arrow { margin-left: auto; color: #9FB0C6; }

/* ---------- 8. Stats ---------- */
.stats { padding: 34px 0 22px; background: var(--surface-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(1.7rem, 2.8vw, 2.35rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 13px; }
.stats .fineprint { margin-top: 14px; text-align: center; }

/* ---------- 9. Pain / Steps ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.pain-card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: #EDF4FF; color: var(--blue); }
.pain-card h3 { font-size: 1.15rem; }
.pain-card p { margin: 8px 0 14px; color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.step__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; }
.step__art { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #EAFBF0; color: #15803D; }
.step h3 { margin-top: 22px; font-size: 1.15rem; }
.step p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.steps__note { margin-top: 26px; text-align: center; }

/* ---------- 10. Network ---------- */
.network { padding: 96px 0; background: var(--navy); color: #fff; }
.network__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.network .eyebrow { color: #67E8F9; }
.network h2 { color: #fff; }
.network .lead { color: rgba(226,240,255,.7); }
.network__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.network__facts li { padding: 14px; border: 1px solid rgba(148,197,255,.16); border-radius: 12px; background: rgba(255,255,255,.03); }
.network__facts b { display: block; font-size: 20px; font-weight: 800; }
.network__facts span { color: rgba(255,255,255,.55); font-size: 11px; }
.latency { display: grid; gap: 10px; margin-top: 24px; }
.latency > div { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.72); }
.latency > div:last-child { border-bottom: 0; }
.latency span { display: inline-flex; align-items: center; gap: 8px; }
.latency b { color: #fff; font-variant-numeric: tabular-nums; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--on { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot--wait { background: var(--warning); }
.network .fineprint { color: rgba(255,255,255,.45); }

.orbit { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; }
.orbit__grid { position: absolute; inset: 0; border-radius: 50%; background-image: radial-gradient(rgba(148,197,255,.22) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(circle, #000 55%, transparent 72%); -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); }
.orbit__ring { position: absolute; border: 1px solid rgba(148,197,255,.18); border-radius: 50%; }
.orbit__ring--1 { inset: 10%; }
.orbit__ring--2 { inset: 26%; border-color: rgba(34,197,94,.25); }
.orbit__core { position: absolute; top: 50%; left: 50%; width: 120px; height: 120px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(34,197,94,.28), rgba(6,182,212,.10) 55%, transparent 72%); display: grid; place-items: center; }
.orbit__core span { position: absolute; inset: 34px; border-radius: 50%; border: 1px solid rgba(34,197,94,.5); }
.orbit__core b { font-size: 10px; letter-spacing: .18em; color: #4ADE80; }
.orbit__point { position: absolute; display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.66); font-size: 11px; }
.orbit__point i { width: 8px; height: 8px; border-radius: 50%; background: #67E8F9; box-shadow: 0 0 10px #22D3EE; }
.orbit__point--1 { top: 20%; left: 58%; }
.orbit__point--2 { top: 66%; left: 20%; }
.orbit__point--3 { top: 62%; right: 12%; }
.orbit__point--3 i { background: var(--warning); box-shadow: 0 0 10px var(--warning); }

/* ---------- 11. Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transition: border-color .18s ease, transform .18s ease; }
.feature:hover { border-color: #BFD3EA; transform: translateY(-2px); }
.feature--wide { grid-column: span 2; display: flex; align-items: flex-start; gap: 18px; }
.feature--wide .feature__num { margin-bottom: 0; }
.feature__num { display: block; margin-bottom: 18px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.feature h3 { font-size: 1.15rem; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.feature__glyph { position: absolute; right: 22px; top: 22px; color: #C3D3E6; }
.feature--wide .feature__glyph { position: static; margin-left: auto; color: #C3D3E6; }

/* ---------- 12. Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.review-card > .icon { color: var(--blue); margin-bottom: 14px; }
.review-card h3 { font-size: 1.1rem; }
.stars { display: inline-flex; gap: 2px; color: #F5B301; }
.review-card p { margin-top: 14px; font-size: 15px; }
.review-card footer { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #EAF2FD; color: var(--blue); font-size: 12px; font-weight: 700; }
.review-card footer b { display: block; font-size: 13px; }
.review-card footer small { color: var(--muted); font-size: 11.5px; }

/* ---------- 13. Pricing ---------- */
.billing { display: flex; width: fit-content; margin: -10px auto 28px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.billing__btn { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.billing__btn.is-active { background: var(--navy); color: #fff; }
.billing__btn small { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(34,197,94,.16); color: #15803D; font-size: 10px; }
.billing__btn.is-active small { background: rgba(74,222,128,.18); color: #4ADE80; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.plan { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.plan--popular { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.plan__badge { position: absolute; top: -12px; left: 22px; padding: 3px 10px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-size: 10.5px; font-weight: 800; }
.plan__name { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; }
.plan__price strong { font-size: 36px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.plan__price small { color: var(--muted); font-size: 12px; }
.plan__note { min-height: 38px; margin-top: 4px; color: var(--muted); font-size: 12px; }
.plan__features { display: grid; gap: 8px; margin: 16px 0 20px; }
.plan__features li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; }
.plan__features .icon { color: #15803D; }

/* ---------- 14. Article cards ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease; }
.article-card:hover { transform: translateY(-2px); border-color: #BFD3EA; }
.article-card__cover { position: relative; display: flex; align-items: flex-end; justify-content: space-between; padding: 16px; aspect-ratio: 16 / 10; }
.cover--blue { background: linear-gradient(140deg, #0E7490, #1E3A8A); }
.cover--green { background: linear-gradient(140deg, #15803D, #0F766E); }
.cover--navy { background: linear-gradient(140deg, #1E3A8A, #0B1B33); }
.cover__tag { padding: 4px 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: #0B1B33; color: #fff; font-size: 11px; font-weight: 700; }
.cover__mark { color: rgba(255,255,255,.5); font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.article-card__body { padding: 18px 20px 20px; }
.article-card__body h3 { margin: 8px 0 12px; font-size: 16px; line-height: 1.5; }
.article-card__body h3 a:hover { color: var(--blue); }

/* ---------- 15. Final CTA / footer ---------- */
.final-cta { padding: 80px 0; background: var(--navy); }
.final-cta__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 44px; border: 1px solid rgba(148,197,255,.18); border-radius: var(--radius-lg); background: radial-gradient(120% 120% at 80% 0%, rgba(6,182,212,.22), transparent 55%), rgba(255,255,255,.03); }
.final-cta .eyebrow { color: #67E8F9; }
.final-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.final-cta p { margin-top: 10px; color: rgba(226,240,255,.7); }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.final-cta .btn--ghost { border-color: rgba(255,255,255,.24); color: #fff; }
.final-cta__qr { display: grid; justify-items: center; gap: 10px; }
.final-cta__platforms { display: grid; gap: 12px; padding: 20px; border: 1px solid rgba(148,197,255,.2); border-radius: 16px; background: rgba(255,255,255,.05); }
.final-cta__platforms-title { color: rgba(255,255,255,.6); font-size: 12px; }
.final-cta__platforms ul { display: grid; gap: 8px; }
.final-cta__platforms li { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; }
.final-cta__platforms .icon { color: #4ADE80; }
.final-cta__qr > p { color: rgba(255,255,255,.55); font-size: 12px; text-align: center; }
.qr-card { width: 170px; padding: 10px; border-radius: 14px; background: #fff; }

.site-footer { padding: 56px 0 30px; background: #081426; color: rgba(255,255,255,.6); font-size: 13px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.footer__brand .brand__mark { background: rgba(255,255,255,.08); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: 12px; }
.footer__brand .fineprint { color: rgba(255,255,255,.4); }
.footer__col { display: grid; gap: 9px; align-content: start; }
.footer__col h3 { color: rgba(255,255,255,.9); font-size: 13px; margin-bottom: 3px; }
.footer__col-title { margin-top: 10px; }
.footer__col a, .footer-link { color: rgba(255,255,255,.6); font-size: 13px; text-align: left; }
.footer__col a:hover, .footer-link:hover { color: #fff; }
.footer-link { padding: 0; border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.38); font-size: 11.5px; }

/* ---------- 16. Mobile bar / toast ---------- */
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(11,27,51,.96); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .26s ease; }
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar b { display: block; color: #fff; font-size: 13px; }
.mobile-bar span { color: rgba(255,255,255,.6); font-size: 11px; }
.toast { position: fixed; left: 50%; bottom: 92px; z-index: 200; max-width: min(92vw, 420px); padding: 12px 18px; border: 1px solid rgba(148,197,255,.25); border-radius: 12px; background: #12284A; color: #fff; font-size: 13.5px; box-shadow: var(--shadow-lg); transform: translate(-50%, 14px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 17. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   下载页
   ========================================================================== */
.breadcrumb { padding: 18px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12.5px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #B9C6D8; }
.breadcrumb a:hover { color: var(--blue); }
.download-hero { padding: 40px 0 64px; background: var(--navy); color: #fff; }
.download-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.download-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.download-hero .lead { color: rgba(226,240,255,.72); }
.os-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 12px; border: 1px solid rgba(74,222,128,.3); border-radius: 999px; background: rgba(34,197,94,.1); color: #BBF7D0; font-size: 12.5px; }
.os-line b { color: #fff; }
.download-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.download-hero .btn--ghost { border-color: rgba(255,255,255,.24); color: #fff; }
.download-hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }
.end-cta .btn--ghost { border-color: rgba(255,255,255,.24); color: #fff; }
.end-cta .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }
.download-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: rgba(255,255,255,.55); font-size: 12px; }
.download-meta b { color: #fff; }
.download-visual { display: grid; place-items: center; }
.download-note { width: 100%; max-width: 320px; padding: 26px; border: 1px solid rgba(148,197,255,.24); border-radius: 16px; background: rgba(255,255,255,.05); }
.download-note > .icon { color: #4ADE80; margin-bottom: 14px; }
.download-note h2 { color: #fff; font-size: 1.25rem; }
.download-note ul { display: grid; gap: 8px; margin: 14px 0 18px; }
.download-note li { color: rgba(226,240,255,.7); font-size: 13px; padding-left: 16px; position: relative; }
.download-note li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.download-note .btn--ghost { border-color: rgba(255,255,255,.24); color: #fff; }
.download-visual .qr-card { width: 200px; }
.download-visual .qr-card p { margin-top: 8px; color: var(--muted); font-size: 11px; text-align: center; }
.download-visual .fineprint { color: rgba(255,255,255,.45); text-align: center; margin-top: 10px; }

.platform-section { padding: 64px 0; }
.platform-grid--download { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.download-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.download-card.is-detected { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.download-card__head { display: flex; align-items: center; gap: 10px; }
.download-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #EDF4FF; color: var(--blue); }
.download-card.is-detected .download-card__icon { background: #EAFBF0; color: #15803D; }
.download-card b { display: block; font-size: 15px; }
.download-card small { display: block; color: var(--muted); font-size: 11.5px; }
.download-card__meta { color: var(--muted); font-size: 12px; }
.download-card .btn { margin-top: auto; }

.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.install-step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.install-step__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; }
.install-step h3 { margin-top: 14px; font-size: 1rem; }
.install-step p { margin-top: 6px; color: var(--muted); font-size: 13.5px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table caption { padding: 12px 16px; text-align: left; color: var(--muted); font-size: 12px; }
.data-table th, .data-table td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; }
.data-table thead th { background: var(--surface-2); color: var(--muted); font-size: 11.5px; }
.data-table tbody th { font-weight: 600; }
.data-table td { color: var(--muted); }

.changelog { display: grid; gap: 10px; max-width: 820px; }
.changelog details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.changelog summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; }
.changelog summary::-webkit-details-marker { display: none; }
.changelog summary::after { content: "+"; color: var(--blue); font-size: 20px; line-height: 1; }
.changelog details[open] summary::after { content: "−"; }
.changelog ul { display: grid; gap: 6px; padding: 0 20px 18px; color: var(--muted); font-size: 13px; }
.changelog li::before { content: "·"; margin-right: 8px; color: var(--blue); }
.changelog time { color: var(--muted); font-size: 11px; font-weight: 400; }

.safety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.safety-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.safety-card .icon { color: #15803D; margin-bottom: 12px; }
.safety-card h3 { font-size: 15px; }
.safety-card p { margin-top: 6px; color: var(--muted); font-size: 13px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 13.5px; }

/* ==========================================================================
   文章列表
   ========================================================================== */
.blog-hero { padding: 64px 0 40px; background: var(--navy); color: #fff; }
.blog-hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.blog-hero .lead { color: rgba(226,240,255,.7); max-width: 620px; }
.blog-hero__search { margin-top: 26px; max-width: 480px; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 50px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; }
.search input::placeholder { color: #9AA9BD; }
.search .icon { color: var(--muted); }

.featured { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; margin-top: 26px; }
.feature-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; padding: 24px; border-radius: var(--radius); overflow: hidden; color: #fff; background: linear-gradient(150deg, #0E7490, #1E3A8A); }
.feature-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 80% 10%, rgba(34,197,94,.35), transparent 60%); }
.feature-card > * { position: relative; }
.feature-card .cover__tag { align-self: flex-start; }
.feature-card h2 { margin: 12px 0 8px; font-size: 1.55rem; color: #fff; }
.feature-card p { color: rgba(255,255,255,.72); font-size: 13.5px; }
.feature-side { display: grid; gap: 16px; }
.feature-side .article-card { display: flex; flex-direction: column; height: 100%; }
.feature-side .article-card__cover { aspect-ratio: auto; flex: 1; min-height: 90px; }
.feature-side .article-card__body { padding: 14px 16px; }
.feature-side .article-card__body h3 { margin: 4px 0 0; font-size: 14px; }

.blog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 40px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.result-count { color: var(--muted); font-size: 12.5px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-grid .article-card[hidden] { display: none; }
.blog-empty { padding: 56px 24px; border: 1px dashed #C9D7E8; border-radius: var(--radius); text-align: center; color: var(--muted); }
.blog-empty h3 { color: var(--text); margin-bottom: 6px; }
.blog-empty[hidden] { display: none; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 34px; }
.page-btn { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 13px; cursor: pointer; }
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-btn:disabled { opacity: .45; cursor: default; }
.page-btn:disabled:hover { border-color: var(--line); color: var(--muted); }

/* ==========================================================================
   文章详情
   ========================================================================== */
.reading-progress { position: fixed; top: 0; left: 0; z-index: 300; width: 100%; height: 2px; background: transparent; }
.reading-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--green)); transition: width .1s linear; }

.article-hero { padding: 36px 0 0; }
.article-head { max-width: 820px; margin: 0 auto; padding: 26px 0 30px; }
.article-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.article-head .lead { margin-top: 12px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; color: var(--muted); font-size: 12.5px; }
.article-meta .avatar { width: 34px; height: 34px; }
.article-meta b { color: var(--text); font-size: 13px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12.5px; cursor: pointer; }
.share-btn:hover { border-color: var(--blue); color: var(--blue); }
.article-cover { max-width: 1080px; margin: 10px auto 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: linear-gradient(150deg, #0E7490, #1E3A8A); position: relative; }
.article-cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 75% 20%, rgba(34,197,94,.4), transparent 60%); }
.article-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 240px; gap: 56px; justify-content: center; padding: 56px 0 88px; }
.article-body { font-size: 17px; line-height: 1.9; }
.article-body h2 { margin: 44px 0 14px; font-size: 1.65rem; scroll-margin-top: 96px; }
.article-body h3 { margin: 30px 0 10px; font-size: 1.15rem; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { display: grid; gap: 8px; margin: 0 0 20px; padding-left: 1.3em; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { color: var(--text); }
.article-body p a, .article-body li a, .article-body blockquote a, .article-body table a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body .quick-answer { margin: 0 0 28px; padding: 20px 22px; border: 1px solid #D6E4F7; border-radius: 14px; background: #F3F8FF; }
.article-body .quick-answer h2 { margin: 0 0 10px; font-size: 1.05rem; }
.article-body .quick-answer ul { margin: 0; }
.article-body .quick-answer li { color: var(--text); }
.article-body img, .article-body figure { max-width: 100%; border-radius: 12px; }
.article-body blockquote { margin: 24px 0; padding: 14px 18px; border-left: 3px solid var(--green); background: #F0F8F3; border-radius: 0 12px 12px 0; color: #1F3D2C; }
.article-body code { padding: 2px 6px; border-radius: 6px; background: #EDF2F9; font-family: "JetBrains Mono", Consolas, monospace; font-size: .9em; }
.article-body table { width: 100%; margin: 22px 0; border-collapse: collapse; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.article-body th { background: var(--surface-2); }
.callout { display: flex; gap: 12px; margin: 24px 0; padding: 16px 18px; border: 1px solid #D6E4F7; border-radius: 12px; background: #F3F8FF; font-size: 14.5px; }
.callout .icon { color: var(--blue); margin-top: 3px; }
.callout--warn { border-color: #FDE4BC; background: #FFF8EC; }
.callout--warn .icon { color: var(--warning); }
.callout b { display: block; margin-bottom: 2px; }

.article-sidebar { position: sticky; top: 96px; align-self: start; display: grid; gap: 18px; }
.toc { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.toc h2 { margin-bottom: 10px; font-size: 13px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.toc ol { display: grid; gap: 2px; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid transparent; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.toc a:hover { color: var(--blue); }
.toc a[aria-current="true"] { border-left-color: var(--green); color: var(--text); font-weight: 600; }
.toc-mobile { display: none; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.toc-mobile summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: "▾"; color: var(--blue); }
.toc-mobile[open] summary::after { content: "▴"; }
.toc-mobile ol { padding: 0 16px 14px; display: grid; gap: 6px; }
.toc-mobile a { color: var(--muted); font-size: 13px; }
.side-download { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--navy); color: #fff; }
.side-download h3 { font-size: 15px; }
.side-download p { margin: 6px 0 14px; color: rgba(255,255,255,.6); font-size: 12.5px; }

.article-cta { margin: 30px 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: flex; align-items: center; gap: 16px; }
.article-cta .icon { color: #15803D; }
.article-cta h3 { font-size: 15px; margin-bottom: 2px; }
.article-cta p { margin: 0; color: var(--muted); font-size: 12.5px; }
.article-cta .btn { margin-left: auto; }

.author-box { display: flex; gap: 14px; margin: 36px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.author-box .avatar { width: 46px; height: 46px; font-size: 13px; }
.author-box b { font-size: 14px; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }

.related { margin-top: 40px; }
.related h2 { font-size: 1.1rem; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.related-card .meta { font-size: 11px; }
.related-card h3 { margin-top: 6px; font-size: 13.5px; line-height: 1.5; }
.related-card:hover { border-color: var(--blue); }

.prev-next { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.prev-next a:hover { color: var(--blue); }

.end-cta { margin: 40px 0 0; padding: 26px; border-radius: var(--radius); background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.end-cta h2 { color: #fff; font-size: 1.4rem; }
.end-cta p { margin-top: 4px; color: rgba(255,255,255,.6); font-size: 12.5px; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid, .network__grid, .download-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 520px; margin-inline: auto; }
  .float-chip--latency { left: 0; }
  .float-chip--safe { right: 0; }
  .hero { padding: 72px 0 84px; }
  .network__visual { max-width: 460px; margin-inline: auto; }
  .platform-grid--download { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 720px); padding-top: 36px; }
  .article-sidebar { display: none; }
  .toc-mobile { display: block; }
  .article-cover { aspect-ratio: 16 / 9; }
  .featured { grid-template-columns: 1fr; }
  .feature-side { grid-template-columns: 1fr 1fr; }
  .feature-card { min-height: 260px; }
}

@media (max-width: 860px) {
  .legal-page .install-steps { grid-template-columns: 1fr; }
  .nav { position: fixed; inset: 64px 12px auto; z-index: 150; display: none; flex-direction: column; align-items: stretch; gap: 4px; max-height: calc(100vh - 90px); overflow-y: auto; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); color: var(--text); }
  .nav.is-open { display: flex; }
  .nav > a { padding: 12px 10px; border-radius: 10px; color: var(--text); font-size: 15px; }
  .nav > a:hover { background: var(--surface-2); }
  .nav__mobile-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
  .nav__mobile-actions .btn--ghost { border-color: var(--line); color: var(--text); }
  .site-header--dark .nav__mobile-actions .btn--ghost { border-color: var(--line); color: var(--text); }
  .header__actions > .login, .header__actions > .btn { display: none; }
  .menu-toggle { display: grid; }
  .site-header--dark .nav { background: #10233F; border-color: rgba(255,255,255,.12); }
  .site-header--dark .nav > a { color: rgba(255,255,255,.8); }
  .site-header--dark .nav > a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .site-header--dark .nav__mobile-actions .btn--ghost { border-color: rgba(255,255,255,.2); color: #fff; }
  .header__inner { min-height: 64px; }
  .notice__inner { padding-right: 30px; text-align: center; font-size: 11.5px; }
  .notice__inner p { margin: 0; }
  .notice__close { right: 8px; }
  .hero { padding: 56px 0 64px; }
  .hero__proof { flex-wrap: wrap; }
  .section { padding: 64px 0; }
  .network { padding: 68px 0; }
  .platform-grid, .pain-grid, .steps, .review-grid, .price-grid, .article-grid, .blog-grid, .install-steps, .safety { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature--wide { grid-column: span 2; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .network__facts { grid-template-columns: 1fr 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .final-cta__inner { grid-template-columns: 1fr; padding: 32px; }
  .final-cta__qr { justify-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .article-tile-hidden { display: none; }
  .blog-hero { padding: 48px 0 32px; }
  .article-hero { padding-top: 20px; }
  .article-head { padding: 12px 0 22px; }
  .article-layout { padding: 28px 0 64px; gap: 0; }
  .article-cta { flex-wrap: wrap; }
  .article-cta .btn { margin-left: 0; }
  .end-cta { flex-direction: column; align-items: flex-start; }
  .related-grid { grid-template-columns: 1fr; }
  .role-theme { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 78px; }
  .download-hero { padding: 28px 0 48px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(2rem, 8.6vw, 2.7rem); }
  h2 { font-size: 1.55rem; }
  .hero__actions .btn, .final-cta__actions .btn { flex: 1 1 100%; }
  .hero .lead { font-size: 15.5px; }
  .hero__proof { font-size: 12px; }
  .platform-grid, .pain-grid, .steps, .review-grid, .price-grid, .article-grid, .blog-grid, .install-steps, .safety, .feature-grid, .platform-grid--download { grid-template-columns: 1fr; }
  .feature--wide { grid-column: span 1; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .billing { width: 100%; justify-content: center; }
  .billing__btn { flex: 1; padding: 0 12px; }
  .plan--popular { order: -1; }
  .article-card__cover { aspect-ratio: 16 / 9; }
  .section-head--center { text-align: left; }
  .section-head--center .eyebrow { display: inline-block; }
  .blog-toolbar { flex-direction: column; align-items: flex-start; }
  .feature-side { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .footer__bottom { flex-direction: column; }
  .final-cta__inner { padding: 24px; }
  .download-visual .qr-card { width: 160px; }
  .download-hero__actions .btn { flex: 1 1 100%; }
  .data-table th, .data-table td { padding: 10px 12px; white-space: normal; }
  .article-head h1 { font-size: 1.8rem; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 1.4rem; }
  .article-cover { aspect-ratio: 4 / 3; }
  .toc-mobile { margin: 10px 0; }
  .download-meta { gap: 10px; }
}

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .float-chip { animation: none; }
  .reading-progress i { transition: none; }
}
