
/* Finishing pass, applied after original sheets. Market data/embedded widgets untouched. */
:root{--sm-green:#219b48;--sm-text:#1c3027;--sm-ink:#172c22;--sm-muted:#596f64;--sm-panel:#fff;--sm-line:#e0eae3;--green:#219b48;--lime:#219b48;--panel:#fff;--ink:#172c22;--muted:#607368;color-scheme:light}
html,body{background:#f7fbf8!important}body{color:#193126!important}
.sm-global-nav{height:auto!important;min-height:82px!important;background:#fff!important;color:#163226!important;box-shadow:0 3px 24px rgba(28,85,48,.09)!important;padding:10px clamp(18px,3.2vw,56px)!important;gap:18px!important}
.sm-global-nav a{color:#21392b!important}.sm-global-nav .sm-nav-cta,.sm-global-nav .sm-mobile-join{color:#fff!important;background:#269c47!important;border:0!important}.sm-brand-logo img{height:auto!important;width:165px!important;max-height:64px!important;object-fit:contain!important}
.sm-desktop-nav{gap:clamp(12px,1.5vw,26px)!important}.sm-desktop-nav>a,.sm-tools-summary{text-transform:none!important;font-size:13px!important;color:#244331!important;letter-spacing:0!important;font-weight:750!important}.sm-tools-menu summary:after{color:#17944a!important}.sm-tools-dropdown{border-radius:16px!important;background:#fff!important;box-shadow:0 16px 45px #173c2623!important}.sm-tool-link{background:#f5faf6!important;color:#25412e!important;border-radius:10px!important}.sm-tool-link strong{color:#19372a!important}.sm-tool-link:hover{background:#ebf8ef!important}.sm-tool-link small{color:#64796d!important}.sm-mobile-panel{background:#fff!important;color:#213e2b!important}.sm-mobile-panel a{color:#1c3528!important}.sm-mobile-menu summary{color:#183e27!important}
.sm-friendly-home .hero{padding-top:50px!important;background:radial-gradient(circle at 85% 15%,#dbf8e9 0%,transparent 38%),linear-gradient(110deg,#f7fef8,#e9f7ef)!important}.sm-friendly-home .hero h1{color:#152e20!important}.sm-friendly-home .hero p{color:#435e4d!important}.sm-friendly-home .visual{border-radius:28px;background:radial-gradient(ellipse at center,#d5f8da 0,transparent 68%)}.sm-friendly-home .phone{background:#18241f;border:8px solid #18241f;box-shadow:0 18px 50px #1a65342e;transform:rotate(2deg)}
.sm-friendly-home .card,.sm-friendly-home .tool-card,.sm-friendly-home .testimonial{box-shadow:0 6px 24px rgba(28,90,42,.045)!important;border:1px solid #dcefe1!important;background:#fff!important}.sm-friendly-home .card h3{color:#163727!important}.sm-friendly-home .card p{color:#526b5a!important}.sm-friendly-home .block{padding-top:66px;padding-bottom:66px}.sm-friendly-home .steps{background:linear-gradient(180deg,#f1fbf4,#eaf8ef)!important}.sm-friendly-home .heading p{color:#566d5f!important}.sm-friendly-home .tool-card{transition:transform .2s,border .2s,background .2s}.sm-friendly-home .tool-card:hover{transform:translateY(-3px)}.sm-friendly-home .btn:focus-visible,.sm-global-nav a:focus-visible{outline:3px solid #83db9a;outline-offset:3px}.sm-friendly-home .btn:hover{filter:brightness(.96)}
body:not(.sm-home) main{background:linear-gradient(180deg,#f2fbf5 0,#fff 500px,#f8fbf9 100%)!important}body:not(.sm-home) .sm-global-nav{background:#fff!important}body:not(.sm-home) main h1{letter-spacing:-.045em!important}body:not(.sm-home) main h2{letter-spacing:-.035em!important}
/* Give original page panels the same friendly white framing, with deliberate exemptions for dark data widgets */
body:not(.sm-home) main article:not([class*="chart"]):not([class*="heat"]),body:not(.sm-home) main .tool-card{border-radius:18px!important}
body:not(.sm-home) main a[class*="btn"],body:not(.sm-home) main button[class*="btn"]{border-radius:12px!important}
body:not(.sm-home) footer{border-top-color:#d8e9df!important}
@media(max-width:1050px){.sm-desktop-nav{gap:12px!important}.sm-brand-logo img{width:140px!important}.sm-nav-cta{padding:11px 16px!important}}
@media(max-width:850px){.sm-global-nav{min-height:72px!important;padding:9px 17px!important}.sm-desktop-nav{display:none!important}.sm-mobile-menu{display:block!important;margin-left:auto}.sm-friendly-home .hero{padding:36px 0!important}.sm-friendly-home .visual{min-height:350px!important}.sm-friendly-home .phone{margin-left:110px!important}.sm-friendly-home .mascot{left:2%!important}.sm-friendly-home .block{padding:48px 0!important}.sm-brand-logo img{width:137px!important}}
@media(max-width:480px){.sm-global-nav{gap:8px!important}.sm-nav-cta{font-size:12px!important;padding:10px 12px!important}.sm-friendly-home .hero h1{font-size:39px!important}.sm-friendly-home .visual{min-height:300px!important}.sm-friendly-home .mascot{height:250px!important;left:0!important}.sm-friendly-home .phone{width:164px!important;height:300px!important;margin-left:92px!important}.sm-friendly-home .cta-row .btn{flex:1;min-width:140px}.sm-friendly-home .result-grid{gap:8px!important}.sm-friendly-home .result-grid .card{padding:13px 8px!important}}

/* 2026-10-20 polish fixes: footer consistency, contrast, mascot cleanup support */
html,body{min-height:100%}
body{min-height:100vh;display:flex;flex-direction:column}
body>main{flex:1 0 auto}
body>footer{margin-top:auto;width:100%}

/* Shared footer cleanup */
footer,
footer.footer,
footer.sm-friendly-home.footer,
.key-terms-page footer{
  background:#f3faf5!important;
  color:#5c7267!important;
  border-top:1px solid #d9e9dd!important;
}
footer a,
footer.footer a,
.key-terms-page footer a{
  color:#214332!important;
}
footer p,
footer small,
footer span,
footer.footer p,
footer.footer small,
footer.footer span,
.key-terms-page footer p,
.key-terms-page footer small,
.key-terms-page footer span{
  color:#5e7469!important;
}
footer img[src*="stockmembers-official-logo"],
footer img[alt*="StockMembers"]{
  width:150px!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
}
/* Replace text-based footer logos with the official logo */
footer .logo{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:150px!important;
  min-height:56px!important;
  background:url('/stockmembers-official-logo.png') left center / contain no-repeat!important;
  color:transparent!important;
  font-size:0!important;
  line-height:0!important;
  text-decoration:none!important;
  overflow:hidden!important;
}
footer .logo *{display:none!important}

/* Improve readability on legacy dark sections that remain */
.source-card,
.toolbar,
.table-wrap,
.empty,
.conversion,
.hero-card,
.learn-grid article,
.risk,
.sheet-frame,
.legend div,
.offer,
.offer-card,
.how,
.step,
.ticker-strip,
.close,
.sticky,
.toolkit-convert,
.toolkit-next article,
.toolkit-page footer,
[class*="toolkit-convert"]{
  color:#eef6f0!important;
}
.source-card p,
.empty,
.conversion p,
.risk p,
.step p,
.offer li,
.offer-card small,
.offer-card span,
.ticker-strip span,
.toolkit-next article p,
.toolkit-page footer p,
.toolkit-page footer small,
.table-wrap td,
.table-wrap th,
.toolbar,
.legend div,
.learn-grid article p,
.hero-card p{
  color:#d7e3db!important;
}
.close h2,
.conversion h2,
.offer h2,
.toolkit-convert h2,
.toolkit-next article h3,
.source-card strong,
.table-wrap .ticker,
.table-wrap .date-cell,
.ticker-strip strong,
.toolkit-page footer span,
.toolkit-page footer .logo{
  color:#ffffff!important;
}

/* Home footer spacing */
.sm-friendly-home.footer{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px 18px!important;
}
.sm-friendly-home.footer img{flex:0 0 auto}
@media(max-width:760px){
  footer,
  footer.footer,
  .sm-friendly-home.footer,
  .key-terms-page footer{padding-left:18px!important;padding-right:18px!important}
  footer .logo{width:138px!important;min-height:52px!important}
}
