/* Boost Board — shared design system, adapted from provided mockup.
   Stripped: freeable-design-standard / sleeksite-template meta tags,
   the Firstlift brand name and its logo mark, and the fake
   /api/campaign-submissions POST flow. Everything else in the visual
   language (palette, type, components) is intentionally kept close to
   the original design. */
:root{
  --bg:#EDF2F2; --white:#fff; --ink:#102B32; --muted:#52696e;
  --green:#087F73; --deep:#06685f; --gold:#D5A643; --line:#cedbdb;
  --font:'Source Sans 3',sans-serif; --heading:'Sora',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:30px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:18px;line-height:1.55}
a{color:inherit;text-decoration:none}
button{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
::selection{background:#c8e5dd}
img{max-width:100%;display:block;object-fit:cover}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:var(--heading);font-weight:500}
h2{font-size:clamp(29px,3.1vw,42px);letter-spacing:-1.7px;line-height:1.2}
p{color:var(--muted)}
.wrap{max-width:1240px;margin:auto;padding:0 48px}
.skip{position:absolute;top:-70px;background:var(--ink);color:white;padding:12px;z-index:20}
.skip:focus{top:8px}
.site-header .nav{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:30px}
.brand{font-family:var(--heading);font-size:27px;letter-spacing:-1.2px;font-weight:600;display:inline-flex;align-items:center;gap:8px}
.brand .dot{color:var(--green)}
.site-nav{display:flex;align-items:center;gap:31px;font-size:16px;font-weight:600}
.site-nav a:not(.button):hover{color:var(--green)}
.site-nav a[aria-current]{color:var(--deep);text-decoration:underline;text-underline-offset:8px;text-decoration-thickness:2px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:13px 23px;border:1px solid var(--green);border-radius:5px;background:var(--green);color:white;font-size:16px;font-weight:600;line-height:1.5;cursor:pointer;transition:background .2s,transform .2s}
.button:hover{background:var(--deep);border-color:var(--deep);transform:translateY(-2px)}
.button:active{transform:translateY(0)}
.button.outline{background:transparent;color:var(--ink);border-color:#a8bbbc}
.button.outline:hover{background:#e0e9e8}
.arrow{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}
.menu-toggle{display:none}
.eyebrow{display:flex;gap:9px;align-items:center;font-size:12px;text-transform:uppercase;letter-spacing:1.7px;color:var(--deep);font-weight:600;margin-bottom:23px}
.eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green)}
.text-link{display:inline-flex;gap:10px;align-items:center;color:var(--deep);font-size:16px;font-weight:600;border-bottom:1px solid #a2c9c0;padding-bottom:3px;background:transparent;border-top:0;border-left:0;border-right:0;cursor:pointer}
.text-link:hover{border-color:var(--deep)}
.section{padding:70px 0}
.trust-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;padding:22px 0;font-size:15px}
.trust-strip span{display:flex;align-items:center;gap:9px}
.trust-strip svg{width:19px;height:19px;stroke:var(--green);fill:none;stroke-width:1.6}
details{border-bottom:1px solid var(--line)}
details:first-child{border-top:1px solid var(--line)}
summary{cursor:pointer;list-style:none;padding:21px 34px 21px 0;font-weight:600;position:relative;line-height:1.4}
summary::-webkit-details-marker{display:none}
summary:after{content:"";position:absolute;right:5px;top:29px;width:9px;height:9px;border-right:1.5px solid var(--green);border-bottom:1.5px solid var(--green);transform:rotate(45deg);transition:transform .2s}
details[open] summary:after{transform:rotate(225deg)}
details p{padding:0 30px 22px 0;font-size:16px}
.cta{background:var(--ink);color:white;border-radius:6px;padding:44px 46px;display:flex;justify-content:space-between;gap:30px;align-items:center;margin:0 0 60px;position:relative;overflow:hidden}
.cta:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--gold)}
.cta h2{font-size:30px;letter-spacing:-1px;color:white}
.cta p{color:#c2d3d4;font-size:17px;margin-top:9px;max-width:500px}
.cta .button{background:white;color:var(--ink);border-color:white;white-space:nowrap}
.cta .button:hover{background:#e4efec}
.site-footer{border-top:1px solid var(--line);padding:34px 0 25px}
.footer-top{display:flex;justify-content:space-between;gap:30px;align-items:start;flex-wrap:wrap}
.footer-brand p{font-size:15px;margin-top:9px}
.footer-links{display:flex;gap:22px;flex-wrap:wrap;font-size:15px;padding-top:7px}
.footer-links a:hover{text-decoration:underline}
.footer-bottom{display:flex;justify-content:space-between;gap:30px;margin-top:36px;font-size:12px;color:var(--muted);flex-wrap:wrap}
.footer-bottom p{max-width:610px}
.card{background:var(--white);border:1px solid #dce5e3;border-radius:5px;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #102b3209}
.card-photo{height:180px;width:100%;object-fit:cover;background:#d7dfd9}
.card-body{padding:24px;flex:1;display:flex;flex-direction:column}
.card h3{font-size:20px;letter-spacing:-.5px;margin-bottom:10px}
.card p{font-size:16px;margin-bottom:18px}
.card .text-link{margin-top:auto;align-self:flex-start}
.tag{font-family:var(--heading);font-size:11px;text-transform:uppercase;letter-spacing:.05em;padding:3px 9px;border-radius:999px;background:#e3f0eb;color:var(--deep);display:inline-block}
.tag.seed{background:#f0e3ee;color:#7a3d73}
.tag.pinned{background:#fbeedc;color:#8a5a17}
/* Tier badges — campaign momentum labels */
.tier-badge{font-family:var(--heading);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:6px 12px;border-radius:4px;display:inline-flex;align-items:center;white-space:nowrap}
.tier-badge.tier-seed{background:#FCA5A5;color:white}
.tier-badge.tier-first-five{background:#DC2626;color:white}
.tier-badge.tier-first-ten{background:#991B1B;color:white}
.tier-badge.tier-rising{background:#7C2D12;color:white}
.tier-badge.tier-wellonway{background:#10B981;color:white}
.tier-badge.tier-successful{background:#065F46;color:white}
.progress{display:flex;flex-direction:column;gap:6px}
.progress-track{height:8px;border-radius:999px;background:#dce7e6;overflow:hidden}
.progress-fill{height:100%;border-radius:999px;background:var(--green)}
.progress-text{font-size:13px;color:var(--muted);margin:0}
.progress-text strong{color:var(--ink);font-weight:600}
/* Fallback state: no dollar data — show donor count inline, no bar */
.progress-donors{font-size:13px;color:var(--muted);margin:0;padding:4px 0}
.progress-donors strong{color:var(--ink);font-weight:600}
/* Tier badge prominence: seed badge gets a dot indicator when no bar is shown */
.tier-badge.tier-seed.no-bar-signal{padding-left:9px;gap:6px}
.tier-badge.tier-seed.no-bar-signal::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.7);flex-shrink:0}
/* Phase 5: Consolidated layout, modal, and utility classes */
.text-center{text-align:center}
.text-muted{color:var(--muted)}
.text-small{font-size:14px}
.text-smaller{font-size:13px}
.text-xsmall{font-size:12px}
.mt-sm{margin-top:12px}
.mt-md{margin-top:20px}
.mx-auto{margin-left:auto;margin-right:auto}
.p-auto{padding:14px 18px}
.max-w-narrow{max-width:640px}
.max-w-wide{max-width:280px}
.block{display:block}
.inline{display:inline}
.relative{position:relative}
.absolute{position:absolute}
.link-unstyled{text-decoration:none;color:inherit}
.link-overlay{display:block;text-decoration:none;color:inherit;position:relative}
.support-note{max-width:640px;margin:0 auto 24px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:30px 32px;text-align:center}
.support-note h3{font-size:18px;margin-bottom:10px}
.support-note p{font-size:15px;margin-bottom:16px}
.support-note .text-xsmall{margin-top:12px}
.modal-dialog{border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);width:min(480px,calc(100% - 32px));padding:28px;position:relative}
.modal-close{position:absolute;top:16px;right:18px;background:none;border:none;font-size:22px;line-height:1;color:var(--muted);cursor:pointer;padding:4px;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
.modal-title{font-size:22px;margin-bottom:8px;padding-right:24px}
.modal-description{font-size:14px;color:var(--muted);margin-bottom:16px}
.modal-textarea{width:100%;height:150px;resize:vertical;border:1px solid var(--line);border-radius:4px;padding:12px;font-family:'Source Sans 3',sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}
.share-bar{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:min(600px,calc(100% - 32px));background:var(--ink);color:#fff;border-radius:6px;padding:14px 18px;display:flex;align-items:center;gap:16px;box-shadow:0 8px 28px rgba(16,43,50,0.3);z-index:50;font-size:14px}
.share-bar > div{flex:1}
.share-bar .button{padding:10px 18px;font-size:14px}
.share-bar button{min-width:44px;min-height:44px}
/* Touch target sizing: min 44x44px for mobile accessibility */
.button,.text-link,.modal-close,button,a[role="button"]{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:1000px){.wrap{padding:0 30px}.cta{padding:34px}}
@media(max-width:740px){
  .wrap{padding:0 22px}
  .site-header .nav{height:80px}
  .brand{font-size:24px}
  .menu-toggle{display:block;background:transparent;border:1px solid #a8bbbc;border-radius:4px;padding:8px 12px;color:var(--ink);font-size:15px}
  .site-nav{display:none;position:absolute;left:22px;right:22px;top:72px;padding:23px;background:white;border:1px solid var(--line);z-index:10;align-items:stretch;gap:18px;box-shadow:0 15px 25px #102b3210}
  .site-nav.open{display:flex;flex-direction:column}
  .cta{padding:30px 22px;display:block}
  .cta .button{margin-top:20px}
  .footer-top{display:block}
  .footer-bottom{display:block}
  .footer-bottom p{margin-top:12px}
}
/* Blog / long-form post layout */
.post-body{max-width:640px;margin:0 auto;padding:2.5rem 1.5rem}
.post-body h1{font-size:clamp(24px,3.5vw,38px);letter-spacing:-1.2px;line-height:1.2;margin-bottom:0.5rem}
.post-body h2{font-size:clamp(19px,2.2vw,26px);letter-spacing:-0.6px;margin-top:2rem;margin-bottom:0.4rem}
.post-body p{margin-top:1rem;color:var(--muted);line-height:1.7}
.post-body p:first-of-type{margin-top:0}
.post-body ul,.post-body ol{margin-top:1rem;padding-left:1.4rem;color:var(--muted);line-height:1.7}
.post-body li+li{margin-top:0.4rem}
.post-body a{color:var(--deep);border-bottom:1px solid #a2c9c0;padding-bottom:1px}
.post-body a:hover{color:var(--green)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
