/* Footer on phones (owner, 2026-11-19): the full logo above the tagline, compact accordion rows with hairlines, sans-serif fine print, a highlighted
   OOG link, uniform 26px payment pills, and room at the bottom for the floating chat button. Loaded by the footer itself (siteChrome.ts), after the
   older footer sheets, so these rules match their specificity and only refine them. The owner's figures are tokens (the guards read custom
   properties as the token source). Desktop is untouched. */
.premium-footer {
  --ft-hair: rgba(148, 163, 184, 0.12); --ft-edge: rgba(148, 163, 184, 0.18);
  --ft-head: #E2E8F0; --ft-chev: #64748B; --ft-fine: #64748B; --ft-oog: #60A5FA; --ft-oog-bg: rgba(59, 130, 246, 0.1);
  --ft-row-pad: 13px; --ft-logo-h: 24px; --ft-pill-h: 26px; --ft-pill-gap: 5px; --ft-pill-pad-y: 4px; --ft-pill-pad-x: 10px; --ft-safe-bottom: 76px;
}

@media (max-width: 767px) {
  /* 1. Brand: icon + wordmark on one line, 24px tall, then the tagline. */
  html body .premium-footer.premium-footer .footer-brand { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 8px; row-gap: 8px; margin-bottom: 8px; }
  html body .premium-footer.premium-footer .qf-footer-brandtext { display: contents; }
  html body .premium-footer.premium-footer .footer-brand .qf-footer-brand { grid-column: 1; grid-row: 1; display: flex; align-items: center; }
  html body .premium-footer.premium-footer .footer-brand .qf-footer-logo { height: var(--ft-logo-h); width: auto; max-width: none; }
  html body .premium-footer.premium-footer .qf-footer-wordmark { grid-column: 2; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; font-size: 18px; line-height: 1.4; }
  html body .premium-footer.premium-footer .footer-brand .qf-footer-tagline { grid-column: 1 / -1; grid-row: 2; margin: 0; }

  /* 2. Accordion rows: compact, one hairline under each, a crisp chevron. */
  html body .premium-footer.premium-footer .premium-footer-inner { row-gap: 0; }
  html body .premium-footer.premium-footer .footer-col .qf-fdisc { border-bottom: 1px solid var(--ft-hair); }
  html body .premium-footer.premium-footer .qf-fdisc-sum { min-height: 0; padding: var(--ft-row-pad) 0; }
  html body .premium-footer.premium-footer .qf-fdisc-sum h4 { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ft-head); }
  html body .premium-footer.premium-footer .qf-fdisc-chev { color: var(--ft-chev); }

  /* 3. Fine print in the site's sans-serif; the OOG line as a quiet highlighted link. */
  html body .premium-footer.premium-footer .footer-bottom,
  html body .premium-footer.premium-footer .footer-bottom .qf-foot-line,
  html body .premium-footer.premium-footer .footer-bottom span,
  html body .premium-footer.premium-footer .qf-payrow-trust li,
  html body .premium-footer.premium-footer .qf-payrow-platform li,
  html body .premium-footer.premium-footer .qf-foot-marks a,
  html body .premium-footer.premium-footer .qf-foot-marks,
  html body .premium-footer.premium-footer .qf-foot-marks-line {
    font-family: var(--font-sans) !important; font-size: 12px; line-height: 1.55; color: var(--ft-fine) !important;
  }
  html body .premium-footer.premium-footer .footer-bottom .qf-foot-oog,
  html body .premium-footer.premium-footer .footer-bottom .qf-foot-oog .arr {
    font-family: var(--font-sans) !important; font-size: 12px; line-height: 1.55; font-weight: 500; color: var(--ft-oog) !important;
  }
  html body .premium-footer.premium-footer .footer-bottom .qf-foot-oog { display: block; margin-top: 8px; padding: 8px 12px; border-radius: 8px; background: var(--ft-oog-bg); }

  /* 4. Payment pills: one height, one border; the Stripe badge's text sits centred with room either side. */
  html body .premium-footer.premium-footer .qf-paymark { box-sizing: border-box; height: var(--ft-pill-h); border: 1px solid var(--ft-edge); }
  html body .premium-footer.premium-footer .qf-paymark--proc { display: inline-flex; align-items: center; justify-content: center; gap: var(--ft-pill-gap); width: auto; padding: var(--ft-pill-pad-y) var(--ft-pill-pad-x); }
  html body .premium-footer.premium-footer .qf-paymark--proc .qf-pm-proc { width: 72px; height: 14px; display: block; }

  /* Clear the floating chat button: the last line of fine print never sits beneath it. */
  html body .premium-footer.premium-footer { padding-bottom: var(--ft-safe-bottom); }
}
