/* FireInspection360 marketing site (www.fireinspection360.com), September 2026
   redesign. Loaded by views/layouts/fi360_main.handlebars and NOTHING else.

   The site it replaced loads public/css/fi360-only-legacy.css through
   views/layouts/fi360_main_legacy.handlebars (helpers/marketingSite.js is the
   switch). The two stylesheets share no class names on purpose: every class
   here carries the mk- prefix, so a legacy page cannot half-pick up the new
   rules and a new page cannot lean on a legacy one.

   The marketing site never loads bundle.css (which restyles .btn, .card, .row,
   .container and .form-control), so every component is defined here. Icons
   come from public/css/fontawesome-kit.css, the kit extracted from bundle.css.

   Design: vault Reference/Guides/fi360-marketing-site-guide.md. In one line -
   navy ground, serif display headings, gold for the ONE primary action, the
   product's own screenshots as proof, prose before feature lists. */

.mk {
  --mk-navy: #0f2240;
  --mk-navy-deep: #0a1a33;
  --mk-navy-ink: #0b1730;
  --mk-blue: #265a9e;
  --mk-blue-bright: #3175ce;
  --mk-gold: #ffc107;
  --mk-gold-light: #ffd94d;
  --mk-gold-pale: #fdf3d7;
  --mk-gold-ink: #8a5a00;
  --mk-ink: #0f1724;
  --mk-body: #3d4652;
  --mk-muted: #5b6573;
  --mk-faint: #8a94a3;
  --mk-line: #e6e6e6;
  --mk-line-soft: #eef2f7;
  --mk-panel: #f7f8fa;
  --mk-panel-2: #eef2f7;
  --mk-white: #ffffff;
  --mk-green: #16a34a;
  --mk-danger: #d9534f;
  --mk-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mk-sans: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mk-body-font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mk-radius: 12px;
  --mk-shadow: 0 24px 50px rgba(15, 34, 64, 0.12);
  --mk-shadow-deep: 0 30px 60px rgba(0, 0, 0, 0.35);
  --mk-gutter: 72px;
  --mk-max: 1296px;
  font-family: var(--mk-body-font);
  color: var(--mk-ink);
  background: var(--mk-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: clip;
}
/* overflow-x: clip on the root pair keeps the off-screen phone drawer (a
   fixed element translated past the right edge) from widening the page - a
   clip is not a scroll container, so the sticky nav keeps working */
html, body { margin: 0; padding: 0; overflow-x: clip; }
.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk img { max-width: 100%; height: auto; }
/* every image is painted by the mkImg helper as <picture><source webp><img>;
   the wrapper is transparent to layout so the descendant img rules below and
   the flex/grid parents keep treating the img as the item */
.mk picture { display: contents; }
.mk a { color: var(--mk-blue); text-decoration: none; }
.mk a:hover { color: var(--mk-navy); text-decoration: underline; }
.mk h1, .mk h2 { font-family: var(--mk-serif); font-weight: 600; letter-spacing: -0.015em; margin: 0; color: var(--mk-navy); text-wrap: pretty; }
.mk h3, .mk h4 { font-family: var(--mk-sans); font-weight: 600; margin: 0; color: var(--mk-navy); }
.mk p { margin: 0; }
.mk ul, .mk ol { margin: 0; padding: 0; }
.mk strong { font-weight: 650; }

/* skip link, for keyboard users - the nav is sticky and long */
.mk-skip { position: absolute; left: -9999px; top: 0; background: var(--mk-gold); color: var(--mk-navy); padding: 10px 16px; z-index: 1000; font-weight: 600; }
.mk-skip:focus { left: 16px; top: 16px; outline: 3px solid var(--mk-navy); }

/* ---------- containers and sections ---------- */
.mk-wrap { max-width: var(--mk-max); margin: 0 auto; padding: 0 var(--mk-gutter); }
.mk-section { padding: 96px 0; }
.mk-section-tight { padding: 64px 0; }
.mk-section-panel { background: var(--mk-panel); }
.mk-section-navy { background: var(--mk-navy); color: var(--mk-white); }
.mk-section-navy h1, .mk-section-navy h2, .mk-section-navy h3, .mk-section-navy h4 { color: var(--mk-white); }
.mk-section-navy a { color: var(--mk-gold-light); }
.mk-section-navy a:hover { color: var(--mk-white); }
.mk-section-gold { background: var(--mk-gold-pale); }
.mk-divider { border: 0; border-top: 1px solid var(--mk-line); margin: 0; }

/* ---------- type ---------- */
.mk-eyebrow { font-family: var(--mk-sans); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--mk-blue); }
.mk-section-navy .mk-eyebrow, .mk-hero .mk-eyebrow { color: var(--mk-gold); }
.mk-h1 { font-size: clamp(2.4rem, 4.4vw, 3.75rem); line-height: 1.06; }
.mk-h2 { font-size: clamp(1.9rem, 3vw, 2.625rem); line-height: 1.15; }
.mk-h2-sm { font-size: clamp(1.6rem, 2.4vw, 2.25rem); line-height: 1.18; }
.mk-h3 { font-size: 1.25rem; line-height: 1.3; }
.mk-lead { font-size: 1.25rem; line-height: 1.55; color: var(--mk-body); text-wrap: pretty; }
.mk-section-navy .mk-lead, .mk-hero .mk-lead { color: rgba(255, 255, 255, 0.84); }
.mk-prose { font-size: 1.0625rem; line-height: 1.65; color: var(--mk-body); }
.mk-prose p + p { margin-top: 1em; }
.mk-section-navy .mk-prose { color: rgba(255, 255, 255, 0.82); }
.mk-muted { color: var(--mk-muted); }
.mk-small { font-size: 0.875rem; }
.mk-stack { display: flex; flex-direction: column; gap: 16px; }
.mk-stack-lg { display: flex; flex-direction: column; gap: 26px; }
.mk-measure { max-width: 760px; }
.mk-measure-sm { max-width: 620px; }
.mk-center { text-align: center; }
.mk-center .mk-measure, .mk-center .mk-measure-sm { margin-left: auto; margin-right: auto; }
.mk-header-block { margin-bottom: 56px; }
.mk-header-block .mk-eyebrow { margin-bottom: 14px; }
.mk-header-block .mk-lead { margin-top: 16px; }

/* ---------- buttons ---------- */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 8px; font-family: var(--mk-sans); font-weight: 600; font-size: 15px; line-height: 1; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.mk-btn:hover { text-decoration: none; transform: translateY(-1px); }
.mk-btn-gold { background: var(--mk-gold); color: var(--mk-navy); }
.mk-btn-gold:hover, .mk-btn-gold:focus { background: var(--mk-gold-light); color: var(--mk-navy); }
.mk-btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--mk-white); background: transparent; }
.mk-btn-ghost:hover, .mk-btn-ghost:focus { border-color: var(--mk-white); color: var(--mk-white); background: rgba(255, 255, 255, 0.08); }
.mk-btn-navy { background: var(--mk-navy); color: var(--mk-white); }
.mk-btn-navy:hover, .mk-btn-navy:focus { background: var(--mk-blue); color: var(--mk-white); }
.mk-btn-line { border-color: #c2c8d1; color: var(--mk-navy); background: transparent; }
.mk-btn-line:hover, .mk-btn-line:focus { border-color: var(--mk-navy); color: var(--mk-navy); background: rgba(15, 34, 64, 0.04); }
.mk-btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.mk-btn:focus-visible { outline: 3px solid var(--mk-gold); outline-offset: 2px; }
/* a button is an anchor too: the link rules (.mk a:hover underline, the navy
   band's gold link ink) must not reach it - these outrank them by specificity */
.mk a.mk-btn, .mk a.mk-btn:hover, .mk a.mk-btn:focus { text-decoration: none; }
.mk a.mk-btn-gold, .mk a.mk-btn-gold:hover, .mk a.mk-btn-gold:focus { color: var(--mk-navy); }
.mk a.mk-btn-ghost, .mk a.mk-btn-ghost:hover, .mk a.mk-btn-ghost:focus { color: var(--mk-white); }
.mk a.mk-btn-navy, .mk a.mk-btn-navy:hover, .mk a.mk-btn-navy:focus { color: var(--mk-white); }
.mk a.mk-btn-line, .mk a.mk-btn-line:hover, .mk a.mk-btn-line:focus { color: var(--mk-navy); }
/* a line button belongs on a light ground; on a navy one it reads as its white twin */
.mk .mk-section-navy a.mk-btn-line, .mk .mk-hero a.mk-btn-line, .mk .mk-cta-inner a.mk-btn-line, .mk .mk-card-navy a.mk-btn-line { color: var(--mk-white); border-color: rgba(255, 255, 255, 0.55); }
.mk-btn-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.mk-btn-note { font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.mk-link-more { font-family: var(--mk-sans); font-weight: 600; font-size: 1rem; }

/* ---------- top navigation ---------- */
.mk-nav { position: sticky; top: 0; z-index: 900; background: var(--mk-navy); box-shadow: 0 2px 12px rgba(8, 18, 34, 0.25); }
.mk-nav-inner { max-width: var(--mk-max); margin: 0 auto; padding: 0 var(--mk-gutter); height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mk-brand { display: flex; align-items: center; gap: 10px; color: var(--mk-white); font-family: var(--mk-sans); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.mk-brand:hover { color: var(--mk-white); text-decoration: none; }
.mk-brand img { height: 40px; width: auto; display: block; }
.mk-brand-gold { color: var(--mk-gold); }
.mk-nav-list { list-style: none; display: flex; gap: 6px; align-items: center; }
.mk-nav-item { position: relative; }
.mk-nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; color: rgba(255, 255, 255, 0.86); font-size: 15px; font-family: var(--mk-body-font); font-weight: 500; background: transparent; border: 0; cursor: pointer; }
.mk-nav-link:hover, .mk-nav-link:focus, .mk-nav-item.open > .mk-nav-link, .mk-nav-link.active { color: var(--mk-white); background: rgba(255, 255, 255, 0.1); text-decoration: none; }
/* the nav links and the brand are anchors: `.mk a` (0,1,1) would paint them
   link-blue on the navy bar, so the ink is restated at higher specificity */
.mk .mk-nav a.mk-nav-link, .mk a.mk-brand { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.mk a.mk-brand { color: var(--mk-white); }
.mk .mk-nav a.mk-nav-link:hover, .mk .mk-nav a.mk-nav-link:focus, .mk .mk-nav a.mk-nav-link.active { color: var(--mk-white); }
.mk a.mk-module-card, .mk a.mk-module-card:hover { color: var(--mk-ink); text-decoration: none; }
.mk-nav-link svg { width: 12px; height: 12px; opacity: .7; }
.mk-nav-utility { display: flex; gap: 12px; align-items: center; }
.mk-nav-utility .mk-nav-link { padding: 10px 8px; }
.mk-menu { display: none; position: absolute; left: 0; top: calc(100% + 10px); background: var(--mk-white); color: var(--mk-ink); border-radius: 12px; box-shadow: 0 24px 60px rgba(8, 18, 34, 0.3); border: 1px solid var(--mk-line); padding: 24px; min-width: 300px; }
.mk-menu-wide { min-width: 820px; }
.mk-nav-item.open > .mk-menu { display: block; }
.mk-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.mk-menu h3 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mk-blue); margin-bottom: 10px; }
.mk-menu ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
/* :not(.mk-btn) because these are a class plus an element and a button class
   is a class alone: without it the menu footer's button rendered display:
   block with the menu link's 6px 8px padding (text top-aligned in the 42px
   box, negative margin past the menu padding) and took the grey link hover
   instead of its own gold one. */
.mk-menu a:not(.mk-btn) { display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 6px; color: var(--mk-ink); font-size: 15px; }
.mk-menu a:not(.mk-btn):hover { background: var(--mk-panel-2); text-decoration: none; color: var(--mk-navy); }
.mk-menu a small { display: block; font-size: 12.5px; color: var(--mk-muted); }
.mk-menu-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--mk-line); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--mk-muted); }
.mk-nav-toggle { display: none; background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.4); color: var(--mk-white); border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.mk-nav-toggle svg { width: 22px; height: 22px; }
/* the phone drawer */
.mk-drawer { position: fixed; inset: 0 0 0 auto; width: min(360px, 92vw); background: var(--mk-navy); color: var(--mk-white); z-index: 950; transform: translateX(100%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; overflow-y: auto; padding: 20px 20px 40px; box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35); }
.mk-drawer.open { transform: translateX(0); visibility: visible; transition: transform .2s ease, visibility 0s; }
.mk-drawer-backdrop { position: fixed; inset: 0; background: rgba(8, 18, 34, 0.55); z-index: 940; display: none; }
.mk-drawer-backdrop.open { display: block; }
.mk-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mk-drawer-close { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.4); color: var(--mk-white); border-radius: 8px; width: 44px; height: 44px; font-size: 22px; cursor: pointer; }
.mk-drawer h3 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mk-gold); margin: 22px 0 8px; }
.mk-drawer ul { list-style: none; }
.mk-drawer li a { display: block; padding: 10px 8px; margin: 0 -8px; border-radius: 6px; color: rgba(255, 255, 255, 0.9); font-size: 16px; }
.mk-drawer li a:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; color: var(--mk-white); }
.mk-drawer .mk-btn-row { margin-top: 24px; }

/* ---------- hero ---------- */
.mk-hero { background: var(--mk-navy); color: var(--mk-white); }
.mk-hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding: 72px 0 96px; }
.mk-hero-grid.mk-hero-grid-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.mk-hero .mk-h1 { color: var(--mk-white); }
.mk-hero-photo { border-radius: 14px; overflow: hidden; box-shadow: var(--mk-shadow-deep); aspect-ratio: 4 / 3; position: relative; }
.mk-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 34, 64, 0) 60%, rgba(15, 34, 64, 0.45) 100%); pointer-events: none; }
.mk-hero-shot { border-radius: 12px; overflow: hidden; box-shadow: var(--mk-shadow-deep), 0 0 0 1px rgba(255, 255, 255, 0.08); background: var(--mk-white); }
.mk-hero-shot img { display: block; width: 100%; }
.mk-hero-stack { padding: 88px 0 48px; text-align: center; }
.mk-hero-stack .mk-h1, .mk-hero-stack .mk-lead { margin-left: auto; margin-right: auto; }

/* ---------- proof strip and stats ---------- */
.mk-proof { border-bottom: 1px solid var(--mk-line); background: var(--mk-panel); padding: 28px 0; }
.mk-proof-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.mk-stats { display: flex; gap: 56px; flex-wrap: wrap; }
.mk-stat-n { font-family: var(--mk-sans); font-size: 26px; font-weight: 700; color: var(--mk-navy); line-height: 1.1; }
.mk-stat-l { font-size: 13px; color: var(--mk-muted); margin-top: 2px; }
.mk-section-navy .mk-stat-n { color: var(--mk-gold); }
.mk-section-navy .mk-stat-l { color: rgba(255, 255, 255, 0.7); }
.mk-stat-lg .mk-stat-n { font-size: 34px; }
.mk-stat-lg .mk-stat-l { font-size: 14px; }
/* Compact stat grid inside an engagement card (customers page) and the
   fleet-wide numbers grid. dl/dt/dd carry no browser margins here. */
.mk-card-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 4px 0 0; padding-top: 16px; border-top: 1px solid var(--mk-line); }
.mk-card-stats dt, .mk-card-stats dd { margin: 0; }
.mk-card-stats .mk-stat-n { font-size: 22px; }
.mk-card-stats .mk-stat-l { font-size: 12.5px; }
.mk-numbers { gap: 28px 24px; }
.mk-numbers .mk-stat-n { font-size: 30px; }
.mk-clients { font-size: 14px; color: var(--mk-muted); text-align: right; line-height: 1.6; }
.mk-logos { display: flex; align-items: center; justify-content: center; gap: 28px 40px; flex-wrap: wrap; }
.mk-logos img { height: 52px; width: auto; opacity: .92; }
.mk-logo-track { overflow: hidden; width: 100%; }
.mk-logo-set { display: flex; align-items: center; gap: 40px; padding: 8px 20px; width: max-content; animation: mk-scroll 60s linear infinite; }
.mk-logo-set img { height: 56px; width: auto; }
@keyframes mk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mk-logo-set { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- columns and check lists ---------- */
.mk-cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.mk-cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.mk-cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mk-col h3.mk-col-title { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mk-blue); margin-bottom: 14px; }
.mk-section-navy .mk-col h3.mk-col-title { color: var(--mk-gold); }
.mk-checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mk-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; line-height: 1.5; color: var(--mk-body); }
.mk-checks li svg { flex: none; margin-top: 4px; width: 18px; height: 18px; }
.mk-checks li strong { color: var(--mk-ink); }
.mk-section-navy .mk-checks li { color: rgba(255, 255, 255, 0.84); }
.mk-section-navy .mk-checks li strong { color: var(--mk-white); }
.mk-check-ico { color: var(--mk-blue); }
.mk-section-navy .mk-check-ico { color: var(--mk-gold); }

/* ---------- quote band ---------- */
.mk-quote-band { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 32px; align-items: start; }
.mk-quote-mark { font-family: var(--mk-serif); font-size: 120px; line-height: 0.8; color: var(--mk-gold); }
.mk-quote-text { font-family: var(--mk-serif); font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.35; font-weight: 500; color: var(--mk-white); text-wrap: pretty; max-width: 1000px; }
.mk-quote-who { font-size: 15px; color: rgba(255, 255, 255, 0.65); margin-top: 22px; }
.mk-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mk-quote-card { background: var(--mk-white); border: 1px solid var(--mk-line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.mk-quote-card p { font-size: 1.0625rem; line-height: 1.55; color: var(--mk-ink); }
.mk-quote-card span { font-size: 14px; color: var(--mk-faint); }

/* ---------- comparison ---------- */
.mk-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.mk-compare-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mk-compare-card { border: 1px solid var(--mk-line); border-radius: 12px; padding: 28px; background: var(--mk-white); }
.mk-compare-card.mk-compare-us { border: 2px solid var(--mk-gold); background: #fffdf5; }
.mk-compare-card h3 { font-size: 14px; margin-bottom: 18px; color: var(--mk-faint); }
.mk-compare-card.mk-compare-us h3 { color: var(--mk-navy); }
.mk-compare-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mk-compare-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.5; color: var(--mk-muted); }
.mk-compare-card.mk-compare-us li { color: var(--mk-ink); }
.mk-compare-card li svg { flex: none; margin-top: 4px; width: 18px; height: 18px; }

/* ---------- the module page pitch band: three claims against the RMS module ---------- */
.mk-pitch { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
/* every point is a labelled PAIR - the RMS module's failing, then this
   platform's answer - so a reader who scans one line cannot mistake the
   failing for a feature (Brent, 2026-09-14) */
.mk-pitch-points { display: flex; flex-direction: column; gap: 22px; }
.mk-pitch-point { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; overflow: hidden; }
.mk-pitch-them, .mk-pitch-us { padding: 16px 18px; }
.mk-pitch-them { background: rgba(255, 255, 255, 0.04); }
.mk-pitch-us { background: rgba(255, 193, 7, 0.08); }
.mk-pitch-tag { display: block; font-family: var(--mk-sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; color: rgba(255, 255, 255, 0.5); }
.mk-pitch-us .mk-pitch-tag { color: var(--mk-gold); }
.mk-pitch-point h3 { font-size: 1.0625rem; margin-bottom: 6px; color: rgba(255, 255, 255, 0.8); }
.mk-pitch-point p { font-size: 0.95rem; line-height: 1.55; color: rgba(255, 255, 255, 0.66); }
.mk-pitch-us p { color: var(--mk-white); font-size: 1rem; }
@media (max-width: 600px) { .mk-pitch-point { grid-template-columns: minmax(0, 1fr); } }

/* ---------- feature sections: a screenshot beside its prose ---------- */
.mk-feature { padding: 80px 0; }
.mk-feature + .mk-feature { border-top: 1px solid var(--mk-line-soft); }
.mk-feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mk-feature-grid.mk-feature-right .mk-feature-shot { order: 2; }
.mk-feature-text { display: flex; flex-direction: column; gap: 18px; }
.mk-feature-text .mk-h2-sm { margin-top: 2px; }
.mk-feature-lead { font-size: 1.0625rem; line-height: 1.65; color: var(--mk-body); }
.mk-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
/* block, not flex: a flex li splits "<strong>Label:</strong> sentence" into two
   side-by-side items (the sentence is an anonymous flex item) */
.mk-features li { display: block; position: relative; padding-left: 20px; font-size: 1rem; line-height: 1.55; color: var(--mk-body); }
.mk-features li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--mk-gold); }
.mk-features li strong { color: var(--mk-ink); }
.mk-shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--mk-line); box-shadow: var(--mk-shadow); background: var(--mk-white); }
.mk-shot img { display: block; width: 100%; }
.mk-shot-caption { font-size: 13px; color: var(--mk-faint); margin-top: 10px; }
.mk-feature .promo-zoom { border-radius: 12px; }

/* ---------- more grid ("and that is only the start") ---------- */
.mk-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mk-more-card { background: var(--mk-white); border: 1px solid var(--mk-line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mk-more-card h3 { font-size: 1.0625rem; }
.mk-more-card p { font-size: 15px; line-height: 1.55; color: var(--mk-muted); }
.mk-more-card .mk-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--mk-panel-2); display: flex; align-items: center; justify-content: center; color: var(--mk-blue); margin-bottom: 4px; }
.mk-more-card .mk-ico svg { width: 20px; height: 20px; }
.mk-more-card a.mk-more-link { font-family: var(--mk-sans); font-weight: 600; font-size: 15px; margin-top: auto; }

/* ---------- module index (features page, homepage module cards) ---------- */
.mk-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mk-module-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--mk-line); border-radius: 14px; background: var(--mk-white); color: var(--mk-ink); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.mk-module-card:hover { text-decoration: none; color: var(--mk-ink); border-color: var(--mk-blue); transform: translateY(-2px); box-shadow: var(--mk-shadow); }
.mk-module-card .mk-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--mk-panel-2); display: flex; align-items: center; justify-content: center; color: var(--mk-blue); }
.mk-module-card .mk-ico svg { width: 22px; height: 22px; }
.mk-module-card h3 { font-size: 1.125rem; }
.mk-module-card p { font-size: 15px; line-height: 1.55; color: var(--mk-muted); }
.mk-module-card .mk-more-link { margin-top: auto; padding-top: 6px; font-family: var(--mk-sans); font-weight: 600; font-size: 15px; color: var(--mk-blue); }

/* ---------- CTA band ---------- */
.mk-cta { margin: 0 var(--mk-gutter) 96px; }
.mk-cta-inner { max-width: var(--mk-max); margin: 0 auto; background: var(--mk-navy); border-radius: 16px; padding: 64px 72px; display: flex; justify-content: space-between; align-items: center; gap: 48px; color: var(--mk-white); }
.mk-cta-inner h2 { color: var(--mk-white); font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.2; }
.mk-cta-inner p { font-size: 1.0625rem; line-height: 1.55; color: rgba(255, 255, 255, 0.78); margin-top: 12px; }
.mk-cta-text { max-width: 720px; }
.mk-cta-inner .mk-btn-row { flex: none; }

/* ---------- contact form ---------- */
.mk-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.mk-form { display: flex; flex-direction: column; gap: 16px; background: var(--mk-white); border: 1px solid var(--mk-line); border-radius: 14px; padding: 32px; }
.mk-field label { display: block; font-family: var(--mk-sans); font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--mk-navy); }
.mk-field input, .mk-field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #c2c8d1; border-radius: 8px; color: var(--mk-ink); background: var(--mk-white); }
.mk-field input:focus, .mk-field textarea:focus { outline: none; border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(38, 90, 158, 0.18); }
.mk-field textarea { min-height: 150px; resize: vertical; }
.mk-req { color: var(--mk-danger); }
.mk-form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mk-form-msg { font-size: 15px; }
.mk-form-msg .mk-ok { color: var(--mk-green); font-weight: 600; }
.mk-form-msg .mk-err { color: var(--mk-danger); font-weight: 600; }
.mk-btn:disabled { opacity: .6; cursor: default; transform: none; }
.mk-contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.mk-contact-card { border: 1px solid var(--mk-line); border-radius: 12px; padding: 20px; background: var(--mk-white); display: flex; flex-direction: column; gap: 8px; }
.mk-contact-card h3 { font-size: 1rem; }
.mk-contact-card p { font-size: 14.5px; color: var(--mk-muted); line-height: 1.5; }
.mk-contact-card .mk-btn { margin-top: 6px; align-self: flex-start; }

/* ---------- FAQ ---------- */
.mk-faq { display: flex; flex-direction: column; border-top: 1px solid var(--mk-line); }
.mk-faq details { border-bottom: 1px solid var(--mk-line); }
.mk-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--mk-sans); font-weight: 600; font-size: 1.0625rem; color: var(--mk-navy); }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: '+'; font-size: 22px; color: var(--mk-blue); flex: none; }
.mk-faq details[open] summary::after { content: '\2013'; }
.mk-faq .mk-prose { padding: 0 0 22px; }

/* ---------- comparison table (evidence pages) ---------- */
.mk-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.mk-table th { text-align: left; font-family: var(--mk-sans); font-weight: 600; font-size: 14px; padding: 16px 18px; border-bottom: 2px solid var(--mk-navy); color: var(--mk-navy); }
.mk-table td { padding: 16px 18px; border-bottom: 1px solid var(--mk-line-soft); vertical-align: middle; color: var(--mk-body); }
.mk-table .mk-us { background: #fffdf5; color: var(--mk-ink); font-weight: 600; }
.mk-table-wrap { overflow-x: auto; }

/* ---------- article and tool pages (FAQ, security, newsletters, calculators) ---------- */
.mk-article { max-width: 820px; }
.mk-article h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 48px 0 14px; }
.mk-article h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.mk-article p, .mk-article li { font-size: 1.0625rem; line-height: 1.65; color: var(--mk-body); }
.mk-article p + p { margin-top: 1em; }
.mk-article ul, .mk-article ol { padding-left: 1.4em; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.mk-article img { border-radius: 12px; border: 1px solid var(--mk-line); }
.mk-card { background: var(--mk-white); border: 1px solid var(--mk-line); border-radius: 14px; padding: 28px; }
.mk-card-navy { background: var(--mk-navy); color: var(--mk-white); border-color: var(--mk-navy); }
.mk-card-navy h2, .mk-card-navy h3 { color: var(--mk-white); }
.mk-pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-family: var(--mk-sans); font-weight: 600; font-size: 12.5px; background: var(--mk-gold-pale); color: var(--mk-gold-ink); }
.mk-pill-navy { background: rgba(255, 255, 255, 0.12); color: var(--mk-white); }
.mk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.mk-step b { display: block; font-family: var(--mk-sans); font-size: 44px; color: var(--mk-gold); line-height: 1; margin-bottom: 14px; }
.mk-step h3 { font-size: 1.375rem; margin-bottom: 10px; }
.mk-step p { font-size: 1rem; line-height: 1.55; color: var(--mk-muted); }
.mk-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mk-person { display: flex; flex-direction: column; gap: 10px; }
.mk-person img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.mk-person h3 { font-size: 1.125rem; }
.mk-person .mk-role { font-size: 14px; color: var(--mk-blue); font-weight: 600; font-family: var(--mk-sans); }
.mk-person p { font-size: 15px; color: var(--mk-muted); line-height: 1.55; }
.mk-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* calculators and forms on the tool pages */
.mk-select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #c2c8d1; border-radius: 8px; color: var(--mk-ink); background: var(--mk-white); }
.mk-select:focus { outline: none; border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(38, 90, 158, 0.18); }
.mk-result { background: var(--mk-gold-pale); border-radius: 12px; padding: 20px 24px; font-family: var(--mk-sans); }
.mk-result .mk-result-n { font-size: 36px; font-weight: 700; color: var(--mk-navy); line-height: 1.1; }
.mk-result .mk-result-l { font-size: 14px; color: var(--mk-gold-ink); }
.mk-note { font-size: 14px; color: var(--mk-muted); }
.mk-newsletter-body { max-width: 820px; }
.mk-newsletter-body img { max-width: 100%; height: auto; }
.mk-newsletter-list { display: flex; flex-direction: column; border-top: 1px solid var(--mk-line); }
.mk-newsletter-list a { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--mk-line); color: var(--mk-ink); font-size: 1.0625rem; }
.mk-newsletter-list a span { color: var(--mk-faint); font-size: 14px; flex: none; }

/* ---------- footer ---------- */
.mk-footer { background: var(--mk-navy); color: rgba(255, 255, 255, 0.78); padding: 56px 0 28px; }
.mk-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; }
.mk-footer h3 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mk-gold); margin-bottom: 14px; }
.mk-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mk-footer a { color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.mk-footer a:hover { color: var(--mk-white); }
.mk-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.mk-footer-brand p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); max-width: 300px; }
.mk-footer-brand img { height: 44px; width: auto; }
.mk-footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.mk-footer-bottom a { font-size: 14px; }

/* ---------- utilities ---------- */
/* Scoped to .mk (one class deeper than the utility name alone) so these beat
   the element margin resets above (.mk p, .mk h1, .mk h3, .mk ul): a class
   alone loses to a class plus an element, so an unscoped utility did nothing
   on any of them - 32 elements across seven pages, silently, from the
   redesign until 2026-09-15. A new spacing utility keeps the .mk prefix;
   everything this stylesheet serves is inside the layout's one .mk wrapper. */
.mk .mk-mt-1 { margin-top: 8px; } .mk .mk-mt-2 { margin-top: 16px; } .mk .mk-mt-3 { margin-top: 24px; } .mk .mk-mt-4 { margin-top: 32px; } .mk .mk-mt-6 { margin-top: 48px; }
.mk .mk-mb-2 { margin-bottom: 16px; } .mk .mk-mb-3 { margin-bottom: 24px; } .mk .mk-mb-4 { margin-bottom: 32px; }
.mk-hidden { display: none !important; }
.mk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .mk { --mk-gutter: 40px; }
  .mk-cols-3, .mk-more, .mk-modules, .mk-quotes, .mk-steps, .mk-team, .mk-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-footer-brand { grid-column: 1 / -1; }
  .mk-menu-wide { min-width: 640px; }
  .mk-compare, .mk-pitch, .mk-contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mk-hero-grid, .mk-hero-grid.mk-hero-grid-wide { gap: 40px; }
}
@media (max-width: 900px) {
  .mk-nav-list, .mk-nav-utility { display: none; }
  .mk-nav-toggle { display: inline-flex; }
  .mk-hero-grid, .mk-hero-grid.mk-hero-grid-wide, .mk-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-feature-grid.mk-feature-right .mk-feature-shot { order: 0; }
  .mk-hero-grid { padding: 48px 0 64px; }
  .mk-section { padding: 64px 0; }
  .mk-feature { padding: 56px 0; }
  .mk-cta-inner { flex-direction: column; align-items: flex-start; padding: 40px; }
  .mk-quote-band { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mk-quote-mark { font-size: 72px; line-height: 1; }
  .mk-proof-inner { flex-direction: column; align-items: flex-start; }
  .mk-clients { text-align: left; }
  .mk-stats { gap: 32px; }
}
@media (max-width: 600px) {
  .mk { --mk-gutter: 20px; }
  .mk-cols-3, .mk-cols-2, .mk-cols-4, .mk-more, .mk-modules, .mk-quotes, .mk-steps, .mk-team, .mk-tools, .mk-compare-cards, .mk-contact-cards, .mk-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-section { padding: 56px 0; }
  .mk-cta { margin: 0 var(--mk-gutter) 64px; }
  .mk-cta-inner { padding: 32px 24px; }
  .mk-btn { width: 100%; }
  .mk-btn-row { flex-direction: column; align-items: stretch; }
  .mk-h1 { font-size: 2.1rem; }
  .mk-lead { font-size: 1.125rem; }
  .mk-form { padding: 20px; }
  .mk-nav-inner { height: 64px; }
  .mk-brand img { height: 34px; }
}

/* ---------- free tool calculators (/tools/*, helpers/marketingTools.js) ---------- */
/* One card: the form on the left, the answer beside it; one column on phones, where the answer follows the inputs that produce it. */
.mk-tool-head { margin-bottom: 24px; }
.mk-tool-head .mk-note { margin-top: 6px; }
.mk-tool-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) { .mk-tool-body { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 32px; align-items: start; } }
.mk-tool-form { display: grid; gap: 18px; min-width: 0; }
.mk-tool-form .mk-field .mk-note { margin-top: 6px; }
/* A checkbox row: the box keeps its own size (the .mk-field input rule would stretch it to the column). */
.mk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--mk-body); cursor: pointer; }
.mk-check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--mk-blue); }
.mk-tool-result { min-width: 0; }
.mk-tool-result[aria-busy=true] { opacity: .6; transition: opacity .15s; }
.mk-tool-empty { border: 1.5px dashed var(--mk-line); border-radius: 12px; padding: 24px; color: var(--mk-muted); font-size: 15px; line-height: 1.55; }
.mk-tool-answer .mk-result-n { font-size: 44px; font-variant-numeric: tabular-nums; }
.mk-tool-answer .mk-result-date { font-size: 28px; line-height: 1.2; }
.mk-tool-answer .mk-result-l { margin-top: 6px; line-height: 1.4; }
.mk-tool-missing { color: var(--mk-gold-ink); }
/* Requirement cards: a gold rail for a requirement, a grey one for a note. */
/* Scoped `.mk .mk-reqs`: the sheet's `.mk ul { margin: 0 }` reset (class + element) beats a bare class, so an unscoped margin here was dead on arrival (the mk-mt-N lesson of 2026-09-15; the flashover page showed it). */
.mk .mk-reqs { list-style: none; display: grid; gap: 10px; margin: 22px 0 0; padding: 0; }
.mk-req-item { border: 1px solid var(--mk-line); border-left: 4px solid var(--mk-gold); border-radius: 10px; padding: 12px 16px; background: var(--mk-white); }
.mk-req-item.mk-req-info { border-left-color: #c2c8d1; }
.mk-req-item h4 { font-family: var(--mk-sans); font-size: 15px; font-weight: 600; color: var(--mk-navy); margin: 0 0 4px; line-height: 1.35; }
.mk-req-item p { font-size: 14.5px; line-height: 1.5; color: var(--mk-body); margin: 0; }
.mk-req-item .mk-ref { display: block; margin-top: 6px; font-family: var(--mk-sans); font-size: 12.5px; color: var(--mk-muted); }
.mk-tool-foot { display: grid; gap: 6px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--mk-line); }
/* Label and value pairs under an answer. */
.mk-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 15px; }
.mk-dl dt { font-family: var(--mk-sans); font-size: 13.5px; font-weight: 600; color: var(--mk-muted); }
.mk-dl dd { margin: 0; color: var(--mk-ink); line-height: 1.45; }
/* NFPA 291 bonnet colours: the marking colours themselves, beside the class name (a colour alone is never the only signal). */
.mk-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); vertical-align: -1px; margin-right: 8px; }
.mk-swatch-aa { background: #8ecae6; }
.mk-swatch-a { background: #2e8b57; }
.mk-swatch-b { background: #f28c28; }
.mk-swatch-c { background: #c8102e; }
/* The /tools hub cards. */
.mk-tool-card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.mk-tool-card:hover { box-shadow: var(--mk-shadow); transform: translateY(-2px); }
.mk-tool-card h2 { font-size: 1.125rem; color: var(--mk-navy); }
.mk-tool-card p { font-size: 15px; line-height: 1.5; color: var(--mk-body); }
.mk-tool-card .mk-note { margin-top: auto; }
/* The home page's free-tools strip: one pill per tool, wrapped and centred. */
.mk-header-block-tight { margin-bottom: 28px; }
.mk-tool-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mk-tool-links a { display: inline-block; padding: 10px 16px; border: 1px solid var(--mk-line); border-radius: 999px; background: var(--mk-white); color: var(--mk-navy); font-family: var(--mk-sans); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.mk-tool-links a:hover { border-color: var(--mk-blue); box-shadow: var(--mk-shadow); text-decoration: none; }
.mk-tool-links a.mk-tool-links-all { background: var(--mk-navy); border-color: var(--mk-navy); color: var(--mk-white); }
@media (max-width: 900px) { .mk-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mk-tools { grid-template-columns: minmax(0, 1fr); } }
