:root{--ink:#071924;--night:#06111d;--deep:#090e23;--paper:#f5f8f7;--green:#79e749;--cyan:#10B8D4;--blue:#275bef;--purple:#9c70ed;--line:#c5d7d9}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 Arial,Helvetica,sans-serif}
button,a{font:inherit}button{cursor:pointer}a{color:inherit}img{max-width:100%}
.skip{position:absolute;left:-9999px;top:8px;z-index:200;padding:12px;background:#fff;color:#071924}.skip:focus{left:12px}
:focus-visible{outline:3px solid #58e5d9;outline-offset:4px}
.site-header{position:absolute;top:0;left:0;right:0;z-index:30;display:flex;align-items:center;min-height:68px;padding:12px max(6%,calc((100vw - 1320px)/2));background:transparent}
.brand{display:flex;align-items:center;gap:11px;color:#f4fffa;text-decoration:none;font-weight:900;letter-spacing:-.04em;font-size:17px;white-space:nowrap}.brand img{width:40px;height:40px}.brand:hover{color:var(--green)}
.eyebrow{margin:0 0 18px;color:var(--green);font-size:11px;font-weight:900;letter-spacing:.15em}
h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.055em;line-height:1.05}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;border-radius:9px;padding:14px 18px;text-decoration:none;font-size:13px;font-weight:900;min-height:49px;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}
.button.bright{background:var(--green);color:#071924}.button.bright:hover{background:#b5f574}.button.outline{border:1px solid #a3b7cb;color:#fff}
.intro{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr);gap:7%;align-items:center;min-height:650px;padding:130px max(6%,calc((100vw - 1320px)/2)) 70px;overflow:hidden;background:radial-gradient(ellipse at 80% 36%,#2a1b58 0,#0a1830 36%,#06111d 73%);color:#fff}
.intro h1{font-size:clamp(48px,5.3vw,74px);margin:0 0 25px}.intro h1 span{color:var(--green)}
.intro-lead{max-width:58ch;color:#d0dbe7;font-size:clamp(18px,1.8vw,23px);line-height:1.5}
.intro-actions,.continue-links{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 0}.intro-note{max-width:56ch;color:#aab9c9;font-size:12px;margin:18px 0 0}
.intro-orbit{position:relative;width:min(28vw,350px);aspect-ratio:1;display:grid;place-items:center;justify-self:center}
.intro-orbit:before,.intro-orbit:after,.orbit-one,.orbit-two,.orbit-three{content:"";position:absolute;border-radius:50%;border:1px solid #8a79df8c;inset:0;box-shadow:0 0 35px #533ac433}
.intro-orbit:after{inset:11%;border-color:#4be6d699;transform:rotate(22deg) scaleX(.65)}
.orbit-one{inset:24%;border-color:#96f67e88;transform:rotate(-36deg) scaleX(.58)}
.orbit-two{inset:4%;border-color:#d6cdff55;transform:rotate(-21deg) scaleY(.5)}
.orbit-three{inset:39%;border-color:#93e3ff;box-shadow:0 0 42px #45d8f4}
.orbit-core{z-index:1;font-size:110px;font-weight:900;line-height:1;letter-spacing:-.14em;transform:translateX(-.07em);background:linear-gradient(140deg,#a9fa65,#1dd9e6 60%,#ae78f3);background-clip:text;color:transparent;text-shadow:0 0 50px #39d5ee40}
.blackout-section{padding:95px max(6%,calc((100vw - 1320px)/2)) 82px;background:#071521;color:#fff}
.section-head{display:grid;grid-template-columns:1.3fr .7fr;gap:9%;align-items:end;margin-bottom:36px}.section-head h2{font-size:clamp(42px,4.5vw,68px);margin:0}.section-head h2 span{color:var(--green)}.section-head>p{max-width:42ch;color:#b5c8d5;font-size:16px;line-height:1.6;margin:0}
.scene-frame{overflow:hidden;border:1px solid #54738f;border-radius:22px;background:#06101f;box-shadow:0 28px 80px #0005}.scene-topline,.result-top{display:flex;align-items:center;gap:10px;padding:15px 23px;border-bottom:1px solid #496078a6;font-size:11px;font-weight:900;letter-spacing:.1em;color:#b9cddd}
.scene-topline .live-dot{display:block;width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 12px var(--green)}
.scene-topline button{margin-left:auto;border:1px solid #9cf0d4;border-radius:999px;background:var(--green);padding:10px 16px;color:#081827;font-weight:900;letter-spacing:0;font-size:13px}.scene-topline button:hover{background:#b4f66c}.scene-topline button[aria-pressed=true]{background:#f4b44b;border-color:#f4b44b}
#blackout-scene{display:block;width:100%;height:auto;max-height:520px;background:linear-gradient(#0b1a31,#101f32 58%,#06111c);color:#b7c9dd}
#blackout-scene .neighbour-window,#blackout-scene .street-lamp{fill:#f5c566;filter:drop-shadow(0 0 9px #f8c05caa);transition:fill .65s,opacity .65s,filter .65s}
#blackout-scene .prepared-window{fill:#a9f373;filter:drop-shadow(0 0 13px #70f47b);transition:fill .5s}
#blackout-scene .broken-wire,#blackout-scene .spark{opacity:0;transition:opacity .4s}
#blackout-scene.outage .neighbour-window,#blackout-scene.outage .street-lamp{fill:#26374b;filter:none;opacity:.5}
#blackout-scene.outage .broken-wire,#blackout-scene.outage .spark{opacity:1}
#blackout-scene .halo-ring{transform-box:fill-box;transform-origin:center;animation:halo-turn 34s linear infinite}
@keyframes halo-turn{to{transform:rotate(360deg)}}
.scene-status{display:flex;flex-wrap:wrap;gap:8px;padding:14px 22px;border-top:1px solid #496078a6}.scene-status span{border:1px solid #526c82;border-radius:999px;padding:7px 12px;font-size:12px;color:#b7cddd}.scene-status b{color:#fff}.scene-caption{margin:0;padding:0 22px 22px;color:#9cb1c4;font-size:12px}
.story-step{display:flex;justify-content:space-between;align-items:end;gap:30px;margin:45px 0 0}.story-step p{font-size:clamp(18px,2vw,25px);line-height:1.4;max-width:47ch;margin:0}.story-step strong{color:#a5f67b}.text-action{border:0;border-bottom:1px solid #68f6df;padding:8px 0;background:none;color:#91fce7;font-weight:800;font-size:13px;white-space:nowrap}
.builder-section{padding:100px max(6%,calc((100vw - 1320px)/2));background:#f4f8f7}.dark-copy .eyebrow{color:#005bd0}.dark-copy h2 span{color:#167e5d}.dark-copy>p{color:#435964}
.builder-grid{display:grid;grid-template-columns:minmax(280px,.38fr) minmax(0,.62fr);gap:24px;align-items:start}
.builder-controls,.builder-result{border:1px solid #bdcfd1;border-radius:20px;overflow:hidden;box-shadow:0 15px 50px #0c253517;background:#fff}
.builder-controls{padding:28px}.builder-controls fieldset{padding:0;margin:0 0 30px;border:0}.builder-controls legend{font-size:14px;font-weight:900;margin:0 0 13px}.field-hint{font-size:12px;color:#526571;margin:-8px 0 12px}
.control-row{display:flex;flex-wrap:wrap;gap:8px}.control-row button{border:1px solid #b7c8cb;border-radius:10px;background:#f3f8f8;color:#1b3440;padding:10px 13px;font-size:13px;font-weight:750;min-height:42px}.control-row button:hover{border-color:#127fba}.control-row button[aria-pressed=true]{background:#102a43;color:#fff;border-color:#102a43;box-shadow:inset 0 -3px #68e8d4}
.measures{display:grid;grid-template-columns:1fr 1fr}.measures button{text-align:left}.measures button span{margin-right:7px;color:#137b9f;font-size:18px}.measures button[aria-pressed=true] span{color:#8df79a}
.reset-button{border:0;background:transparent;color:#155c9d;font-size:13px;font-weight:800;padding:5px 0}.control-note{color:#5c7178;font-size:12px;line-height:1.55;margin:18px 0 0}
.builder-result{background:#fff}.result-top{color:#406071;background:#eef7f7;border-color:#d3e2e1;justify-content:space-between}.result-top span:last-child{color:#0759a8}
#building-scene{display:block;width:100%;height:auto;background:#f6faf9}
.builder-result .result-summary{margin:0;padding:20px 24px;border-top:1px solid #d2dfdd;background:#eff7f5}.result-summary p{font-size:13px;color:#425861;margin:0}.result-summary h3{font-size:clamp(27px,3vw,39px);margin:4px 0 7px;color:#9a391d}.result-summary h3.partial{color:#945c00}.result-summary h3.good{color:#12724c}
.layer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0 15px}.layer-grid article{padding:17px 12px;border-bottom:1px solid #d6e2e0;min-width:0}.layer-grid article:nth-child(odd){border-right:1px solid #d6e2e0}.layer-grid article span{display:block;color:#687e83;font-size:10px;font-weight:900;letter-spacing:.1em}.layer-grid article b{display:block;color:#9a391d;font-size:16px;margin-top:5px}.layer-grid article b.partial{color:#945c00}.layer-grid article b.good{color:#12724c}.layer-grid article p{font-size:12px;color:#425861;margin:4px 0 0}
.next-step{margin:18px 24px 24px;padding:18px 20px;border-radius:12px;background:#102b42;color:#fff}.next-step span{color:#8af2cd;font-size:10px;font-weight:900;letter-spacing:.12em}.next-step p{font-size:17px;font-weight:800;line-height:1.35;margin:9px 0}.next-step small{color:#c1d5dc;font-size:12px}
.assumptions{margin:24px 0 0;padding:17px 20px;border:1px solid #c2d6d7;border-radius:11px;background:#fff;color:#36515b}.assumptions summary{cursor:pointer;font-size:13px;font-weight:850;display:flex;justify-content:space-between}.assumptions[open] summary span{transform:rotate(45deg)}.assumptions p{max-width:90ch;margin:15px 0 0;font-size:13px;line-height:1.7}
.continue-section{text-align:center;padding:93px 6%;background:radial-gradient(circle at 50% 0,#22345b,#071522 68%);color:#fff}.continue-section h2{font-size:clamp(40px,4.5vw,67px);margin:0}.continue-section h2 span{color:#93f66e}.continue-section>p:not(.eyebrow){font-size:17px;color:#c2d3dd;max-width:65ch;margin:22px auto 0}.continue-links{justify-content:center;margin-top:32px}
footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:28px 6%;background:#05111c;color:#b7cbd6;font-size:12px}footer a{color:#d8f8f0;text-decoration:none}footer a:first-child{font-weight:900;letter-spacing:.06em}
@media(max-width:1000px){.intro{grid-template-columns:1fr minmax(190px,.4fr)}.builder-grid{grid-template-columns:1fr 1.15fr}.measures{grid-template-columns:1fr}}
@media(max-width:760px){.site-header{padding:8px 6%}.brand{font-size:16px}.brand img{width:36px;height:36px}.intro{display:block;min-height:0;padding:122px 6% 55px}.intro h1{font-size:clamp(44px,11vw,70px)}.intro-orbit{display:none}.intro-lead{font-size:18px}.blackout-section,.builder-section{padding:64px 5%}.section-head{grid-template-columns:1fr;gap:15px}.section-head h2{font-size:clamp(38px,9vw,58px)}.section-head>p{font-size:15px}.scene-topline{flex-wrap:wrap;padding:12px}.scene-topline button{margin-left:auto;font-size:12px}.scene-status{padding:10px}.scene-status span{font-size:11px}.scene-caption{padding:0 12px 15px}.story-step{display:block}.story-step p{font-size:20px}.text-action{margin-top:20px;white-space:normal}.builder-grid{display:block}.builder-result{margin-top:20px}.builder-controls{padding:20px}.measures{grid-template-columns:1fr 1fr}.continue-section{padding:70px 5%}}
@media(max-width:450px){.brand span{font-size:14px}.intro-actions .button{width:100%}.measures{grid-template-columns:1fr}.layer-grid{grid-template-columns:1fr}.layer-grid article:nth-child(odd){border-right:0}.scene-status span{flex:1 0 auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
