
  .sb-footer, .sb-footer * { box-sizing: border-box; }
  /* Same shell as both headers: the gutter grows with the screen, the content stops at 1440px
     (1760px on 2200px+ screens, 2400px on 3200px+). Page themes may still widen it. */
  .sb-footer { --sb-gx: clamp(12px,2.2vw,32px); --sb-max: 1440px; margin-top: 64px; border-top: 1px solid rgba(255,255,255,.08); background: #111827; color: #f8fafc; font-family: inherit; }
  .sb-footer__inner { width: calc(100% - 2 * max(var(--sb-gx), env(safe-area-inset-left,0px), env(safe-area-inset-right,0px))); max-width: var(--sb-max); margin: 0 auto; padding: 58px 0 max(28px, env(safe-area-inset-bottom,0px)); }
  .sb-footer__grid { display: grid; grid-template-columns: 1.35fr .75fr 1fr 1fr; gap: 44px; align-items: start; }
  .sb-footer__brand { display: flex; align-items: center; gap: 13px; }
  .sb-footer__logo { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.1); }
  .sb-footer__logo img { display: block; width: 29px; height: 29px; object-fit: contain; }
  .sb-footer__name { font-size: 18px; font-weight: 850; letter-spacing: -.02em; }
  .sb-footer__tagline { margin-top: 4px; color: #cbd5e1; font-size: 13px; line-height: 1.45; }
  .sb-footer__copy { max-width: 480px; margin: 20px 0 0; color: #d5dbea; font-size: 14px; line-height: 1.8; }
  .sb-footer__details { margin-top: 18px; color: #9aa7bc; font-size: 13px; line-height: 1.8; }
  .sb-footer__details p { margin: 3px 0; }
  .sb-footer__details strong { color: #f1f5f9; font-weight: 750; }
  .sb-footer h2 { margin: 3px 0 17px; color: #9aa7bc; font-size: 12px; line-height: 1.2; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
  .sb-footer ul { margin: 0; padding: 0; list-style: none; }
  .sb-footer li + li { margin-top: 10px; }
  .sb-footer a { color: #dce3ef; text-decoration: none; transition: color .16s ease; overflow-wrap: anywhere; }
  .sb-footer a:hover { color: #fb923c; text-decoration: underline; text-underline-offset: 3px; }
  .sb-footer a:focus-visible { outline: 2px solid #fb923c; outline-offset: 3px; border-radius: 4px; }
  .sb-footer__links { font-size: 13px; line-height: 1.6; }
  .sb-footer__contact { color: #d5dbea; font-size: 13px; line-height: 1.65; }
  .sb-footer__contact p { margin: 0 0 13px; }
  .sb-footer__contact span { color: #9aa7bc; }
  .sb-footer__bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #94a3b8; font-size: 12px; }
  .sb-footer__bottom p { margin: 0; }
  @media (max-width: 980px) { .sb-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } .sb-footer__about { grid-column: 1 / -1; } .sb-footer__copy { max-width: 640px; } }
  @media (max-width: 700px) { .sb-footer { margin-top: 48px; } .sb-footer__inner { padding-top: 42px; } .sb-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; } .sb-footer__about { grid-column: 1 / -1; } .sb-footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 34px; } }
  /* Phones keep Navigare and Legal side by side (short links), with Contact under them,
     and tap targets of about 40px on the links. */
  @media (max-width: 480px) {
    .sb-footer__inner { padding-top: 36px; }
    .sb-footer__grid { gap: 30px 18px; }
    .sb-footer__copy { font-size: 13.5px; line-height: 1.7; margin-top: 16px; }
    .sb-footer__grid > section:last-child { grid-column: 1 / -1; }
    .sb-footer li + li { margin-top: 2px; }
    .sb-footer__links a { display: inline-block; padding: 8px 0; }
    .sb-footer h2 { margin-bottom: 8px; }
  }
  @media (max-width: 340px) { .sb-footer__grid { grid-template-columns: 1fr; } .sb-footer__grid > section:last-child { grid-column: auto; } }
  /* Large monitors and TVs: a wider shell and larger type, never CSS zoom. */
  @media (min-width: 2200px) {
    .sb-footer { --sb-max: 1760px; }
    .sb-footer__inner { padding-top: 72px; }
    .sb-footer__grid { gap: 56px; }
    .sb-footer__logo { width: 58px; height: 58px; flex-basis: 58px; border-radius: 18px; }
    .sb-footer__logo img { width: 35px; height: 35px; }
    .sb-footer__name { font-size: 22px; }
    .sb-footer__tagline, .sb-footer__details, .sb-footer__links, .sb-footer__contact { font-size: 16px; }
    .sb-footer__copy { font-size: 17px; max-width: 580px; }
    .sb-footer h2 { font-size: 14px; }
    .sb-footer__bottom { font-size: 14px; }
  }
  @media (min-width: 3200px) {
    .sb-footer { --sb-max: 2400px; --sb-gx: 48px; }
    .sb-footer__inner { padding-top: 96px; padding-bottom: 40px; }
    .sb-footer__grid { gap: 80px; }
    .sb-footer__logo { width: 76px; height: 76px; flex-basis: 76px; border-radius: 22px; }
    .sb-footer__logo img { width: 46px; height: 46px; }
    .sb-footer__name { font-size: 28px; }
    .sb-footer__tagline, .sb-footer__details, .sb-footer__links, .sb-footer__contact { font-size: 20px; }
    .sb-footer__copy { font-size: 22px; max-width: 760px; }
    .sb-footer h2 { font-size: 17px; margin-bottom: 22px; }
    .sb-footer li + li { margin-top: 14px; }
    .sb-footer__bottom { font-size: 17px; margin-top: 56px; padding-top: 28px; }
  }
