:root {
  color-scheme: light;
  --ink: #192438; --muted: #53637b; --light: #edf2f8; --line: #dbe4ef;
  --canvas: #f4f7fb; --white: #fff; --blue: #2456e8; --dark-blue:#1a42bf;
  --mint:#76efc3; --navy:#101f3d; --radius: 19px;
  font: 15px/1.55 "Inter","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  font-variant-numeric: tabular-nums;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--canvas); color: var(--ink) }
a { color: inherit; text-decoration: none }
button, input, select { font: inherit }
button { cursor: pointer }
button:disabled { cursor: default; opacity: .55 }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #617fff; outline-offset: 3px }
h1,h2,h3,p { margin: 0 }
[hidden] { display: none !important }
.wrap { width: min(1240px, calc(100% - 72px)); margin: 0 auto }
.section { padding-top: 48px; scroll-margin-top: 20px }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap }
.skip:focus { display: block; padding: 10px 24px; background: white }
.top { background: #fff; border-bottom: 1px solid var(--line) }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 67px; gap: 16px }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.04em; width: max-content; font-size: 18px; white-space: nowrap }
.brand-mark { width: 27px; height: 27px; border-radius: 8px; background: var(--blue); position: relative }
.brand-mark::before,.brand-mark::after { content: ""; position: absolute; left: 6px; right: 6px; height: 6px; border-radius: 2px; border: 1px solid #fff; background: radial-gradient(circle at 3px 2px,#a3ffe0 0 1px,transparent 1.3px) }
.brand-mark::before { top: 6px }
.brand-mark::after { top: 14px }
.nav nav { display: flex; gap: 34px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 650 }
.nav nav a:hover,.text-link:hover,.quiet:hover { color: var(--dark-blue); text-decoration: underline; text-underline-offset: 3px }
.nav-compare { justify-self: end }
.nav-compare span { background: #eef3ff; color: #2249c0; display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 100px; font-size: 12px }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; min-height: 40px; padding: 0 15px; font-weight: 700; font-size: 14px; white-space: nowrap }
.outline { background: #fff; border: 1px solid var(--line); color: var(--ink) }
.outline:hover:not(:disabled) { border-color: #9cb4fb; color: var(--dark-blue) }
.primary { border: 1px solid var(--blue); background: var(--blue); color: white; box-shadow: 0 5px 10px #214fe01c }
.primary:hover:not(:disabled) { background: var(--dark-blue); border-color: var(--dark-blue) }
.hero { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 77% 5%,#e1eaff 0,transparent 58%),linear-gradient(125deg,#f9fbff,#eef4fc) }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px,6vw,96px); align-items: center; padding-block: 44px }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #2549a3; font-size: 12px; font-weight: 800; letter-spacing: .07em; border: 1px solid #cfdbf7; padding: 5px 11px; border-radius: 40px; background: #fbfcffb0 }
.eyebrow span,.snapshot i { width: 7px; height: 7px; border-radius: 50%; background: #3f65eb }
h1 { font-size: clamp(46px,5vw,73px); line-height: 1.17; letter-spacing: -.036em; font-weight: 900; margin: 17px 0 15px }
h1 span { color: #2453d7 }
h1 b { color: #2453d7 }
.lead { color: #465774; max-width: 34em; line-height: 1.9; font-size: 15px }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 24px }
.hero-actions .button { min-height: 45px; padding-inline: 18px }
.text-link { color: #284ba8; font-weight: 750; font-size: 14px }
.text-link span { padding-left: 2px }
.signal { color: #fff; padding: 22px 24px 17px; border: 1px solid #273d66; border-radius: 20px; background: radial-gradient(ellipse at 100% 0%, #284881, transparent 70%),linear-gradient(150deg,#16294c,#101c35); box-shadow: 0 18px 38px #16306228 }
.signal-top,.signal-foot { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: #bbcae6; font-size: 11px }
.signal-top span:first-child { color: #b2f7df; font-weight: 750 }
.signal-top i { background: var(--mint); display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; box-shadow: 0 0 9px #7cf6cb88 }
.signal-title { font-size: 24px; margin-top: 15px; font-weight: 800; letter-spacing: -.035em }
.signal-note { color: #b9c9e3; margin-top: 2px; font-size: 12px }
.signal-rows { display: grid; gap: 12px; margin: 15px 0 17px }
.signal-row { display: grid; grid-template-columns: 74px 1fr 57px; align-items: center; gap: 9px; font-size: 12px; color: #d9e4fa }
.signal-row strong { text-align: right; color: #f5f9ff; font-size: 13px }
.signal-row progress { width: 100%; height: 6px; appearance: none; border: 0; background: #374b6d; border-radius: 20px }
.signal-row progress::-webkit-progress-bar { background: #374b6d; border-radius: 20px }
.signal-row progress::-webkit-progress-value { background: #8ba8ff; border-radius: 20px }
.signal-row progress::-moz-progress-bar { background: #8ba8ff; border-radius: 20px }
.signal-row:last-child progress::-webkit-progress-value { background: var(--mint) }
.signal-row:last-child progress::-moz-progress-bar { background: var(--mint) }
.signal-foot { border-top: 1px solid #415474; padding-top: 12px }
.signal-foot a { color: #e0eaff }
.signal-foot a:hover { text-decoration: underline }
.section-heading { display: flex; gap: 14px; align-items: end; justify-content: space-between; margin-bottom: 15px }
.section-heading h2 { font-size: clamp(24px,3vw,33px); line-height: 1.25; letter-spacing: -.055em }
.section-heading p { margin-top: 5px; color: var(--muted); font-size: 14px }
.snapshot { border: 1px solid #d8e4f6; border-radius: 30px; background: #f9fbff; padding: 5px 10px; font-size: 11px; font-weight: 750; color:#415684; display:inline-flex; align-items: center; gap: 5px; white-space:nowrap }
.snapshot i { width: 6px; height: 6px }
.catalog,.network-card,.guides article,.cost-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 18px #1e36750a }
.presets { display: flex; gap: 4px; padding: 13px 17px; border-bottom: 1px solid var(--light); overflow-x: auto }
.presets button,.carrier-switch button { color: var(--muted); border: 1px solid transparent; background: transparent; min-height: 34px; padding: 4px 13px; border-radius: 8px; white-space: nowrap; font-size: 13px; font-weight: 750 }
.presets button:hover,.carrier-switch button:hover { color: var(--dark-blue) }
.presets button[aria-pressed=true],.carrier-switch button[aria-pressed=true] { background: #eaf0ff; border-color: #d9e4ff; color: #1d43b1 }
#filters { padding: 14px 18px 11px }
.filter-top { display: flex; gap: 10px }
.search { min-width: 0; flex: 1; position: relative }
.search-icon { display: block; width: 12px; height: 12px; border: 1.6px solid #59708f; border-radius: 50%; position: absolute; top: 13px; left: 13px; pointer-events: none }
.search-icon::after { content: ""; position: absolute; bottom: -3px; right: -4px; width: 5px; height: 1.6px; background: #59708f; transform: rotate(45deg) }
input, select { height: 39px; border: 1px solid var(--line); border-radius: 8px; color: #293a56; background: #fcfdff; width: 100%; padding: 0 9px; font-size: 13px }
input[type=search] { padding-left: 36px }
input::placeholder { color: #5a6a83 }
.sort { width: 155px }
.filter-toggle { display: none }
.filter-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 11px }
.filter-grid label,.cost-inputs label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted) }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 6px 18px 9px; font-size: 13px; color: var(--muted) }
.result-bar p strong { color: var(--ink) }
.result-bar > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: end }
.quiet { appearance: none; border: none; padding: 4px 0; background: transparent; color: #244bb1; font-size: 13px; font-weight: 750 }
.catalog-table { border-collapse: collapse; width: 100%; text-align: left }
.catalog-table th { background: #f4f7fd; color: #4d5d76; font-size: 12px; font-weight: 750; white-space: nowrap; padding: 10px 10px; border-top: 1px solid var(--light) }
.catalog-table th:first-child,.catalog-table td:first-child { padding-left: 18px }
.catalog-table th:last-child,.catalog-table td:last-child { padding-right: 18px }
.catalog-table td { border-top: 1px solid var(--light); padding: 12px 10px; font-size: 13px }
.catalog-table tr:hover td { background: #f9fbff }
.catalog-table p { overflow-wrap: anywhere }
.plan-name { display: grid; grid-template-columns: 33px 1fr; align-items:center; gap: 9px }
.vendor-logo { display: grid; place-items: center; border-radius: 9px; width: 33px; height: 33px; color: #184dbd; background: #edf2ff; font-size: 12px; font-weight: 900 }
.logo-do { color:#1458ae; background:#e8f3fd }
.logo-aws { color:#8a4500; background:#fff2d9 }
.logo-linode { color:#1e6747; background:#e7f6ee }
.plan-name strong { font-size: 13px }
.sub { display: block; color: var(--muted); font-size: 11px; overflow-wrap: anywhere }
.tag { display: inline-block; margin-top: 3px; font-size: 11px; font-weight: 700; border-radius: 5px; padding: 1px 6px; background: #edf4fd; color: #284677 }
.tag-china { background:#e6f7f0; color:#18654c }
.amount { font-weight: 850; font-size: 17px; color: #182e6a; white-space: nowrap }
.period { font-size: 11px; color: #526787 }
.actions { display: flex; gap: 7px; align-items: center; white-space: nowrap }
.small-button { min-height: 33px; padding: 0 8px; font-size: 12px }
.small-button[aria-pressed=true] { background: #eaf0ff; color: #1d43b1; border-color: #c3d2fa }
.actions a { color: #244bb1; font-weight:750; font-size: 12px }
.actions a:hover { text-decoration: underline }
.section-note { padding: 9px 2px 0; color: var(--muted); font-size: 12px }
.empty { padding: 31px 18px; text-align: center; color: var(--muted) }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; border-top: 1px solid var(--light); color: var(--muted); font-size: 12px }
.pagination:empty { display: none }
.network-card { padding: 19px 22px }
.network-head { display: flex; justify-content: space-between; gap: 12px; align-items: start }
.network-head h3,.guides h3,.cost-card h3 { font-size: 18px; letter-spacing: -.033em }
.network-head p,.guides p,.cost-card p { color: var(--muted); font-size: 14px; margin-top: 4px }
.carrier-switch { display: inline-flex; gap: 2px; padding: 3px; background: #f6f8fb; border: 1px solid var(--line); border-radius: 9px }
.carrier-switch button { padding-inline: 10px; min-height: 29px }
.network-chart { display: grid; gap: 10px; padding: 17px 0 }
.network-row { display: grid; grid-template-columns: 142px minmax(0,1fr) 65px; gap: 10px; align-items: center }
.network-row strong { font-size: 13px }
.network-row p:last-child { text-align: right; font-size: 14px; font-weight: 750 }
.network-row progress { width: 100%; height: 12px; appearance: none; border: 0; background: #edf2f8; border-radius: 30px }
.network-row progress::-webkit-progress-bar { background: #edf2f8; border-radius: 30px }
.network-row progress::-webkit-progress-value { background: #627fe5; border-radius: 30px }
.network-row progress::-moz-progress-bar { background: #627fe5; border-radius: 30px }
.network-row:last-child progress::-webkit-progress-value { background: #27987b }
.network-row:last-child progress::-moz-progress-bar { background: #27987b }
.route-help { margin-top: 10px }
.route-help p { margin-top: 7px; font-size: 13px; color: var(--muted) }
.measure summary { border-top: 1px solid var(--line); padding-top: 9px; cursor: pointer; color: #2549a3; font-weight: 750; font-size: 13px }
.measure-body p { font-size: 13px; color: var(--muted); margin-top: 9px; max-width: 78ch }
.measure-body a,.compare-scroll a { color: #244bb1; text-decoration: underline; text-underline-offset: 3px }
.measure-table { width: min(100%,680px); border-collapse: collapse; text-align: left; margin-top: 10px; font-size: 13px }
.measure-table caption { text-align: left; color: var(--muted); margin-bottom: 5px }
.measure-table tr > * { padding: 5px; border-bottom: 1px solid var(--line) }
.guides { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px }
.guides article { padding: 17px; display: flex; flex-direction: column; align-items: start }
.guides article .quiet { margin-top: auto; padding-top: 9px }
.guide-icon { background: #eaf0ff; color: #2649af; border-radius: 9px; display: grid; place-items: center; width: 33px; height: 33px; margin-bottom: 8px; font-weight: 850 }
.cost-card { display: grid; grid-template-columns: .9fr 1.35fr; gap: 12px 18px; padding: 17px; margin: 14px 0 48px }
.cost-inputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px }
.cost-inputs select { height: 39px }
.cost-output { grid-column: 1/-1; border-radius: 9px; padding: 9px 11px; background: #eef3ff; color: #29416f; font-size: 13px }
.cost-output strong { color:#2045aa }
footer { background: #fff; border-top: 1px solid var(--line); padding-block: 16px 65px }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 9px; flex-wrap: wrap; font-size: 12px; color: var(--muted) }
.footer-inner .brand { color: var(--ink); font-size: 16px }
.footer-inner > a:last-child { color: #244bb1; font-weight: 750 }
.compare-tray { position: fixed; bottom: 14px; left: 50%; width: max-content; max-width: calc(100vw - 20px); transform: translateX(-50%); z-index: 5; display: flex; gap: 12px; align-items: center; border: 1px solid #d5e0f7; background: #fff; box-shadow: 0 9px 35px #0e234c36; border-radius: 14px; padding: 9px 13px }
.compare-tray p { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; font-size: 13px; margin-right: 7px }
.compare-tray p > span { color: var(--muted); font-size: 11px }
dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; width: min(870px,calc(100% - 20px)); max-height: calc(100dvh - 28px); color: var(--ink); box-shadow: 0 20px 60px #101f3d48 }
dialog::backdrop { background: #112342a0 }
dialog > header { display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-bottom: 12px }
dialog > header p { font-size: 13px; color: var(--muted) }
.compare-scroll { overflow: auto }
.compare-table { border-collapse: collapse; text-align: left; width: 100%; min-width: 475px; font-size: 13px }
.compare-table th,.compare-table td { padding: 8px; border-bottom: 1px solid var(--line) }
.compare-table thead { background: #edf3ff }
.toast { z-index: 10; position: fixed; bottom: 77px; left: 50%; transform: translateX(-50%); background: #162745; color: #fff; width: max-content; max-width: 95%; padding: 7px 11px; border-radius: 8px; font-size: 13px }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 44px) }
  .hero-grid { gap: 26px }
  .catalog-table td { padding-inline: 6px }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 30px) }
  .nav { grid-template-columns: 1fr auto; gap: 7px; min-height: 54px; padding: 8px 0 }
  .nav nav { grid-row: 2; grid-column: 1/-1; justify-content: start; gap: 20px; padding: 3px 0 0; font-size: 12px }
  .brand { font-size: 16px }
  .nav-compare { min-height: 34px }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; padding-block: 27px }
  h1 { font-size: clamp(39px,9.8vw,61px); margin-block: 13px 11px }
  .eyebrow { font-size: 10px }
  .lead { font-size: 13px; line-height: 1.75 }
  .hero-actions { margin-top: 16px; gap: 15px }
  .hero-actions .button { min-height: 39px }
  .signal { padding: 14px 15px 11px; border-radius: 14px }
  .signal-title { font-size: 19px; margin-top: 9px }
  .signal-rows { gap: 7px; margin: 9px 0 11px }
  .signal-foot { padding-top: 7px }
  .section { padding-top: 38px }
  .section-heading { gap: 5px; align-items: start; margin-bottom: 10px }
  .section-heading p { font-size: 12px }
  .snapshot { padding: 3px 6px; font-size: 10px; margin-top: 3px }
  .presets { padding: 9px 7px; gap: 1px }
  .presets button { padding: 3px 7px; min-height: 30px; font-size: 12px }
  #filters { padding: 10px 9px 5px }
  .filter-top { display:grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px }
  .sort { grid-row: 2; width: 145px; grid-column: 1/-1; justify-self: end }
  .sort select { height: 32px }
  .filter-toggle { display: inline-flex; min-height: 39px; padding: 0 10px }
  .filter-grid { display: none; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 7px }
  .filter-grid.is-open { display: grid }
  .result-bar { padding-inline: 9px; font-size: 12px }
  .result-bar .quiet { font-size: 12px }
  .catalog-table,.catalog-table tbody { display: block }
  .catalog-table thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden }
  .catalog-table tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding: 9px 10px; gap: 8px 7px }
  .catalog-table td,.catalog-table td:first-child,.catalog-table td:last-child { border: none; padding: 0; min-width: 0; font-size: 12px }
  .catalog-table td:nth-child(2),.catalog-table td:last-child { text-align: right; align-self: center }
  .catalog-table td:nth-child(4) { text-align: right }
  .actions { justify-content: end }
  .sub { font-size: 10px }
  .network-card { padding: 12px 11px }
  .network-head { flex-wrap: wrap }
  .network-head p { font-size:12px }
  .network-row { grid-template-columns: 105px minmax(0,1fr) 54px; gap: 5px }
  .network-row strong,.network-row p:last-child { font-size: 12px }
  .guides,.cost-card { grid-template-columns: 1fr }
  .cost-inputs { grid-template-columns: 1fr }
  .cost-output { grid-column: auto }
  dialog { padding: 11px }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto } }
