/* Contract v4 document update */
.v4-document {max-width:1100px;margin:auto;padding:32px 20px}.v4-document h1 {font-size:clamp(28px,4vw,48px);line-height:1.2}.v4-document .panel {padding:clamp(20px,4vw,48px)}.v4-section {margin:0;padding:28px 0;border-bottom:1px solid #cee4ee}.v4-section h2 {font-size:clamp(21px,3vw,30px);margin:0 0 16px}.v4-section p,.v4-summary p {overflow-wrap:anywhere;line-height:1.85}.v4-status {border-left:4px solid #0875a0;padding:12px 16px;background:#e8f5fc;font-size:15px!important}.v4-doc-nav {display:flex;flex-wrap:wrap;gap:12px 20px;padding:20px 0}.v4-summary {margin:24px 0;padding:clamp(20px,3vw,36px)}.v4-summary h2 {font-size:clamp(25px,3.5vw,38px)}.v4-summary p {font-size:16px}.v4-summary .button {margin-top:8px}.v4-document .actions {flex-wrap:wrap;margin-bottom:24px}@media(max-width:650px){.v4-document{padding:20px 12px}.v4-document .actions a{white-space:normal}.v4-doc-nav a{font-size:14px}}

#economics .presale-brief{padding:24px;margin-top:24px}#economics .presale-brief p{max-width:none;line-height:1.7}#economics .presale-brief h3{margin-top:0}

.presale-announcement{display:block;padding:12px 20px;text-align:center;background:#075780;color:#fff;text-decoration:none;font-size:15px;font-weight:600;line-height:1.5}.presale-announcement:hover{background:#064666;color:#fff}.presale-announcement:focus-visible{outline:3px solid #37c4f0;outline-offset:-3px}

/* Primary presale announcement, above the original hero. */
a.presale-spotlight{display:flex;align-items:center;justify-content:space-between;gap:24px;box-sizing:border-box;width:100%;margin:8px 0 28px;padding:32px 40px;border:2px solid #8cdeff;border-radius:22px;background:linear-gradient(115deg,#06436c,#087db6);color:#fff;text-decoration:none;box-shadow:0 12px 28px #07578026}
a.presale-spotlight strong{display:block;font-size:clamp(30px,4vw,58px);font-weight:800;line-height:1.25;letter-spacing:-.02em;color:#fff}
a.presale-spotlight small{display:block;margin-top:12px;font-size:clamp(15px,1.5vw,21px);line-height:1.5;color:#d4f2ff}
a.presale-spotlight .presale-spotlight-arrow{font-size:clamp(34px,5vw,64px);line-height:1;flex-shrink:0}
a.presale-spotlight:hover{background:linear-gradient(115deg,#053957,#066d9e);color:#fff}
a.presale-spotlight:focus-visible{outline:4px solid #e6a72e;outline-offset:4px}
@media(max-width:650px){a.presale-spotlight{padding:24px 20px;gap:12px;margin:8px 0 20px;border-radius:18px}a.presale-spotlight strong{font-size:30px;overflow-wrap:anywhere}a.presale-spotlight .presale-spotlight-arrow{font-size:34px}}

/* v4.7 mobile reading layout */
@media(max-width:650px){
 body{overflow-x:hidden} header{padding:14px 16px;gap:12px;align-items:flex-start} header .brand{font-size:22px;line-height:1.2} header .brand small{font-size:10px;letter-spacing:1px} header nav{order:3;width:100%;display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:4px 0 7px;-webkit-overflow-scrolling:touch;scrollbar-width:none} header nav::-webkit-scrollbar{display:none} header nav a{font-size:13px;white-space:nowrap;padding:7px 9px;background:#eaf6fd;border-radius:999px} header .language-switch{margin-left:auto;gap:0} header .language-switch a{padding:6px 7px;font-size:12px} main{padding:0 14px}.hero{display:flex;flex-direction:column;padding:30px 0 26px;gap:16px}.hero>div:first-child{order:0}.hero-art{order:1;margin:0 -14px;border-radius:0;min-height:350px}.hero h1{font-size:38px;line-height:1.25;letter-spacing:-1px;margin:16px 0}.hero p{font-size:16px;line-height:1.75}.actions{flex-wrap:wrap;margin:22px 0}.actions .button{flex:1;min-width:145px}.allocation-band{margin:0 -14px}.allocation{padding:24px 20px!important}.allocation strong{font-size:76px}.section-head{display:block;margin-bottom:20px}.section-head>p{font-size:15px}.section-head h2{min-width:0;font-size:28px}.two-col{grid-template-columns:1fr;gap:14px}.panel{padding:20px;border-radius:12px}.panel h3{font-size:20px}.stats,.burn-stats,.balance-grid{grid-template-columns:1fr;gap:12px}.stats article,.burn-stats .panel{padding:20px}.money-row{align-items:flex-start;gap:12px}.money-row b{font-size:28px;width:70px;flex:none}.distribution{height:auto;flex-wrap:wrap}.distribution span{font-size:12px}.ledger-steps{grid-template-columns:1fr;gap:14px}.table-wrap{margin-left:-20px;margin-right:-20px;border-left:0;border-right:0;border-radius:0}.table-wrap table{min-width:680px}.v4-document{padding:14px 10px}.v4-document .panel{padding:20px 16px}.v4-document h1{font-size:30px;line-height:1.3}.v4-document .actions{gap:8px}.v4-document .actions .button{min-width:0;flex:1;padding:10px 8px;font-size:13px}.v4-doc-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 0}.v4-doc-nav a{background:#eef8fd;border:1px solid #cde5f2;border-radius:8px;padding:9px 8px;font-size:13px;text-align:center}.v4-section{padding:20px 0}.v4-section h2{font-size:23px;line-height:1.35}.v4-section p{font-size:15px;line-height:1.8;text-align:left}.v4-status{font-size:13px!important;line-height:1.65}.prose h1{font-size:32px;line-height:1.3}.prose h2{font-size:23px}.prose p,.prose li{font-size:15px;line-height:1.8}.prose .table-wrap{margin-left:-16px;margin-right:-16px}.prose table{min-width:680px}.document-grid{grid-template-columns:1fr}.presale-spotlight{margin:4px 0 16px!important;padding:18px 16px!important}.presale-spotlight strong{font-size:24px!important}.presale-spotlight small{font-size:13px!important;margin-top:7px!important}.presale-spotlight-arrow{font-size:28px!important}
}

/* v4.9 visual layer: low-opacity humanitarian collage and dark terminal chart. */
body{position:relative;isolation:isolate}
body>header,body>main,body>footer{position:relative;z-index:1}
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.27;background-image:linear-gradient(135deg,rgba(240,247,252,.30),rgba(240,247,252,.44)),url('/humanitarian-rebuilding-640.webp'),url('/humanitarian-children-640.webp'),url('/humanitarian-medical-640.webp'),url('/charity-hero.png'),url('/charity-medical.png'),url('/charity-recovery.png'),url('/water-community.png'),url('/water-medical.png'),url('/water-recovery.png'),url('/charity-distribution-new.png'),url('/charity-clinic-new.png'),url('/charity-water-school-new.png'),url('/charity-flood-recovery-new.png');background-position:center,left 1% top 12%,right 2% top 29%,left 3% top 52%,right 1% top 72%,left 18% bottom 6%,right 19% bottom 3%,left 48% bottom 12%,right 47% top 7%,center top 39%,left 7% top 84%,right 5% top 5%,left 29% top 35%,right 28% bottom 13%;background-size:cover,330px auto,370px auto,320px auto,360px auto,330px auto,370px auto,320px auto,300px auto,350px auto,340px auto,360px auto,330px auto,350px auto;background-repeat:no-repeat;background-attachment:fixed;background-blend-mode:normal;filter:saturate(.76) contrast(.9)}
#market .market-chart{min-height:340px;padding:18px;background:#080e17;border:1px solid #2a4056;border-radius:14px;box-shadow:inset 0 0 0 1px #17283a,0 16px 34px rgba(8,24,39,.16)}
#market .market-chart svg{max-height:390px;background:#0b111b;border-radius:10px;filter:drop-shadow(0 5px 14px rgba(0,0,0,.2))}
#market .stats article{background:rgba(255,255,255,.9)}
#market #market-notice,#market #market-status{padding-left:12px;border-left:3px solid #29b8ed}
#market #market-status{color:#7890a7;font-variant-numeric:tabular-nums}
@media(max-width:650px){body::before{opacity:.19;background-position:center,left -28px top 10%,right -36px top 25%,left -30px top 45%,right -38px top 66%,left -22px bottom 8%,right -18px bottom 2%,left 40% bottom 11%,right 36% top 7%,left 12% top 82%,right 8% top 5%,left 33% top 35%,right 32% bottom 12%,center top 38%;background-size:cover,210px auto,240px auto,215px auto,245px auto,220px auto,245px auto,210px auto,195px auto,230px auto,220px auto,240px auto,220px auto,230px auto;background-attachment:scroll}#market .market-chart{min-height:250px;padding:10px;border-radius:12px}#market .market-chart svg{max-height:300px}#market .stats article{background:rgba(255,255,255,.94)}}
