/* This local revision centers the filing link on every page.
   All other changes are limited to the mobile homepage above the company section. */
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 16px;
}
.footer-bottom > span:first-child { text-align: left; }
.footer-bottom > span:nth-child(2) { text-align: right; }
.footer-bottom > .footer-icp {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  text-align: center;
}
.footer-bottom .icp-link {
  display: inline-block;
  max-width: 100%;
  padding: 4px 8px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .footer-bottom { display: block; }
  .footer-bottom > span:first-child,
  .footer-bottom > span:nth-child(2) { text-align: left; }
  .footer-bottom > .footer-icp { margin-top: 12px; text-align: center; }

  .home-page .masthead { border-bottom: 1px solid var(--line); }
  .home-page .brand-row {
    width: calc(100% - 32px);
    min-height: 70px;
    gap: 10px;
    padding-block: 9px;
  }
  .home-page .masthead .brand-logo { flex: 0 0 72px; }
  .home-page .masthead .brand-logo img { width: 72px; height: 40px; }
  .home-page .masthead .company-name {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
  }
  .home-page .masthead .company-name > span { display: block; white-space: nowrap; }
  .home-page .masthead .header-contact { display: none; }
  .home-page .menu-toggle {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #cadced;
    border-radius: 4px;
    color: var(--blue);
    background: #fff;
  }
  .home-page .menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; }
  .home-page .nav-wrap .container { width: 100%; }
  .home-page .main-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .home-page .main-nav a { min-height: 46px; padding: 11px 4px; font-size: 12px; }
  html[data-enhanced="true"] .home-page .main-nav { display: none; }
  html[data-enhanced="true"] .home-page .main-nav[data-open="true"] {
    display: grid;
    grid-template-columns: 1fr;
    padding: 8px 16px 12px;
  }
  html[data-enhanced="true"] .home-page .main-nav[data-open="true"] a {
    justify-content: flex-start;
    min-height: 46px;
    padding-inline: 16px;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    font-size: 15px;
  }
  html[data-enhanced="true"] .home-page .main-nav[data-open="true"] a[aria-current="page"]::after {
    top: 13px;
    bottom: 13px;
    left: 0;
    width: 3px;
    height: auto;
    transform: none;
  }

  .home-page .hero-layout {
    width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    min-height: 210px;
    gap: 4px;
    padding-block: 21px;
  }
  .home-page .hero-copy { min-width: 0; padding: 0; }
  .home-page .hero .eyebrow { margin-bottom: 7px; font-size: 11px; letter-spacing: .04em; }
  .home-page .hero h1 { margin-bottom: 9px; font-size: clamp(22px, 6.1vw, 28px); line-height: 1.32; letter-spacing: 0; }
  .home-page .hero-copy p { margin-bottom: 13px; font-size: 12px; line-height: 1.65; }
  .home-page .hero-copy .button { min-height: 44px; gap: 7px; padding: 9px 12px; font-size: 12px; }
  .home-page .hero-copy .button svg { width: 15px; height: 15px; }
  .home-page .hero-visual { align-self: center; margin: 0; }
  .home-page .hero-visual img { width: 100%; height: clamp(136px, 36vw, 200px); border-radius: 0; object-fit: contain; mix-blend-mode: multiply; }
  .home-page .hero-controls { display: none; }

  .home-page .home-products { padding-block: 23px 30px; }
  .home-page .home-products > .container { display: grid; width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); }
  .home-page .home-products .product-layout { display: contents; }
  .home-page .home-products .category-sidebar { order: 1; display: block; padding: 0; border-radius: 0; background: transparent; }
  .home-page .home-products .category-sidebar h3 { margin-bottom: 12px; font-size: 19px; line-height: 1.5; }
  .home-page .home-products .flat-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-page .home-products .flat-categories a {
    min-width: 0;
    min-height: 44px;
    gap: 5px;
    padding: 10px 11px;
    border: 1px solid #e5edf7;
    border-radius: 4px;
    color: var(--blue);
    background: #eff5fd;
    font-size: 13px;
    line-height: 1.6;
  }
  .home-page .home-products .flat-categories a:last-child { grid-column: 1 / -1; }
  .home-page .home-products .home-products-heading { order: 2; gap: 10px; margin: 23px 0 13px; }
  .home-page .home-products .home-products-heading h2 { font-size: 21px; line-height: 1.5; }
  .home-page .home-products .home-products-heading .text-link { font-size: 12px; }
  .home-page .home-products .product-grid { order: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .home-page .home-products .product-card { border-radius: 5px; }
  .home-page .home-products .product-card > a.product-photo { aspect-ratio: 1.15; padding: 5px; }
  .home-page .home-products .product-card > .product-card-title { padding: 11px 4px 12px; font-size: 13px; line-height: 1.55; }
}

@media (max-width: 340px) {
  .home-page .brand-row { gap: 8px; }
  .home-page .masthead .brand-logo { flex-basis: 62px; }
  .home-page .masthead .brand-logo img { width: 62px; height: 36px; }
  .home-page .masthead .company-name { font-size: 12px; }
  .home-page .hero h1 { font-size: 21px; }
  .home-page .hero-copy p { font-size: 11px; }
  .home-page .home-products .flat-categories a { padding-inline: 8px; font-size: 12px; }
  .home-page .home-products .product-card > .product-card-title { font-size: 12px; }
}
