:root {
  --op-accent: #0891B2;
  --op-accent-dark: #0E7490;
  --op-soft: #CFFAFE;
  --op-bg: #ECFEFF;
  --op-card: #FFFFFF;
  --op-border: #A5F3FC;
  --op-text: #0F172A;
  --op-muted: #64748B;
  --op-radius: 10px;
  --op-ok: #059669;
  --op-warn: #D97706;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #FFF;
  color: var(--op-text);
  line-height: 1.65;
}
a { color: var(--op-accent); text-decoration: none; }
a:hover { color: var(--op-accent-dark); text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header.cn-header {
  position: sticky; top: 0; z-index: 100;
  background: #FFFFFF;
  border-bottom: 2px solid var(--op-accent);
}
.cn-nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px;
}
.cn-brand {
  font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 8px; color: #0F172A;
}
.cn-brand img { width: 28px; height: 28px; border-radius: 6px; }
.cn-brand span { color: var(--op-accent); }
.cn-links { display: flex; gap: 22px; list-style: none; }
.cn-links a { font-size: 14px; font-weight: 600; color: #475569; }
.cn-links a:hover, .cn-links a.active { color: var(--op-accent); text-decoration: none; }

.btn-cn {
  padding: 8px 18px; border-radius: 6px; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: none;
}
.btn-cn-primary {
  background: var(--op-accent); color: #fff;
  box-shadow: 0 2px 10px rgba(8, 145, 178, 0.28);
}
.btn-cn-primary:hover { background: var(--op-accent-dark); color: #fff; text-decoration: none; }

.cn-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--op-bg) 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--op-border);
}
.speed-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  background: var(--op-soft); border-radius: 20px; font-size: 13px;
  color: var(--op-accent-dark); font-weight: 700; margin-bottom: 16px;
}
.cn-hero h1 {
  font-size: clamp(28px, 4vw, 36px); font-weight: 800; line-height: 1.28;
  margin-bottom: 14px; color: #0F172A;
}
.cn-hero p {
  font-size: 16px; color: var(--op-muted); max-width: 720px; margin-bottom: 22px;
}

.speed-test-box {
  background: #FFFFFF; border: 1px solid var(--op-border); border-radius: var(--op-radius);
  padding: 22px; margin: 26px 0; box-shadow: 0 4px 14px rgba(8, 145, 178, 0.06);
}
.speed-bar-row { margin-bottom: 14px; }
.speed-bar-label {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 14px; font-weight: 600; margin-bottom: 6px;
}
.speed-track { height: 20px; background: #F1F5F9; border-radius: 4px; overflow: hidden; }
.speed-fill-fast {
  height: 100%; background: linear-gradient(90deg, #34D399, #059669); width: 92%;
  display: flex; align-items: center; padding-left: 8px; font-size: 11px; color: #fff; font-weight: 700;
}
.speed-fill-slow {
  height: 100%; background: #F59E0B; width: 22%;
  display: flex; align-items: center; padding-left: 8px; font-size: 11px; color: #fff; font-weight: 700;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-soft { background: #F1F5F9; color: #1E293B; }
.btn-soft:hover { background: #E2E8F0; color: #0F172A; text-decoration: none; }
.btn-tint { background: var(--op-soft); color: var(--op-accent-dark); }
.btn-tint:hover { background: #A5F3FC; color: var(--op-accent-dark); text-decoration: none; }

.cn-dl-section { padding: 48px 0 68px; }
.speed-dl-card {
  background: #fff; border: 1px solid var(--op-border);
  border-radius: var(--op-radius); padding: 30px; margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.dl-card-row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}

.copy-code-block {
  background: #0F172A; color: #F8FAFC; border-radius: 8px; padding: 18px;
  font-family: Consolas, "Courier New", monospace; font-size: 13px;
  position: relative; margin: 16px 0; overflow-x: auto;
}
.copy-btn-abs {
  position: absolute; right: 12px; top: 12px; background: var(--op-accent); color: #fff;
  border: none; padding: 4px 10px; border-radius: 4px; font-size: 12px; cursor: pointer;
}

.cn-article {
  background: #fff; border: 1px solid var(--op-border); border-radius: var(--op-radius);
  padding: 32px; margin-bottom: 24px;
}
.cn-article h1, .cn-article h2 { font-size: 22px; margin-bottom: 12px; color: #0F172A; }
.cn-article h3 { font-size: 17px; margin: 16px 0 8px; color: var(--op-accent-dark); }
.cn-article p { font-size: 15px; color: #334155; margin-bottom: 12px; }
.cn-article ul, .cn-article ol { margin-left: 20px; font-size: 15px; color: #334155; margin-bottom: 14px; }
.cn-article code {
  background: #F1F5F9; padding: 1px 6px; border-radius: 4px; font-size: 13px;
}

footer.cn-footer { background: #0C4A6E; color: #94A3B8; padding: 48px 0 24px; font-size: 13px; }
.cn-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.cn-footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 14px; }
.cn-footer-col ul { list-style: none; }
.cn-footer-col li { margin-bottom: 8px; }
.cn-footer-col a { color: #94A3B8; }
.cn-footer-col a:hover { color: #67E8F9; }
.footer-bar {
  border-top: 1px solid #155E75; padding-top: 16px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

@media (max-width: 850px) {
  .cn-footer-grid { grid-template-columns: 1fr; }
  .cn-links { display: none; }
}
