
/* Ecomly Profit — sitewide branded shell, V12 */
:root{
  --ep-navy:#0a1d3b;--ep-navy2:#0d2c5f;--ep-blue:#2f73ff;--ep-blue2:#1769ff;
  --ep-ink:#0b1f41;--ep-muted:#5d6f8b;--ep-line:#dce5f1;--ep-bg:#f7faff;
}
html{scroll-behavior:smooth}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:var(--ep-ink)!important;background:#fff!important}
.ep-site-header{background:var(--ep-navy);border-bottom:1px solid rgba(255,255,255,.08);position:relative;z-index:100}
.ep-site-shell{width:min(1120px,calc(100% - 32px));min-height:76px;margin:auto;display:grid;grid-template-columns:260px 1fr auto;align-items:center;gap:22px}
.ep-site-logo{display:flex;align-items:center;text-decoration:none}
.ep-site-logo img{display:block;width:205px;max-width:100%;height:auto}
.ep-site-nav{display:flex;justify-content:center;align-items:center;gap:24px}
.ep-site-nav a{color:#e7eef9!important;text-decoration:none!important;font-size:13px;font-weight:750;white-space:nowrap}
.ep-site-nav a:hover{color:#fff!important}
.ep-site-actions{display:flex;gap:10px;align-items:center}
.ep-site-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:10px;text-decoration:none!important;font-size:12px;font-weight:850;white-space:nowrap}
.ep-site-secondary{background:#fff;color:var(--ep-ink)!important;border:1px solid #d9e3f0}
.ep-site-primary{background:var(--ep-blue);color:#fff!important;border:1px solid var(--ep-blue)}
/* suppress legacy header/footer shells */
body>.nav,.prod-top{display:none!important}
.footer,footer.note{display:none!important}

/* Internal-page polish without changing calculator logic/content */
.hero-sm,.hero{background:linear-gradient(135deg,#f8fbff 0%,#eef4ff 100%)!important}
.hero-sm{padding:64px 0 44px!important;border-bottom:1px solid #e5edf8}
.hero-sm h1,.hero h1{color:var(--ep-ink)!important;letter-spacing:-.045em!important}
.hero-sm .lead,.hero .sub{color:var(--ep-muted)!important}
.section{padding:48px 0!important}
.card{border:1px solid var(--ep-line)!important;border-radius:16px!important;box-shadow:0 10px 32px rgba(10,29,59,.055)!important;background:#fff!important}
.muted{color:var(--ep-muted)!important}
a{color:#1769ff}
input,select,textarea{border-color:#cfdbea!important;outline-color:#1769ff}
.btn,.primary{border-radius:10px!important}
.primary{background:#1769ff!important;color:#fff!important}

/* Profit calculator shell */
.prod-note{max-width:1180px!important;margin:20px auto 0!important}
.prod-note div{background:#eef4ff!important;border-color:#d7e5ff!important}
body:has(.prod-note) main>.wrap{margin-top:18px!important}

/* Existing guide/tool index layouts */
.grid,.cards,.tool-grid{align-items:stretch}

/* Branded footer */
.ep-site-footer{display:block!important;background:#06152f;color:#fff;margin-top:54px;padding:50px 0 20px}
.ep-site-footer-shell{width:min(1120px,calc(100% - 32px));margin:auto;display:grid;grid-template-columns:1.25fr 2fr;gap:60px}
.ep-site-footer-brand img{display:block;width:210px;max-width:100%;height:auto;margin-bottom:16px}
.ep-site-footer-brand p{max-width:330px;color:#93a7c5;font-size:12px;line-height:1.7;margin:0}
.ep-site-footer-links{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.ep-site-footer-links strong{display:block;font-size:12px;color:#fff;margin-bottom:15px}
.ep-site-footer-links a{display:block;color:#9fb2ce!important;text-decoration:none!important;font-size:11px;margin-bottom:10px}
.ep-site-footer-links a:hover{color:#fff!important}
.ep-site-footer-bottom{width:min(1120px,calc(100% - 32px));margin:40px auto 0;padding-top:19px;border-top:1px solid rgba(255,255,255,.09);display:flex;justify-content:space-between;gap:28px;color:#7389aa;font-size:10px}

/* 404 */
.ep-404-shell{min-height:58vh}

/* Responsive */
@media(max-width:1050px){
  .ep-site-shell{grid-template-columns:220px 1fr}.ep-site-actions{display:none}.ep-site-nav{justify-content:flex-end;gap:18px}
  .ep-site-logo img{width:185px}
}
@media(max-width:760px){
  .ep-site-shell{display:flex;min-height:auto;padding:14px 0;flex-wrap:wrap;justify-content:space-between}
  .ep-site-logo img{width:175px}
  .ep-site-nav{order:2;width:100%;justify-content:flex-start;gap:18px;overflow-x:auto;padding:7px 0 2px}
  .ep-site-nav a{font-size:12px}
  .ep-site-footer-shell{grid-template-columns:1fr}
  .ep-site-footer-links{grid-template-columns:1fr 1fr}
  .ep-site-footer-bottom{flex-direction:column}
  .hero-sm{padding:44px 0 30px!important}
}


/* Accessibility skip-link visibility hotfix */
.skip-link{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
.skip-link:focus{
  position:fixed !important;
  left:12px !important;
  top:12px !important;
  width:auto !important;
  height:auto !important;
  overflow:visible !important;
  z-index:9999 !important;
  background:#ffffff !important;
  color:#0b1f41 !important;
  border:2px solid #1769ff !important;
  border-radius:8px !important;
  padding:10px 14px !important;
  text-decoration:none !important;
  font-weight:800 !important;
}
