:root{color-scheme:dark;--bg:#07141c;--surface:#12242c;--ink:#f0f5f2;--muted:#afc2c5;--lime:#ddf540;--cyan:#62d8df;--line:#334850;font-family:Inter,"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{min-height:100%;margin:0}html{scroll-padding-top:24px}body{background:radial-gradient(ellipse at 18% 42%,#102730,transparent 58%),var(--bg);color:var(--ink);font-size:clamp(15px,.37vw + 12px,19px);line-height:1.5}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}img,svg{max-width:100%;height:auto}a{color:inherit}button{cursor:pointer}button:disabled{cursor:progress}button,input,textarea,select{min-width:0}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--lime);outline-offset:4px}#app{position:relative;min-height:100svh;isolation:isolate}#app:focus{outline:none}#map-dust{position:fixed;width:100%;height:100%;inset:0;pointer-events:none;z-index:2}.bw-skip{position:fixed;top:6px;left:6px;z-index:100;background:var(--lime);color:#101d16;padding:.6rem 1rem;transform:translateY(-180%)}.bw-skip:focus{transform:none}::selection{background:#dafb54;color:#08202b}
.bw-loading{min-height:100svh;display:grid;place-items:center;color:var(--muted)}.bw-status{min-height:100svh;display:grid;place-content:center;text-align:center;padding:1rem}.bw-status h1{margin:.3rem 0}.bw-status a{color:var(--lime)}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
body[data-view] #app{z-index:1}
body[data-view="portal"]::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 91% 7%,#23424b55,transparent 50%);opacity:1}

/* Quiet cartographic glyphs live in each section's margin, behind its copy. */
body {
  --bw-wallet:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%2390d6e8' stroke-width='1.55' stroke-linejoin='round'%3E%3Cpath fill='%230a3140' d='m9 26 40-15v8l6-2v30L12 60l-3-3z'/%3E%3Cpath d='m10 28 36-13M12 31l40-13 3 1M12 31v26M44 34l12-4v11l-12 4z'/%3E%3Ccircle cx='49' cy='38' r='1.5'/%3E%3C/svg%3E");
  --bw-network:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23072a38' stroke='%239be1ee' stroke-width='1.5'%3E%3Cpath fill='none' d='m13 49 19-33 19 33z'/%3E%3Ccircle cx='13' cy='49' r='5'/%3E%3Ccircle cx='32' cy='16' r='5'/%3E%3Ccircle cx='51' cy='49' r='5'/%3E%3C/svg%3E");
  --bw-layers:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' stroke='%2398dded' fill='%23072b3a' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='m6 40 26-14 26 14-26 14z'/%3E%3Cpath d='m6 31 26-14 26 14-26 14z'/%3E%3Cpath d='m6 22 26-14 26 14-26 14z'/%3E%3C/svg%3E");
  --bw-flag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' stroke='%2398ddeb' fill='%23092c39' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='m4 48 25-13 26 13-26 12zM29 47V9'/%3E%3Cpath fill='%23546330' stroke='%23deef70' d='M30 10c7-4 16 6 23 2l-2 15c-8 4-15-6-21-2z'/%3E%3C/svg%3E");
}
body[data-view="home"] .nw-chapter::after,
body[data-view="home"] .nw-footer-map::after,
body[data-view="account"] .au::after,
body[data-view="account"] .au-map::before,
body[data-view="portal"] .pw-shell::after,
body[data-view="portal"] .pw-overview-banner::before {
  content:"";position:absolute;pointer-events:none;z-index:-1;
  width:clamp(38px,4.2vw,88px);aspect-ratio:1;
  background:var(--bw-glyph,var(--bw-wallet)) center/contain no-repeat;
  opacity:.6;animation:bw-chart-drift var(--bw-time,8.4s) ease-in-out infinite alternate;
  animation-delay:var(--bw-delay,-2.1s);
}
@keyframes bw-chart-drift{
  from{transform:translate3d(0,0,0) rotate(-4deg)}
  to{transform:translate3d(var(--bw-dx,8px),var(--bw-dy,-16px),0) rotate(4deg)}
}
body[data-view="home"] .nw-chapter::after{right:-2vw;bottom:12%;--bw-glyph:var(--bw-layers)}
body[data-view="home"] #about::after{top:10%;bottom:auto;--bw-glyph:var(--bw-wallet);--bw-dx:-8px;--bw-time:7.6s;--bw-delay:-4s}
body[data-view="home"] #sectors::after{top:13%;bottom:auto;--bw-glyph:var(--bw-network);--bw-time:8.8s;--bw-delay:-6.1s}
body[data-view="home"] #member-income::after{left:-2.9vw;right:auto;bottom:11%;--bw-glyph:var(--bw-layers);--bw-dy:-12px;--bw-delay:-6.4s}
body[data-view="home"] #ranks::after{bottom:15%;--bw-glyph:var(--bw-flag);--bw-dx:-6px;--bw-time:7.7s}
body[data-view="home"] #how-it-works::after{top:12%;bottom:auto;--bw-glyph:var(--bw-wallet);--bw-delay:-4.8s}
body[data-view="home"] #faq::after{left:-2.6vw;right:auto;bottom:9%;--bw-glyph:var(--bw-network);--bw-time:7.9s}
body[data-view="home"] .nw-footer-map::after{left:2.1%;bottom:28%;--bw-glyph:var(--bw-network);--bw-dx:12px;opacity:.7}
body[data-view="home"] .nw-hero-float{animation-name:bw-chart-drift;animation-duration:7.4s;opacity:.62}
body[data-view="home"] .nw-float-wallet{--bw-dx:-10px;--bw-dy:16px;animation-delay:-4.6s}
body[data-view="home"] .nw-float-stack{--bw-dx:6px;--bw-dy:-18px;animation-duration:8.3s;animation-delay:-1s}
body[data-view="home"] .nw-float-nodes{--bw-dx:12px;--bw-dy:-16px;animation-delay:-5.5s}
body[data-view="account"] .au::after,body[data-view="portal"] .pw-shell::after{
  position:fixed;right:1.4%;top:16%;--bw-glyph:var(--bw-wallet);--bw-dx:-6px;opacity:.49
}
body[data-view="account"] .au-map::before{right:3%;top:23%;--bw-glyph:var(--bw-network);--bw-dx:-8px;--bw-delay:-5s;opacity:.55}
body[data-view="portal"] .pw-overview-banner::before{right:7%;bottom:12%;--bw-glyph:var(--bw-flag);--bw-dx:-9px;opacity:.68}
@media(max-width:650px){
  body[data-view="home"] .nw-chapter::after{right:1%;top:auto;bottom:7px;left:auto;width:35px;--bw-dx:-5px;--bw-dy:-9px;opacity:.58}
  body[data-view="home"] :is(#about,#sectors,#member-income,#ranks,#how-it-works,#faq)::after{top:auto;bottom:7px;right:1%;left:auto}
  body[data-view="home"] .nw-footer-map::after{left:4%;bottom:21%;width:39px}
  body[data-view="account"] .au::after,body[data-view="portal"] .pw-shell::after{width:33px;right:4%;top:15%;opacity:.4}
  body[data-view="portal"] .pw-overview-banner::before{right:7%;bottom:8%;width:36px}
}
@media(prefers-reduced-motion:reduce){
  body[data-view] .nw-hero-float,body[data-view] .nw-chapter::after,
  body[data-view] .nw-footer-map::after,body[data-view] .au::after,body[data-view] .au-map::before,
  body[data-view] .pw-shell::after,body[data-view] .pw-overview-banner::before{animation:none!important}
}

.workspace-screen { display: contents; }
