/* FundZola microsite: shared layer over each page's inline styles (/fundzola/ and its sub-pages).
   Loaded after the page's own <style>, so rules here win without !important unless an inline style attribute is involved. */

/* ── Header: FundZola brand, "by EdZola" wordmark link, nav and CTA ── */
.fz-head{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
.fz-head .fz-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#13201B}
.fz-by{display:inline-flex;align-items:center;gap:6px;margin-left:-14px;padding:4px 6px;border-radius:6px;font-size:13px;color:#4B5A54;text-decoration:none}
.fz-by img{display:block;width:auto;height:15px;opacity:.85}
.fz-by:hover{background:#E3EFE9;color:#0E5A45}.fz-by:hover img{opacity:1}
.fz-head nav{margin-left:auto}
.fz-head nav a:hover{color:#0E5A45 !important}
.fz-head .fz-head-cta{flex:none}

/* ── Screenshots: click or tap to enlarge; demo-data note sits with them ── */
img.shot{cursor:zoom-in;transition:transform .15s ease}
img.shot:hover{transform:translateY(-2px)}
img.shot:focus-visible{outline:3px solid #0E5A45;outline-offset:3px}
.fz-demo{margin:10px 0 0;font-size:13px;line-height:1.5;color:#6B7A74}
.fz-demo::before{content:"";display:inline-block;width:6px;height:6px;margin:0 8px 1px 0;border-radius:50%;background:#9FD3BE}
#funders .fz-demo,.fz-on-dark .fz-demo{color:#9FB8AD}
/* Screenshot gallery (shared, /assets/screenshot-gallery.css): FundZola colours and type */
.sg-gallery{--sg-bg:#0B241C;--sg-ink:#FFFFFF;--sg-muted:#B8CEC5;--sg-accent:#9FD3BE;--sg-line:rgba(255,255,255,.14);--sg-title-font:Manrope,Inter,sans-serif;--sg-body-font:Inter,system-ui,sans-serif}
.sg-gallery .sg-close{border-radius:8px}
.sg-target{--sg-focus:#0E5A45}

/* ── Landing page layout ── */
#top>div:last-child{flex:1.35 1 540px !important}
#funders .wrap{align-items:flex-start !important}
#funders .wrap>div:first-child{flex:1 1 500px !important}
#funders .wrap>div:last-child{margin-top:40px}
.fz-team-roles{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)) !important}
.fz-team-shots{grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr)) !important;gap:28px 24px !important}

/* ── Step rows (how it works, funders): screenshot lines up with the step heading ── */
.step{align-items:flex-start !important}
.step .img{margin-top:48px}
#s1 .img,.step:first-of-type .img{margin-top:48px}

/* ── Choose your setup ── */
.fz-table-hint{display:none;margin:-14px 0 0;font-size:13px;color:#4B5A54}
table.cmp tbody th,table.cmp thead th:first-child{position:sticky;left:0;z-index:1;background:#FFFFFF}
table.cmp thead th{z-index:2}

/* ── Enquiry form: wider form, readable text on the green panel ── */
.fz-talk .crm-embed-inner{box-sizing:border-box;width:auto;max-width:1200px;padding:0 32px}
.fz-talk .final,.fz-talk .final.crm-form-left{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:56px;padding:56px}
.fz-talk .final>.crm-intro>p,.fz-talk .final>.crm-intro .contact-alt{color:#D3E3DC}
.fz-talk .contact .form-note{color:#4B5A54}
.fz-talk .crm-intro .contact-alt a{color:#FFFFFF}
.fz-talk .crm-intro .form-kicker,.fz-talk .crm-alt b{font-family:Inter,system-ui,sans-serif;letter-spacing:.06em}
.fz-talk .contact{padding:36px}
.fz-talk .crm-intro{top:32px}

/* ── Footer: EdZola wordmark link ── */
.fz-made-by a{display:inline-flex;align-items:center;gap:8px;color:#4B5A54;text-decoration:none}
.fz-made-by img{display:block;width:auto;height:18px}
.fz-made-by a:hover{color:#0E5A45}

@media (max-width:900px){
  .fz-talk .final,.fz-talk .final.crm-form-left{grid-template-columns:1fr;gap:28px;padding:32px 24px}
  .fz-talk .final>.crm-intro{order:-1}
  .fz-talk .crm-intro{position:static}
}
@media (max-width:760px){
  .fz-head{gap:10px 12px}
  .fz-head .fz-head-cta{margin-left:auto;min-height:40px !important;padding:0 14px !important}
  .fz-head nav{order:3;flex:1 1 100%;margin:0 -20px;padding:2px 20px 4px;flex-wrap:nowrap !important;gap:20px !important;overflow-x:auto;scrollbar-width:none;white-space:nowrap;font-size:14px !important}
  .fz-head nav::-webkit-scrollbar{display:none}
  .fz-head nav a{display:inline-block !important}
  .step .img,#s1 .img,.step:first-of-type .img{order:2;margin-top:0}
  #funders .wrap>div:last-child{margin-top:0}
  .fz-postsrow span:not(:first-child){display:none}
  .fz-postsrow{justify-content:center !important}
  .fz-table-hint{display:block}
  /* Pill diagrams wrap on phones; their connector lines would start a row on their own */
  span[aria-hidden="true"][style*="height: 2px"]{display:none}
  .fz-talk .crm-embed-inner{padding:0 20px}
  .fz-talk .final,.fz-talk .final.crm-form-left{padding:28px 18px;border-radius:24px}
  .fz-talk .contact{padding:24px 18px}
}
