/* SafeCadence, November 2026: the site's header and footer on the older blog, guide and tool pages. Self-contained (sc26-*). */
.sc26-header, .sc26-foot { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.sc26-header *, .sc26-foot * { box-sizing: border-box; }
.sc26-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sc26-header { position: sticky; top: 0; z-index: 50; background: #111b23; color: #E4ECF2; border-bottom: 1px solid #2d3a43; }
.sc26-in { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sc26-brand { display: inline-flex; align-items: center; gap: 10px; color: #F4F8FB !important; text-decoration: none !important; white-space: nowrap; }
.sc26-brand img { width: 34px; height: 34px; }
.sc26-brand span { display: grid; line-height: 1.05; }
.sc26-brand strong { font-size: 21px; font-weight: 780; color: #F4F8FB; }
.sc26-brand small { font-size: 9px; color: #D5E2E9; margin-top: 2px; }
.sc26-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.sc26-nav a { color: #E4ECF2 !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.sc26-nav a:hover { color: #9BCBFF !important; text-decoration: underline !important; }
.sc26-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 18px; border-radius: 6px; background: #1473E6; color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.sc26-cta:hover { background: #0962C7; }
.sc26-sub { background: #F2F6F9; border-bottom: 1px solid #DCE4EA; color: #4A5A66; }
.sc26-sub .sc26-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; min-height: 40px; font-size: 13px; }
.sc26-sub span { font-weight: 600; color: #6B7B87; }
.sc26-sub a { color: #1473E6 !important; font-weight: 600; text-decoration: none !important; }
.sc26-sub a:hover { text-decoration: underline !important; }
.sc26-foot { background: #141A1F; color: #C9D4DB; padding: 44px 0 36px; font-size: 14px; margin-top: 48px; }
.sc26-foot .shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sc26-foot .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 28px; }
.sc26-foot h4 { color: #fff; font-size: 13px; margin: 0 0 10px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.sc26-foot a { display: block; color: #C9D4DB !important; margin: 6px 0; text-decoration: none !important; }
.sc26-foot a:hover { color: #fff !important; }
.sc26-foot .foot-brand strong { color: #fff; font-size: 17px; }
.sc26-foot .foot-brand p { margin: 8px 0 0; max-width: 320px; color: #C9D4DB; }
.sc26-foot .foot-base { margin-top: 30px; padding-top: 18px; border-top: 1px solid #2E3A43; display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; font-size: 13px; }
.sc26-foot .foot-base a { display: inline; margin: 0; }
@media (max-width: 900px) {
  .sc26-in { flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .sc26-nav { order: 3; width: 100%; gap: 6px 16px; }
  .sc26-nav a { font-size: 13px; }
  .sc26-brand small { display: none; }
  .sc26-foot .foot-grid { grid-template-columns: 1fr 1fr; }
  .sc26-header { position: static; }
}
@media (max-width: 520px) { .sc26-foot .foot-grid { grid-template-columns: 1fr; } .sc26-cta { padding: 8px 12px; font-size: 13px; min-height: 36px; } }
/* tidy-ups on the older pages: no empty ad placeholders, skip links only when focused */
.ad-slot, .ad-slot-incontent { display: none !important; }
a.skip:not(:focus), a.skip-link:not(:focus) { position: absolute !important; left: -9999px !important; top: auto !important; }
@media (max-width: 520px) { .sc26-sub span { display: none; } .sc26-sub .sc26-wrap { gap: 4px 16px; min-height: 36px; } .sc26-wrap { padding: 0 16px; } }
main table, main pre { display: block; max-width: 100%; overflow-x: auto; }
.sc26-ctas { display: inline-flex; align-items: center; gap: 10px; }
.sc26-get { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 14px; border: 1px solid #4A5A66; border-radius: 6px; color: #F0F4F7 !important; font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.sc26-get:hover { border-color: #9BCBFF; }
@media (max-width: 640px) { .sc26-get { display: none; } }
@media (min-width: 901px) and (max-width: 1240px) { .sc26-nav { gap: 16px; } .sc26-nav a[href="/safeai/#how"] { display: none; } }
