/* Site footer (partials/footer.html, inserted by scripts/build_footer.py and build_blog.py).
   Desktop: brand block and five link columns. Phones: each column is a section that opens with a
   tap, "Get set up" open first (footer.js). */
.site-foot { background: #0E1116; color: #F4F5F2; border-top: 1px solid #23272F; font-family: 'Manrope', system-ui, sans-serif; }
.site-foot a { color: #9AA0AA; text-decoration: none; }
.site-foot a:hover, .site-foot a:focus-visible { color: #C6F432; }
.site-foot a:focus-visible, .site-foot summary:focus-visible { outline: 2px solid #C6F432; outline-offset: 2px; border-radius: 4px; }
.sf-wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(16px, 4vw, 48px); padding-right: clamp(16px, 4vw, 48px); box-sizing: content-box; }
.sf-main { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)) minmax(0, 1.25fr); column-gap: 28px; padding-top: 64px; padding-bottom: 40px; }
.sf-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-right: 24px; }
.sf-logo { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.sf-logo img { height: 20px; width: auto; display: block; }
.sf-tag { margin: 0; font-size: 15px; line-height: 1.55; color: #C9CDD3; }
.sf-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-foot .sf-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 6px; background: #C6F432; color: #0E1116; font-size: 15px; font-weight: 700; white-space: nowrap; }
.site-foot .sf-btn:hover { background: #D4F75E; color: #0E1116; }
.sf-note { font-size: 13px; color: #9AA0AA; }
/* Google Play badge (Google's official artwork, unchanged) and where else WattAscent runs.
   The badge is hidden on iPhone and iPad: only iOS WebKit supports -webkit-touch-callout. */
.sf-apps { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-foot .sf-play { display: inline-flex; border-radius: 7px; }
.sf-play img { display: block; height: 40px; width: auto; }
.sf-apps p { margin: 0; font-size: 13px; line-height: 1.45; color: #9AA0AA; }
@supports (-webkit-touch-callout: none) { .site-foot .sf-play { display: none; } }
.sf-col summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: default; }
.sf-col summary::-webkit-details-marker { display: none; }
.sf-col h2 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #F4F5F2; }
.sf-chev { display: none; color: #9AA0AA; transition: transform .15s; }
.sf-col nav { display: flex; flex-direction: column; }
.sf-col nav { gap: 2px; }
.sf-col nav a { padding: 6px 0; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.sf-col nav a.sf-mail { white-space: nowrap; overflow-wrap: normal; }
.site-foot .sf-strong { color: #F4F5F2; }
.sf-bold { font-weight: 700; }
.site-foot .sf-underline { text-decoration: underline; text-underline-offset: 3px; }
.sf-legal { border-top: 1px solid #23272F; }
/* Bottom padding keeps the fixed "Ask a question" chat button clear of the legal links. */
.sf-legal-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; padding-bottom: 96px; font-size: 14px; color: #9AA0AA; }
.sf-legal nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.sf-legal nav a { padding: 12px 0; }

/* Tablets: brand across the top, columns in a row of five beneath. */
@media (max-width: 1080px) {
  .sf-main { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 40px; }
  .sf-brand { grid-column: 1 / -1; padding-right: 0; max-width: 560px; }
}

/* Phones: stacked, each column a section that opens with a tap. */
@media (max-width: 760px) {
  .sf-main { display: flex; flex-direction: column; row-gap: 0; padding-top: 40px; padding-bottom: 8px; }
  .sf-brand { order: -2; gap: 16px; padding-bottom: 28px; }
  .sf-cta { align-self: stretch; }
  .site-foot .sf-btn { justify-content: center; align-self: stretch; min-height: 48px; font-size: 16px; }
  .sf-note { align-self: center; }
  .sf-apps { align-self: stretch; align-items: center; text-align: center; }
  .sf-col { border-bottom: 1px solid #23272F; }
  .sf-col[data-open-on-phone] { order: -1; border-top: 1px solid #23272F; }
  .sf-col summary { min-height: 52px; cursor: pointer; }
  .sf-col h2 { margin: 0; }
  .sf-chev { display: block; }
  .sf-col[open] .sf-chev { transform: rotate(180deg); }
  .sf-col nav { padding-bottom: 10px; }
  .sf-col nav a { display: flex; align-items: center; min-height: 44px; padding: 0; font-size: 16px; }
  .sf-legal-row { flex-direction: column-reverse; align-items: flex-start; padding-top: 16px; }
  .sf-legal nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; width: 100%; }
  .sf-legal nav a { display: flex; align-items: center; min-height: 44px; padding: 0; }
}
/* Language links on the home pages (scripts/build_i18n.py puts them just above the footer). */
.wa-langs { background: #0E1116; border-top: 1px solid #23272F; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; padding: 14px clamp(16px, 4vw, 48px); font-family: 'Manrope', system-ui, sans-serif; }
.wa-langs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 6px; color: #9AA0AA; font-size: 14px; font-weight: 600; text-decoration: none; }
.wa-langs a:hover, .wa-langs a:focus-visible { color: #C6F432; }
.wa-langs a:focus-visible { outline: 2px solid #C6F432; outline-offset: 2px; }
.wa-langs a[aria-current] { color: #F4F5F2; text-decoration: underline; text-decoration-color: #C6F432; text-underline-offset: 4px; }
/* Translated home pages (Nov 15, 2026 layout audit, 8 pages × 5 sizes). Scoped to non-English; English unchanged. */
@media (min-width:761px) and (max-width:1080px){html:not([lang="en"]) .site-foot .sf-main{grid-template-columns:repeat(3,minmax(0,1fr))}}
html:not([lang="en"]) ol[aria-label] li > b{flex:none}
