/* Roundly website: the top bar with its menu, and the footer, shared by every
   page (home, offer, privacy and the rest). Class names start st- (top) and
   sf- (footer) so nothing here reaches a page's own styles, and each rule is
   specific enough to beat a page's plain `header` / `footer` rules. */

header.site-top { position: relative; z-index: 30; background: #2B3440; padding: 0; }
header.site-top .st-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; min-height: 64px; display: flex; align-items: center; gap: 12px; }
header.site-top .st-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: #fff; font-weight: 750; font-size: 22px; letter-spacing: -0.3px; }
header.site-top .st-brand img { width: 34px; height: 34px; border-radius: 9px; }
header.site-top .st-nav { display: none; align-items: center; gap: 4px; }
header.site-top .st-nav a { color: #D7DDE5; text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 12px; border-radius: 10px; }
header.site-top .st-nav a:hover, header.site-top .st-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
header.site-top .st-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #F4DC52; color: #2B3440; font-weight: 750; font-size: 16px; text-decoration: none; white-space: nowrap; }
header.site-top .st-cta:hover { background: #E9CF3C; }
header.site-top .st-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
header.site-top .st-menu svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }
header.site-top .st-menu[aria-expanded="true"] { background: rgba(255,255,255,.1); }
header.site-top .st-menu:focus-visible, header.site-top .st-nav a:focus-visible, header.site-top .st-cta:focus-visible { outline: 3px solid #F4DC52; outline-offset: 2px; }

/* The phone menu: a panel under the bar. It closes on a tap outside, on
   Escape and when a link is chosen (chrome.js). */
header.site-top .st-panel { position: absolute; left: 0; right: 0; top: 100%; background: #2B3440; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.35); padding: 8px 20px 16px; }
header.site-top .st-panel[hidden] { display: none; }
header.site-top .st-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; color: #fff; text-decoration: none; font-weight: 650; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
header.site-top .st-panel a:last-child { border-bottom: 0; }
header.site-top .st-panel a.st-panel-cta { margin-top: 12px; justify-content: center; border-radius: 12px; background: #F4DC52; color: #2B3440; border-bottom: 0; }

@media (min-width: 900px) {
  header.site-top .st-nav { display: flex; }
  header.site-top .st-menu, header.site-top .st-panel { display: none; }
}
@media (max-width: 380px) {
  header.site-top .st-brand { font-size: 19px; }
  header.site-top .st-cta { padding: 0 12px; font-size: 15px; }
}

/* Footer: four named groups (Baymard: grouped, clearly named footer links),
   never folded away (Nielsen Norman Group), each link a full thumb-sized tap. */
footer.site-foot { background: #2B3440; color: #D7DDE5; padding: 40px 0 28px; margin: 0; text-align: left; font-size: 15px; border-top: 1px solid rgba(255,255,255,.12); }
footer.site-foot .sf-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
footer.site-foot .sf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
footer.site-foot h2 { margin: 0 0 4px; color: #fff; font-size: 15px; font-weight: 750; letter-spacing: .2px; }
footer.site-foot ul { list-style: none; margin: 0 0 18px; padding: 0; }
footer.site-foot li a { display: flex; align-items: center; min-height: 44px; color: #D7DDE5; text-decoration: none; }
footer.site-foot li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
footer.site-foot .sf-base { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; margin-top: 8px; }
footer.site-foot .sf-base .st-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 750; font-size: 19px; }
footer.site-foot .sf-base .st-brand img { width: 28px; height: 28px; border-radius: 7px; }
footer.site-foot .sf-base p { margin: 0; color: #B9C2CD; font-size: 14px; }
footer.site-foot a:focus-visible { outline: 3px solid #F4DC52; outline-offset: 2px; }
@media (min-width: 820px) {
  footer.site-foot .sf-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  footer.site-foot li a { min-height: 36px; }
}
