/* Good Circle: reusable, scoped member design tokens. */
:root{--gc-primary:#247426;--gc-accent:#84DD63;--gc-brand:#33A635;--gc-light:#A7FFAA;--gc-mint:#D3FFD4;--gc-ink:#010401;--gc-header:#111111;--gc-footer:#545454;--gc-type-body:1rem;--gc-type-small:.875rem;--gc-type-heading:clamp(1.5rem,2.2vw,1.875rem);--gc-type-page:clamp(1.75rem,3vw,2.25rem);--gc-control-height:44px;--gc-surface:#fff;--gc-muted:#52605a;--gc-outline:#d9e0da;--gc-error:#a81730;--gc-radius:16px;--gc-font:"Plus Jakarta Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--gc-space:clamp(16px,4vw,48px)}
.gc-shell,.gc-shell *,.gc-shell *::before,.gc-shell *::after{box-sizing:border-box}
.gc-shell{margin:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:var(--gc-surface);color:var(--gc-ink);font:400 var(--gc-type-body)/1.55 var(--gc-font);overflow-wrap:anywhere}
.gc-shell img{max-width:100%;height:auto;display:block}
.gc-shell a{color:inherit;text-decoration:none}
.gc-shell :focus-visible{outline:3px solid var(--gc-accent);outline-offset:4px}
.gc-wrap{width:min(100%,1280px);padding-inline:var(--gc-space);margin-inline:auto;min-width:0}
.gc-header{background:var(--gc-header);color:white}
.gc-header-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;padding-block:8px}
.gc-header-logo{display:flex;align-items:center;min-height:44px;min-width:0}
.gc-header-logo img{width:clamp(142px,16vw,190px)}
.gc-header-actions{display:flex;align-items:center;gap:12px;min-width:0}
.gc-main{flex:1;min-width:0}
.gc-hero{display:grid;place-items:center;min-height:clamp(420px,56vh,580px);min-height:clamp(420px,56svh,580px);padding:clamp(28px,4vw,52px) var(--gc-space);background:linear-gradient(0deg,rgba(7,26,18,.20),rgba(7,26,18,.20)),url('../img/hero.jpg') center/cover no-repeat}
.gc-auth-card{width:min(100%,500px);min-width:0;padding:clamp(24px,3.2vw,40px);border:1px solid rgba(211,255,212,.28);border-radius:20px;background:rgba(6,27,19,.80);color:#fff;box-shadow:0 18px 60px #0003}
.gc-auth-card h1{font-size:var(--gc-type-heading);font-weight:650;line-height:1.3;letter-spacing:-.025em;text-align:center;margin:0 0 24px}
.gc-field{display:grid;gap:6px;margin:0 0 16px;min-width:0}
.gc-field label{font-size:.875rem;font-weight:600}
.gc-input{width:100%;min-width:0;min-height:48px;border:1px solid var(--gc-outline);border-radius:9px;background:white;color:var(--gc-ink);padding:12px 14px;font:inherit;font-size:16px}
.gc-input::placeholder{color:#64726a}
.gc-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:10px 24px;border:1px solid transparent;border-radius:999px;background:var(--gc-primary);color:white!important;font:600 1rem/1.35 var(--gc-font);cursor:pointer;text-align:center}
.gc-button:hover{background:#1c5e1e}.gc-button:disabled{opacity:.55;cursor:not-allowed}
.gc-button-block{width:100%}.gc-button-outline{background:transparent;border-color:currentColor;color:inherit!important}
.gc-error{color:var(--gc-error)}.gc-auth-card .gc-error{color:#ffd4dc}
.gc-footer{background:var(--gc-footer);color:white}
.gc-footer-row{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:32px;padding-block:clamp(32px,4vw,52px);min-height:200px}
.gc-explore{justify-self:center;text-align:center;display:grid;gap:6px}.gc-explore h2{margin:0;font-size:1.125rem}
.gc-explore a,.gc-legal a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 8px}
.gc-explore a:hover,.gc-legal a:hover{color:var(--gc-light)}
.gc-footer-logo{width:clamp(190px,24vw,260px);justify-self:center}
.gc-legal{background:var(--gc-ink);color:white;font-size:.8125rem}
.gc-legal-row{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:60px;padding-block:10px}
.gc-legal-links{display:flex;flex-wrap:wrap;gap:8px}
/* Shared dialog primitives: identity module supplies city search and persistence. */
.gc-dialog{width:min(100% - 32px,520px);max-height:min(82dvh,640px);padding:24px;border:1px solid var(--gc-outline);border-radius:var(--gc-radius);color:var(--gc-ink);background:white;overflow:auto}
.gc-dialog::backdrop{background:#061b13a8}.gc-dialog h2{margin:0 0 16px}.gc-city-list{display:grid;gap:4px;list-style:none;margin:0;padding:0}.gc-city-option{display:flex;flex-direction:column;text-align:left;width:100%;min-height:52px;padding:10px 14px;border:0;border-radius:10px;background:white;color:var(--gc-ink);font:inherit;cursor:pointer}.gc-city-option:hover,.gc-city-option[aria-selected="true"]{background:var(--gc-mint)}.gc-city-state{font-size:.8125rem;color:var(--gc-muted)}
@media(max-width:600px){.gc-header-row{min-height:64px;gap:8px}.gc-header-actions{gap:6px}.gc-hero{min-height:420px;padding:28px 16px}.gc-auth-card{width:100%;padding:24px 20px}.gc-footer-row{grid-template-columns:1fr;gap:24px;min-height:0;padding-block:32px}.gc-footer-logo{grid-row:1}.gc-legal-row{flex-direction:column;justify-content:center;gap:4px;text-align:center;padding-block:16px}.gc-legal-links{justify-content:center}.gc-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:85dvh;border-radius:20px 20px 0 0;padding:20px 20px max(24px,env(safe-area-inset-bottom));}}
@media(prefers-reduced-motion:reduce){.gc-shell *, .gc-shell *::before,.gc-shell *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Common navigation and layout primitives. */
.gc-header{position:relative;z-index:20}
.gc-header-logo{flex:0 1 auto}
.gc-header-actions{flex:0 0 auto}
.gc-shell button{touch-action:manipulation}
.gc-auth-card .gc-button-block{display:flex;width:min(100%,240px);margin:4px auto 0}
.gc-footer-logo{align-self:start}
.gc-dialog{max-height:min(80dvh,620px);box-shadow:0 24px 70px #01040126}
@media(max-width:600px){.gc-auth-card{max-width:460px}.gc-auth-card .gc-button-block{width:100%}.gc-footer-row{text-align:center}.gc-footer-logo{width:185px}.gc-hero{min-height:400px}.gc-header-row{padding-inline:14px}}

/* Launch layout: content remains visible on short screens and zoomed views. */
.gc-main:has(> .gc-hero){display:flex;flex-direction:column}
.gc-hero{flex:1 0 auto}
.gc-auth-card{overflow-wrap:anywhere}
.gc-auth-card .gc-auth-switch a{display:inline-flex;align-items:center;min-height:44px;padding-inline:4px}
.gc-auth-card .gc-auth-switch{margin-top:8px}
.gc-footer-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.gc-legal-row>span,.gc-legal-links{min-width:0}
.gc-dialog{overscroll-behavior:contain}
.gc-skip-link{position:absolute;z-index:100;top:8px;left:8px;transform:translateY(-200%);padding:12px 16px;border-radius:8px;background:white;color:var(--gc-primary)!important}
.gc-skip-link:focus{transform:none}
@media(max-width:600px){
  .gc-hero{min-height:0;padding:32px 16px}
  .gc-auth-card{padding:24px 20px}
  .gc-footer-row{grid-template-columns:minmax(0,1fr);gap:20px;padding-block:28px}
  .gc-footer-logo{width:min(185px,100%)}
  .gc-legal-row{min-height:0;padding-block:16px}
  .gc-dialog{max-height:85vh;max-height:85dvh}
}
@media(max-height:500px) and (orientation:landscape){
  .gc-hero{min-height:0;padding-block:24px}
  .gc-auth-card{padding-block:24px}
  .gc-dialog{max-height:calc(100dvh - 24px)}
}
