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

/* Blocksy sets a direct colour on h1-h6, which beats colour inherited from a
   dark section. These are full-canvas templates that expect inheritance.
   0,0,2 specificity beats Blocksy's 0,0,1 regardless of load order. */
body h1, body h2, body h3, body h4, body h5, body h6 { color: inherit; }

*{margin:0;padding:0;box-sizing:border-box;}
html{background:var(--navy-deep);}
a{color:inherit;text-decoration:none;}
body{
  font-family:'DM Sans',sans-serif;
  color:#fff;
  background:linear-gradient(160deg,#091D38 0%,var(--navy) 42%,var(--navy-mid) 100%);
}
.wrap{max-width:760px;margin:0 auto;padding:0 22px;}

/* Header */
.top{padding:34px 0 10px;text-align:center;}
.badge{
  display:inline-flex;align-items:center;gap:9px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(245,166,35,0.35);
  color:var(--gold);
  font-family:'Sora',sans-serif;font-weight:700;font-size:13px;
  letter-spacing:.02em;
  padding:9px 18px;border-radius:999px;
}
.badge svg{width:16px;height:16px;}

/* Hero */
.hero{text-align:center;padding:26px 0 8px;}
.hero h1{
  font-family:'Sora',sans-serif;font-weight:900;
  font-size:clamp(30px,5.4vw,46px);line-height:1.08;
  letter-spacing:-0.02em;margin-bottom:16px;
}
.hero h1 .accent{color:var(--gold);}
.hero p{
  color:#B8CADF;font-size:clamp(15px,2.3vw,17px);line-height:1.6;
  max-width:560px;margin:0 auto;
}

/* Trust row */
.trust{
  display:flex;justify-content:center;flex-wrap:wrap;gap:26px;
  padding:24px 0 6px;
}
.trust-item{display:flex;align-items:center;gap:8px;color:#9FB4CC;font-size:14px;font-weight:500;}
.trust-item svg{width:17px;height:17px;color:var(--gold);flex-shrink:0;}

/* Scarcity strip */
.scarcity{
  margin:22px auto 0;max-width:560px;
  background:linear-gradient(135deg,rgba(245,166,35,0.12),rgba(245,166,35,0.05));
  border:1px solid rgba(245,166,35,0.28);
  border-radius:14px;padding:16px 20px;text-align:center;
}
.scarcity strong{color:var(--gold);font-family:'Sora',sans-serif;font-weight:700;}
.scarcity span{color:#C9D8EA;font-size:14.5px;line-height:1.55;}

/* Form card */
.card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:20px;
  margin:30px 0 40px;
  padding:14px 14px 6px;
  box-shadow:0 30px 70px rgba(6,15,26,0.55);
}
.form-frame{width:100%;border:none;border-radius:12px;display:block;min-height:1190px;}
.form-frame.dep-frame{min-height:840px;}

/* Footer */
.foot{
  text-align:center;padding:14px 0 46px;
  color:#7C93AE;font-size:13px;
}
.foot .logo-line{
  font-family:'Sora',sans-serif;font-weight:700;color:#A9BED6;
  font-size:15px;margin-bottom:8px;letter-spacing:.01em;
}
.foot a{color:#8FA6C1;}
.foot a:hover{color:#fff;}

@media(max-width:600px){
  .trust{gap:16px;}
  .card{margin:22px 0 30px;padding:8px 8px 4px;}
}

/* ===== NAV + FOOTER (from tool) ===== */
footer{background:var(--navy-deep);padding:56px 0 34px;margin-top:20px;}
.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 .18s ease,visibility 0s linear .25s;}
.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;}
@media(max-width:900px){
  .footer-grid{grid-template-columns:1fr;}
  .nav-links{display:none;}
}
.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;}
}
.wrap-nav{max-width:1180px;}


/* === 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. */
.nav-cta, .nav-cta:link, .nav-cta:visited, .nav-cta:hover, .nav-cta:focus, .nav-cta:focus-visible, .nav-cta:active{color:#fff;}

/* === DEPOSIT PAGE === */
.dep-terms{max-width:720px;margin:0 auto 22px;background:rgba(255,255,255,0.045);border:1px solid rgba(255,255,255,0.12);border-radius:14px;padding:26px 28px;}
.dep-terms h2{font-family:'Sora',sans-serif;font-size:19px;font-weight:700;color:#fff;margin:0 0 16px;}
.dep-terms ul{margin:0;padding:0 0 0 20px;display:flex;flex-direction:column;gap:13px;}
.dep-terms li{color:rgba(255,255,255,0.72);font-size:14.5px;line-height:1.6;}
.dep-terms li::marker{color:var(--gold);}
.dep-terms strong{color:#fff;font-weight:600;}
.dep-holding{max-width:720px;margin:0 auto 26px;background:rgba(245,166,35,0.09);border:1px solid rgba(245,166,35,0.28);border-radius:14px;padding:30px 28px;text-align:center;}
.dep-holding h2{font-family:'Sora',sans-serif;font-size:20px;font-weight:700;color:var(--gold);margin:0 0 12px;}
.dep-holding p{color:rgba(255,255,255,0.82);font-size:15px;line-height:1.65;margin:0 auto 10px;max-width:520px;}
.dep-holding-alt{color:rgba(255,255,255,0.6)!important;font-size:14px!important;margin-top:18px!important;}
.dep-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:16px;}
.dep-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 24px;border-radius:12px;font-family:'Sora',sans-serif;font-weight:700;font-size:14.5px;transition:transform .25s,box-shadow .25s,border-color .25s;}
.dep-btn-gold{background:linear-gradient(135deg,var(--gold),#FFB84D);color:#0D3B60;box-shadow:0 4px 18px rgba(245,166,35,0.3);}
.dep-btn-gold:hover{transform:translateY(-2px);box-shadow:0 8px 26px rgba(245,166,35,0.45);}
.dep-btn-ghost{border:1.5px solid rgba(255,255,255,0.22);color:#fff;}
.dep-btn-ghost:hover{border-color:rgba(255,255,255,0.5);transform:translateY(-2px);}
.dep-btn-gold,.dep-btn-gold:link,.dep-btn-gold:visited,.dep-btn-gold:hover,.dep-btn-gold:focus,.dep-btn-gold:focus-visible,.dep-btn-gold:active{color:#0D3B60;}
.dep-btn-ghost,.dep-btn-ghost:link,.dep-btn-ghost:visited,.dep-btn-ghost:hover,.dep-btn-ghost:focus,.dep-btn-ghost:focus-visible,.dep-btn-ghost:active{color:#fff;}
@media(max-width:600px){
  .dep-terms{padding:22px 20px;}
  .dep-actions .dep-btn{width:100%;}
}
