/* Homepage-specific styles (extracted from home.html 2026-08-25).
   Loaded from home.html's extra_head, after tailwind.min.css + footer.css,
   so cascade order is unchanged. */

/* ── v5 homepage (docs/DESIGN_V5.md) ── */
    .gr-cbox{transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
    .gr-cbox:hover{transform:translateY(-3px);border-color:#0E827A;box-shadow:0 16px 30px -20px rgba(20,28,40,0.30)}
    .gr-cause{transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
    .gr-cause:hover{transform:translateY(-3px);border-color:#0E827A;box-shadow:0 16px 30px -20px rgba(20,28,40,0.30)}
    .gr-cause:hover .gr-cause-ar{transform:translateX(4px);color:#0E827A}
    .gr-cause-ar{transition:transform .18s ease, color .18s ease}
    .gr-src{transition:background .15s ease}
    .gr-src:hover{background:#F7F8F8}
    #gr-worldmap svg{width:100%;height:auto;display:block;overflow:visible}
    /* click focus: no blue ring; keyboard focus keeps a teal ring (a11y) */
    #gr-worldmap [tabindex]{outline:none}
    #gr-worldmap [tabindex]:focus-visible{outline:2px solid #0E827A;outline-offset:2px}
    .own{overflow-wrap:normal}
    #gr-worldmap svg path{transition:fill .3s ease}
    /* hero stat row (inline, on the mint band; dividers, no box) */
    .gr-statrow{display:grid;grid-template-columns:1fr 1fr;gap:24px 0}
    @media(min-width:640px){.gr-statrow{grid-template-columns:repeat(4,1fr);gap:0}}
    .gr-stat{text-align:center;padding:0 14px}
    .gr-stat + .gr-stat{border-left:1px solid #D7E6E0}
    @media(max-width:639px){.gr-stat:nth-child(odd){border-left:none}.gr-stat:nth-child(n+3){border-top:1px solid #D7E6E0;padding-top:22px}}
    .gr-stat-n{font-size:clamp(25px,4.4vw,33px);font-weight:800;letter-spacing:-0.025em;line-height:1;color:#282C33;font-variant-numeric:tabular-nums;white-space:nowrap}
    .gr-stat-l{font-size:11px;color:#8A8D95;margin-top:9px;font-weight:800;letter-spacing:0.07em;text-transform:uppercase;line-height:1.3}
    /* mobile-first touches: no iOS zoom-on-focus, comfortable tap targets */
    @media(max-width:640px){
      input[type="text"],input[type="search"]{font-size:16px !important}
      a.gr-link{padding-top:8px;padding-bottom:8px}
    }
    html{scroll-padding-top:84px}
    /* ---- mobile density: shorter sections, side-by-side layouts ---- */
    @media(max-width:640px){
      :root{--gr-secpt:52px;--gr-secpb:58px}
      /* hero: compact one-row search + one-row checks */
      .gr-hero-search{padding-left:14px !important}
      .gr-hero-search button{padding:11px 13px}
      .gr-hero-checks{flex-wrap:nowrap;gap:12px !important;overflow:hidden}
      .gr-hero-checks>span{font-size:12px;gap:5px}
      .gr-hero-checks svg{width:13px;height:13px}
      /* anatomy: the annotated card speaks for itself on phones */
      .gr-anat-rail{display:none !important}
      .gr-anat{gap:0;margin-top:36px}
      /* flow chips: denser, tags hidden */
      .gr-chips{gap:8px 8px;max-width:100%}
      .gr-chip{padding:7px 10px;gap:6px}
      .gr-chip>span:last-child{display:none}
      /* audience cards: compact 2-col */
      .gr-aud{gap:10px !important;margin-top:30px !important}
      .gr-aud-c{padding:20px 18px 18px !important}
      .gr-aud-c .gr-aud-tile{width:38px;height:38px;border-radius:10px}
      .gr-aud-c .gr-aud-tile svg{width:19px;height:19px}
      .gr-aud-c>span.flex{flex-direction:column;align-items:flex-start;gap:9px !important}
      .gr-aud-c>span.flex>span.min-w-0{font-size:15px !important;letter-spacing:-0.015em}
      .gr-aud-c>div{font-size:12.5px !important;line-height:1.55 !important;margin-top:8px !important}
      .gr-aud-c>span.mt-auto{padding-top:12px !important;font-size:13px !important}
      /* category cards: compact */
      .gr-cause{padding:12px 12px !important;gap:10px !important;border-radius:12px !important}
      .gr-cause>span:first-child{width:36px !important;height:36px !important;border-radius:10px !important}
      .gr-cause>span:first-child svg{width:19px;height:19px}
      .gr-cause .flex-1>span{font-size:14px !important}
      .gr-cause .gr-cause-ar{display:none}
      .gr-cause:nth-child(9){display:none}
      .gr-catlinks{gap:0 10px !important}
      .gr-catlinks a{font-size:13px !important}
      .gr-catlinks a svg{display:none}
      /* founder photo smaller */
      .gr-founder-img{max-width:220px}
    }
    /* battery: decorative float loops off on touch devices */
    @media(pointer:coarse){.gr-chip{animation:none !important}}
    /* hero grid: text side gets more room */
    .gr-hero-grid{display:grid;grid-template-columns:1fr;gap:48px;align-items:end}
    @media(min-width:1024px){.gr-hero-grid{grid-template-columns:1.12fr 0.88fr;gap:56px}}
    /* hero search: clean hairline, teal focus ring, no drop shadow */
    .gr-hero-search{border:1.5px solid #D9E8E3;transition:border-color .15s ease,box-shadow .15s ease}
    .gr-hero-search:focus-within{border-color:#0E827A;box-shadow:0 0 0 3px rgba(14,130,122,0.12)}
    /* section rhythm: shared band paddings (more air on desktop) */
    :root{--gr-secpt:72px;--gr-secpb:78px}
    @media(min-width:1024px){:root{--gr-secpt:112px;--gr-secpb:120px}}
    /* anatomy: annotated profile diagram (numbered rails matched to card rows) */
    .gr-anat{display:grid;grid-template-columns:1fr;gap:30px;align-items:center;margin-top:48px}
    @media(min-width:1024px){.gr-anat{grid-template-columns:1fr minmax(0,460px) 1fr;gap:30px}}
    .gr-anat-rail{display:flex;flex-direction:column;gap:26px}
    .gr-anat-it{display:flex;align-items:center;gap:12px;text-align:left}
    @media(min-width:1024px){.gr-anat-l .gr-anat-it{justify-content:flex-end;text-align:right}}
    @media(max-width:1023px){.gr-anat-l .gr-anat-it{flex-direction:row-reverse;justify-content:flex-end}}
    .gr-anat-tx b{display:block;font-size:15px;font-weight:800;color:#282C33;letter-spacing:-0.01em}
    .gr-anat-tx span{display:block;font-size:12.5px;font-weight:600;color:#8A8D95;margin-top:2px;line-height:1.45}
    .gr-anat-n{width:27px;height:27px;border-radius:50%;background:#0E827A;color:#fff;font-size:12.5px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-variant-numeric:tabular-nums}
    .gr-anat-n-sm{width:20px;height:20px;border-radius:50%;background:#E9F3F1;color:#0E827A;font-size:10.5px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-variant-numeric:tabular-nums}
    .gr-anat-dash{display:none}
    @media(min-width:1024px){.gr-anat-dash{display:inline-block;width:26px;height:1px;background:#C9D6D1;flex-shrink:0}}
    .gr-anat-row{display:flex;align-items:center;gap:10px;padding:10.5px 18px;border-top:1px solid #EEF0F2}
    .gr-anat-row-l{flex:1;min-width:0;font-size:12.5px;font-weight:600;color:#63676F;white-space:nowrap}
    .gr-anat-row-v{font-size:13px;font-weight:800;color:#282C33;white-space:nowrap;font-variant-numeric:tabular-nums}
    /* why-necessary: 3-second convergence flow (chaos -> GiveRadar -> clarity) */
    .gr-nec{display:grid;grid-template-columns:1fr;gap:20px;align-items:center;margin-top:52px}
    @media(min-width:1024px){.gr-nec{grid-template-columns:1fr 44px auto 44px 1fr;gap:0}}
    .gr-nec-ar{display:flex;align-items:center;justify-content:center;color:#9DBBB5}
    .gr-nec-ar .gr-svg{transform:rotate(90deg)}
    @media(min-width:1024px){.gr-nec-ar .gr-svg{transform:none}}
    .gr-nec-cap{font-size:12.5px;font-weight:700;color:#8A8D95;text-align:center;margin-top:20px}
    /* profile stack: wrapper carries two sheets; the card child paints above them */
    .gr-stack{position:relative;z-index:0}
    .gr-stack::before,.gr-stack::after{content:'';position:absolute;inset:0;background:#fff;border:1px solid #E4E6EA;border-radius:16px;box-shadow:0 1px 3px rgba(20,28,40,.05);z-index:-1}
    .gr-stack::before{transform:rotate(1.8deg) translate(9px,12px)}
    .gr-stack::after{transform:rotate(-1.5deg) translate(-9px,16px);box-shadow:0 1px 3px rgba(20,28,40,.05),0 26px 52px -20px rgba(20,28,40,.22)}
    .gr-stack>div{position:relative;z-index:1}
    .gr-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:13px 11px;max-width:530px;margin:0 auto}
    .gr-chip{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px dashed #C6CCD3;border-radius:10px;padding:9px 13px;box-shadow:0 1px 3px rgba(20,28,40,.07);transform:rotate(var(--r)) translateY(var(--ty));animation:gr-chipfloat 5.5s ease-in-out infinite;will-change:transform}
    @keyframes gr-chipfloat{0%,100%{transform:rotate(var(--r)) translateY(var(--ty))}50%{transform:rotate(calc(var(--r) + 1.4deg)) translateY(calc(var(--ty) - 7px))}}
    .gr-chip:nth-child(1){--r:-2.5deg;--ty:0px;animation-delay:0s}
    .gr-chip:nth-child(2){--r:1.8deg;--ty:5px;animation-delay:-1.1s}
    .gr-chip:nth-child(3){--r:-1.2deg;--ty:-3px;animation-delay:-2.2s}
    .gr-chip:nth-child(4){--r:2.4deg;--ty:-5px;animation-delay:-3.3s}
    .gr-chip:nth-child(5){--r:-2deg;--ty:4px;animation-delay:-4.4s}
    .gr-chip:nth-child(6){--r:1.5deg;--ty:-4px;animation-delay:-0.6s}
    .gr-chip:nth-child(7){--r:-1.6deg;--ty:5px;animation-delay:-1.7s}
    .gr-chip:nth-child(8){--r:2.2deg;--ty:-2px;animation-delay:-2.8s}
    .gr-chip:nth-child(9){--r:-1.4deg;--ty:3px;animation-delay:-3.9s}
    .gr-chip:nth-child(10){--r:1.8deg;--ty:-5px;animation-delay:-5s}
    @media(prefers-reduced-motion:reduce){.gr-chip{animation:none}}
    /* final CTA: breathing room above, flush on the footer */
    .gr-foot{margin-top:0}
    .gr-cta-top{margin-top:72px}
    @media(min-width:1024px){.gr-cta-top{margin-top:104px}}
    /* audience cards: six equal, simple, polished */
    .gr-aud-tile{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;flex-shrink:0}
    .gr-aud{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:44px;text-align:left}
    @media(min-width:1024px){.gr-aud{grid-template-columns:repeat(3,1fr)}}
    .gr-aud-c{display:flex;flex-direction:column;background:#fff;border:1px solid #E9EBEE;border-radius:20px;padding:28px 28px 26px;text-decoration:none;box-shadow:0 1px 3px rgba(20,28,40,.04),0 14px 30px -20px rgba(20,28,40,.10)}
    /* global coverage: section bottom padding + map body fills its frame */
    .gr-cov-sec{padding-top:72px !important;padding-bottom:78px}
    @media(min-width:1024px){.gr-cov-sec{padding-top:112px !important;padding-bottom:120px}}
    /* api section grid: text | terminal (terminal kept modest) */
    .gr-api-grid{display:grid;grid-template-columns:1fr;gap:40px;align-items:center}
    @media(min-width:1024px){.gr-api-grid{grid-template-columns:1fr minmax(0,430px);gap:56px;justify-content:space-between}}
    /* trust section: open composition (numbered commitments + review + partner) */
    .gr-ldg{max-width:1060px;margin:48px auto 0;display:grid;grid-template-columns:1fr;gap:40px;text-align:left;align-items:start}
    @media(min-width:900px){.gr-ldg{grid-template-columns:1.05fr 0.95fr;gap:64px}}
    .gr-ldg-left{position:relative}
    .gr-ldg-rail{position:absolute;left:21px;top:40px;bottom:40px;width:2px;background:#DDE0DA}
    .gr-ldg-it{position:relative;display:flex;gap:18px;align-items:flex-start;padding:15px 0}
    /* the rail connects the three tiles; erase it below the last tile */
    .gr-ldg-it:last-child::after{content:'';position:absolute;left:18px;top:59px;bottom:-2px;width:8px;background:#F2F3F0}
    .gr-ldg-tile{position:relative;z-index:1;flex-shrink:0;width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #E4E6EA}
    .gr-ldg-n{position:absolute;top:-7px;right:-7px;width:19px;height:19px;border-radius:50%;background:#0E827A;color:#fff;font-size:10.5px;font-weight:800;display:flex;align-items:center;justify-content:center;border:2px solid #F2F3F0;font-variant-numeric:tabular-nums}
    .gr-ldg-h{font-size:16px;font-weight:800;color:#282C33;letter-spacing:-0.01em;margin:2px 0 0}
    .gr-ldg-p{font-size:14px;line-height:1.65;color:#464A52;margin:6px 0 0;max-width:52ch}
    .gr-ldg-quote{position:relative;background:#fff;border:1px solid #E9EBEE;border-radius:18px;padding:24px 26px 22px;overflow:hidden}
    .gr-ldg-qmark{position:absolute;right:16px;top:-24px;font-size:120px;line-height:1;font-weight:800;color:rgba(14,130,122,0.08);font-family:Georgia,'Times New Roman',serif;pointer-events:none}
    .gr-ldg-lbl{font-size:11px;font-weight:800;letter-spacing:0.09em;text-transform:uppercase;color:#8A8D95}
    .gr-ldg-partner{display:flex;align-items:center;gap:14px;margin-top:18px;background:#fff;border:1px solid #E9EBEE;border-radius:16px;padding:16px 20px;text-decoration:none;box-shadow:0 1px 3px rgba(20,28,40,.04);transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
    .gr-ldg-partner:hover{transform:translateY(-3px);border-color:#0E827A;box-shadow:0 16px 30px -20px rgba(20,28,40,0.30)}
    .gr-cbox-ar{transition:transform .16s ease}
    .gr-cbox:hover .gr-cbox-ar{transform:translateX(4px)}
