.providers-grid > .provider:only-child {
  width: min(100%, 320px);
  justify-self: center;
}

.provider-logo {
  max-width: calc(100% - 32px);
  object-fit: contain;
}

/* Let the provider catalog enter the first phone viewport. */
.hero-identity { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-scroll { display: none; }
#providers.section { padding-top: 40px; }
@media (max-width: 639px) {
  .hero { min-height: 0; padding: 38px 20px 20px; }
  .hero-inner { width: 100%; gap: 18px; }
  .hero-identity { flex-direction: row; gap: 18px; }
  .hero .hero-mark { width: 90px; height: 78px; }
  .hero-mark::before { inset: -10px -12px; }
  .hero-mark::after { inset: -18px -22px; }
  .hero-icon { opacity: .22; }
  .hero-hex { opacity: .18; }
  .hero-floor { height: 160px; }
  .hero h1 { font-size: 56px; }
  .hero .tagline { max-width: 32ch; font-size: 15px; line-height: 1.7; letter-spacing: 0; }
  .hero-actions { width: 100%; margin-top: 2px; }
  .hero-actions .btn { width: min(100%, 280px); min-height: 52px; padding: 12px 20px; font-size: 16px; }
  .hero-scroll { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: -10px; color: #9aafd4; font-size: 12px; }
  .hero-scroll svg { color: var(--cyan); }
  .hero-scroll:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
  .hero + .ticker .ticker-track { padding-block: 10px; gap: 32px; font-size: 11px; letter-spacing: 2px; }
  #providers.section { padding-top: 24px; padding-bottom: 40px; scroll-margin-top: 92px; }
  #providers .section-head { gap: 6px; margin-bottom: 20px; }
  #providers .eyebrow { font-size: 11px; letter-spacing: 2px; }
  #providers .h2 { font-size: 28px; }
  #providers .h2-glow::after { width: 48px; margin-top: 10px; }
  #providers .provider { height: 88px; }
  #providers .provider-actions { margin-top: 16px; }
}

/* The demo action belongs with the provider catalog. */
.provider-actions { display: flex; justify-content: center; margin-top: 28px; }
.provider-actions .btn { width: min(100%, 320px); min-width: 0; }

/* Photographic advantages retain the original four topics and numbering. */
.feature { padding: 0; gap: 0; }
.feature-visual { aspect-ratio: 2 / 1; max-height: 240px; overflow: hidden; background: #0b1930; border-bottom: 1px solid var(--line); }
.feature-visual img { width: 100%; height: 100%; object-fit: cover; }
.feature-content { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 26px 28px 28px; }
.feature-top { gap: 12px; }
.feature .feature-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; }
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 { flex: 1; min-width: 0; font-size: 22px; line-height: 1.4; }
.feature-num { margin-left: auto; flex-shrink: 0; font-size: 14px; }
.feature p { font-size: 15px; line-height: 1.8; }

/* A native dialog supplies focus containment, inert background and Escape. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.partner-dialog {
  width: min(880px, calc(100% - 40px)); max-height: calc(100dvh - 40px); margin: auto; padding: 0;
  overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line-strong); border-radius: 24px;
  background: #0d1528; color: var(--text); box-shadow: 0 24px 100px rgba(0,0,0,.65);
}
.partner-dialog::backdrop { background: rgba(2,5,12,.78); backdrop-filter: blur(8px); }
.partner-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; gap: 20px; padding: 24px 28px; background: #0d1528; border-bottom: 1px solid var(--line); }
.partner-dialog-header > div { min-width: 0; flex: 1; }
.partner-dialog-header h2 { font-size: 26px; line-height: 1.4; color: #fff; }
.partner-dialog-header p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.partner-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255,255,255,.02); color: var(--muted); cursor: pointer; }
.partner-close:hover { border-color: var(--blue-2); color: #fff; }
.partner-close:focus-visible, [data-open-partner]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.partner-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; margin: 0; padding: 36px 40px 40px; list-style: none; }
.partner-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.partner-step:nth-child(-n+3) { flex-direction: column-reverse; }
.partner-step:nth-child(4) { grid-area: 2 / 3; }
.partner-step:nth-child(5) { grid-area: 2 / 2; }
.partner-step:nth-child(6) { grid-area: 2 / 1; }
.partner-step h3 { width: 100%; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.65; text-align: center; }
.partner-step-marker { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border: 1px solid rgba(79,140,255,.4); border-radius: 50%; background: linear-gradient(145deg, #1b3156, #101d34); color: #7fb0ff; box-shadow: 0 4px 24px rgba(0,0,0,.2); }
.partner-step:first-child .partner-step-marker, .partner-step:last-child .partner-step-marker { background: linear-gradient(135deg, #4f8cff, #2e6bff); color: #fff; }
.partner-step-number { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid var(--line-strong); border-radius: 7px; background: #0a1325; color: #b7d1ff; font: 700 12px var(--font); }
.partner-connector { position: absolute; height: 1px; border-top: 1px dashed rgba(79,140,255,.5); color: var(--cyan); pointer-events: none; }
.partner-connector::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.partner-step:nth-child(-n+2) .partner-connector { left: calc(50% + 44px); right: calc(-50% - 32px + 44px); bottom: 32px; }
.partner-step:nth-child(3) .partner-connector { left: calc(50% - .5px); top: calc(100% + 10px); width: 1px; height: 36px; border-top: 0; border-left: 1px dashed rgba(79,140,255,.5); }
.partner-step:nth-child(3) .partner-connector::after { top: auto; bottom: 0; left: -3px; right: auto; transform: rotate(135deg); }
.partner-step:nth-child(4) .partner-connector, .partner-step:nth-child(5) .partner-connector { left: calc(-50% - 32px + 44px); right: calc(50% + 44px); top: 32px; }
.partner-step:nth-child(4) .partner-connector::after, .partner-step:nth-child(5) .partner-connector::after { left: 0; right: auto; transform: rotate(225deg); }

@media (max-width: 639px) {
  .feature-content { gap: 12px; padding: 20px; }
  .feature h3 { font-size: 20px; }
  .feature p { font-size: 14px; }
  .partner-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .partner-dialog-header { gap: 12px; padding: 20px; }
  .partner-dialog-header h2 { font-size: 22px; }
  .partner-dialog-header p { font-size: 13px; }
  .partner-steps { display: flex; flex-direction: column; gap: 24px; padding: 24px; }
  .partner-steps .partner-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 18px; }
  .partner-step-marker { width: 52px; height: 52px; }
  .partner-step h3 { font-size: 14px; text-align: left; }
  .partner-steps .partner-step .partner-connector { left: 26px; right: auto; top: 60px; bottom: -16px; width: 1px; height: auto; border-top: 0; border-left: 1px dashed rgba(79,140,255,.5); }
  .partner-steps .partner-step .partner-connector::after { left: -3px; right: auto; top: auto; bottom: 0; transform: rotate(135deg); }
}

/* About-page artwork replaces the original image placeholders. */
.intro-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.value-img { position: relative; align-self: stretch; background: #091326; }
.value-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.value-img--professional img { object-position: 50% 10%; }
.value-img--innovation img { object-position: 50% 0%; }
.value-img--integrity img { object-position: 50% 25%; }
.value-img--success img { object-position: 50% 40%; }
.culture-visual {
  display: flex; align-items: center; justify-content: center; border: 0; padding: 28px;
  background: radial-gradient(ellipse at 50% 65%, rgba(79,140,255,.16), transparent 70%);
}
.culture-visual img {
  width: 100%; max-width: 512px; height: auto; max-height: 420px; object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.35));
}
@media (max-width: 900px) {
  .intro-visual { height: auto; aspect-ratio: 4 / 3; }
  .culture-visual { min-height: 0; padding: 24px; }
}

/* Non-Chinese languages use the translated English text slots. */
html:not([lang="zh-CN"]) { --font: "Manrope", "Segoe UI", "Noto Sans SC", sans-serif; }
html:not([lang="zh-CN"]) [data-lang="en"] { display: revert; }
html:not([lang="zh-CN"]) span[data-lang="en"],
html:not([lang="zh-CN"]) strong[data-lang="en"] { display: inline; }

.nav { position: relative; gap: 20px; }
.brand { margin-right: auto; flex-shrink: 0; }
.menu { gap: clamp(12px, 2vw, 30px); }
.menu a { white-space: nowrap; }
.language-selector { flex-shrink: 0; }
.language-trigger {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: rgba(255,255,255,.02); color: var(--text); cursor: pointer; font-size: 14px; font-weight: 700;
}
.language-trigger > svg:first-child { color: var(--cyan); }
.language-trigger:hover { border-color: var(--blue-2); }
.language-chevron { color: var(--muted); transition: transform .2s; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-panel {
  position: absolute; right: 24px; top: calc(100% + 12px); width: min(768px, calc(100vw - 32px));
  max-height: calc(100dvh - 108px); overflow-y: auto; overscroll-behavior: contain;
  padding: 20px; border: 1px solid var(--line-strong); border-radius: 16px;
  background: #10182b; box-shadow: 0 16px 48px rgba(0,0,0,.5); z-index: 2;
}
.language-panel[hidden] { display: none; }
.language-heading { padding: 0 8px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.language-panel ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.language-option {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px 8px;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer;
  font-size: 14px; text-align: left; line-height: 1.4;
}
.language-option img { width: 30px; height: 20px; flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.language-option > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.language-check { display: none; flex-shrink: 0; color: var(--cyan); }
.language-option > .language-check { flex: 0 0 16px; text-align: center; }
.language-option[aria-selected="true"] { background: rgba(46,107,255,.2); color: var(--text); }
.language-option[aria-selected="true"] .language-check { display: block; }
.language-option:hover { background: rgba(46,107,255,.15); color: var(--text); }
.language-trigger:focus-visible, .language-option:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.btn { white-space: normal; height: auto; min-height: 64px; padding-top: 14px; padding-bottom: 14px; text-align: center; max-width: 100%; }
.btn-sm { min-height: 48px; }
.btn-lg { min-height: 72px; }
.biz-desc { overflow-y: auto; justify-content: safe center; }
h1, h2, h3, h4, p, .btn { overflow-wrap: anywhere; }

@media (max-width: 1120px) {
  .nav { gap: 12px; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7,11,22,.98); border-bottom: 1px solid var(--line); padding: 10px 24px 20px;
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); white-space: normal; }
  .burger { display: inline-flex; flex-shrink: 0; }
}
@media (max-width: 639px) {
  .language-panel { right: 16px; padding: 12px; }
  .language-panel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .language-option { font-size: 12px; gap: 8px; }
  .language-trigger { padding-left: 9px; padding-right: 9px; }
  .btn-lg { min-height: 64px; }
}

/* Keep the original heading glow inside very narrow phone viewports. */
@media (max-width: 359px) {
  .h2-glow::before {
    width: calc(100vw - 48px);
  }
}

/* Show business details directly on small screens and touch devices. */
@media (max-width: 900px), (hover: none) {
  .about-page .biz-hint { display: none; }
  .about-page .biz-grid { gap: 12px; }
  .about-page .biz {
    display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start;
    align-items: center; gap: 12px; min-height: 0; padding: 18px; border-radius: 16px;
  }
  .about-page .biz::before { display: none; }
  .about-page .biz-icon {
    grid-column: 1; grid-row: 1; width: 44px; height: 44px; border-radius: 12px;
    background: rgba(79,140,255,.09);
  }
  .about-page .biz-icon svg { width: 28px; height: 28px; stroke-width: 1.4; }
  .about-page .biz > h3 { grid-column: 2; grid-row: 1; font-size: 18px; line-height: 1.4; }
  .about-page .biz-desc {
    grid-column: 1 / -1; position: static; padding: 0; gap: 10px; border-radius: 0;
    opacity: 1; background: transparent; overflow: visible; justify-content: flex-start;
  }
  .about-page .biz-desc > h3 { display: none; }
  .about-page .biz-desc p { font-size: 14px; line-height: 1.75; color: var(--muted); }
  .about-page .biz-desc strong { color: var(--text); font-weight: 700; }
  .about-page .biz:hover { transform: none; box-shadow: none; }
  .about-page .biz:hover .biz-icon { transform: none; }
}

/* Keep the About page readable without oversized mobile sections. */
@media (max-width: 900px) {
  .about-page main .container, .about-page .footer .container { padding-inline: 20px; }
  .about-page .reveal, .about-page .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .about-page .section { padding-bottom: 44px; }
  .about-page .about-hero + .section { padding-top: 32px; }
  .about-page .section-head { gap: 8px; margin-bottom: 24px; }
  .about-page .h2 { font-size: 28px; line-height: 1.3; }
  .about-page .h2-glow::before { width: min(280px, calc(100vw - 40px)); height: 100px; }
  .about-page .h2-glow::after { width: 48px; height: 2px; margin-top: 10px; }
  .about-page .eyebrow { font-size: 11px; letter-spacing: 2px; }

  .about-page .about-hero { min-height: 220px; padding: 36px 20px; }
  .about-page .about-hero h1 { font-size: 36px; }
  .about-page .about-hero .tagline { max-width: 32ch; margin: 10px auto 0; font-size: 15px; line-height: 1.7; }
  .about-page .about-hero .mark-bg { width: 260px; height: 260px; }
  .about-page .intro { gap: 20px; }
  .about-page .intro h2 { font-size: 28px; }
  .about-page .intro p { margin-top: 12px; font-size: 15px; line-height: 1.8; }
  .about-page .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
  .about-page .stat { min-width: 0; }
  .about-page .stat b { margin-bottom: 5px; font-size: 28px; }
  .about-page .stat span { font-size: 11px; line-height: 1.5; }
  .about-page .intro-visual { aspect-ratio: 16 / 10; max-height: 230px; border-radius: 16px; }

  .about-page .values { gap: 16px; }
  .about-page .values-tag { font-size: 14px; line-height: 1.7; letter-spacing: 1px; }
  .about-page .value { border-radius: 16px; }
  .about-page .value-img { height: auto; min-height: 0; aspect-ratio: 16 / 7; }
  .about-page .value-img--success img { object-position: 50% 10%; }
  .about-page .value-body { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 20px; }
  .about-page .value-body .ic { grid-column: 1; grid-row: 1; padding-top: 2px; }
  .about-page .value-body .ic svg { width: 24px; height: 24px; }
  .about-page .value-body h3 { grid-column: 2; grid-row: 1; font-size: 17px; line-height: 1.5; }
  .about-page .value-body p { grid-column: 1 / -1; font-size: 14px; line-height: 1.8; }

  .about-page .culture { min-height: 0; border-radius: 16px; }
  .about-page .culture-body { gap: 12px; padding: 22px 20px; }
  .about-page .culture-body h3 { font-size: 23px; line-height: 1.4; }
  .about-page .culture-body p { font-size: 14px; line-height: 1.8; }
  .about-page .culture-visual { padding: 12px 20px 22px; }
  .about-page .culture-visual img { max-width: 260px; max-height: 220px; }
  .about-page .demo-card { gap: 20px; padding: 22px 20px; border-radius: 16px; }
  .about-page .demo-card h2 { font-size: 25px; }
  .about-page .demo-card .sub { font-size: 14px; line-height: 1.75; }
  .about-page .demo-card .btn-lg { min-height: 48px; padding: 12px 18px; font-size: 15px; }

  .about-page .footer { padding: 32px 0 24px; }
  .about-page .footer-row { gap: 20px; }
  .about-page .footer .brand-name { font-size: 24px; }
  .about-page .footer .small { font-size: 13px; line-height: 1.7; }
  .about-page .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
  .about-page .footer-links .btn { min-width: 0; min-height: 48px; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
  .about-page .footer-links .btn:only-child { grid-column: 1 / -1; }
  .about-page .copyright { margin-top: 24px; font-size: 11px; }
  .about-page .fab { width: 46px; height: 46px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .about-page .card:hover { transform: none; }
}
