/* Shared public-site chrome for static blog documents. Keep this aligned with
   client/src/components/shared-header.tsx and shared-footer.tsx. */
/* The legacy documents have no explicit body reset. The baseline lives in a
   cascade layer so an article's own (unlayered) design rules always win. */
@layer marty-static-baseline{
  html,body{margin:0;min-height:100%}
  body{background:#0a0c13;color:#e7e9ee;font-family: "IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}
  body>.container{width:min(100% - 32px,780px);margin:0 auto;padding:40px 0 56px}
  body>.container>h1{margin:0 0 16px;color:#f4f5f7;font-size:clamp(2rem,5vw,3.25rem);line-height:1.08;letter-spacing:-.03em}
  body>.container>h2{margin:48px 0 14px;color:#f4f5f7;font-size:clamp(1.45rem,3vw,2rem);line-height:1.2;letter-spacing:-.02em}
  body>.container>h3{margin:32px 0 10px;color:#f4f5f7;font-size:1.25rem;line-height:1.3}
  body>.container>p,body>.container>ul,body>.container>ol{margin:0 0 20px}
  body>.container>ul,body>.container>ol{padding-left:1.35rem}
  body>.container>blockquote{margin:28px 0;padding:4px 0 4px 20px;border-left:3px solid #b8ef4d;color:#c9ced8}
  body>.container>img{max-width:100%;height:auto}
  @media (min-width:640px){body>.container{width:min(100% - 48px,780px);padding-top:56px}}
}
html:not(.marty-light) body>.container a:not(.cta){color:#9fb5ff;text-decoration:underline;text-decoration-thickness:.08em;text-underline-offset:.18em}
html:not(.marty-light) body>.container a:not(.cta):visited{color:#c7b4ff}
html:not(.marty-light) body>.container a:not(.cta):hover{color:#dbe3ff}
body>.container a:focus-visible{outline:2px solid #b8ef4d;outline-offset:3px;border-radius:2px}
body>.container .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.marty-static-header{position:sticky;top:0;z-index:50;box-sizing:border-box;border-bottom:1px solid #292d3d;background:rgba(10,12,19,.92);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);color:#f4f5f7;font-family: "IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.marty-static-header,.marty-static-footer{width:100%;margin-left:0;margin-right:0}.marty-static-header *,.marty-static-footer *{box-sizing:border-box}.marty-static-shell{max-width:1200px;margin:0 auto;padding:0 16px}.marty-static-header-row{height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px}.marty-static-logo{display:inline-flex;align-items:center;text-decoration:none;line-height:0}.marty-static-logo img{width:108px;height:32px;object-fit:contain}.marty-static-nav{display:none;align-items:center;gap:28px}.marty-static-header a{color:#b8becb;text-decoration:none}.marty-static-nav a{font-size:14px;transition:color .15s}.marty-static-header a:hover,.marty-static-footer a:hover{color:#fff}.marty-static-actions{display:none;align-items:center;gap:12px}.marty-static-button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:7px;border-radius:6px;padding:8px 13px;font-size:13px;font-weight:600;white-space:nowrap}.marty-static-call{border:1px solid #363b4d;color:#e6e8ed!important}.marty-static-phone{width:15px;height:15px;flex:none}.marty-static-primary{background:#b8ef4d;color:#182231!important}.marty-static-primary:hover{background:#cdf66e!important}.marty-static-mobile-actions{display:flex;align-items:center;gap:6px}.marty-static-icon-button,.marty-static-menu-button{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border:0;background:transparent;color:#c9ced8;cursor:pointer}.marty-static-icon-button{border:1px solid #363b4d;border-radius:6px}.marty-static-icon-button .marty-static-phone{width:18px;height:18px}.marty-static-menu-button svg{width:22px;height:22px}.marty-static-mobile-cta{padding:8px 9px;font-size:12px}.marty-static-mobile-menu{display:none;border-top:1px solid #292d3d;background:rgba(22,25,37,.98);box-shadow:0 12px 25px rgba(0,0,0,.28)}.marty-static-mobile-menu.is-open{display:block}.marty-static-mobile-menu a{display:flex;min-height:56px;align-items:center;border-bottom:1px solid rgba(41,45,61,.65);font-size:15px}.marty-static-mobile-menu a:last-child{border-bottom:0}
.marty-static-footer{margin-top:40px;border-top:1px solid #292d3d;background:#0a0c13;color:#9aa2b2;font-family: "IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:40px 0 36px}.marty-static-footer a{color:#aeb5c2;text-decoration:none}.marty-static-footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px;margin-bottom:40px;text-align:left}.marty-static-footer h2{margin:0 0 12px;color:#7f8797;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.marty-static-footer ul{margin:0;padding:0;list-style:none}.marty-static-footer li+li{margin-top:7px}.marty-static-footer li a{font-size:13px;line-height:1.4}.marty-static-footer-bottom{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}.marty-static-footer-bottom .marty-static-logo img{width:135px;height:40px}.marty-static-legal{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;font-size:12px}.marty-static-legal span,.marty-static-footer-bottom p{margin:0;color:#7f8797;font-size:12px}.marty-static-tagline{max-width:560px;line-height:1.6}.marty-static-copyright{font-size:12px!important}
@media (min-width:640px){.marty-static-shell{padding:0 24px}.marty-static-footer{padding:56px 0}.marty-static-footer-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1024px){.marty-static-nav,.marty-static-actions{display:flex}.marty-static-mobile-actions,.marty-static-mobile-menu{display:none!important}.marty-static-footer-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}}
@media (min-width:1024px) and (max-width:1279px){.marty-static-nav{gap:16px}.marty-static-actions{gap:8px}}
@media (max-width:420px){.marty-static-shell{padding-inline:12px}.marty-static-header-row{min-width:0}.marty-static-logo{min-width:0;flex:0 1 auto}.marty-static-header .marty-static-logo img{width:88px!important;height:28px!important}.marty-static-mobile-actions{min-width:0;flex:0 1 auto;gap:2px}.marty-static-header .marty-static-mobile-cta{min-width:0;max-width:none!important;width:auto;font-size:11px!important;line-height:1.2;padding:8px 5px!important}}
@media (max-width:420px){.marty-static-header-row{width:100%}.marty-static-mobile-actions{justify-content:flex-end}.marty-static-mobile-cta{max-width:calc(100vw - 148px)}}
@media (max-width:390px){
  .marty-static-header-row{gap:0}
  .marty-static-mobile-actions{gap:2px}
  .marty-static-icon-button,.marty-static-menu-button{width:40px;height:40px;flex:none}
}
@media (max-width:359px){
  .marty-static-shell{padding-inline:8px}
  .marty-static-header .marty-static-logo img{width:82px!important;height:26px!important}
  .marty-static-icon-button{display:none}
  .marty-static-header .marty-static-mobile-cta{font-size:11px!important;padding-inline:3px!important}
}
@media (max-width:639px){
  body>.article-wrap{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere!important}
  body>.article-wrap table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  body>.article{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere!important}
  body>.article table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  body>.container{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
  body>.container .table-wrap{box-sizing:border-box;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
/* Native type on all editorial routes, including older articles with inline
   IBM Plex declarations. Keep controls usable without rewriting article copy. */
body,.marty-static-header,.marty-static-footer{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.marty-static-footer li a,.marty-static-legal a{display:inline-flex;align-items:center;min-height:44px}
.marty-static-button,.marty-static-icon-button,.marty-static-menu-button{min-height:44px}
.marty-static-footer-nav{overflow-wrap:anywhere}
.marty-static-footer{scroll-margin-top:80px}
.marty-static-system-name{display:inline-flex;align-items:center;min-height:44px;color:#aeb5c2;font-size:13px;line-height:1.4}
.marty-static-footer-cta{padding-bottom:40px;margin-bottom:40px;border-bottom:1px solid #292d3d;text-align:center}
.marty-static-footer .marty-static-footer-cta h2{max-width:680px;margin:0 auto 12px;color:#f2f2f2;font-family:inherit;font-size:clamp(24px,3vw,32px);font-weight:700;letter-spacing:-.02em;line-height:1.2;text-transform:none;text-wrap:balance}
.marty-static-footer-cta p{margin:0 0 20px;color:#aeb5c2;font-size:15px}
.marty-static-footer .marty-static-footer-cta a{min-height:48px;padding:12px 24px;background:#b8ef4d;color:#182231;font-size:15px;font-weight:700}
.marty-static-footer-contact{display:grid;gap:24px;margin-bottom:40px;padding-bottom:32px;border-bottom:1px solid #292d3d;text-align:center}
.marty-static-footer-contact p{margin:0;color:#aeb5c2;font-size:13px}
.marty-static-footer-contact a{display:inline-flex;align-items:center;min-height:44px;font-size:15px}
.marty-static-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.marty-static-footer a:focus-visible{outline:2px solid #b8ef4d;outline-offset:4px}
@media(min-width:640px){.marty-static-footer-contact{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* The full approved CTA needs two lines when the logo/menu leave less than
   its intrinsic width on narrow phones. Never squeeze its text out of view. */
@media (max-width:420px){.marty-static-header .marty-static-mobile-cta{white-space:normal!important;text-align:center;line-height:1.2}}
/* Match the flat public homepage shell, including readable phone actions. */
.marty-static-header{background:hsl(222 25% 8%);backdrop-filter:none;-webkit-backdrop-filter:none;border-color:hsl(220 15% 19%)}
.marty-static-footer{background:hsl(222 25% 8%);border-color:hsl(220 15% 19%)}
.marty-static-button{font-size:14px;font-weight:700;padding:11px 16px}
.marty-static-footer h2{font-size:13px}
.marty-static-footer .marty-static-footer-cta h2{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.marty-static-footer-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:640px){.marty-static-footer-nav{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1024px) and (max-width:1279px){.marty-static-call .marty-static-phone{display:none}.marty-static-header-row{gap:8px}}
@media(max-width:420px){.marty-static-icon-button{display:none}.marty-static-menu-button{width:44px;height:44px}.marty-static-header .marty-static-mobile-cta{font-size:13px!important;padding-inline:10px!important}}