@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #11223c;
  --muted: #405874;
  --blue: #0746bb;
  --blue-hover: #073997;
  --line: #c6deee;
  --glass: #f6fbffd1;
  --radius: 24px;
  --font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
}

*, ::before, ::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { min-height: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 80% 4%, #d8edfc 0, transparent 48%),
    linear-gradient(145deg, #f2f9ff 4%, #e7f4fc 80%, #e3f1fc 100%);
  color: var(--ink);
  font: 400 16px/1.65 var(--font);
}

h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #165fd6;
  outline-offset: 4px;
}

.frame { width: min(100% - 56px, 1200px); margin-inline: auto; }

.skip {
  position: absolute;
  z-index: 2;
  inset: 12px auto auto 12px;
  padding: 8px 14px;
  border-radius: 8px;
  transform: translateY(-160%);
  color: #fff;
  background: var(--blue);
}

.skip:focus { transform: none; }

.site-header {
  background: #f7fbffe0;
  border-bottom: 1px solid #d8eaf6;
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.2vw, 52px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 18px;
  letter-spacing: -.025em;
}

.brand strong { font-size: 22px; font-weight: 760; }
.brand-mark {
  width: 36px;
  aspect-ratio: 1;
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(166deg, #57c2f1, #9be5ff 53%, #007fcd 54%, #005999);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 18px;
  border-radius: 50%;
  background: #009cdb;
  left: -8px;
  top: 19px;
  transform: rotate(-16deg);
  box-shadow: 17px -7px 0 #117db9;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 36px);
}

.nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-size: 15px;
}

.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 1px;
  right: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 8px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 680;
  color: white;
  background: linear-gradient(#0950c9, #0640b1);
  cursor: pointer;
}

.button:hover { background: var(--blue-hover); }
.header-action { min-height: 42px; padding-inline: 17px; }
.button-outline { border-color: #275ec9; background: #eef7ff66; color: var(--blue); }
.button-outline:hover { background: #def0ff; }
.text-link { color: var(--blue); font-weight: 620; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link span { margin-left: .2em; font-size: 1.2em; }

.hero {
  margin-top: 40px;
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: stretch;
  min-height: 418px;
  overflow: hidden;
  border: 1px solid #fbfdff;
  border-radius: 30px;
  background: #e3f3fd;
}

.hero-image { grid-column: 2; grid-row: 1; position: relative; min-width: 0; }
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  mask-image: linear-gradient(to right, transparent, #000 29%);
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: clamp(28px, 4.1vw, 68px);
}

.hero h1, .page-heading h1 {
  font-size: clamp(36px, 4.3vw, 64px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.hero h1 { white-space: nowrap; }
.hero p { margin-top: 20px; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); }
.hero-actions { margin-top: 26px; display: flex; gap: 24px; align-items: center; }
.section { margin-top: clamp(34px, 5vw, 62px); }
.section h2, .article h2, .category h2 { font-size: clamp(23px, 2.65vw, 35px); letter-spacing: -.04em; }

.glass {
  background: var(--glass);
  border: 1px solid white;
  border-radius: var(--radius);
  box-shadow: 0 8px 26px #28436309;
}

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.plan { padding: clamp(18px, 2.5vw, 32px); display: flex; flex-direction: column; }
.plan:nth-child(2) { background: #e1f1fdd4; }
.plan h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 750; }
.plan-price { margin: 1px 0 14px; line-height: 1.3; }
.money { white-space: nowrap; font-weight: 775; font-variant-numeric: tabular-nums; }
.plan .money { font-size: clamp(30px, 3vw, 42px); letter-spacing: -.05em; }
.currency { margin-right: 2px; font-size: .72em; }
.unit { color: var(--muted); font-size: .72em; font-weight: 520; }
.plan-spec { border-top: 1px solid var(--line); padding: 10px 0 20px; font-size: 15px; }
.plan-spec div { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 3px 0; }
.plan-spec dt { color: var(--muted); }
.plan-spec dd { text-align: right; }
.account-icons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px 9px; }
.account-icons span { display: inline-flex; align-items: center; gap: 4px; }
.account-icons .app-icon { width: 19px; height: 19px; border-radius: 5px; }
.plan .button { width: 100%; margin-top: auto; }
.purchase { padding: 22px clamp(17px, 3vw, 34px); display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.purchase h2 { font-size: 24px; }
.purchase p { margin-top: 4px; color: var(--muted); }
.purchase-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.page-heading { margin-block: clamp(30px, 5vw, 63px) 20px; }
.page-heading h1 { font-size: clamp(33px, 4.1vw, 56px); }
.page-heading p { color: var(--muted); margin-top: 11px; }
.page-heading .button { margin-top: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px; margin-top: 24px; border-radius: 17px; }
.filters a { display: inline-flex; min-height: 42px; align-items: center; padding: 5px 15px; border-radius: 10px; font-size: 15px; }
.filters a[aria-current="true"], .filters a:hover { background: #dceeff; color: var(--blue); }
.category-list { display: grid; gap: 14px; margin-top: 16px; }
.category { padding: 15px clamp(16px, 3vw, 34px) 8px; }
.category h2 { font-size: 23px; margin-bottom: 5px; }
.products { list-style: none; margin: 0; padding: 0; }
.product-row {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.product-row:target { border-radius: 10px; outline: 2px solid #3476d3; outline-offset: -2px; padding-inline: 8px; }
.product-info { display: flex; align-items: center; gap: 11px; min-width: 0; }
.app-icon { flex: none; display: block; width: 44px; height: 44px; border: 1px solid #17375818; border-radius: 12px; object-fit: contain; }
.app-icon-placeholder { display: grid; place-items: center; background: #e0ecfa; color: #30609a; font: 650 13px/1 ui-monospace, monospace; }
.product-row h3 { font-size: 17px; overflow-wrap: anywhere; }
.product-row p { font-size: 14px; color: var(--muted); }
.product-row .money { font-size: 21px; }

.node-locations { border-top: 1px solid var(--line); padding: 16px 0 14px; }
.node-directory-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; }
.node-directory-header h3 { font-size: 17px; }
.node-directory-header p { margin-top: 3px; color: var(--muted); font-size: 14px; }
.node-search { flex: 0 1 320px; min-width: 0; color: var(--muted); font-size: 13px; }
.node-search label { display: block; margin-bottom: 4px; font-weight: 650; }
.node-search-controls { display: flex; align-items: stretch; gap: 6px; }
.node-search input,
.node-search button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdff;
  color: var(--ink);
}
.node-search input { flex: 1; width: 100%; min-width: 0; padding: 6px 12px; font: inherit; font-size: 16px; }
.node-search input:focus-visible { outline: 3px solid #165fd6; outline-offset: 2px; }
.node-search button { padding-inline: 9px; white-space: nowrap; cursor: pointer; }
.node-search-result { color: var(--muted); font-size: 14px; }
.node-search-result:not(:empty) { margin-top: 10px; }
.node-region { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.node-region h4 { margin: 0 0 8px; font-size: 16px; }
.node-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.node-country { min-width: 0; padding: 10px 12px; border-radius: 11px; background: #e8f3fc; }
.node-country h5 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 15px; }
.node-country img { flex: none; width: 22px; height: 16px; object-fit: contain; }
.node-city { margin-top: 3px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.node-city-pending { color: #5b6d82; }

.article { padding: 20px clamp(17px, 3vw, 34px); margin-top: 15px; }
.article h2 { font-size: 24px; margin-bottom: 7px; }
.article p, .article ol { color: var(--muted); }
.article ol { padding-left: 1.4em; }
.article li + li { margin-top: 6px; }
.article .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: 18px; }

.faq { padding: 5px clamp(16px, 3vw, 35px); margin-top: 24px; }
.faq details { padding: 0; scroll-margin-top: 20px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
  list-style: none;
  cursor: pointer;
  font-weight: 690;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  border: solid var(--blue);
  border-width: 0 2px 2px 0;
  flex: 0 0 8px;
  height: 8px;
  margin-right: 4px;
  transform: rotate(45deg);
}

.faq details[open] summary::after { transform: rotate(225deg); }
.answer { color: var(--muted); padding-bottom: 17px; }
.answer .text-link, .copy-button { display: inline-flex; margin-top: 8px; }
.copy-message:empty { display: none; }

.site-footer { margin-top: clamp(42px, 6vw, 76px); border-top: 1px solid #d3e6f3; padding-block: 20px 26px; font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 18px; }
.site-footer a { color: var(--blue); }

@media (max-width: 1020px) and (min-width: 701px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 364px; }
  .hero-copy { padding-inline: 28px 0; }
}

@media (max-width: 700px) {
  .frame {
    --left-gutter: max(16px, env(safe-area-inset-left));
    --right-gutter: max(16px, env(safe-area-inset-right));
    width: calc(100% - var(--left-gutter) - var(--right-gutter));
    margin-left: var(--left-gutter);
    margin-right: var(--right-gutter);
  }
  .site-header { padding-top: env(safe-area-inset-top); }
  .site-footer { padding-bottom: max(26px, env(safe-area-inset-bottom)); }
  .header-inner { flex-wrap: wrap; gap: 0 12px; padding-block: 9px 3px; }
  .brand { min-height: 44px; font-size: 16px; }
  .brand strong { font-size: 20px; }
  .brand-mark { width: 28px; }
  .brand-mark::after { top: 15px; left: -12px; }
  .header-action { margin-left: auto; min-height: 44px; padding-inline: 12px; font-size: 13px; }
  .nav { order: 1; flex-basis: 100%; justify-content: space-between; margin-left: 0; gap: 8px; }
  .nav a { font-size: 14px; }
  .hero { display: flex; flex-direction: column; margin-top: 20px; min-height: 0; border-radius: 22px; overflow: visible; background: transparent; border: 0; }
  .hero-copy { order: -1; padding: 2px 3px 18px; align-self: stretch; }
  .hero h1 { font-size: clamp(31px, 8.65vw, 52px); }
  .hero p { margin-top: 13px; }
  .hero-actions { margin-top: 16px; flex-direction: column; align-items: stretch; gap: 4px; }
  .hero-actions .text-link { display: grid; place-content: center; grid-auto-flow: column; gap: 4px; min-height: 44px; }
  .hero-image { aspect-ratio: 2 / 1; border-radius: 18px; overflow: hidden; }
  .hero-image img { mask-image: none; object-position: center 56%; }
  .plan-grid { grid-template-columns: 1fr; gap: 11px; margin-top: 10px; }
  .purchase { align-items: stretch; flex-direction: column; gap: 12px; }
  .purchase-actions .button { flex: 1 1 auto; }
  .filters a { min-height: 44px; padding-inline: 10px; }
  .product-row { gap: 8px; }
  .product-info { gap: 8px; }
  .answer .text-link { align-items: center; min-height: 44px; }
  .footer-inner { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
