/* PortalMine v16124: clean public homepage overrides. */
:root{
  --home-bg:#07111f;
  --home-panel:#0f1b2d;
  --home-panel-2:#132238;
  --home-border:#263b57;
  --home-text:#f8fafc;
  --home-muted:#b6c4d8;
  --home-primary:#3b82f6;
}
html,body{background:var(--home-bg)!important;color:var(--home-text)!important}
body{background:linear-gradient(180deg,#07111f 0%,#091426 48%,#07111f 100%)!important}
header{position:sticky;top:0;z-index:40;background:rgba(7,17,31,.96)!important;border-color:var(--home-border)!important;backdrop-filter:blur(12px)}
header nav{max-width:1180px!important}
header a{color:#dbeafe!important;text-decoration:none}
header a:hover{color:#fff!important}
main>section{scroll-margin-top:84px}
#main>section:first-child{padding-top:58px!important;padding-bottom:54px!important}
#hero-heading{color:#f8fafc!important;letter-spacing:-.035em!important;line-height:1.08!important}
#hero-heading+*{color:var(--home-muted)!important}
.pm-btn-cyan,#primary-cta{background:var(--home-primary)!important;color:#fff!important;border:1px solid #60a5fa!important;box-shadow:none!important}
.pm-btn-cyan:hover,#primary-cta:hover{background:#2563eb!important}
.pm-btn-violet{background:#334155!important;color:#fff!important;box-shadow:none!important}
.pm-outline-cyan{border-color:#4b6b91!important;color:#dbeafe!important;background:#0f1b2d!important}
.bg-white,.bg-white\/80,.bg-\[\#f5f3ff\],.bg-\[\#f9fafb\]{background:var(--home-panel)!important}
.text-\[\#111827\],.text-\[\#4c1d95\],.text-\[\#6b21a8\],.text-\[\#a855f7\]{color:var(--home-text)!important}
.text-\[\#4b5563\],.text-\[\#374151\],.text-\[\#6b7280\],.text-slate-500,.text-slate-600,.text-slate-700{color:var(--home-muted)!important}
.border-\[\#e5e7eb\],.border-slate-200{border-color:var(--home-border)!important}
.shadow-sm,.shadow-md,.shadow-lg,.shadow-xl{box-shadow:none!important}
.rounded-2xl,.rounded-xl{border-radius:12px!important}
#main article,#main .pm-home-featured-guide,#main .pm-home-news-item,#main .pm-home-blog-card,#main .pm-home-faq-card,#main .pm-home-guide-card{
  background:var(--home-panel)!important;
  border:1px solid var(--home-border)!important;
  box-shadow:none!important;
}
#main article:hover,#main .pm-home-news-item:hover,#main .pm-home-blog-card:hover{background:var(--home-panel-2)!important;transform:none!important}
#features,#latest,#resource-library,.pm-home-media{background:transparent!important}
.pm-home-media__inner{max-width:1180px!important}
footer{background:#050c17!important;border-color:var(--home-border)!important}
#auth-modal>div,#verify-modal>div,#cookie-modal>div{background:#0f1b2d!important;border:1px solid var(--home-border)!important;box-shadow:0 24px 70px rgba(0,0,0,.42)!important}
input,select,textarea{background:#081321!important;border-color:#34506f!important;color:#fff!important;box-shadow:none!important}
button{box-shadow:none!important}
@media(max-width:768px){
  #main>section:first-child{padding-top:34px!important;padding-bottom:38px!important;gap:28px!important}
  #hero-heading{font-size:clamp(30px,10vw,44px)!important}
  header nav{padding-top:10px!important;padding-bottom:10px!important}
}

/* PortalMine public homepage visual refresh — v16151 */
:root{
  --home-bg:#06101e;
  --home-panel:#0e1a2a;
  --home-panel-2:#13243a;
  --home-border:#28405e;
  --home-text:#f8fbff;
  --home-muted:#afbdd0;
  --home-primary:#5b8cff;
  --home-secondary:#27c4e8;
  --home-violet:#8b72f6;
}
body.pm-home-v2{
  background:
    radial-gradient(900px 520px at 78% -120px,rgba(39,196,232,.13),transparent 68%),
    radial-gradient(780px 500px at 12% -160px,rgba(91,140,255,.17),transparent 70%),
    linear-gradient(180deg,#06101e 0%,#091426 46%,#06101e 100%)!important;
}
body.pm-home-v2 header{
  background:rgba(6,16,30,.82)!important;
  border-color:rgba(104,132,171,.24)!important;
  box-shadow:0 10px 32px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(18px) saturate(125%);
}
body.pm-home-v2 header nav>div:first-child,
body.pm-home-v2 header nav>a>div:first-child{
  background:linear-gradient(145deg,rgba(91,140,255,.18),rgba(39,196,232,.10))!important;
  border:1px solid rgba(91,140,255,.32)!important;
}
body.pm-home-v2 header a{color:#b9c8dc!important;}
body.pm-home-v2 header a:hover{color:#fff!important;}
body.pm-home-v2 #hero-heading{
  color:#fff!important;
  background:linear-gradient(100deg,#ffffff 8%,#bcd4ff 48%,#8be8f5 92%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  text-wrap:balance;
}
body.pm-home-v2 #hero-heading+*{color:#b4c1d3!important;}
body.pm-home-v2 .pm-btn-cyan,
body.pm-home-v2 #primary-cta,
body.pm-home-v2 .pm-btn-violet{
  background:linear-gradient(135deg,var(--home-primary),var(--home-secondary))!important;
  border:1px solid rgba(154,225,247,.5)!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(35,101,210,.25)!important;
}
body.pm-home-v2 .pm-btn-cyan:hover,
body.pm-home-v2 #primary-cta:hover,
body.pm-home-v2 .pm-btn-violet:hover{
  filter:brightness(1.08);
  transform:translateY(-1px);
}
body.pm-home-v2 .pm-outline-cyan{
  background:rgba(14,26,42,.78)!important;
  border-color:rgba(107,154,209,.55)!important;
  color:#d9e8fb!important;
}
body.pm-home-v2 .pm-outline-cyan:hover{
  background:rgba(91,140,255,.10)!important;
  border-color:rgba(91,140,255,.72)!important;
}
body.pm-home-v2 #main>section:first-child{
  position:relative;
}
body.pm-home-v2 #main>section:first-child::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.012),transparent 72%);
}
body.pm-home-v2 #main article,
body.pm-home-v2 .pm-home-featured-guide,
body.pm-home-v2 .pm-home-news-item,
body.pm-home-v2 .pm-home-blog-card,
body.pm-home-v2 .pm-home-faq-card,
body.pm-home-v2 .pm-home-guide-card,
body.pm-home-v2 #main .bg-white{
  background:linear-gradient(180deg,rgba(17,31,50,.96),rgba(13,24,40,.96))!important;
  border-color:rgba(88,119,159,.34)!important;
  box-shadow:0 14px 36px rgba(0,0,0,.20)!important;
}
body.pm-home-v2 #main article:hover,
body.pm-home-v2 .pm-home-news-item:hover,
body.pm-home-v2 .pm-home-blog-card:hover,
body.pm-home-v2 .pm-home-guide-card:hover{
  background:linear-gradient(180deg,rgba(21,39,63,.98),rgba(16,29,48,.98))!important;
  border-color:rgba(91,140,255,.46)!important;
  transform:translateY(-2px)!important;
}
body.pm-home-v2 .bg-\[\#f5f3ff\],
body.pm-home-v2 .bg-\[\#f9fafb\]{
  background:rgba(91,140,255,.10)!important;
}
body.pm-home-v2 [style*="var(--pm-accent)"]{color:#7ed9ee!important;}
body.pm-home-v2 .pm-badge{
  background:rgba(53,201,138,.14)!important;
  color:#79e3b2!important;
  border:1px solid rgba(53,201,138,.32)!important;
}
body.pm-home-v2 input,
body.pm-home-v2 select,
body.pm-home-v2 textarea{
  background:#081522!important;
  border-color:#304b6b!important;
}
body.pm-home-v2 input:focus,
body.pm-home-v2 select:focus,
body.pm-home-v2 textarea:focus{
  border-color:var(--home-primary)!important;
  box-shadow:0 0 0 3px rgba(91,140,255,.16)!important;
}
body.pm-home-v2 footer{
  background:#040b14!important;
  border-color:rgba(86,112,148,.24)!important;
}
body.pm-home-v2 .pm-mobile-public-panel{
  background:#0c1828!important;
  border-color:#2a4260!important;
  box-shadow:0 18px 46px rgba(0,0,0,.38)!important;
}
@media(max-width:768px){
  body.pm-home-v2 #main>section:first-child{padding-top:38px!important;}
  body.pm-home-v2 #hero-heading{text-align:center;}
  body.pm-home-v2 #hero-heading+*{text-align:center;margin-left:auto;margin-right:auto;}
}

/* PortalMine public header and footer repair — v16153 */
body.pm-home-v2 #login-btn,
body.pm-home-v2 #signup-btn{
  -webkit-appearance:none;
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px!important;
  border-radius:10px!important;
  font:700 12px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-decoration:none!important;
  white-space:nowrap;
  cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
}
body.pm-home-v2 #login-btn{
  color:#dbeafe!important;
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(148,163,184,.34)!important;
  box-shadow:none!important;
}
body.pm-home-v2 #login-btn:hover{
  color:#fff!important;
  background:rgba(91,140,255,.14)!important;
  border-color:rgba(108,158,255,.72)!important;
  transform:translateY(-1px);
}
body.pm-home-v2 #signup-btn{
  color:#fff!important;
  background:linear-gradient(135deg,#4f86f7,#24b9dc)!important;
  border:1px solid rgba(155,222,246,.48)!important;
  box-shadow:0 8px 22px rgba(32,100,202,.22)!important;
}
body.pm-home-v2 #signup-btn:hover{
  color:#fff!important;
  filter:brightness(1.07);
  transform:translateY(-1px);
}

body.pm-home-v2 .pm-site-footer{
  margin-top:64px!important;
  background:#040b14!important;
  border-top:1px solid rgba(92,121,160,.26)!important;
  color:#aebdd1!important;
  overflow:hidden;
}
body.pm-home-v2 .pm-site-footer .pm-footer-grid{
  width:min(1180px,100%);
  display:grid!important;
  grid-template-columns:minmax(220px,1.45fr) minmax(250px,1.45fr) minmax(130px,.8fr) minmax(150px,.9fr) minmax(230px,1.3fr)!important;
  align-items:start;
  gap:32px 38px!important;
  padding:42px 16px 34px!important;
  margin:0 auto!important;
}
body.pm-home-v2 .pm-site-footer .pm-footer-grid>div{
  min-width:0;
  text-align:left!important;
}
body.pm-home-v2 .pm-site-footer .pm-footer-brand,
body.pm-home-v2 .pm-site-footer .pm-footer-support{
  grid-column:auto!important;
}
body.pm-home-v2 .pm-site-footer ul{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}
body.pm-home-v2 .pm-site-footer li{
  margin:0!important;
  padding:0!important;
}
body.pm-home-v2 .pm-site-footer .pm-footer-product ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px 18px!important;
}
body.pm-home-v2 .pm-site-footer .pm-footer-company ul,
body.pm-home-v2 .pm-site-footer .pm-footer-legal ul{
  display:grid;
  gap:9px!important;
}
body.pm-home-v2 .pm-site-footer a{
  color:#b6c5d8!important;
  text-decoration:none!important;
  text-underline-offset:3px;
  transition:color .18s ease!important;
}
body.pm-home-v2 .pm-site-footer a:hover{
  color:#fff!important;
}
body.pm-home-v2 .pm-site-footer svg{
  flex:0 0 auto;
  width:15px!important;
  height:15px!important;
  color:#6f8eb6!important;
  opacity:.9!important;
}
body.pm-home-v2 .pm-site-footer .font-semibold{
  color:#f4f8ff!important;
  letter-spacing:-.01em;
}
body.pm-home-v2 .pm-site-footer p{
  color:#aebdd1!important;
}
body.pm-home-v2 .pm-site-footer .pm-footer-support .mt-4{
  align-items:stretch!important;
  justify-content:flex-start!important;
}
body.pm-home-v2 .pm-site-footer .pm-footer-support .mt-4 a{
  min-height:38px;
  padding:0 14px!important;
  border-radius:9px!important;
  border:1px solid rgba(126,154,190,.26)!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  font-weight:700;
  white-space:nowrap;
}
body.pm-home-v2 .pm-site-footer .pm-footer-support .mt-4 a:first-child{
  color:#fff!important;
  background:linear-gradient(135deg,#4f86f7,#24b9dc)!important;
  border-color:rgba(155,222,246,.45)!important;
}
body.pm-home-v2 .pm-site-footer .pm-footer-support .mt-4 a:last-child{
  color:#dbe8f7!important;
  background:rgba(255,255,255,.055)!important;
}
body.pm-home-v2 .pm-site-footer .pm-footer-bottom{
  width:min(1180px,100%);
  margin:0 auto!important;
  padding:18px 16px!important;
  border-top:1px solid rgba(93,121,158,.18);
  color:#8190a5!important;
}
body.pm-home-v2 .pm-site-footer .pm-footer-bottom>div:last-child{
  display:flex!important;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 18px!important;
}
body.pm-home-v2 #cookieSettingsBtn{
  -webkit-appearance:none;
  appearance:none;
  margin:0;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#9eb0c6!important;
  font:inherit;
  line-height:inherit;
  text-decoration:none!important;
  box-shadow:none!important;
  cursor:pointer;
}
body.pm-home-v2 #cookieSettingsBtn:hover{
  color:#fff!important;
}
body.pm-home-v2 .pm-site-footer .pm-trust-note{
  width:min(1180px,100%);
  margin:0 auto!important;
  padding:18px 16px 26px!important;
  border-top:1px solid rgba(93,121,158,.14);
  color:#75869c!important;
  text-align:center;
  font-size:11px;
  line-height:1.75;
}

@media(max-width:1100px){
  body.pm-home-v2 .pm-site-footer .pm-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:30px 36px!important;
  }
  body.pm-home-v2 .pm-site-footer .pm-footer-brand,
  body.pm-home-v2 .pm-site-footer .pm-footer-support{
    grid-column:1/-1!important;
  }
  body.pm-home-v2 .pm-site-footer .pm-footer-product ul{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:640px){
  body.pm-home-v2 header nav{
    gap:10px!important;
  }
  body.pm-home-v2 #login-btn,
  body.pm-home-v2 #signup-btn{
    min-height:34px;
    padding:0 11px!important;
    font-size:11px;
  }
  body.pm-home-v2 .pm-site-footer{
    margin-top:44px!important;
  }
  body.pm-home-v2 .pm-site-footer .pm-footer-grid{
    grid-template-columns:1fr!important;
    gap:28px!important;
    padding:34px 18px 28px!important;
  }
  body.pm-home-v2 .pm-site-footer .pm-footer-grid>div,
  body.pm-home-v2 .pm-site-footer .pm-footer-brand,
  body.pm-home-v2 .pm-site-footer .pm-footer-support{
    grid-column:auto!important;
    text-align:center!important;
  }
  body.pm-home-v2 .pm-site-footer .pm-footer-product ul{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 12px!important;
  }
  body.pm-home-v2 .pm-site-footer a.inline-flex{
    justify-content:center!important;
  }
  body.pm-home-v2 .pm-site-footer .pm-footer-support .mt-4{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  body.pm-home-v2 .pm-site-footer .pm-footer-bottom{
    padding:20px 18px!important;
    text-align:center;
  }
  body.pm-home-v2 .pm-site-footer .pm-footer-bottom>div:last-child{
    justify-content:center;
  }
  body.pm-home-v2 .pm-site-footer .pm-trust-note{
    padding:18px 18px 24px!important;
  }
}

/* PortalMine footer visibility and layout repair — v16154 */
body.pm-home-v2 .pm-site-footer{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  inset:auto!important;
  z-index:2;
  flex:0 0 auto!important;
  width:100%!important;
  min-height:0!important;
  margin:72px 0 0!important;
  padding:0!important;
  overflow:visible!important;
  background:linear-gradient(180deg,#06101d 0%,#030914 100%)!important;
  border:0!important;
  border-top:1px solid rgba(111,145,190,.24)!important;
  color:#aebdd1!important;
}
body.pm-home-v2 .pm-site-footer *{box-sizing:border-box;}
body.pm-home-v2 .pm-footer-shell{
  display:block!important;
  width:min(1180px,100%)!important;
  margin:0 auto!important;
  padding:42px 22px 24px!important;
}
body.pm-home-v2 .pm-footer-top{
  display:grid!important;
  grid-template-columns:minmax(250px,1.05fr) minmax(420px,1.7fr)!important;
  gap:58px!important;
  align-items:start!important;
}
body.pm-home-v2 .pm-footer-brand{
  display:block!important;
  min-width:0!important;
  text-align:left!important;
}
body.pm-home-v2 .pm-footer-brandline{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin-bottom:16px!important;
}
body.pm-home-v2 .pm-footer-brandline img{
  display:block!important;
  width:38px!important;
  height:38px!important;
  padding:5px!important;
  border-radius:11px!important;
  background:#101d31!important;
  border:1px solid rgba(126,154,190,.25)!important;
}
body.pm-home-v2 .pm-footer-brandline strong{
  display:block!important;
  color:#f7faff!important;
  font-size:16px!important;
  line-height:1.2!important;
}
body.pm-home-v2 .pm-footer-brandline span{
  display:block!important;
  margin-top:3px!important;
  color:#8193aa!important;
  font-size:11px!important;
}
body.pm-home-v2 .pm-footer-brand>p{
  max-width:390px!important;
  margin:0!important;
  color:#9aacbf!important;
  font-size:13px!important;
  line-height:1.75!important;
}
body.pm-home-v2 .pm-footer-cta{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:20px!important;
}
body.pm-home-v2 .pm-footer-cta a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:0 15px!important;
  border-radius:9px!important;
  font-size:12px!important;
  font-weight:750!important;
  text-decoration:none!important;
}
body.pm-home-v2 .pm-footer-primary{
  color:#fff!important;
  background:linear-gradient(135deg,#4f86f7,#24b9dc)!important;
  border:1px solid rgba(155,222,246,.42)!important;
}
body.pm-home-v2 .pm-footer-secondary{
  color:#dce8f7!important;
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(126,154,190,.26)!important;
}
body.pm-home-v2 .pm-footer-links{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:28px!important;
  min-width:0!important;
}
body.pm-home-v2 .pm-footer-group{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:10px!important;
  min-width:0!important;
}
body.pm-home-v2 .pm-footer-group h2{
  margin:0 0 4px!important;
  color:#f1f6ff!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:1.3!important;
}
body.pm-home-v2 .pm-footer-group a,
body.pm-home-v2 .pm-footer-bottom a,
body.pm-home-v2 .pm-footer-bottom button{
  color:#9eb0c6!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  font:inherit!important;
  text-decoration:none!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body.pm-home-v2 .pm-footer-group a{
  display:block!important;
  max-width:100%!important;
  font-size:12px!important;
  line-height:1.45!important;
}
body.pm-home-v2 .pm-footer-group a:hover,
body.pm-home-v2 .pm-footer-bottom a:hover,
body.pm-home-v2 .pm-footer-bottom button:hover{color:#fff!important;}
body.pm-home-v2 .pm-footer-bottom{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  width:100%!important;
  margin:36px 0 0!important;
  padding:18px 0!important;
  border-top:1px solid rgba(93,121,158,.18)!important;
  color:#8190a5!important;
  font-size:11px!important;
}
body.pm-home-v2 .pm-footer-bottom-links{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:10px 18px!important;
}
body.pm-home-v2 .pm-trust-note{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#6f8198!important;
  text-align:center!important;
  font-size:10.5px!important;
  line-height:1.65!important;
}
@media(max-width:860px){
  body.pm-home-v2 .pm-footer-top{
    grid-template-columns:1fr!important;
    gap:34px!important;
  }
  body.pm-home-v2 .pm-footer-brand>p{max-width:620px!important;}
}
@media(max-width:640px){
  body.pm-home-v2 .pm-site-footer{margin-top:48px!important;}
  body.pm-home-v2 .pm-footer-shell{padding:34px 18px 22px!important;}
  body.pm-home-v2 .pm-footer-brand,
  body.pm-home-v2 .pm-footer-group{text-align:center!important;align-items:center!important;}
  body.pm-home-v2 .pm-footer-brandline{justify-content:center!important;}
  body.pm-home-v2 .pm-footer-brand>p{margin:0 auto!important;}
  body.pm-home-v2 .pm-footer-cta{justify-content:center!important;}
  body.pm-home-v2 .pm-footer-cta a{width:100%!important;}
  body.pm-home-v2 .pm-footer-links{grid-template-columns:1fr!important;gap:26px!important;}
  body.pm-home-v2 .pm-footer-bottom{
    flex-direction:column!important;
    justify-content:center!important;
    text-align:center!important;
  }
  body.pm-home-v2 .pm-footer-bottom-links{justify-content:center!important;}
}
