/* HelpYouBuyFromChina.com final visual polish — 2026-10-02 */

/* Header clarity */
.nav-links a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  color: var(--green, #0b6f66);
  font-weight: 850;
}
.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.lang button,
.lang-menu a,
.mobile-menu a {
  font-size: 14px;
}

/* Keep small helper text readable without turning the layout into mini type. */
label,
.page-toc a,
.tool-mini-nav a,
.context-links-list a,
.last-updated,
.disclaimer,
.form-status,
.formula small,
.contact-toolbox-foot,
.sample-disclaimer,
.comparison-row,
.clean-list span,
.pricing-tier .text-link,
.localized-page .nav-links a,
.localized-page .drop-button {
  font-size: 14px !important;
}

/* Footer — one calmer hierarchy across both site templates. */
body .site-footer.footer-polished {
  background: #081d27;
  color: #b9c8cc;
  padding: 54px 0 26px;
  border-top: 1px solid rgba(255,255,255,.06);
}
body .site-footer.footer-polished .container {
  width: min(calc(100% - 48px), 1240px);
}
body .site-footer.footer-polished .footer-grid {
  display: grid;
  grid-template-columns: minmax(290px,1.45fr) minmax(155px,.82fr) minmax(155px,.82fr) minmax(255px,1.15fr);
  gap: 44px;
  align-items: start;
}
body .site-footer.footer-polished .footer-brand {
  min-width: 0;
}
body .site-footer.footer-polished .footer-brand strong {
  display: block;
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.012em;
  text-transform: none;
}
body .site-footer.footer-polished .footer-brand p {
  max-width: 390px;
  margin: 0;
  color: #b9c8cc;
  font-size: 15px;
  line-height: 1.68;
}
body .site-footer.footer-polished .footer-email {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 17px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  color: #fff;
  background: rgba(255,255,255,.045);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.35;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
body .site-footer.footer-polished .footer-email:hover {
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.08);
}
body .site-footer.footer-polished .footer-col {
  min-width: 0;
}
body .site-footer.footer-polished .footer-col > strong {
  display: block;
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .08em;
}
body .site-footer.footer-polished .footer-col a,
body .site-footer.footer-polished .footer-col span {
  display: block;
  margin: 8px 0;
  color: #b9c8cc;
  font-size: 15px;
  line-height: 1.55;
  word-break: normal;
  overflow-wrap: break-word;
}
body .site-footer.footer-polished .footer-col a:hover {
  color: #fff;
}
body .site-footer.footer-polished .footer-col a[href^="mailto:"] {
  font-size: 14px;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

/* English utility links are split into useful groups instead of one long line. */
body .site-footer.footer-polished .footer-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  margin-top: 32px;
  padding: 24px 0 4px;
  border-top: 1px solid rgba(255,255,255,.12);
}
body .site-footer.footer-polished .footer-secondary-group {
  min-width: 0;
}
body .site-footer.footer-polished .footer-secondary-group > strong {
  display: block;
  margin-bottom: 8px;
  color: #d8e2e5;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body .site-footer.footer-polished .footer-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
}
body .site-footer.footer-polished .footer-secondary-links a {
  display: inline-flex;
  margin: 0;
  padding: 5px 0;
  color: #99afb5;
  font-size: 14px;
  line-height: 1.45;
}
body .site-footer.footer-polished .footer-secondary-links a:hover {
  color: #fff;
}
body .site-footer.footer-polished .footer-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #a9bbc0;
  font-size: 14px;
  line-height: 1.6;
}
body .site-footer.footer-polished .footer-bottom > span {
  min-width: 0;
}

/* Contact blocks and email addresses should not split in awkward places on desktop. */
.request-email {
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

@media (max-width: 1120px) {
  body .site-footer.footer-polished .footer-grid {
    grid-template-columns: minmax(280px,1.2fr) minmax(170px,.8fr) minmax(170px,.8fr);
    gap: 34px 40px;
  }
  body .site-footer.footer-polished .footer-brand {
    grid-column: 1 / -1;
  }
  body .site-footer.footer-polished .footer-brand p {
    max-width: 720px;
  }
}
@media (max-width: 760px) {
  body .site-footer.footer-polished {
    padding: 42px 0 22px;
  }
  body .site-footer.footer-polished .container {
    width: min(calc(100% - 28px), 1240px);
  }
  body .site-footer.footer-polished .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 28px;
  }
  body .site-footer.footer-polished .footer-brand {
    grid-column: 1 / -1;
  }
  body .site-footer.footer-polished .footer-secondary {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }
  body .site-footer.footer-polished .footer-email {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 520px) {
  body .site-footer.footer-polished .footer-grid {
    grid-template-columns: 1fr;
  }
  body .site-footer.footer-polished .footer-brand {
    grid-column: auto;
  }
  body .site-footer.footer-polished .footer-col > strong {
    margin-bottom: 9px;
  }
  body .site-footer.footer-polished .footer-bottom {
    display: block;
  }
}

/* Final small-screen and active-state safeguards. */
.mobile-menu a:last-child[aria-current="page"] {
  color: #fff;
  background: var(--green, #0b6f66);
}
@media (max-width: 760px) {
  body .site-footer.footer-polished .footer-local-email {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* Keep utility links in an orderly grid rather than a loose wrapping row. */
body .site-footer.footer-polished .footer-secondary-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 20px;
}
body .site-footer.footer-polished .footer-secondary-links a {
  align-items: start;
}
@media (max-width: 760px) {
  body .site-footer.footer-polished .footer-secondary-links {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 460px) {
  body .site-footer.footer-polished .footer-secondary-links {
    grid-template-columns: 1fr;
  }
}

/* HYBC audience architecture 2026-10-02 */
.audience-picker {
  padding: 64px 0;
  background: #eef5f3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.audience-picker-head {
  display: grid;
  grid-template-columns: minmax(300px,.9fr) minmax(0,1.1fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 30px;
}
.audience-picker-head h2 {
  font-size: clamp(31px,3vw,43px);
  max-width: 620px;
}
.audience-picker-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 690px;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.audience-card {
  position: relative;
  min-height: 230px;
  padding: 28px 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  box-shadow: 0 12px 28px rgba(12,38,50,.045);
}
.audience-card:nth-child(2) {
  border-top-color: #b36742;
}
.audience-card:nth-child(3) {
  border-top-color: var(--ink);
}
.audience-badge {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .12em;
}
.audience-card:nth-child(2) .audience-badge {
  color: #9a5939;
}
.audience-card:nth-child(3) .audience-badge {
  color: var(--ink);
}
.audience-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.18;
}
.audience-card p {
  min-height: 78px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.64;
}
.audience-picker-compact {
  padding: 44px 0 48px;
  background: #f7f8f5;
}
.audience-picker-compact .audience-picker-head {
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-bottom: 22px;
}
.audience-picker-compact .audience-picker-head h2 {
  font-size: 30px;
}
.audience-picker-compact .audience-card {
  min-height: 190px;
  padding: 22px 24px;
}
.audience-picker-compact .audience-badge {
  margin-bottom: 15px;
}
.audience-picker-compact .audience-card h3 {
  font-size: 20px;
}
.audience-picker-compact .audience-card p {
  min-height: 66px;
  font-size: 15px;
}
.audience-hero .page-aside {
  align-self: end;
}
.audience-jump-wrap {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.audience-jump {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.audience-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}
.audience-jump a:hover {
  border-color: #9bb8b1;
  background: var(--mist);
}
.audience-detail {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}
.audience-detail#small-business {
  background: var(--mist);
}
.audience-detail#companies {
  background: var(--sand);
}
.audience-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 76px;
  align-items: start;
}
.audience-detail-label > span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .13em;
}
.audience-detail-label h2 {
  font-size: clamp(32px,3.2vw,46px);
  max-width: 430px;
}
.audience-detail-body {
  max-width: 780px;
}
.audience-detail-lead {
  margin: 0 0 25px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.68;
}
.audience-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 30px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.audience-list li {
  position: relative;
  padding: 15px 0 15px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.audience-existing {
  background: #fffdf8;
}
.audience-existing .statement-grid {
  align-items: center;
}
.audience-opposite {
  padding: 58px 0;
  background: #e9e2d5;
  border-top: 1px solid #d8cdbd;
  border-bottom: 1px solid #d8cdbd;
}
.audience-opposite-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 46px;
  align-items: center;
}
.audience-opposite h2 {
  margin-bottom: 12px;
  font-size: clamp(29px,2.8vw,39px);
}
.audience-opposite p {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}
.audience-request .audience-note {
  max-width: 650px;
  margin-top: 16px;
  color: #b9cacc;
  font-size: 15px;
  line-height: 1.6;
}
html[dir="rtl"] .audience-list li {
  padding-left: 0;
  padding-right: 22px;
}
html[dir="rtl"] .audience-list li::before {
  left: auto;
  right: 0;
}
@media (max-width: 980px) {
  .audience-picker-head,
  .audience-picker-compact .audience-picker-head,
  .audience-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .audience-card,
  .audience-picker-compact .audience-card {
    min-height: 0;
  }
  .audience-card p,
  .audience-picker-compact .audience-card p {
    min-height: 0;
  }
  .audience-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .audience-picker {
    padding: 50px 0;
  }
  .audience-picker-compact {
    padding: 38px 0 42px;
  }
  .audience-picker-head h2,
  .audience-picker-compact .audience-picker-head h2 {
    font-size: 30px;
  }
  .audience-card {
    padding: 23px;
  }
  .audience-detail {
    padding: 58px 0;
  }
  .audience-detail-label h2 {
    font-size: 31px;
  }
  .audience-detail-lead {
    font-size: 17px;
  }
  .audience-opposite-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .audience-opposite .btn {
    justify-self: start;
  }
}

/* =========================================================
   HYBC layout reliability pass — 2026-10-02 build 2
   New filename intentionally busts CDN/browser cache.
   ========================================================= */
html {
  scroll-padding-top: 96px;
}
body {
  overflow-x: clip;
}
section[id] {
  scroll-margin-top: 96px;
}
.btn,
.corporate-page .site-header a,
.corporate-page .site-header button {
  -webkit-tap-highlight-color: transparent;
}
.btn {
  white-space: nowrap;
}

/* Give the header its own wider canvas. Page content stays at 1200px. */
.corporate-page .site-header .container.nav {
  width: min(calc(100% - 40px), 1460px);
  max-width: 1460px;
}
.corporate-page .site-header .nav {
  grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
  gap: 20px;
}
.corporate-page .site-header .brand {
  min-width: 210px;
}
.corporate-page .site-header .nav-links {
  justify-content: center;
  gap: 22px;
  min-width: 0;
  font-size: 14.5px;
}
.corporate-page .site-header .nav-links > a {
  display: inline-flex;
  align-items: center;
  min-height: 76px;
  padding: 0;
  white-space: nowrap;
}
.corporate-page .site-header .nav-tools {
  justify-self: end;
  min-width: 0;
  gap: 9px;
}
.corporate-page .site-header .lang button {
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
}
.corporate-page .site-header .nav-tools > .btn {
  min-height: 44px;
  padding: 0 15px;
  font-size: 14px;
}

/* New audience modules: repeated here on a unique URL so a stale cached
   polish.css can never leave the new pages unstyled. */
.audience-picker {
  padding: 60px 0;
  background: #eef5f3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.audience-picker-head {
  display: grid;
  grid-template-columns: minmax(300px,.9fr) minmax(0,1.1fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 28px;
}
.audience-picker-head h2 {
  font-size: clamp(31px,3vw,43px);
  max-width: 620px;
  text-wrap: balance;
}
.audience-picker-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 690px;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.audience-card {
  position: relative;
  min-height: 222px;
  padding: 27px 27px 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  box-shadow: 0 12px 28px rgba(12,38,50,.045);
}
.audience-card:nth-child(2) { border-top-color: #b36742; }
.audience-card:nth-child(3) { border-top-color: var(--ink); }
.audience-badge {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .12em;
}
.audience-card:nth-child(2) .audience-badge { color: #9a5939; }
.audience-card:nth-child(3) .audience-badge { color: var(--ink); }
.audience-card h3 {
  margin-bottom: 11px;
  font-size: 23px;
  line-height: 1.18;
  text-wrap: balance;
}
.audience-card p {
  min-height: 76px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.64;
}
.audience-picker-compact {
  padding: 44px 0 48px;
  background: #f7f8f5;
}
.audience-picker-compact .audience-picker-head {
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-bottom: 22px;
}
.audience-picker-compact .audience-picker-head h2 { font-size: 30px; }
.audience-picker-compact .audience-card { min-height: 188px; padding: 22px 24px; }
.audience-picker-compact .audience-badge { margin-bottom: 15px; }
.audience-picker-compact .audience-card h3 { font-size: 20px; }
.audience-picker-compact .audience-card p { min-height: 64px; font-size: 15px; }

.audience-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: 60px;
}
.audience-hero .page-hero h1,
.audience-hero h1 {
  max-width: 760px;
  text-wrap: balance;
}
.audience-hero .page-aside { align-self: end; }
.audience-jump-wrap {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.audience-jump {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 17px;
  padding-bottom: 17px;
}
.audience-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.35;
  white-space: nowrap;
}
.audience-jump a:hover,
.audience-jump a:focus-visible {
  border-color: #9bb8b1;
  background: var(--mist);
}
.audience-detail {
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
}
.audience-detail#small-business { background: var(--mist); }
.audience-detail#companies { background: var(--sand); }
.audience-detail-grid {
  display: grid;
  grid-template-columns: minmax(255px,.72fr) minmax(0,1.28fr);
  gap: 54px;
  align-items: start;
}
.audience-detail-label > span {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .13em;
}
.audience-detail-label h2 {
  max-width: 430px;
  font-size: clamp(31px,3vw,43px);
  text-wrap: balance;
}
.audience-detail-body { max-width: none; }
.audience-detail-lead {
  margin: 0 0 22px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.65;
}
.audience-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 28px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.audience-list li {
  position: relative;
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.audience-existing { background: #fffdf8; }
.audience-existing .statement-grid { align-items: center; }
.audience-opposite {
  padding: 54px 0;
  background: #e9e2d5;
  border-top: 1px solid #d8cdbd;
  border-bottom: 1px solid #d8cdbd;
}
.audience-opposite-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 42px;
  align-items: center;
}
.audience-opposite h2 {
  margin-bottom: 11px;
  font-size: clamp(29px,2.7vw,38px);
  text-wrap: balance;
}
.audience-opposite p {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}
.audience-request .audience-note {
  max-width: 650px;
  margin-top: 16px;
  color: #b9cacc;
  font-size: 15px;
  line-height: 1.6;
}
html[dir="rtl"] .audience-list li { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .audience-list li::before { left: auto; right: 0; }

/* Prevent cramped desktop navigation before switching to the menu button. */
@media (max-width: 1380px) {
  .corporate-page .site-header .brand > span > span { display: none; }
  .corporate-page .site-header .brand { min-width: 195px; }
  .corporate-page .site-header .nav-links { gap: 17px; font-size: 14px; }
}
@media (max-width: 1220px) {
  .corporate-page .site-header .nav {
    grid-template-columns: auto 1fr;
    gap: 18px;
  }
  .corporate-page .site-header .nav-links { display: none; }
  .corporate-page .site-header .mobile-nav { display: block; }
  .corporate-page .site-header .nav-tools { justify-self: end; }
}
@media (max-width: 980px) {
  .audience-picker-head,
  .audience-picker-compact .audience-picker-head,
  .audience-detail-grid,
  .audience-hero .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card,
  .audience-picker-compact .audience-card { min-height: 0; }
  .audience-card p,
  .audience-picker-compact .audience-card p { min-height: 0; }
  .audience-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 18px; }
  section[id] { scroll-margin-top: 18px; }
  .audience-picker { padding: 48px 0; }
  .audience-picker-compact { padding: 38px 0 42px; }
  .audience-picker-head h2,
  .audience-picker-compact .audience-picker-head h2 { font-size: 30px; }
  .audience-card { padding: 23px; }
  .audience-jump { gap: 8px; }
  .audience-jump a { min-height: 40px; padding: 7px 12px; font-size: 14px; white-space: normal; }
  .audience-detail { padding: 52px 0; }
  .audience-detail-label h2 { font-size: 31px; }
  .audience-detail-lead { font-size: 17px; }
  .audience-opposite-grid { grid-template-columns: 1fr; gap: 22px; }
  .audience-opposite .btn { justify-self: start; }
  .corporate-page .site-header .container.nav { width: min(calc(100% - 28px), 1460px); }
}
