/* The site footer (lib/footer.ts): this app's pages and the plan pages served from healthrx.com both load this file.
   Self-contained: every rule is under .tf and sets its own colors and type, so the plan's stylesheet can't change it.
   The fonts for this app's pages are here too: a font must come from the page's own address. */
@font-face { font-family: "Figtree"; src: url("/fonts/figtree/Figtree-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Teodor"; src: url("/fonts/teodor/Teodor-TRIAL-Regular.otf") format("opentype"); font-weight: 100 900; font-style: normal; font-display: swap; }
.tf { background: #0b2146; color: #d9e3f0; font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.55; margin-top: 48px; padding: 40px 16px calc(32px + env(safe-area-inset-bottom)); text-align: left; }
.tf.tf-plan { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
.tf * { box-sizing: border-box; }
.tf-in { max-width: 1080px; margin: 0 auto; }
.tf a { color: #ffffff; text-decoration: underline; text-underline-offset: 2px; }
.tf a:hover { color: #b2cffe; }
.tf p, .tf address { margin: 0 0 10px; font-style: normal; }
.tf-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.tf-id { max-width: 520px; }
/* the light wordmark straight on the navy (Dan, 2026-11-01: white text, a lighter blue rx) */
.tf-brand { display: inline-block; margin-bottom: 14px; }
.tf-brand img { display: block; height: 22px; width: auto; }
.tf-portal { color: #b8c7da; }
.tf-seal { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: #ffffff; }
/* LegitScript's own seal is dark with a white outline, so it sits on the navy as it is, without a white box */
.tf-seal img { display: block; width: 73px; height: 79px; }
.tf-seal span { font-weight: 600; font-size: 13px; line-height: 1.4; }
.tf-nav { margin: 28px 0 22px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.tf-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.tf-nav a { text-decoration: none; display: inline-block; padding: 3px 0; }
.tf-nav a:hover { text-decoration: underline; }
.tf-fine p { color: #a9b9cd; font-size: 12.5px; }
.tf-fine b { color: #ffffff; }
.tf-copy { color: #8da1b9; font-size: 12.5px; margin: 16px 0 0 !important; }
@media (min-width: 760px) {
  .tf { padding-top: 52px; }
  .tf-nav ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Under the funnel the navy runs to the very bottom (Dan, 2026-11-01: "don't need white at bottom, makes the popups
   disappear"): the footer's own bottom padding makes room for the bars, so the page adds none of its own */
body:has(.tf.tf-plan) { padding-bottom: 0 !important; }
