/* The invitation is content; contact, community and utility links end the page. */
.landing-shell { padding-bottom:32px; }
.footer-cta.home-invitation { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:0; margin-top:26px; }
.home-invitation-copy { padding:clamp(26px,4vw,48px); }
.home-invitation .home-footer-art { margin:0; min-height:300px; }
.home-invitation .home-footer-art img { width:100%; height:100%; aspect-ratio:auto; object-fit:cover; }
.home-site-footer { padding:40px 0 120px; border-top:1px solid var(--line); background:#f9f5ec; scroll-margin-top:144px; }
.home-footer-groups { width:min(calc(100% - 32px),var(--content)); margin:0 auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr); gap:32px; align-items:start; }
.home-footer-groups > div { min-width:0; }
.home-footer-groups h2 { margin:0 0 16px; color:var(--text); font:700 1.16rem/1.3 "Space Grotesk","Segoe UI",sans-serif; letter-spacing:-.025em; }
.home-footer-groups p { margin:0 0 14px; color:var(--muted); }
.home-footer-groups strong { display:block; margin-bottom:4px; color:var(--text); }
.home-footer-groups a { display:inline-flex; align-items:center; min-height:44px; color:var(--primary-strong); overflow-wrap:anywhere; text-underline-offset:3px; scroll-margin-block:144px 140px; }
.home-footer-groups a:focus-visible { outline:3px solid var(--primary-strong); outline-offset:3px; border-radius:4px; }
.home-footer-groups .footer-links { display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
.home-footer-groups .footer-link { display:inline-flex; align-items:center; min-height:44px; padding:4px 0; border:0; border-radius:0; background:none; font-weight:600; }
.home-footer-groups nav[aria-label="Useful CarFree links"] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 12px; }
.home-footer-groups nav[aria-label="Useful CarFree links"] a { font-size:.9rem; }
.home-footer-groups .footer-community { display:block; padding:0; border:0; border-radius:0; background:none; }
.home-footer-groups .footer-community h3 { margin:0 0 10px; font:700 1rem/1.4 "Manrope","Segoe UI",sans-serif; }
.home-footer-groups .community-join-button { justify-content:flex-start; width:auto; min-height:44px; padding:8px 0; gap:8px; background:none; box-shadow:none; font-size:.95rem; text-align:left; }
.home-footer-groups .slack-icon { width:28px; height:28px; flex-basis:28px; background:none; }
.home-footer-groups .community-details { min-height:44px; }
.home-footer-groups .carfree-social-links a { min-height:44px; }
@media (max-width:1100px) { .home-footer-groups { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 48px; } }
@media (max-width:920px) { .home-site-footer { scroll-margin-top:24px; } .home-footer-groups a { scroll-margin-top:24px; } .home-footer-groups { width:calc(100% - 44px); } }
@media (max-width:760px) {
  .footer-cta.home-invitation { grid-template-columns:minmax(0,1fr); }
  .home-invitation .home-footer-art { min-height:0; }
  .home-invitation .home-footer-art img { height:auto; aspect-ratio:2/1; max-height:280px; }
}
@media (max-width:440px) { .home-site-footer { padding-bottom:164px; } .home-footer-groups a { scroll-margin-bottom:164px; } }
@media (max-width:600px) { .home-footer-groups { grid-template-columns:minmax(0,1fr); gap:30px; } .home-site-footer { padding-top:32px; } }
/* Avoid a sticky header covering the footer in short desktop windows. */
@media (min-width:761px) and (max-height:600px) { .home-site-footer { padding-bottom:32px; scroll-margin-top:24px; } .home-footer-groups { align-items:end; } .home-footer-groups a { scroll-margin-block:24px; } }
@media (min-width:921px) and (max-height:600px) { .site-header { position:relative; top:0; } }
