/* xGrowth footer site directory (2026-11-20).
   Styles only the new nav.xgfd component inserted at the top of each existing <footer>. No footer, .wrap, link or
   social resets. The footer is dark in both site themes.
   v3 contrast: some family footers set an already-dimmed color (Home renders rgba(243,248,252,.6) on black), and
   the heading and link opacities below were compounding that alpha (heading effective .372, about 3.1:1). The
   component now sets its own opaque on-dark foreground, the brand off-white, so the opacities apply to a fixed
   base: headings about 7.0:1 and links about 12:1 on black, and about 6.8:1 and 11:1 on the brand near black #0E0F0C
   (calculated, not rendered).
   Width and side gutter reuse the site's --max and --gut custom properties (the same fallbacks navigation.css
   uses) so the directory aligns with the footer row below it. */

footer > .xgfd{
  --xgfd-fg:#F0F0ED;color:var(--xgfd-fg);
  display:block;box-sizing:border-box;width:100%;max-width:var(--max,1320px);margin:0 auto;
  padding:48px var(--gut,24px) 36px;border-bottom:1px solid color-mix(in srgb,currentColor 16%,transparent);
  font-size:15px;line-height:1.4;font-weight:500;letter-spacing:normal;text-align:left
}
@supports not (color:color-mix(in srgb,red,blue)){
  footer > .xgfd{border-bottom-color:rgba(240,240,237,.16)}
}
.xgfd .xgfd-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:32px 48px}
.xgfd .xgfd-h{
  display:flex;align-items:center;gap:10px;margin:0 0 14px;
  font:inherit;font-size:12px;font-weight:700;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;opacity:.62
}
.xgfd .xgfd-h::before{content:"";flex:none;width:14px;height:2px;border-radius:1px;background:var(--g,#BEFF74)}
.xgfd .xgfd-list{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.xgfd .xgfd-list li{margin:0;padding:0}
.xgfd .xgfd-list a,
.xgfd .xgfd-list .xg-privacy-choices{
  display:inline-flex;align-items:center;min-height:36px;padding:0;
  color:inherit;opacity:.82;text-decoration:none;font:inherit;
  text-underline-offset:5px;text-decoration-thickness:1px
}
.xgfd .xgfd-list .xg-privacy-choices{appearance:none;-webkit-appearance:none;background:none;border:0;margin:0;cursor:pointer;text-align:left}
.xgfd .xgfd-list a:hover,
.xgfd .xgfd-list .xg-privacy-choices:hover{opacity:1;text-decoration:underline}
.xgfd .xgfd-list a[aria-current]{opacity:1;text-decoration:underline;text-decoration-color:var(--g,#BEFF74);text-decoration-thickness:2px}
.xgfd .xgfd-list a:focus-visible,
.xgfd .xgfd-list .xg-privacy-choices:focus-visible{opacity:1;outline:2px solid currentColor;outline-offset:3px;border-radius:4px}

/* Tablet: same three groups, tighter gaps. */
@media (max-width:900px){
  footer > .xgfd{padding-top:40px;padding-bottom:32px}
  .xgfd .xgfd-grid{gap:28px 32px}
}
/* Phone: Services spans the row (longest labels); Explore and Legal sit side by side; 44px touch rows. */
@media (max-width:640px){
  footer > .xgfd{padding:36px var(--gut,16px) 28px;font-size:16px}
  .xgfd .xgfd-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 20px}
  .xgfd .xgfd-group--services{grid-column:1 / -1}
  .xgfd .xgfd-list a,.xgfd .xgfd-list .xg-privacy-choices{min-height:44px}
}
/* Narrow phones: one column, so no label is squeezed. */
@media (max-width:359px){
  .xgfd .xgfd-grid{grid-template-columns:minmax(0,1fr)}
}

@media (forced-colors:active){
  .xgfd .xgfd-h::before{background:CanvasText}
  .xgfd .xgfd-list a,.xgfd .xgfd-list .xg-privacy-choices{opacity:1}
}
