/* Broadband landing page (/broadband). Standalone stylesheet: the page does not
   load style.css, so this file owns its reset and all page tokens. */

:root {
  --bb-ink: #0b1c31;
  --bb-ink-soft: #24445f;
  --bb-muted: #5a7089;
  --bb-line: #dfe9f3;
  --bb-bg: #f4f8fc;
  --bb-navy: #071a30;
  --bb-navy-2: #0b3c67;
  --bb-blue: #0866e9;
  --bb-blue-dark: #0753be;
  --bb-cyan: #17b3c9;
  --bb-radius: 22px;
  --bb-shadow-sm: 0 10px 26px rgba(12, 39, 70, 0.05);
  --bb-shadow: 0 22px 55px rgba(12, 39, 70, 0.09);
  --bb-max: 1180px;
  --bb-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui,
    -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bb-ink);
  background: var(--bb-bg);
  font-family: var(--bb-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
p,
ol,
ul,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
summary {
  font-family: inherit;
}

::selection {
  color: #fff;
  background: var(--bb-blue);
}

.bb-shell {
  width: min(var(--bb-max), calc(100% - 48px));
  margin-inline: auto;
}

.bb-skip {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  color: #fff;
  border-radius: 12px;
  background: var(--bb-blue);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.bb-skip:focus-visible {
  top: 16px;
}

:focus-visible {
  outline: 2px solid #0866e9;
  outline-offset: 3px;
}

/* ---------- header ---------- */

.bb-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.bb-header.is-stuck {
  border-bottom-color: var(--bb-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(12, 39, 70, 0.07);
}

.bb-header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 26px;
}

.bb-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.bb-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(140deg, #0b63d6, #17b3c9);
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(11, 99, 214, 0.28);
}

.bb-brand-text {
  display: grid;
  line-height: 1.2;
}

.bb-brand-text strong {
  color: var(--bb-ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.bb-brand-text em {
  color: var(--bb-muted);
  font-size: 11.5px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.bb-nav {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bb-nav::-webkit-scrollbar {
  display: none;
}

.bb-nav a {
  position: relative;
  padding: 8px 11px;
  color: #40597a;
  border-radius: 9px;
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.bb-nav a:hover {
  color: var(--bb-blue);
  background: #f0f6fd;
}

.bb-nav a.is-active {
  color: var(--bb-blue);
  font-weight: 700;
}

.bb-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 2px;
  left: 11px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bb-blue), var(--bb-cyan));
}

.bb-header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
}

.bb-text-link {
  color: var(--bb-muted);
  font-size: 13.5px;
  text-decoration: none;
}

.bb-text-link:hover {
  color: var(--bb-blue);
}

/* ---------- buttons ---------- */

/* Buttons follow the site's own controls (style.css .page-share-dialog .btn):
   flat fill, 6px radius, no gradient and no glow, hover darkens and lifts 2px.
   Secondary buttons are white with a hairline border and turn blue on hover. */
.bb-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bb-btn-sm {
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
}

.bb-btn-primary {
  color: #fff;
  background: #0866e9;
}

.bb-btn-primary:hover {
  background: #0753be;
  transform: translateY(-2px);
}

/* On the navy hero the white button reads better and mirrors .btn.secondary. */
.bb-hero .bb-btn-primary,
.bb-btn-light {
  color: #0b1c31;
  background: #fff;
}

.bb-hero .bb-btn-primary:hover,
.bb-btn-light:hover {
  background: #e9eef6;
  transform: translateY(-2px);
}

.bb-btn-ghost,
.bb-btn-outline {
  color: #e6f0fb;
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
}

.bb-btn-ghost:hover,
.bb-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

/* Header action: quiet, hairline border, blue on hover (site secondary). */
.bb-btn-quiet {
  color: #1d2430;
  border-color: #dfe3e9;
  background: #fff;
}

.bb-btn-quiet:hover {
  color: #0866e9;
  border-color: #0866e9;
}

/* ---------- hero ---------- */

.bb-hero {
  position: relative;
  padding: 78px 0 128px;
  overflow: hidden;
  color: #eaf3ff;
  background: linear-gradient(158deg, #06172a 0%, #0a2b4e 46%, #0b3b64 100%);
  isolation: isolate;
}

.bb-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 78% at 80% 14%, rgba(23, 179, 201, 0.3), transparent 62%),
    radial-gradient(52% 72% at 10% 88%, rgba(11, 99, 214, 0.34), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 76px);
  mask-image: radial-gradient(125% 105% at 50% 0%, #000 32%, transparent 100%);
}

.bb-hero-bg::before,
.bb-hero-bg::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 150%;
  background: linear-gradient(to bottom, transparent, rgba(126, 220, 255, 0.5), transparent);
}

.bb-hero-bg::before {
  top: -25%;
  right: 24%;
  transform: rotate(17deg);
}

.bb-hero-bg::after {
  top: -15%;
  right: 41%;
  height: 130%;
  opacity: 0.5;
  transform: rotate(17deg);
}

.bb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 56px;
  align-items: center;
}

.bb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--bb-blue);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bb-hero .bb-eyebrow,
.bb-eyebrow-light {
  color: #8ed8ff;
}

.bb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bb-cyan);
  box-shadow: 0 0 0 0 rgba(23, 179, 201, 0.55);
  animation: bb-pulse 2.4s ease-out infinite;
}

.bb-hero h1 {
  max-width: 15em;
  margin: 22px 0 0;
  font-size: clamp(38px, 5.1vw, 62px);
  font-weight: 850;
  line-height: 1.07;
  letter-spacing: -0.05em;
}

.bb-hl {
  display: block;
  margin-top: 8px;
  color: transparent;
  background: linear-gradient(96deg, #7fd8ff 8%, #cbe9ff 52%, #a8c1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.bb-hero-lead {
  max-width: 36em;
  margin-top: 24px;
  color: rgba(224, 239, 255, 0.79);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.95;
}

.bb-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.bb-hero-chips li {
  padding: 8px 13px;
  color: #cfe4f9;
  border: 1px solid rgba(140, 200, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.bb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.bb-hero-note {
  margin-top: 18px;
  color: rgba(200, 222, 244, 0.6);
  font-size: 13px;
}

.bb-hero-panel {
  position: relative;
  padding: 28px 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 34px 66px rgba(2, 14, 30, 0.42);
  backdrop-filter: blur(9px);
}

.bb-panel-eyebrow {
  color: #7fd8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.bb-panel-title {
  margin-top: 10px;
  color: #f4faff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bb-checklist {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.bb-checklist li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bb-checklist li:first-child {
  border-top: 0;
}

.bb-check-index {
  color: #6cc9f5;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bb-checklist strong {
  display: block;
  color: #eef7ff;
  font-size: 14.5px;
  font-weight: 700;
}

.bb-checklist p {
  margin-top: 5px;
  color: rgba(206, 228, 248, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.bb-panel-foot {
  margin-top: 6px;
  padding-top: 16px;
  color: rgba(190, 216, 240, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
}

/* ---------- answer-first block ---------- */

.bb-answers {
  position: relative;
  z-index: 2;
  margin-top: -76px;
}

.bb-answers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bb-answer {
  position: relative;
  padding: 24px 24px 26px;
  overflow: hidden;
  border: 1px solid #e3edf7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(10, 38, 70, 0.1);
}

.bb-answer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--bb-blue), var(--bb-cyan));
}

.bb-answer-head {
  display: flex;
  gap: 9px;
  align-items: center;
}

.bb-answer-index {
  color: var(--bb-blue);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.bb-answer-kicker {
  position: relative;
  padding-left: 9px;
  color: #8aa0b6;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.bb-answer-kicker::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b6c8da;
  transform: translateY(-50%);
}

.bb-answer-q {
  margin-top: 11px;
  color: var(--bb-ink);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.5;
}

.bb-answer-a {
  margin-top: 10px;
  color: var(--bb-muted);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- shared section chrome ---------- */

.bb-section {
  padding: 92px 0;
}

.bb-section-alt {
  border-top: 1px solid #e8f0f8;
  border-bottom: 1px solid #e8f0f8;
  background: linear-gradient(180deg, #f9fcff, #f1f7fd);
}

.bb-sec-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.bb-sec-head h2 {
  margin-top: 14px;
  color: var(--bb-ink);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 850;
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.bb-sec-head > p:last-child {
  margin-top: 14px;
  color: var(--bb-muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.bb-more {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding-bottom: 2px;
  color: var(--bb-blue);
  border-bottom: 1px solid rgba(11, 99, 214, 0.24);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.bb-more:hover {
  color: var(--bb-blue-dark);
  border-bottom-color: var(--bb-blue-dark);
}

.bb-footnote {
  margin-top: 26px;
  padding: 16px 20px;
  color: #556c84;
  border: 1px dashed #d3e2f0;
  border-radius: 14px;
  background: #f8fbff;
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- channels / QR ---------- */

.bb-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* Text on the left, a 150px code on the right; the top border carries the
   channel colour instead of a shadow, matching the partner page's cards. */
.bb-channel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 158px;
  gap: 24px;
  align-items: center;
  padding: 24px 26px;
  border: 1px solid var(--bb-line);
  border-top: 3px solid var(--bb-line);
  border-radius: 8px;
  background: #fff;
}

.bb-channel[data-channel="web"] {
  border-top-color: #0866e9;
}

.bb-channel[data-channel="wechat"] {
  border-top-color: #07c160;
}

.bb-channel-type {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #0866e9;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bb-channel[data-channel="wechat"] .bb-channel-type {
  color: #07a34c;
}

.bb-channel-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

.bb-channel h3 {
  margin-top: 10px;
  color: var(--bb-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.bb-channel p {
  margin-top: 8px;
  color: var(--bb-muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.bb-channel-open {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding: 9px 14px;
  color: #1d2430;
  border: 1px solid #dfe3e9;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.bb-channel-open:hover {
  color: #0866e9;
  border-color: #0866e9;
}

.bb-qr {
  margin: 0;
  text-align: center;
}

.bb-qr-trigger {
  display: block;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.bb-qr-trigger img {
  display: block;
  width: 150px;
  height: 150px;
  padding: 5px;
  border: 1px solid #e6edf3;
  background: #fff;
  object-fit: contain;
}

.bb-qr-trigger:focus-visible img {
  border-color: #0866e9;
}

.bb-qr figcaption {
  margin-top: 8px;
  color: #5f748c;
  font-size: 11px;
}

/* One phone, one channel: inside WeChat show the mini program code, in other
   phone browsers show the web entry, and keep both cards on desktop. The mode
   is set on <html> before paint by the inline script in the page head. */
.bb-qr-caption-mobile {
  display: none;
}

html[data-bb-channels="wechat"] .bb-channels,
html[data-bb-channels="browser"] .bb-channels {
  grid-template-columns: minmax(0, 1fr);
}

html[data-bb-channels="wechat"] [data-channel="web"],
html[data-bb-channels="browser"] [data-channel="wechat"] {
  display: none;
}

html[data-bb-channels="wechat"] .bb-qr-caption-desktop,
html[data-bb-channels="browser"] .bb-qr-caption-desktop {
  display: none;
}

html[data-bb-channels="wechat"] .bb-qr-caption-mobile,
html[data-bb-channels="browser"] .bb-qr-caption-mobile {
  display: inline;
}

/* ---------- plan fields ---------- */

.bb-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bb-field {
  position: relative;
  padding: 28px;
  border: 1px solid var(--bb-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--bb-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bb-field:hover {
  transform: translateY(-3px);
  border-color: #c8dff5;
  box-shadow: var(--bb-shadow);
}

.bb-field-head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.bb-field-index {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  color: var(--bb-blue);
  border-radius: 13px;
  background: #eef6ff;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 800;
}

.bb-field-label {
  display: block;
  color: #5f748c;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.bb-field h3 {
  margin-top: 2px;
  color: var(--bb-ink);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.bb-field-question {
  margin-top: 20px;
  padding-left: 14px;
  color: #1b3a5c;
  border-left: 3px solid var(--bb-cyan);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.7;
}

.bb-field-body {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed #dfe9f3;
}

.bb-field-body h4 {
  color: #0b3f76;
  font-size: 15px;
  font-weight: 800;
}

.bb-field-body > p {
  margin-top: 8px;
  color: var(--bb-muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.bb-ask {
  margin-top: 16px !important;
  padding: 14px 16px;
  color: #23445f !important;
  border-radius: 14px;
  background: #f4f9ff;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.bb-ask span {
  display: block;
  margin-bottom: 6px;
  color: var(--bb-blue);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.bb-field .bb-more {
  margin-top: 16px;
}

/* ---------- regions ---------- */

.bb-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bb-regions a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 10px 15px;
  color: #2a4a68;
  border: 1px solid var(--bb-line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bb-regions a:hover {
  color: var(--bb-blue);
  border-color: #b9d6f2;
  box-shadow: 0 10px 22px rgba(11, 99, 214, 0.1);
  transform: translateY(-2px);
}

.bb-region-arrow {
  color: #9db4cb;
  font-size: 11px;
  transition: color 0.18s ease;
}

.bb-regions a:hover .bb-region-arrow {
  color: var(--bb-blue);
}

.bb-region-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px dashed #cfe0f2;
  border-radius: 16px;
  background: #f6faff;
}

.bb-region-foot p {
  color: #546c85;
  font-size: 13.5px;
}

.bb-region-foot strong {
  color: var(--bb-ink-soft);
}

/* ---------- scenarios ---------- */

.bb-scenarios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bb-scenario {
  display: flex;
  min-height: 196px;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--bb-line);
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  box-shadow: var(--bb-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bb-scenario:hover {
  transform: translateY(-3px);
  border-color: #c8dff5;
  box-shadow: var(--bb-shadow);
}

.bb-scenario-index {
  color: #9db4cb;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bb-scenario h3 {
  color: var(--bb-ink);
  font-size: 18px;
  font-weight: 800;
}

.bb-scenario p {
  flex: 1;
  color: var(--bb-muted);
  font-size: 14px;
  line-height: 1.8;
}

.bb-scenario-cta {
  color: var(--bb-blue);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- comparison table ---------- */

.bb-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--bb-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--bb-shadow-sm);
}

.bb-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.bb-table caption {
  padding: 20px 22px;
  color: #5f748c;
  border-bottom: 1px solid #eef4fa;
  font-size: 13px;
  text-align: left;
}

.bb-table th,
.bb-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eef4fa;
  line-height: 1.75;
  text-align: left;
  vertical-align: top;
}

.bb-table thead th {
  color: #33536f;
  background: #f6faff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.bb-table tbody th {
  width: 132px;
  color: var(--bb-ink);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.bb-table tbody tr:last-child th,
.bb-table tbody tr:last-child td {
  border-bottom: 0;
}

.bb-table td span {
  display: block;
  color: #2a4a68;
}

.bb-table td em {
  display: block;
  margin-top: 6px;
  color: #5f748c;
  font-size: 13px;
  font-style: normal;
}

/* ---------- steps ---------- */

.bb-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.bb-steps li {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid #dbe8f4;
}

.bb-steps li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bb-blue);
  box-shadow: 0 0 0 4px rgba(11, 99, 214, 0.13);
}

.bb-step-index {
  color: var(--bb-blue);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.bb-steps h3 {
  margin-top: 8px;
  color: var(--bb-ink);
  font-size: 18px;
  font-weight: 800;
}

.bb-steps p {
  margin-top: 8px;
  color: var(--bb-muted);
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- guides ---------- */

.bb-guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bb-guide {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--bb-line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bb-guide:hover {
  border-color: #c8dff5;
  box-shadow: var(--bb-shadow);
  transform: translateY(-3px);
}

.bb-guide-index {
  color: #9db4cb;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
}

.bb-guide h3 {
  color: var(--bb-ink);
  font-size: 17px;
  font-weight: 800;
}

.bb-guide p {
  margin-top: 7px;
  color: var(--bb-muted);
  font-size: 14px;
  line-height: 1.8;
}

.bb-guide-arrow {
  align-self: center;
  color: #9db4cb;
  font-size: 16px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.bb-guide:hover .bb-guide-arrow {
  color: var(--bb-blue);
  transform: translate(2px, -2px);
}

/* ---------- FAQ ---------- */

.bb-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.bb-faq-item {
  overflow: hidden;
  border: 1px solid var(--bb-line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bb-faq-item[open] {
  border-color: #bcd8f2;
  box-shadow: 0 14px 32px rgba(11, 99, 214, 0.08);
}

.bb-faq-item summary {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 20px;
  color: #14324d;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  list-style: none;
}

.bb-faq-item summary::-webkit-details-marker {
  display: none;
}

.bb-faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: #eef6ff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bb-faq-icon::before,
.bb-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--bb-blue);
  transform: translate(-50%, -50%);
}

.bb-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.bb-faq-item[open] .bb-faq-icon {
  background: #dbeeff;
}

.bb-faq-item[open] .bb-faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.bb-faq-a p {
  padding: 0 20px 20px;
  color: var(--bb-muted);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- final CTA ---------- */

.bb-cta {
  position: relative;
  padding: 76px 0;
  overflow: hidden;
  color: #e8f3ff;
  background: linear-gradient(140deg, #071c36 0%, #0b3c67 58%, #0b5478 100%);
}

.bb-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 70% at 82% 18%, rgba(23, 179, 201, 0.28), transparent 64%),
    radial-gradient(40% 60% at 6% 90%, rgba(11, 99, 214, 0.34), transparent 62%);
}

.bb-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 44px;
  align-items: center;
}

.bb-cta h2 {
  max-width: 20em;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 850;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.bb-cta p {
  margin-top: 14px;
  color: rgba(212, 232, 250, 0.76);
  font-size: 15px;
  line-height: 1.85;
}

.bb-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.bb-hotlines {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
}

.bb-hotlines-title {
  margin: 0 !important;
  color: #cfe6fb !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.bb-hotlines ul {
  margin-top: 8px;
}

.bb-hotlines li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 14px;
}

.bb-hotlines li:last-child {
  border-bottom: 0;
}

.bb-hotlines li span {
  color: rgba(214, 234, 251, 0.82);
}

.bb-hotlines a {
  color: #9fe3ff;
  font-family: ui-monospace, monospace;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.bb-hotlines a:hover {
  color: #fff;
}

.bb-hotlines-note {
  margin-top: 10px !important;
  color: rgba(184, 211, 236, 0.6) !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}

/* ---------- footer ---------- */

.bb-footer {
  padding: 54px 0 32px;
  border-top: 1px solid var(--bb-line);
  background: var(--bb-bg);
}

.bb-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr));
  gap: 34px;
}

.bb-footer-brand > p {
  margin-top: 14px;
  color: var(--bb-muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.bb-footer-title {
  margin-bottom: 12px;
  color: #5f748c;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.bb-footer-nav a {
  display: block;
  padding: 5px 0;
  color: #35526f;
  font-size: 14px;
  text-decoration: none;
}

.bb-footer-nav a:hover {
  color: var(--bb-blue);
}

.bb-footer-legal {
  margin-top: 34px;
  padding-top: 22px;
  color: #5f748c;
  border-top: 1px solid #e4edf6;
  font-size: 12.5px;
  line-height: 1.85;
}

.bb-footer-legal p + p {
  margin-top: 6px;
}

.bb-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px !important;
  color: #5f748c;
}

.bb-footer-meta a {
  color: #5f748c;
}

/* ---------- QR modal ---------- */

body.bb-dialog-open {
  overflow: hidden;
}

.bb-qr-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: visible;
  color: inherit;
  border: 0;
  border-radius: 24px;
  background: transparent;
}

.bb-qr-dialog::backdrop {
  background: rgba(4, 16, 30, 0.64);
  backdrop-filter: blur(3px);
}

.bb-qr-dialog-panel {
  display: flex;
  max-height: calc(100vh - 40px);
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 44px 96px rgba(2, 14, 30, 0.46);
}

.bb-qr-dialog[open] .bb-qr-dialog-panel {
  animation: bb-dialog-in 0.24s cubic-bezier(0.22, 0.8, 0.35, 1) both;
}

.bb-qr-dialog-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--bb-line);
}

.bb-qr-dialog-label {
  color: var(--bb-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.bb-qr-dialog-head h2 {
  margin-top: 8px;
  color: var(--bb-ink);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.bb-qr-dialog-close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  color: #55708c;
  border: 1px solid var(--bb-line);
  border-radius: 12px;
  background: #f6faff;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.bb-qr-dialog-close:hover {
  color: var(--bb-blue);
  border-color: #b9d6f2;
  background: #eaf3ff;
}

.bb-qr-dialog-close svg {
  width: 18px;
  height: 18px;
}

.bb-qr-dialog-body {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 26px;
  overflow-y: auto;
}

.bb-qr-dialog-figure {
  padding: 13px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 99, 214, 0.14), 0 18px 36px rgba(10, 40, 70, 0.13);
}

.bb-qr-dialog-figure img {
  width: 100%;
  border-radius: 10px;
}

.bb-qr-dialog-note {
  color: #2a4a68;
  font-size: 14.5px;
  line-height: 1.85;
}

.bb-qr-dialog-steps {
  display: grid;
  gap: 10px;
  counter-reset: qr-step;
  margin-top: 18px;
}

.bb-qr-dialog-steps li {
  position: relative;
  padding-left: 30px;
  color: var(--bb-muted);
  font-size: 14px;
  line-height: 1.75;
  counter-increment: qr-step;
}

.bb-qr-dialog-steps li::before {
  content: counter(qr-step);
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--bb-blue);
  border-radius: 7px;
  background: #eef6ff;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
}

.bb-qr-dialog-hint {
  margin-top: 18px;
  padding-top: 16px;
  color: #5f748c;
  border-top: 1px dashed #dfe9f3;
  font-size: 12.5px;
  line-height: 1.8;
}

.bb-qr-dialog-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px 22px;
  border-top: 1px solid var(--bb-line);
  background: #fafcff;
}

.bb-qr-dialog-foot p {
  color: #5f748c;
  font-size: 12.5px;
}

@keyframes bb-dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- motion ---------- */

@keyframes bb-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(23, 179, 201, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(23, 179, 201, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(23, 179, 201, 0);
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .bb-hero {
    padding: 64px 0 116px;
  }

  .bb-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .bb-hero-panel {
    max-width: 620px;
  }

  .bb-cta-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .bb-hotlines {
    max-width: 460px;
  }
}

@media (max-width: 960px) {
  .bb-answers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bb-answers {
    margin-top: -64px;
  }

  .bb-answer {
    padding: 22px 22px;
  }

  .bb-scenarios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .bb-fields,
  .bb-guides,
  .bb-faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .bb-nav {
    display: none;
  }

  .bb-header-inner {
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  .bb-shell {
    width: calc(100% - 32px);
  }

  .bb-section {
    padding: 62px 0;
  }

  .bb-hero {
    padding: 44px 0 96px;
  }

  .bb-hero h1 {
    font-size: clamp(32px, 8.4vw, 42px);
  }

  .bb-hero-actions .bb-btn {
    width: 100%;
  }

  .bb-hero-panel {
    padding: 22px 20px;
  }

  .bb-channels {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Keep the card horizontal like the partner page: copy left, QR right. */
  .bb-channel {
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 16px;
    align-items: center;
    padding: 18px 16px;
    text-align: left;
  }

  .bb-channel h3 {
    margin-top: 8px;
    font-size: 18px;
  }

  .bb-channel p {
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.75;
  }

  .bb-channel-type {
    justify-content: flex-start;
  }

  .bb-channel-open {
    min-height: 40px;
    margin-top: 14px;
    max-width: none;
    margin-inline: 0;
  }

  .bb-qr-trigger img {
    width: 132px;
    height: 132px;
  }

  .bb-qr figcaption {
    font-size: 10.5px;
  }

  .bb-qr-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
  }

  .bb-qr-dialog-head {
    padding: 20px 20px 16px;
  }

  .bb-qr-dialog-head h2 {
    font-size: 19px;
  }

  .bb-qr-dialog-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .bb-qr-dialog-figure {
    width: min(100%, 222px);
    margin-inline: auto;
  }

  .bb-qr-dialog-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 20px 20px;
  }

  .bb-qr-dialog-foot p {
    order: 2;
    text-align: center;
  }

  .bb-qr-dialog-foot .bb-btn {
    width: 100%;
  }

  .bb-scenarios,
  .bb-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .bb-sec-head {
    margin-bottom: 32px;
  }

  .bb-region-foot {
    align-items: flex-start;
  }

  .bb-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .bb-footer-brand {
    grid-column: 1 / -1;
  }

  .bb-table {
    min-width: 0;
  }

  .bb-table caption {
    padding: 16px 18px;
  }

  .bb-table thead {
    display: none;
  }

  .bb-table tbody tr {
    display: block;
    padding: 4px 0 14px;
    border-bottom: 1px solid #eef4fa;
  }

  .bb-table tbody tr:last-child {
    border-bottom: 0;
  }

  .bb-table tbody th {
    display: block;
    width: auto;
    padding: 14px 18px 4px;
    white-space: normal;
  }

  .bb-table tbody td {
    display: block;
    padding: 5px 18px;
  }

  .bb-table tbody td::before {
    content: attr(data-label) "：";
    color: #8aa0b6;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .bb-hero-chips li {
    padding: 7px 11px;
    font-size: 12.5px;
  }

  .bb-answers {
    margin-top: -52px;
  }

  .bb-header-actions .bb-text-link {
    display: none;
  }

  .bb-guide {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 20px;
  }

  .bb-guide-arrow {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* very small phones: tighter QR column */
@media (max-width: 420px) {
  .bb-channel {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    padding: 16px 14px;
  }

  .bb-channel h3 {
    font-size: 17px;
  }

  .bb-qr-trigger img {
    width: 112px;
    height: 112px;
  }
}
