:root{--leaf:#509d71;--leaf-dark:#32794e;--leaf-soft:#eef7ef;--ink:#242424;--muted:#8b919c}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.juliana-page{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased}
body.dialog-open{overflow:hidden}
button,input{font:inherit}button{cursor:pointer}
[hidden]{display:none!important}
.reference-ribbon{background:#281f32;color:#f2eaf4;text-align:center;padding:11px 16px;font-size:12px;font-weight:750;letter-spacing:.025em}
.brand-header{background:#fff;border-bottom:1px solid #ececec;padding:24px 20px 28px}
.brand-wrap{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--leaf)}
.brand-wrap strong{font-size:clamp(27px,3.2vw,42px);font-weight:850;letter-spacing:-1.4px}
.brand-wrap strong span{color:#348456}
.brand-icon{display:block;width:62px;height:62px;object-fit:contain}
.content-width{width:min(820px,calc(100% - 36px));margin-inline:auto}
.story{padding-top:44px;padding-bottom:42px}
.story h1{font-size:clamp(25px,3.3vw,39px);letter-spacing:-.9px;line-height:1.33;text-align:center;font-weight:850;margin:0 0 32px}
.photo{width:min(520px,100%);margin:28px auto 30px;border-radius:16px;overflow:hidden;background:var(--leaf-soft);box-shadow:0 10px 28px rgba(0,0,0,.08)}
.photo img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.action-btn,.amount-btn{display:block;background:var(--leaf);color:#fff;border:none;border-radius:10px;font-weight:800;box-shadow:0 3px 8px #214a2b22;transition:background .16s,transform .16s}
.action-btn:hover,.amount-btn:hover,.custom-cta:hover{background:var(--leaf-dark)}
.action-btn:active,.amount-btn:active{transform:scale(.99)}
.action-btn{font-size:22px;width:min(465px,100%);margin:29px auto 30px;min-height:75px;padding:16px}
.story-paragraphs p{font-size:clamp(18px,2.25vw,23px);line-height:1.82;margin:0 0 25px}
.story-paragraphs strong{font-weight:800}
.story-paragraphs .photo{margin-top:26px;margin-bottom:30px}
.inline-cta{margin-block:34px}
.donation-section{padding:52px 0 70px;border-top:1px solid #e5e5e5}
.donation-section h2{text-align:center;margin:0 0 39px;font-size:clamp(23px,2.8vw,31px);font-weight:850;letter-spacing:-.6px;line-height:1.2}
.amount-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px}
.amount-btn{min-height:74px;font-size:23px;padding:12px}
.other-amount{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:15px;font-weight:700;margin:39px 0 25px}
.other-amount:before,.other-amount:after{content:"";height:1px;background:#dedede;flex:1}
.custom-amount{min-height:77px;border:2px solid #e2e2e2;border-radius:45px;display:flex;align-items:center;padding:6px}
.custom-amount label{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding-left:21px;color:var(--leaf);font-weight:800;font-size:23px}
.custom-amount input{border:none;outline:none;min-width:0;flex:1;font-size:20px;color:var(--ink)}
.custom-amount input::placeholder{color:#c3c5cc}
.custom-cta{display:inline-flex;gap:13px;align-items:center;justify-content:center;background:var(--leaf);color:#fff;border:none;border-radius:36px;padding:0 26px;min-height:60px;font-size:21px;font-weight:850}
.suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:17px}
.suggestions button{background:white;border:1px solid #d9dadc;padding:7px 18px;border-radius:30px;color:#585858;font-size:17px;font-weight:750;cursor:pointer}
.suggestions button:hover{border-color:var(--leaf);color:var(--leaf)}
.amount-limits{text-align:center;color:#acafb5;margin:13px 0 22px;font-size:14px}
.testimonials{background:#eff7ef;border-radius:21px;padding:28px 32px 27px;margin:24px auto 0;width:min(730px,100%)}
.community-count{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;margin:0 auto 25px;color:#697077;font-size:17px}
.community-count strong{color:var(--leaf)}
.community-count small{display:block;text-align:center;flex-basis:100%;font-size:10px;color:#8c948e;font-weight:500}
.avatars{display:flex;align-items:center;margin-right:12px}
.avatars i{font-style:normal;font-weight:700;font-size:12px;color:#fff;border-radius:100%;height:31px;width:31px;display:grid;place-items:center;margin-left:-5px;border:2px solid #eef7ef}
.avatars i:nth-child(1){background:#477db3}.avatars i:nth-child(2){background:#b86b4e}.avatars i:nth-child(3){background:#6951af}.avatars i:nth-child(4){background:#469569}
.testimonial{display:grid;grid-template-columns:37px minmax(0,1fr);gap:11px;align-items:center;margin-bottom:12px}
.testimonial:last-child{margin:0}
.testimonial .avatar{width:36px;height:36px;border-radius:50%;color:white;font-weight:750;font-size:11px;display:grid;place-items:center}
.testimonial>div{padding:13px 15px 12px;background:#fff;border-radius:17px 17px 17px 3px;box-shadow:0 1px 2px #091c1010}
.testimonial header{display:flex;gap:8px;justify-content:space-between;align-items:center}
.testimonial strong{font-size:16px;color:#202322}
.testimonial strong span{font-size:11px;color:#fff;background:var(--leaf);border-radius:50%;padding:2px 4px}
.testimonial small{color:#a2a5aa;font-size:12px;white-space:nowrap}
.testimonial p{margin:7px 0 0;font-size:16px;line-height:1.5;color:#454545}
.avatar.blue{background:#4c7bb6}.avatar.terracotta{background:#bc7656}.avatar.purple{background:#7653bd}.avatar.pink{background:#ba5082}.avatar.green{background:#3e9861}.avatar.teal{background:#4e91ad}
.site-footer{border-top:1px solid #ebebeb;background:#fafafa;text-align:center;padding:45px 20px 52px}
.site-footer .brand-icon{width:35px;height:35px}
.site-footer .brand-wrap strong{font-size:24px}
.site-footer p{color:#888;font-size:13px;margin-top:17px}
.donation-dialog,.retention-dialog{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:15px;overflow:auto}
.dialog-backdrop{position:absolute;inset:0;background:#07180fb8;backdrop-filter:blur(3px)}
.dialog-card{width:min(455px,100%);position:relative;z-index:1;background:#fff;border-radius:19px;box-shadow:0 20px 60px #10271950;text-align:center;padding:31px 24px 27px;max-height:calc(100dvh - 30px);overflow:auto}
.close-dialog{position:absolute;right:14px;top:9px;background:none;border:none;font-size:30px;color:#616d64}
.dialog-brand{display:flex;justify-content:center;align-items:center;gap:9px;color:var(--leaf-dark);font-weight:850;font-size:20px}
.dialog-brand img{width:39px;height:39px;object-fit:contain}
.dialog-card h2{font-size:25px;margin:15px 0;line-height:1.3}
.dialog-intro{color:#64736a;font-size:15px}
.dialog-amount{font-size:36px;color:var(--leaf-dark);font-weight:900;display:block;margin:7px 0 24px}
.dialog-label{display:grid;text-align:left;font-size:13px;gap:7px;color:#617268}
.dialog-label input{border:1px solid #d2e0d5;padding:13px;border-radius:9px;background:#f5f7f6;color:#929f97}
.dialog-payment{border:0;background:#a9b5ad;color:white;font-size:18px;font-weight:850;min-height:52px;width:100%;border-radius:10px;margin:21px 0 9px;cursor:not-allowed}
.dialog-note{background:#fff7e8;color:#76562c;border:1px solid #f2ddbd;font-size:13px;padding:12px;border-radius:9px;line-height:1.5;margin:7px 0 0}
.retention-card p{font-size:16px;color:#646464;line-height:1.55}
.retention-card .action-btn{font-size:17px;min-height:49px;margin:23px auto 5px}
.retention-card .text-close{margin:12px auto 3px;border:none;background:transparent;color:#738077;text-decoration:underline}
:focus-visible{outline:3px solid #2449a5;outline-offset:3px}
@media(max-width:650px){
 .brand-header{padding:17px 8px}.brand-wrap strong{font-size:26px}.brand-icon{width:44px;height:44px}
 .story{padding-top:27px}.story h1{font-size:25px;line-height:1.29;margin-bottom:23px}
 .content-width{width:min(100% - 28px,820px)}
 .photo{width:min(100%,380px);border-radius:12px}
 .story-paragraphs p{font-size:18px;line-height:1.62}
 .action-btn{min-height:60px;font-size:19px}
 .donation-section{padding-top:40px}.donation-section h2{font-size:23px;margin-bottom:28px}
 .amount-grid{gap:12px}.amount-btn{font-size:20px;min-height:62px}
 .custom-amount{min-height:65px}.custom-cta{min-height:52px;padding-inline:13px;font-size:16px}
 .custom-amount label{padding-left:13px;font-size:19px}.custom-amount input{font-size:17px}
 .testimonials{padding:20px 12px;border-radius:15px}.community-count{font-size:14px}
 .testimonial{grid-template-columns:30px 1fr;gap:7px}
 .testimonial .avatar{height:30px;width:30px;font-size:10px}
 .testimonial>div{padding:12px 10px}.testimonial strong{font-size:14px}.testimonial p{font-size:14px}.testimonial small{font-size:11px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* V460: standard modal keeps green campaign accent */
:root{--campaign-accent:#509d71}
.juliana-pix-unavailable{background:#eff7ef;color:#2b6240;border:1px solid #bcd6c4;padding:14px;border-radius:12px;margin-bottom:18px;text-align:center;font-size:15px;font-weight:700}
