:root{
  --navy:#0D2B4E;
  --navy-deep:#060f1a;
  --navy-mid:#1A3F6E;
  --blue:#1A6FBF;
  --blue-light:#2E8DE8;
  --gold:#F5A623;
  --gold-dark:#D4891A;
  --red:#EF4444;
  --green:#059669;
  --amber:#D97706;
  --gray-100:#F1F5F9;
  --gray-200:#E2E8F0;
  --gray-400:#94A3B8;
  --gray-600:#475569;
}

/* Blocksy's parent stylesheet sets a direct colour on h1-h6, which overrides
   colour inherited from a dark section wrapper. These pages are full-canvas
   and expect headings to inherit, so restore that. Specificity of 0,0,2 beats
   Blocksy's 0,0,1 regardless of stylesheet load order. Any explicit rule of
   ours (.hero h1, .cta-bg h2) still wins. */
body h1, body h2, body h3, body h4, body h5, body h6 { color: inherit; }

*{margin:0;padding:0;box-sizing:border-box;}
html{background:#060f1a;}body{font-family:'DM Sans',sans-serif;color:#fff;background:linear-gradient(160deg,#091D38 0%,var(--navy) 40%,var(--navy-mid) 100%);margin:0;}
h1,h2,h3,h4{font-family:'Sora',sans-serif;}
.wrap{max-width:720px;margin:0 auto;padding:60px 24px 80px;}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:15px 30px;border-radius:12px;font-weight:700;font-family:'Sora',sans-serif;font-size:15px;cursor:pointer;border:none;transition:all .3s;}
.btn-gold{background:linear-gradient(135deg,var(--gold),#FFB84D);color:#0D3B60;text-shadow:none;box-shadow:0 3px 12px rgba(245,166,35,0.28);}
.btn-gold:hover{color:#0D3B60;text-shadow:none;transform:translateY(-2px);box-shadow:0 5px 16px rgba(245,166,35,0.30);}
.btn-gold:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none;}
.btn-ghost{background:transparent;border:1.5px solid rgba(255,255,255,0.25);color:#fff;}
.btn-ghost:hover{border-color:rgba(255,255,255,0.5);background:rgba(255,255,255,0.06);}
.btn-row{display:flex;gap:12px;justify-content:space-between;margin-top:32px;}

/* SCREENS */
.screen{display:none;}
.screen.active{display:block;animation:fadeUp .5s ease;}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

/* INTRO */
.intro{text-align:center;}
.intro-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(245,166,35,0.14);border:1px solid rgba(245,166,35,0.35);color:var(--gold);padding:7px 18px;border-radius:999px;font-size:13px;font-weight:700;font-family:'Sora',sans-serif;margin-bottom:22px;}
.intro h1{font-size:clamp(28px,4.5vw,42px);line-height:1.15;margin-bottom:16px;}
.intro h1 span{color:var(--gold);}
.intro p{font-size:16.5px;color:#cdd9ea;max-width:520px;margin:0 auto 30px;}
.intro-meta{display:flex;justify-content:center;gap:24px;margin-bottom:34px;flex-wrap:wrap;}
.intro-meta div{font-size:13px;color:#9fb1c9;display:flex;align-items:center;gap:6px;}

/* PROGRESS */
.progress-wrap{margin-bottom:36px;}
.progress-top{display:flex;justify-content:space-between;font-size:12.5px;color:#9fb1c9;margin-bottom:8px;font-family:'Sora',sans-serif;font-weight:600;}
.progress-track{height:6px;background:rgba(255,255,255,0.1);border-radius:99px;overflow:hidden;}
.progress-fill{height:100%;background:linear-gradient(90deg,var(--blue),var(--gold));border-radius:99px;transition:width .4s ease;}

/* ENGINE INTRO */
.engine-card{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:16px;padding:26px 28px;margin-bottom:26px;}
.engine-icon{margin-bottom:10px;}
.sh-shield{fill:url(#sh-fill);stroke:#F0B858;stroke-width:2.2;}
.sh-glyph{fill:none;stroke:#0D3B60;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;}
.sh-glyph-f{fill:#0D3B60;stroke:none;}
.qs-icon{display:inline-block;width:44px;height:49px;}
.qs-icon svg{width:44px;height:49px;}
.ndm-icon{display:inline-flex;width:19px;height:21px;min-width:19px;vertical-align:-5px;margin-right:6px;}
.ndm-icon svg{width:19px;height:21px;}
.engine-card h2{font-size:21px;margin-bottom:8px;}
.engine-card p{font-size:14px;color:#b9c6da;line-height:1.6;}

/* QUESTIONS */
.qlist{display:flex;flex-direction:column;gap:14px;}
.qcard{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:14px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px;}
.qcard p{font-size:14.5px;color:#e7edf6;flex:1;}
.yn{display:flex;gap:8px;flex-shrink:0;}
.yn button{background:rgba(255,255,255,0.06);border:1.5px solid rgba(255,255,255,0.15);color:#cdd9ea;border-radius:9px;padding:8px 16px;font-size:13.5px;font-weight:700;font-family:'Sora',sans-serif;cursor:pointer;transition:all .2s;}
.yn button.yes.active{background:rgba(5,150,105,0.18);border-color:var(--green);color:#6EE7B7;}
.yn button.no.active{background:rgba(239,68,68,0.15);border-color:var(--red);color:#FCA5A5;}

/* NUMBERS STEP */
.slider-card{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:16px;padding:26px 28px;margin-bottom:18px;}
.slider-card label{display:flex;justify-content:space-between;font-size:14px;color:#cdd9ea;margin-bottom:10px;}
.slider-card label b{color:var(--gold);font-family:'Sora',sans-serif;}
.slider-card input[type=range]{width:100%;accent-color:var(--gold);}

/* RESULTS */
.results-head{text-align:center;margin-bottom:36px;}
.score-ring-wrap{position:relative;width:180px;height:180px;margin:0 auto 18px;}
.score-ring-wrap svg{transform:rotate(-90deg);width:100%;height:100%;}
.score-ring-bg{fill:none;stroke:rgba(255,255,255,0.08);stroke-width:12;}
.score-ring-fill{fill:none;stroke:url(#scoreGrad);stroke-width:12;stroke-linecap:round;transition:stroke-dashoffset 1s ease;}
.score-num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.score-num .n{font-family:'Sora',sans-serif;font-size:44px;font-weight:800;color:#fff;}
.score-num .d{font-size:12px;color:#9fb1c9;}
.grade-pill{display:inline-block;padding:7px 20px;border-radius:999px;font-size:13px;font-weight:700;font-family:'Sora',sans-serif;margin-top:6px;}

.engine-bars{display:flex;flex-direction:column;gap:16px;margin-bottom:32px;}
.ebar-row{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:14px;padding:18px 20px;}
.ebar-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;}
.ebar-top .name{font-size:14.5px;font-weight:600;font-family:'Sora',sans-serif;}
.ebar-top .status{font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;}
.status-good{background:rgba(5,150,105,0.15);color:#6EE7B7;}
.status-mid{background:rgba(217,119,6,0.15);color:#FCD34D;}
.status-bad{background:rgba(239,68,68,0.15);color:#FCA5A5;}
.ebar-track{height:8px;background:rgba(255,255,255,0.08);border-radius:99px;overflow:hidden;}
.ebar-fill{height:100%;border-radius:99px;transition:width 1s ease;}
.fill-good{background:linear-gradient(90deg,#059669,#34D399);}
.fill-mid{background:linear-gradient(90deg,#D97706,#FBBF24);}
.fill-bad{background:linear-gradient(90deg,#DC2626,#F87171);}
.ebar-pct{font-size:12.5px;color:#9fb1c9;margin-top:6px;}

.weakest-callout{background:rgba(239,68,68,0.08);border:1px solid rgba(239,68,68,0.25);border-radius:14px;padding:20px 22px;margin-bottom:24px;}
.weakest-callout p{font-size:14px;color:#fecaca;line-height:1.6;}
.weakest-callout b{color:#fff;}

.leak-card{background:linear-gradient(135deg,rgba(245,166,35,0.1),rgba(26,111,191,0.08));border:1px solid rgba(245,166,35,0.25);border-radius:16px;padding:28px;text-align:center;margin-bottom:32px;}
.leak-card .lbl{font-size:13px;color:#cdd9ea;text-transform:uppercase;letter-spacing:.06em;font-weight:700;font-family:'Sora',sans-serif;}
.leak-card .num{font-family:'Sora',sans-serif;font-size:38px;font-weight:800;background:linear-gradient(135deg,var(--gold),#FFD580);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:8px 0 6px;}
.leak-card .sub{font-size:13px;color:#9fb1c9;}

.gate-card{background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.1);border-radius:16px;padding:28px;}
.gate-card h3{font-size:19px;margin-bottom:8px;}
.gate-card p{font-size:14px;color:#b9c6da;margin-bottom:20px;}
.gate-form{display:flex;flex-direction:column;gap:12px;margin-bottom:18px;}
.gate-form input{background:rgba(255,255,255,0.05);border:1.5px solid rgba(255,255,255,0.15);border-radius:10px;padding:13px 16px;color:#fff;font-size:14.5px;font-family:'DM Sans',sans-serif;}
.gate-form input::placeholder{color:#b4c2d4;opacity:1;}
.gate-form input:focus::placeholder{color:#8fa2ba;}
.gate-form input:focus{outline:none;border-color:var(--gold);}
.gate-note{font-size:12px;color:#7d90ab;text-align:center;}

.thankyou{text-align:center;}
.thankyou .icon{font-size:44px;margin-bottom:16px;}
.thankyou h3{font-size:22px;margin-bottom:10px;}
.thankyou p{font-size:14.5px;color:#b9c6da;max-width:440px;margin:0 auto;}

/* BLUEPRINT */
.bp-head{text-align:center;margin-bottom:30px;}
.bp-head .bp-eyebrow{display:inline-flex;background:rgba(245,166,35,0.14);border:1px solid rgba(245,166,35,0.35);color:var(--gold);padding:6px 18px;border-radius:999px;font-size:12px;font-weight:700;font-family:'Sora',sans-serif;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px;}
.bp-head h2{font-size:26px;color:#fff;margin-bottom:8px;}
.bp-head p{font-size:14px;color:#9fb1c9;}
.bp-card{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:16px;padding:24px 26px;margin-bottom:16px;}
.bp-card h3{font-size:16px;color:#fff;margin-bottom:16px;display:flex;align-items:center;gap:8px;}
.rec-row{display:flex;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px solid rgba(255,255,255,0.06);}
.rec-row:last-child{border-bottom:none;}
.rec-badge{font-size:11px;font-weight:800;font-family:'Sora',sans-serif;padding:3px 10px;border-radius:999px;white-space:nowrap;margin-top:2px;}
.rec-badge.b-crit{background:rgba(239,68,68,0.15);color:#FCA5A5;}
.rec-badge.b-mid{background:rgba(217,119,6,0.15);color:#FCD34D;}
.rec-badge.b-good{background:rgba(5,150,105,0.15);color:#6EE7B7;}
.rec-body{flex:1;}
.rec-body .rec-name{font-size:14px;font-weight:700;font-family:'Sora',sans-serif;color:#fff;margin-bottom:3px;}
.rec-body p{font-size:13px;color:#b9c6da;line-height:1.6;}
.roadmap-row{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px solid rgba(255,255,255,0.06);}
.roadmap-row:last-child{border-bottom:none;}
.rm-month{min-width:74px;font-size:12px;font-weight:800;font-family:'Sora',sans-serif;color:var(--gold);text-transform:uppercase;letter-spacing:.04em;margin-top:2px;}
.roadmap-row p{font-size:13.5px;color:#cdd9ea;line-height:1.6;}
.bp-offer{background:linear-gradient(135deg,rgba(245,166,35,0.1),rgba(26,111,191,0.08));border:1.5px solid rgba(245,166,35,0.35);border-radius:18px;padding:30px;text-align:center;margin-top:24px;}
.bp-offer .bo-lbl{font-size:12px;font-weight:700;color:#cdd9ea;text-transform:uppercase;letter-spacing:.08em;font-family:'Sora',sans-serif;margin-bottom:12px;}
.bp-offer h3{font-size:20px;color:#fff;margin-bottom:6px;}
.bp-price-row{display:flex;justify-content:center;align-items:baseline;gap:12px;margin:14px 0 4px;}
.bp-price-old{font-family:'Sora',sans-serif;font-size:19px;font-weight:700;color:rgba(255,255,255,0.35);text-decoration:line-through;}
.bp-price-now{font-family:'Sora',sans-serif;font-size:40px;font-weight:800;background:linear-gradient(135deg,var(--gold),#FFD580);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.bp-price-now span{font-size:15px;-webkit-text-fill-color:#9fb1c9;font-weight:600;}
.bp-lock{font-size:12.5px;color:var(--gold);font-weight:700;font-family:'Sora',sans-serif;margin-bottom:18px;}
.bp-offer .btn{width:100%;max-width:400px;}
.bp-dep-note{font-size:12.5px;color:#9fb1c9;margin-top:12px;}
.bp-followup{text-align:center;font-size:12.5px;color:#7d90ab;margin-top:20px;}

@media(max-width:600px){
  .qcard{flex-direction:column;align-items:flex-start;}
  .yn{width:100%;}
  .yn button{flex:1;}
}
a{color:inherit;text-decoration:none;}
a:hover{text-decoration:none;}
.sticky-bar{background:var(--navy-deep);color:#fff;text-align:center;padding:9px 16px;font-size:13px;font-weight:600;font-family:'Sora',sans-serif;letter-spacing:.02em;}
.sticky-bar span{color:var(--gold);}
.nav-glass{background:rgba(255,255,255,0.9);backdrop-filter:blur(20px);border-bottom:1px solid rgba(226,232,240,0.6);position:sticky;top:0;z-index:50;}
.nav-inner{max-width:1180px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;}
.nav-links{display:flex;align-items:center;gap:28px;font-size:14.5px;font-weight:600;color:#0D3B60;}
.nav-links a{color:#0D3B60;text-decoration:none;transition:color .25s;}
.nav-links a:hover,.nav-links a:active{color:#197CD7;}
.nav-dropdown{position:relative;}
.nav-dropdown > a{cursor:default;}
.nav-dropdown-menu{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);background:#fff;border:1px solid var(--gray-200);border-radius:14px;box-shadow:0 20px 45px rgba(13,43,78,0.14);padding:10px;min-width:230px;z-index:60;opacity:0;visibility:hidden;transition:opacity .16s ease,visibility 0s linear .5s;}
.nav-dropdown::after{content:"";position:absolute;top:100%;left:-14px;right:-14px;height:16px;}
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown-menu:hover{opacity:1;visibility:visible;transition:opacity .18s ease,visibility 0s;}
.nav-dropdown-menu a{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:9px;font-size:14px;font-weight:600;color:#0D3B60;text-decoration:none;}
.nav-dropdown-menu a:hover{background:var(--gray-100);color:#197CD7;}
.nav-dropdown-menu .ndm-overview{border-bottom:1px solid var(--gray-100);margin-bottom:6px;padding-bottom:12px;color:var(--blue);font-weight:700;}
.nav-dropdown-menu .ndm-active{background:var(--gray-100);color:var(--gold-dark);}
.nav-cta{background:linear-gradient(135deg,var(--blue),var(--blue-light));color:#fff !important;padding:11px 22px;border-radius:10px;font-weight:700;font-size:14px;box-shadow:0 2px 12px rgba(26,111,191,0.25);transition:box-shadow .25s,transform .25s;}
.nav-cta:hover{color:#fff !important;transform:translateY(-1px);box-shadow:0 6px 18px rgba(26,111,191,0.38),0 0 16px rgba(25,124,215,0.35);}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px;margin-bottom:30px;}
.footer-brand p{margin-top:12px;color:#8398b3;line-height:1.6;}
.footer-col h4{color:#fff;font-size:14px;margin-bottom:14px;font-family:'Sora',sans-serif;}
.footer-col a{display:block;color:#9fb1c9;padding:5px 0;}
.footer-col a:hover{color:#fff;}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.08);padding-top:18px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12.5px;color:#7d90ab;}
.footer-bottom a{color:#7d90ab;}
.footer-bottom a:hover{color:#fff;}

/* === MOBILE NAV === */
.nav-burger{display:none;background:none;border:0;cursor:pointer;padding:8px 4px;flex-direction:column;gap:5px;}
.nav-burger span{display:block;width:24px;height:2.5px;background:var(--navy);border-radius:2px;transition:transform .3s,opacity .3s;}
.nav-burger.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
.nav-burger.open span:nth-child(2){opacity:0;}
.nav-burger.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}
.mobile-menu{display:none;background:#fff;border-top:1px solid var(--gray-100);padding:6px 24px 22px;max-height:calc(100vh - 80px);overflow-y:auto;}
.mobile-menu a{display:block;padding:13px 4px;font-size:15px;font-weight:600;color:var(--navy);border-bottom:1px solid var(--gray-100);}
.mobile-menu a:hover{color:var(--blue);}
.mobile-menu .mm-group{font-family:'Sora',sans-serif;font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gray-400);padding:16px 4px 6px;}
.mobile-menu .mm-cta{background:var(--blue);color:#fff;text-align:center;border-radius:10px;margin-top:16px;border-bottom:none;padding:13px;font-family:'Sora',sans-serif;}
.mobile-menu .mm-cta:hover{color:#fff;}

@media(max-width:900px){
  .footer-grid{grid-template-columns:1fr;}
  .nav-links{display:none;}
  .nav-burger{display:flex;}
  .mobile-menu.open{display:block;}
}
.sh-shield{fill:url(#sh-fill);stroke:#F0B858;stroke-width:2.2;transition:stroke .25s;}
.sh-glyph{fill:none;stroke:#0D3B60;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;transition:stroke .25s;}
.sh-glyph-f{fill:#0D3B60;stroke:none;transition:fill .25s;}
.ndm-icon{width:20px;height:22px;min-width:20px;display:inline-flex;}
.ndm-icon svg{width:20px;height:22px;}
.nav-dropdown-menu a:hover .sh-shield{stroke:url(#sh-stroke-hover);}
.nav-dropdown-menu a:hover .sh-glyph{stroke:#197CD7;}
.nav-dropdown-menu a:hover .sh-glyph-f{fill:#197CD7;}
.btn:hover,.nav-cta:hover,.nav-drawer-cta:hover{text-decoration:none;}

@media(max-width:900px){
  .nav-menu > a:not(.nav-cta){display:none;}
  .nav-menu{gap:8px;}
  .nav-cta{padding:9px 14px;font-size:13px;}
}

.gate-error{background:rgba(239,68,68,0.14);border:1px solid rgba(239,68,68,0.5);color:#FCA5A5;padding:10px 14px;border-radius:8px;margin:12px 0;font-size:14px;font-weight:500;}
#gate-submit:disabled{opacity:0.7;cursor:wait;}

/* === BUTTON STATE LOCK ===
   Blocksy styles a:hover and a:visited directly. Where a button rule
   changes only background or transform on hover, Blocksy wins and the
   label turns dark, or purple once visited. Pin every state to the
   button's own colour. */
.btn-gold, .btn-gold:link, .btn-gold:visited, .btn-gold:hover, .btn-gold:focus, .btn-gold:focus-visible, .btn-gold:active{color:#0D3B60;}
.btn-ghost, .btn-ghost:link, .btn-ghost:visited, .btn-ghost:hover, .btn-ghost:focus, .btn-ghost:focus-visible, .btn-ghost:active{color:#fff;}
.nav-cta, .nav-cta:link, .nav-cta:visited, .nav-cta:hover, .nav-cta:focus, .nav-cta:focus-visible, .nav-cta:active{color:#fff;}
.mm-cta, .mm-cta:link, .mm-cta:visited, .mm-cta:hover, .mm-cta:focus, .mm-cta:focus-visible, .mm-cta:active{color:#fff;}
