/* Teephak STEP17. The original homepage desktop CSS remains authoritative. */
/* Reproduce the homepage footer styling on inner public pages only. */
.footer.tp-home-footer.tp-step17-inner-footer {
  background: #10212e; color: #f5f8fb; padding: 0;
  width: 100%; box-sizing: border-box;
}
.footer.tp-home-footer.tp-step17-inner-footer *,
.footer.tp-home-footer.tp-step17-inner-footer *::before,
.footer.tp-home-footer.tp-step17-inner-footer *::after { box-sizing: border-box; }
.footer.tp-home-footer.tp-step17-inner-footer > .container {
  width: min(1200px, calc(100% - 40px)); max-width: 1200px;
  margin-inline: auto; padding: 0;
}
.footer.tp-home-footer.tp-step17-inner-footer .footer-main {
  display: flex; justify-content: space-between; align-items: center;
  gap: 26px; padding: 27px 0 23px; min-width: 0;
}
.footer.tp-home-footer.tp-step17-inner-footer .brand {
  display: inline-flex; align-items: center; flex-shrink: 0;
  gap: 11px; color: #ffffff; text-decoration: none;
}
.footer.tp-home-footer.tp-step17-inner-footer .logo-symbol {
  display: block; width: 47px; height: 45px; flex: 0 0 47px;
}
.footer.tp-home-footer.tp-step17-inner-footer .brand-copy {
  display: flex; flex-direction: column; min-width: 0; line-height: 1.15;
}
.footer.tp-home-footer.tp-step17-inner-footer .brand-copy strong {
  display: block; color: #fff; font-size: 23px; font-weight: 760;
}
.footer.tp-home-footer.tp-step17-inner-footer .brand-copy small {
  display: block; color: #fff; font-size: 11px; font-weight: 650; margin-top: 2px;
}
.footer.tp-home-footer.tp-step17-inner-footer .footer-nav {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 16px 24px; flex-wrap: wrap; min-width: 0;
}
.footer.tp-home-footer.tp-step17-inner-footer .footer-nav a {
  color: #f1f5f8; font-size: 13px; font-weight: 400;
  text-decoration: none; line-height: 1.5;
}
.footer.tp-home-footer.tp-step17-inner-footer .footer-note {
  margin: 0; text-align: center; padding: 2px 0 30px;
  font-size: 12px; color: #9eacb6; line-height: 1.5;
}
/* The four legal/company links use two columns on every public mobile page,
   including the already-approved homepage. */
@media screen and (max-width: 767px) {
  .footer.tp-home-footer {
    overflow: clip; max-width: 100%;
  }
  .footer.tp-home-footer > .container {
    width: calc(100% - 32px) !important; max-width: 100% !important;
    margin-inline: auto !important; padding-inline: 0 !important;
    box-sizing: border-box !important;
  }
  .footer.tp-home-footer .footer-main {
    display: flex !important; flex-direction: column !important;
    align-items: stretch !important; gap: 14px !important;
    padding-block: 23px 10px !important;
  }
  .footer.tp-home-footer .footer-main > .brand {
    display: inline-flex !important; align-self: flex-start !important;
    align-items: center; max-width: 100%; gap: 10px;
    margin: 0 !important;
  }
  .footer.tp-home-footer .brand .logo-symbol {
    display: block; width: 39px !important; height: 38px !important; flex: 0 0 39px;
  }
  .footer.tp-home-footer .brand .brand-copy strong {
    font-size: 20px !important; line-height: 1.18 !important;
  }
  .footer.tp-home-footer .footer-main .footer-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    width: 100% !important; max-width: 100% !important;
    gap: 8px 9px !important;
    justify-content: stretch !important; margin: 0 !important;
  }
  .footer.tp-home-footer .footer-main .footer-nav a {
    display: flex !important; min-width: 0 !important; min-height: 45px;
    align-items: center; justify-content: center;
    padding: 8px 6px !important; margin: 0 !important;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
    color: #f6f9fa !important; text-align: center;
    font-size: 12px !important; line-height: 1.45 !important;
    white-space: normal !important; overflow-wrap: anywhere;
    text-decoration: none !important;
  }
  .footer.tp-home-footer .footer-note {
    text-align: center !important; padding: 8px 0 25px !important;
    font-size: 11px !important; line-height: 1.5 !important;
  }
  /* Preserve extra bottom room on existing inner pages with fixed mobile CTA. */
  .footer.tp-home-footer.tp-step17-inner-footer .footer-note {
    padding-bottom: calc(79px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
.footer.tp-home-footer .footer-nav a:focus-visible,
.footer.tp-home-footer .brand:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
}
