:root {
  color-scheme: light;
  --ink: #101b33;
  --muted: #4d5d76;
  --blue: #244bdc;
  --blue-dark: #1637bf;
  --blue-pale: #edf2ff;
  --line: #dce3ef;
  --paper: #fff;
  --wash: #f6f8fc;
  --wrap: 75rem;
  font-family: 'Aptos', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { background: #c7d4ff; color: #172d8a; }
body { margin: 0; background: var(--wash); color: var(--ink); font-size: 1rem; line-height: 1.55; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; left: 1rem; top: 1rem; z-index: 2; padding: 0.6rem 1rem; background: var(--paper); }
.wrap { max-width: calc(var(--wrap) + 5rem); margin-inline: auto; padding-inline: 2.5rem; }
.site-header { background: #f8faff; border-bottom: 1px solid #e1e7f5; }
.header-inner { min-height: 4.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.23rem; line-height: 1; font-weight: 750; letter-spacing: -.035em; white-space: nowrap; }
.brand img { border-radius: 8px; }
.brand-suffix { color: var(--blue); font-weight: 650; }
.site-header nav { display: flex; align-items: center; gap: 1.6rem; }
.site-header nav a { color: var(--muted); font-size: .9rem; font-weight: 640; text-decoration: none; white-space: nowrap; }
.site-header nav a:hover, .site-header nav .nav-active { color: var(--blue-dark); }
.intro { background: #f8faff; border-bottom: 1px solid var(--line); padding: 3.5rem 0 3.75rem; }
.intro-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, .86fr); align-items: center; gap: 3rem; }
h1 { margin: 0; font-size: 3.48rem; line-height: 1.13; letter-spacing: -.038em; font-weight: 760; }
h1 span { color: var(--blue); }
.intro-copy p { max-width: 33rem; margin: 1rem 0 1.5rem; color: var(--muted); line-height: 1.7; }
.primary { display: inline-flex; align-items: center; justify-content: center; min-height: 2.65rem; padding: .45rem .95rem; background: var(--blue); color: #fff; text-decoration: none; border: 1px solid transparent; border-radius: .55rem; font-size: .9rem; font-weight: 680; }
.primary:hover { background: var(--blue-dark); }
.map {
  --map-connector: #7897ff;
  display: grid;
  grid-template-columns: minmax(7.5rem, .85fr) minmax(2.2rem, .5fr) minmax(10.2rem, 1.12fr);
  align-items: center;
  min-height: 15.8rem;
  padding: 1.6rem 1.65rem;
  border-radius: 1rem;
  background-color: #152763;
  background-image: radial-gradient(circle, #91aaff42 .7px, transparent 1px);
  background-size: 15px 15px;
  color: #f1f5ff;
}
.map-root, .map-destinations a { position: relative; z-index: 1; display: flex; align-items: center; gap: .65rem; padding: .65rem .7rem; border-radius: .5rem; background: #203577; border: 1px solid #627ec5; min-height: 2.9rem; font-size: .875rem; font-weight: 640; text-decoration: none; white-space: nowrap; }
.map-root { justify-content: center; min-height: 3.4rem; color: #f9fbff; background: #2843a1; border-color: #94abff; }
.map-destinations { display: grid; gap: .92rem; }
.map-destinations a:hover, .map-destinations a.map-active { background: #3151b4; border-color: #c0ceff; }
.map-destinations a:focus-visible { outline-color: #c8d7ff; }
.map-terminal { position: relative; width: .96rem; height: .74rem; flex: none; border: 1px solid #c5d4ff; border-radius: 2px; }
.map-terminal::after { content: ''; position: absolute; right: 2px; bottom: 2px; width: .28rem; height: 1px; background: #dbe5ff; }
.map-terminal::before { content: ''; position: absolute; left: 2px; top: 3px; width: 3px; height: 3px; border-top: 1px solid #dbe5ff; border-right: 1px solid #dbe5ff; transform: rotate(45deg); }
.map-symbol { width: .67rem; height: .67rem; flex: none; border: 1.5px solid #a9bcff; }
.symbol-plan { border-radius: 50%; }
.symbol-tool { border-radius: 2px; }
.symbol-gateway { transform: rotate(45deg) scale(.85); border-radius: 2px; }
.map-lines { position: relative; height: 7.65rem; }
.map-lines::before { content: ''; position: absolute; left: 0; top: 50%; right: 0; border-top: 1px solid var(--map-connector); }
.map-lines i { position: absolute; left: 49%; right: 0; height: 50%; border-left: 1px solid var(--map-connector); }
.map-lines i:first-child { top: 0; border-top: 1px solid var(--map-connector); border-radius: .55rem 0 0; }
.map-lines i:nth-child(2) { bottom: 0; border-bottom: 1px solid var(--map-connector); border-radius: 0 0 0 .55rem; }
.map-lines i:last-child { top: calc(50% - 2px); left: calc(49% - 2px); right: auto; height: 5px; width: 5px; border: 0; border-radius: 50%; background: #b5c8ff; }
.catalog { padding-top: 2.3rem; scroll-margin-top: 1rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
h2 { margin: 0; font-size: 1.58rem; letter-spacing: -.025em; line-height: 1.25; }
.stamp { margin: 0; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.filters { display: grid; grid-template-columns: minmax(0,1fr) minmax(10rem, .28fr) minmax(10rem, .28fr); gap: .65rem; }
.search-box, .select-box { position: relative; min-width: 0; }
.search-box input, .select-box select { display: block; width: 100%; min-height: 2.9rem; padding: .6rem .8rem; background: var(--paper); border: 1px solid #cad5e7; border-radius: .6rem; color: var(--ink); font-size: .95rem; }
.search-box input { padding-inline-start: 2.45rem; caret-color: var(--blue); }
.search-box input::placeholder { color: var(--muted); }
.search-icon { position: absolute; left: 1rem; top: .92rem; width: .77rem; height: .77rem; border-radius: 50%; border: 1.5px solid var(--muted); pointer-events: none; }
.search-icon::after { content: ''; position: absolute; bottom: -2px; right: -4px; width: 5px; height: 1.5px; border-radius: 5px; background: var(--muted); transform: rotate(45deg); }
.select-box select { appearance: none; padding-right: 1.75rem; }
.select-box::after { content: ''; position: absolute; right: .9rem; top: 1.15rem; width: .38rem; height: .38rem; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.results-head { margin-top: 1rem; margin-bottom: .65rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .7rem; }
.tabs, .result-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .3rem; }
.tabs button { border: 1px solid transparent; background: transparent; color: var(--muted); font-size: .875rem; font-weight: 675; padding: .32rem .72rem; min-height: 2.25rem; white-space: nowrap; border-radius: .42rem; }
.tabs button:hover { background: #e9eef8; color: var(--ink); }
.tabs button[aria-pressed='true'] { background: #e5edff; color: var(--blue-dark); border-color: #d2dfff; }
.result-meta { gap: .7rem; }
.result-meta p, .text-button { margin: 0; font-size: .875rem; }
.result-meta p { color: var(--muted); font-variant-numeric: tabular-nums; }
.text-button { color: var(--blue-dark); padding: .35rem .1rem; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .17em; }
.directory { background: var(--paper); border: 1px solid var(--line); border-radius: .85rem; }
.column-head, .service-item { display: grid; grid-template-columns: minmax(15rem, 1.6fr) minmax(11rem, 1.04fr) minmax(8.75rem, .72fr) minmax(5.5rem, .35fr); gap: 1.1rem; padding-inline: 1.2rem; }
.column-head { color: var(--muted); background: #f1f4fa; border-radius: .8rem .8rem 0 0; border-bottom: 1px solid var(--line); font-size: .875rem; font-weight: 650; padding: .55rem 1.2rem; }
.service-list { margin: 0; padding: 0; list-style: none; }
.service-item { align-items: start; padding-block: .95rem; }
.service-item + .service-item { border-top: 1px solid #e7ecf5; }
.service-item[hidden] + .service-item:not([hidden]) { border-top-color: #e7ecf5; }
.service-item:last-child { border-radius: 0 0 .8rem .8rem; }
.service-item:hover { background: #fbfcff; }
.service-identity { display: flex; gap: .72rem; align-items: start; min-width: 0; }
.monogram { align-self: start; width: 2.45rem; height: 2.45rem; flex: none; display: grid; place-items: center; background: var(--blue-pale); color: #223eab; border-radius: .6rem; font-size: .84rem; line-height: 1; font-weight: 750; letter-spacing: -.025em; }
.service-item[data-category='tool'] .monogram { background: #eaf0f9; color: #244266; }
.service-item[data-category='gateway'] .monogram { background: #e4f4f1; color: #10594f; }
.service-identity h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .22rem .5rem; margin: 0 0 .19rem; font-size: 1rem; line-height: 1.35; }
.type-label { color: var(--muted); font-size: .78rem; font-weight: 580; white-space: nowrap; }
.service-identity p, .protocols, .price-note { color: var(--muted); font-size: .875rem; margin: 0; overflow-wrap: anywhere; }
.tool-tags { display: flex; flex-wrap: wrap; gap: .28rem; margin: 0 0 .28rem; padding: 0; list-style: none; }
.tool-tags li { color: #284686; background: #edf3fe; padding: .12rem .39rem; border-radius: .32rem; font-size: .79rem; line-height: 1.4; }
.price { display: block; color: var(--ink); font-weight: 720; font-size: 1rem; line-height: 1.35; margin: 0 0 .2rem; font-variant-numeric: tabular-nums; }
.service-links { display: flex; flex-direction: column; align-items: start; gap: .28rem; font-size: .875rem; color: var(--blue-dark); }
.service-links a { text-decoration-color: #a3b5f6; }
.service-links a:hover { text-decoration-color: var(--blue-dark); }
.empty { text-align: center; padding: 2.8rem 1rem; }
.empty h3 { margin: 0; font-size: 1.16rem; }
.empty p { color: var(--muted); margin: .4rem 0 .95rem; }
.method { display: grid; grid-template-columns: minmax(10rem, .36fr) 1fr; gap: 1rem 2rem; padding-block: 3rem; }
.method p { margin: 0 0 .45rem; color: var(--muted); max-width: 63ch; }
.site-footer { background: #f8faff; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 4.1rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 61rem) {
  .wrap { padding-inline: 1.5rem; }
  .intro-inner { gap: 1.45rem; }
  h1 { font-size: 2.86rem; }
  .map { padding-inline: 1rem; }
  .column-head, .service-item { grid-template-columns: minmax(11rem,1.45fr) minmax(9rem,.95fr) minmax(7rem,.62fr) minmax(4.5rem,.32fr); gap: .75rem; padding-inline: 1rem; }
}
@media (max-width: 46rem) {
  .wrap { padding-inline: 1rem; }
  .header-inner { min-height: 3.6rem; }
  .site-header nav { gap: .8rem; }
  .site-header nav a { font-size: .86rem; }
  .intro { padding: 2.15rem 0 1.75rem; }
  .intro-inner { grid-template-columns: minmax(0,1fr); gap: 1.4rem; }
  h1 { font-size: 2.45rem; }
  .intro-copy p { margin-block: .7rem 1rem; }
  .map { min-height: 12rem; max-width: 34rem; padding: 1rem; }
  .catalog { padding-top: 1.7rem; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
  .search-box { grid-column: 1 / -1; }
  .column-head { display: none; }
  .service-item { grid-template-columns: minmax(0, 1fr) minmax(5.5rem, .42fr); padding-block: .9rem; gap: .65rem .7rem; }
  .service-identity { grid-area: 1 / 1; }
  .access { grid-area: 2 / 1; padding-left: 3.17rem; }
  .pricing { grid-area: 1 / 2; }
  .service-links { grid-area: 2 / 2; }
  .method { grid-template-columns: minmax(0,1fr); padding-block: 2.3rem; }
}
@media (max-width: 24rem) {
  .site-header nav { gap: .52rem; }
  .brand { gap: .4rem; }
  .brand img { width: 1.65rem; height: 1.65rem; }
  h1 { font-size: 2.13rem; }
  .map { grid-template-columns: minmax(6.65rem,.82fr) minmax(.9rem,.35fr) minmax(8.6rem,1fr); padding-inline: .65rem; }
  .map-root, .map-destinations a { padding-inline: .48rem; font-size: .8rem; gap: .43rem; }
  .service-identity { gap: .47rem; }
  .service-item { padding-inline: .7rem; }
  .access { padding-left: 2.92rem; }
  .tabs button { padding-inline: .46rem; }
}

.guide-index { padding-top: 2rem; scroll-margin-top: 1rem; }
.guide-index h2 { margin-bottom: .8rem; }
.guide-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; padding: 0; margin: 0; list-style: none; }
.guide-links li { min-width: 0; }
.guide-links a { display: block; height: 100%; padding: .7rem .82rem; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: .6rem; }
.guide-links a:hover { border-color: #98acf0; background: #fbfcff; }
.guide-links strong { display: block; color: var(--blue-dark); line-height: 1.35; }
.guide-links span { display: block; color: var(--muted); font-size: .875rem; margin-top: .22rem; overflow-wrap: anywhere; }
.article a { color: var(--blue-dark); }
.article { max-width: 65rem; padding-block: 2.7rem 3rem; }
.article-intro { padding-bottom: 1.45rem; border-bottom: 1px solid var(--line); }
.article-intro h1 { font-size: 2.95rem; line-height: 1.16; max-width: 22em; overflow-wrap: anywhere; text-wrap: balance; }
.article-trail { color: var(--muted); font-size: .9rem; margin: 0 0 .8rem; }
.article-trail a { text-decoration-color: #a3b5f6; }
.article-lead { font-size: 1.07rem; color: var(--muted); max-width: 44rem; margin: .95rem 0; }
.article-section { margin-top: 1.75rem; }
.article-section h2 { margin-bottom: .7rem; }
.article-section p { max-width: 48rem; margin: .65rem 0 0; }
.table-hint { display: none; color: var(--muted); font-size: .875rem; }
.comparison-shell { overflow-x: auto; border-radius: .75rem; border: 1px solid var(--line); background: var(--paper); }
.comparison { width: 100%; border-collapse: collapse; text-align: start; }
.comparison th, .comparison td { padding: .65rem .75rem; border-bottom: 1px solid var(--line); font-size: .94rem; vertical-align: top; text-align: start; }
.comparison thead { background: #edf2fb; }
.comparison th[scope='row'] { min-width: 8.3rem; }
.comparison tbody tr:last-child > * { border-bottom: 0; }
.source-list { padding-inline-start: 1.4rem; }
.source-list li + li { margin-top: .32rem; }
.change-list { list-style: none; padding: 0; margin: 1.15rem 0; }
.change-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .7rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.change-list time { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.change-list h2 { font-size: 1.16rem; }
.change-list p { margin: .3rem 0 0; }
@media (max-width: 50rem) {
  .guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 38rem) {
  .article { padding-block: 1.8rem 2.4rem; }
  .article-intro h1 { font-size: 2.05rem; }
  .comparison { min-width: 34rem; }
  .article-section .table-hint { display: block; margin: 0 0 .45rem; }
  .comparison tr > :first-child { position: sticky; left: 0; background: var(--paper); }
  .comparison thead tr > :first-child { background: #edf2fb; }
  .change-list li { grid-template-columns: 1fr; gap: .3rem; }
}
@media (max-width: 23rem) {
  .guide-links { grid-template-columns: 1fr; }
}
