/* ============================================================
   iBEAM — Modern theme layer (Option 3: Visual / Product-Forward)
   Loaded AFTER bootstrap + style.css to refresh the surface
   without rebuilding the framework. New markup uses .m-* classes.
   ============================================================ */

:root {
  --m-ink: #0f172a;        /* headings / strong text */
  --m-body: #475569;       /* body copy */
  --m-muted: #64748b;      /* secondary text */
  --m-brand: #1976d2;      /* iBEAM blue */
  --m-brand-dark: #0d47a1;
  --m-brand-darker: #0a1f44;
  --m-accent: #f5a623;     /* safety-yellow CTA */
  --m-accent-dark: #e08e00;
  --m-surface: #f8fafc;    /* section tint */
  --m-card: #ffffff;
  --m-border: #e2e8f0;
  --m-radius: 14px;
  --m-radius-sm: 10px;
  --m-shadow: 0 10px 30px rgba(2, 8, 20, .08);
  --m-shadow-lg: 0 20px 50px rgba(2, 8, 20, .14);
  --m-maxw: 1180px;
}

/* ---------- Base typography ---------- */
body {
  color: var(--m-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}

.m-section h1,
.m-section h2,
.m-section h3,
.m-hero h1 {
  color: var(--m-ink);
  letter-spacing: -.01em;
}

/* ---------- Layout helpers ---------- */
.m-wrap { max-width: var(--m-maxw); margin: 0 auto; padding: 0 24px; }
.m-section { padding: 72px 0; }
.m-section--tight { padding: 48px 0; }
.m-section--tint { background: #e4eaf3; border-top: 1px solid #d4ddec; border-bottom: 1px solid #d4ddec; }
/* WCAG AA on the tinted band: the default brand/muted tokens fall below 4.5:1 on
   #e4eaf3, so darken eyebrow, lead, and inline lead-links within tinted sections. */
.m-section--tint .m-eyebrow { color: var(--m-brand-dark); }
.m-section--tint .m-lead { color: var(--m-body); }
.m-section--tint .m-lead a { color: var(--m-brand-dark); }
/* Logo marquee inherits its section's background instead of a hard white band,
   so it blends with the grey (m-section--tint) sections it sits in. */
.logos { background: transparent; }
.m-section--ink {
  background: var(--m-brand-darker);
  color: #cbd5e1;
}
.m-eyebrow {
  display: inline-block;
  font: 600 13px/1 "Open Sans", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--m-brand);
  margin-bottom: 14px;
}
.m-section--ink .m-eyebrow { color: #5ec2ff; }
.m-h2 {
  font: 700 clamp(26px, 3.4vw, 40px)/1.12 "Roboto", sans-serif;
  margin: 0 0 16px;
  color: var(--m-ink);
}
.m-section--ink .m-h2 { color: #fff; }
.m-lead {
  font: 400 clamp(16px, 1.6vw, 19px)/1.6 "Open Sans", sans-serif;
  color: var(--m-muted);
  max-width: 720px;
  margin: 0 auto;
}
.m-center { text-align: center; }
.m-center .m-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font: 600 16px/1 "Roboto", sans-serif;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  cursor: pointer;
}
.m-btn:focus-visible { outline: 3px solid #5ec2ff; outline-offset: 2px; }
.m-btn--accent { background: var(--m-accent); color: #1a1300; }
.m-btn--accent:hover { background: var(--m-accent-dark); color: #1a1300; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(245,166,35,.35); text-decoration: none; }
.m-btn--primary { background: var(--m-brand); color: #fff; }
.m-btn--primary:hover { background: var(--m-brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(25,118,210,.35); text-decoration: none; }
.m-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.m-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; text-decoration: none; }
.m-btn--ghost-dark { background: transparent; color: var(--m-brand); border-color: var(--m-brand); }
.m-btn--ghost-dark:hover { background: var(--m-brand); color: #fff; text-decoration: none; }

/* ---------- Note pill (small inline aside, e.g. gallery.html 4K tip) ---------- */
.m-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 18px; background: #eef3fa; border: 1px solid #d4ddec; border-radius: 999px; font: 400 14px/1.4 "Open Sans", sans-serif; color: var(--m-muted); }
.m-note i { color: var(--m-brand); font-size: 15px; line-height: 1; flex-shrink: 0; }

/* ---------- Tag row ---------- */
.m-tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.m-tag { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: #eef3fa; border: 1px solid #d4ddec; font: 600 13px/1 "Roboto", sans-serif; color: var(--m-brand); text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.m-tag:hover { background: var(--m-brand); color: #fff; text-decoration: none; }

/* ============================================================
   HERO
   ============================================================ */
.m-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: #0a1f44 center/cover no-repeat;
  overflow: hidden;
}
.m-hero__bg {
  /* Bulletproof full-bleed cover: min-dimension + center transform works even
     where object-fit on <video> is unreliable (some mobile browsers), so the
     video always fills the hero with no black letterbox on narrow/tall phones. */
  position: absolute;
  top: 50%; left: 50%;
  right: auto; bottom: auto;
  width: auto; height: auto;
  min-width: 100%; min-height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* ============================================================
   Announcement bar — site-wide dismissible notice (holiday hours, etc.).
   Edit/disable the markup in _partials/nav.html, then run build.py.
   ============================================================ */
.m-announce {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1041;
  background: var(--m-accent); color: var(--m-ink);
  text-align: center; font: 600 13.5px/1.45 "Open Sans", sans-serif;
  padding: 9px 46px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.m-announce a { color: var(--m-ink); text-decoration: underline; }
.m-announce strong { font-weight: 800; }
.m-announce__close {
  position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
  background: none; border: 0; color: var(--m-ink); font-size: 22px; line-height: 1;
  cursor: pointer; opacity: .7; padding: 0 8px;
}
.m-announce__close:hover { opacity: 1; }
/* Reserve space below the fixed navbar only while the bar is present (auto-reverts on dismiss via :has) */
body:has(.m-announce) { padding-top: 88px; }
body:has(.m-announce) .navbar-fixed-top { top: 38px; }
@media (max-width: 767px) {
  body:has(.m-announce) { padding-top: 104px; }
  body:has(.m-announce) .navbar-fixed-top { top: 54px; }
}
/* Guard the fixed-navbar offset. Pages that embed the Infusionsoft quote form
   ship a global `html,body{padding:0}` reset that otherwise collapses this
   padding and pulls the header/breadcrumb up under the fixed navbar. Using
   `html body` outspecifies the vendor `html,body` reset so the offset holds. */
html body { padding-top: 50px; }
html body:has(.m-announce) { padding-top: 88px; }
@media (max-width: 767px) {
  html body:has(.m-announce) { padding-top: 104px; }
}

.m-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,18,40,.92) 0%, rgba(7,18,40,.72) 42%, rgba(7,18,40,.25) 100%),
    linear-gradient(0deg, rgba(7,18,40,.55) 0%, rgba(7,18,40,0) 40%);
}
.m-hero .m-wrap { position: relative; z-index: 2; width: 100%; }
.m-hero__inner { max-width: 960px; padding: 80px 0; }
.m-hero h1 {
  color: #fff;
  font: 700 clamp(32px, 5vw, 56px)/1.06 "Roboto", sans-serif;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.m-hero__sub {
  color: #dbe6f5;
  font: 300 clamp(17px, 2.1vw, 22px)/1.5 "Open Sans", sans-serif;
  margin: 0 0 32px;
  max-width: 620px;
}
.m-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
/* Hero phone button: shift icon+number left ~5px so the number reads centered (offsets the leading icon) */
.m-hero__cta .m-btn--ghost { padding-left: 23px; padding-right: 33px; }
.m-hero__trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #aebfd6;
  font: 600 13.5px/1 "Open Sans", sans-serif;
  letter-spacing: .02em;
}
.m-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.m-hero__trust i { color: #5ec2ff; }

/* ============================================================
   FEATURE STRIP (value props)
   ============================================================ */
.m-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.m-feature { text-align: center; padding: 0 8px; }
.m-feature__icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #e7f1fd, #d4e7fb);
  color: var(--m-brand-dark);
  font-size: 26px;
}
/* FontAwesome glyphs sit slightly high/right in the tile; nudge to optically center */
.m-feature__icon i { transform: translate(-6px, 2px); }
.m-feature h3 { font: 600 19px/1.3 "Roboto", sans-serif; color: var(--m-ink); margin: 0 0 8px; }
.m-feature p { font-size: 15.5px; line-height: 1.6; margin: 0; color: var(--m-body); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.m-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.m-cards--3 { grid-template-columns: repeat(3, 1fr); max-width: 940px; margin-left: auto; margin-right: auto; }
.m-cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin-left: auto; margin-right: auto; }
.m-card {
  display: flex;
  flex-direction: column;
  background: var(--m-card);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.m-card:hover { transform: translateY(-6px); box-shadow: var(--m-shadow-lg); border-color: #cfe0f5; text-decoration: none; }
.m-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--m-surface);
  padding: 18px;
}
.m-card__media picture { position: absolute; inset: 0; display: block; }
.m-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.m-card__kicker { font: 600 12px/1 "Open Sans"; letter-spacing: .1em; text-transform: uppercase; color: var(--m-brand); margin-bottom: 8px; }
.m-card h3, .m-card h2 { font: 600 20px/1.25 "Roboto", sans-serif; color: var(--m-ink); margin: 0 0 8px; }
/* Heading-level fix (a11y): h2 promoted from h3 keeps the h3 visual size */
.m-h3-look { font-size: 24px; }
.m-card p { font-size: 14.5px; line-height: 1.55; color: var(--m-body); margin: 0 0 16px; flex: 1; }
.m-card__link { font: 600 15px/1 "Roboto"; color: var(--m-brand); display: inline-flex; align-items: center; gap: 6px; }
.m-card:hover .m-card__link { gap: 10px; }

/* ============================================================
   VIDEO SHOWCASE
   ============================================================ */
.m-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--m-shadow-lg);
  margin-top: 40px;
  background: #000;
  aspect-ratio: 16 / 9;
}
.m-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-video__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  cursor: pointer; z-index: 2;
}
.m-video__play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: none;
  background: rgba(25,118,210,.92);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .15s ease, background-color .15s ease;
}
.m-video__play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--m-brand); }
.m-video__play.is-hidden, .m-video__poster.is-hidden { display: none; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.m-quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
/* Stacked quotes (e.g. testimonials.html): without this, a quote's cite sits
   flush against the next quote's oversized opening mark and the two overlap. */
.m-quote + .m-quote { margin-top: 56px; }
.m-quote__mark { font: 700 64px/0.6 Georgia, serif; color: #cfe0f5; display: block; margin-bottom: 8px; }
.m-quote blockquote {
  border: none; margin: 0; padding: 0;
  font: 300 clamp(20px, 2.6vw, 28px)/1.45 "Open Sans", sans-serif;
  color: var(--m-ink);
}
.m-quote cite {
  display: block;
  margin-top: 22px;
  font: 600 15px/1.4 "Roboto", sans-serif;
  color: var(--m-brand-dark);
  font-style: normal;
}
.m-quote + .m-prose, .m-quote + .m-figure, .m-figure + .m-prose { margin-top: 32px !important; }
.m-quote cite span { display: block; color: var(--m-muted); font-weight: 400; }

/* ============================================================
   SEGMENTS GRID
   ============================================================ */
.m-segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.m-seg {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 12px;
  padding: 26px 16px;
  background: var(--m-card);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  text-align: center;
  color: var(--m-ink);
  font: 600 16px/1.3 "Roboto", sans-serif;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.m-seg img { width: 62px; height: 62px; object-fit: contain; transition: transform .18s ease; }
.m-seg:hover { transform: translateY(-4px); box-shadow: var(--m-shadow); border-color: #cfe0f5; color: var(--m-brand-dark); text-decoration: none; }
.m-seg:hover img { transform: scale(1.08); }

/* ============================================================
   CTA BAND
   ============================================================ */
.m-cta {
  background: linear-gradient(120deg, var(--m-brand-dark) 0%, var(--m-brand) 100%);
  border-radius: 20px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--m-shadow);
}
.m-cta__text { color: #fff; }
.m-cta__text h2 { color: #fff; font: 700 clamp(22px,2.8vw,32px)/1.2 "Roboto", sans-serif; margin: 0 0 8px; }
.m-cta__text p { color: #dbe9fb; margin: 0; font-size: 15.5px; max-width: 560px; }
.m-cta__text a { color: #fff; text-decoration: underline; }

/* ============================================================
   TRUST / WBE
   ============================================================ */
.m-trust { text-align: center; }
.m-trust img { max-width: 420px; width: 80%; height: auto; margin: 0 auto 18px; }
.m-trust p { font-size: 17px; line-height: 1.6; color: var(--m-body); max-width: 640px; margin: 0 auto; }

/* ============================================================
   Restyle shared NAVBAR (.navbar-robotic) — flat & modern
   ============================================================ */
.navbar-robotic.navbar-fixed-top {
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--m-border) !important;
  box-shadow: 0 2px 16px rgba(2,8,20,.06);
}
.navbar-robotic .navbar-brand {
  color: var(--m-ink) !important;
  font-weight: 400;
  letter-spacing: .02em;
  font-size: 30px;
  line-height: 45px;   /* fill & vertically center within the 45px navbar, even with the 38px logo */
  height: 45px;
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-robotic .navbar-brand .brand-suffix { color: var(--m-accent); font-weight: 400; }
.navbar-robotic .navbar-brand:focus,
.navbar-robotic .navbar-brand:active { outline: none; box-shadow: none; }
.navbar-robotic .navbar-brand:focus-visible { outline: 3px solid #5ec2ff; outline-offset: 2px; }
.navbar-robotic .navbar-nav > li > a { color: var(--m-ink) !important; font-weight: 500; transition: color .15s ease; }
/* Keep the brand + full inline nav on ONE row at intermediate widths: the 30px
   brand + orange suffix + 7 menu items overflow and wrap onto the hero otherwise. */
@media (min-width: 768px) and (max-width: 1599px) {
  .navbar-robotic .navbar-brand { font-size: 24px; }
  .navbar-robotic .nav.navbar-nav > li > a { font-size: 1.0em; padding-left: 7px; padding-right: 7px; }
}
.navbar-robotic .navbar-nav > li > a:hover,
.navbar-robotic .navbar-nav > li.open > a { color: var(--m-brand) !important; background: transparent !important; }
.navbar-robotic .navbar-nav > li > a[href="quoterequest.html"] span { color: var(--m-brand) !important; font-weight: 600; }
/* Dropdown menu items — readable/clickable (was light grey) */
.navbar-robotic .dropdown-menu > li > a { color: var(--m-ink) !important; }
.navbar-robotic .dropdown-menu > li > a:hover,
.navbar-robotic .dropdown-menu > li > a:focus,
.navbar-robotic .dropdown-menu > li.active > a { color: var(--m-brand) !important; background: var(--m-surface) !important; }
.navbar-robotic .dropdown-menu > li > a > i { color: var(--m-brand); }
.navbar-robotic .dropdown-menu .dropdown-header { color: var(--m-muted) !important; }

/* ============================================================
   Image carousels (#carousel-home) — uniform slide height so the
   slide transition doesn't jump when photos have different ratios
   ============================================================ */
#carousel-home .carousel-inner > .item { text-align: center; }
#carousel-home .carousel-inner > .item img {
  height: clamp(220px, 38vw, 440px);
  width: auto !important;
  max-width: 94%;
  display: inline-block;
  object-fit: contain;
}
/* Restore Bootstrap's absolute positioning for the incoming/outgoing slides.
   The inline critical CSS forces .item { position: relative } AFTER bootstrap
   loads, so .next/.prev lost position:absolute and stacked below the active
   slide (incoming image appeared below the frame and slid up). */
#carousel-home .carousel-inner > .next,
#carousel-home .carousel-inner > .prev { position: absolute; top: 0; left: 0; width: 100%; }
#carousel-home .carousel-indicators li { background: rgba(15,23,42,.22); border-color: rgba(15,23,42,.45); }
#carousel-home .carousel-indicators .active { background: var(--m-brand); border-color: var(--m-brand); }

/* ============================================================
   Restyle shared FOOTER
   ============================================================ */
#last-widgets { background: #0a1f44; color: #aebfd6; }
#last-widgets h3 { color: #fff; }
#last-widgets .footer-sitemap a,
#last-widgets address a { color: #aebfd6; }
#last-widgets .footer-sitemap a:hover,
#last-widgets address a:hover { color: #5ec2ff; }
#footer { background: #07142a; color: #8aa0c0; }
#footer a { color: #b9cae4; }
/* Footer copyright links (iBEAM Systems, Terms, Privacy) — consistent, subtle hover */
#footer .footer-legal { white-space: nowrap; margin-left: 4px; }
#footer p a { text-decoration: none; }
#footer p a:hover { text-decoration: underline; color: #fff; }
/* Footer sitemap: keep each link on one line (e.g. "Refer a Friend") */
.footer-sitemap li a { white-space: nowrap; }

/* Accessibility: skip link, visible keyboard focus, reduced motion */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1100;
  background: var(--m-brand-dark); color: #fff; padding: 10px 18px;
  border-radius: 0 0 8px 0; font: 600 14px/1 "Open Sans", sans-serif; text-decoration: none;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #5ec2ff; outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

/* Cookie consent banner (Google Consent Mode v2) */
.cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
  background: var(--m-brand-darker); color: #dbe6f5;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 24px; padding: 16px 22px;
  box-shadow: 0 -6px 24px rgba(0,0,0,.28);
  font: 400 14px/1.5 "Open Sans", sans-serif;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__text { margin: 0; max-width: 720px; }
.cookie-consent__text a { color: #9fc4f5; text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-consent .m-btn { padding: 10px 22px; font-size: 14px; }

/* Navbar inline search panel (Pagefind, opened from the Search nav item) */
.nav-search-panel {
  position: fixed; top: 50px; right: 14px; z-index: 1045;
  width: min(460px, 94vw); max-height: 72vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--m-border);
  border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(2,8,20,.22);
  padding: 14px 16px;
}
.nav-search-panel[hidden] { display: none; }
.nav-search-panel .pagefind-ui__form { margin: 0; }
body:has(.m-announce) .nav-search-panel { top: 88px; }
@media (max-width: 767px) {
  .nav-search-panel { left: 8px; right: 8px; width: auto; }
  body:has(.m-announce) .nav-search-panel { top: 104px; }
}

/* ============================================================
   SUB-PAGE HERO (interior pages)
   ============================================================ */
.m-subhero {
  background: linear-gradient(120deg, var(--m-brand-darker) 0%, var(--m-brand-dark) 100%);
  color: #dbe6f5;
  padding: 46px 0 40px;
}
.m-subhero .m-wrap { width: 100%; }
.m-subhero__crumb {
  font: 600 13px/1.5 "Open Sans", sans-serif;
  letter-spacing: .03em;
  margin-bottom: 14px;
  color: #9fb6d6;
}
.m-subhero__crumb a { color: #cfe0f5; text-decoration: none; }
.m-subhero__crumb a:hover { color: #fff; text-decoration: underline; }
.m-subhero__crumb .sep { margin: 0 8px; color: #5f7aa3; }
.m-subhero h1 {
  color: #fff;
  font: 700 clamp(28px, 4vw, 44px)/1.1 "Roboto", sans-serif;
  letter-spacing: -.02em;
  margin: 0;
}
.m-subhero__lead {
  margin: 14px 0 0;
  max-width: 880px;
  font: 300 clamp(16px, 1.8vw, 20px)/1.55 "Open Sans", sans-serif;
  color: #dbe6f5;
}
/* Optional CTA row inside a sub-hero (used on the offer landing pages) */
.m-subhero__cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.m-subhero__cta .m-btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.m-subhero__cta .m-btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ============================================================
   SPLIT (media + text two-column)
   ============================================================ */
.m-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.m-split + .m-split { margin-top: 56px; }
.m-split__media picture,
.m-split__media img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.m-split--reverse .m-split__media { order: 2; }
.m-split__body h2 {
  font: 700 clamp(23px, 2.6vw, 32px)/1.18 "Roboto", sans-serif;
  color: var(--m-ink);
  margin: 0 0 14px;
}
.m-split__body > p { font-size: 16px; line-height: 1.65; color: var(--m-body); margin: 0 0 14px; }

/* ---------- Hero / inline figure ---------- */
/* Demo-camera credentials note (replaces an image of text) */
.m-democreds { max-width: 560px; margin: 32px auto 0; padding: 20px 28px; background: #fff; border: 1px solid #d4ddec; border-radius: var(--m-radius); box-shadow: var(--m-shadow); text-align: center; }
.m-democreds p { margin: 0; color: var(--m-muted); }
.m-democreds p + p { margin-top: 10px; font-size: 1.1em; color: var(--m-ink); }
/* Boxed form card: wraps a lead-in paragraph + embedded form in a white card */
.m-form-box { max-width: 760px; margin: 24px auto 0; padding: 28px 32px; background: #fff; border: 1px solid #d4ddec; border-radius: var(--m-radius); box-shadow: var(--m-shadow); }
.m-form-box > p:first-child { margin-top: 0; }
/* Console-tip screenshots: white cards so they don't blend into the tinted section */
.m-console-shots img { background: #fff; border: 1px solid #d4ddec; border-radius: var(--m-radius); box-shadow: var(--m-shadow); }
.m-console-shots.hidden-lg img { margin-bottom: 18px; }

.m-figure { margin: 0; text-align: center; }
.m-prose .m-figure + p, .m-prose .m-figure + ul, .m-prose .m-figure + ol { margin-top: 24px !important; }
.m-figure img,
/* Reset the global full-bleed `video{position:absolute}` rule from style.css so
   figure videos sit in normal flow and stay contained at every width. */
.m-figure video { position: static; width: 100%; max-width: 100%; height: auto; object-fit: initial; display: block; margin: 0 auto; border-radius: var(--m-radius); box-shadow: var(--m-shadow); }

/* Small product photo that floats beside its paragraph text instead of
   breaking the column with a full-width block image (e.g. solar-power.html). */
.m-figure--float { float: right; margin: 4px 0 16px 28px; }
.m-prose h2 { clear: both; }
@media (max-width: 640px) {
  .m-figure--float { float: none; margin: 0 auto 16px; }
}

/* ---------- Callout card (image + text, e.g. recommended camera) ---------- */
.m-callout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 28px 32px;
}
/* Body-only callouts (no media image) fill the full width instead of
   getting squeezed into the 220px media column (e.g. case-study summaries) */
.m-callout:not(:has(.m-callout__media)) {
  grid-template-columns: 1fr;
  text-align: left;
}
.m-callout__media { text-align: center; }
.m-callout__media img { max-width: 100%; max-height: 200px; height: auto; }
.m-callout__body h3 { font: 600 22px/1.25 "Roboto", sans-serif; color: var(--m-ink); margin: 6px 0 12px; }
.m-callout__body h3 a { color: var(--m-ink); text-decoration: none; }
.m-callout__body h3 a:hover { color: var(--m-brand); }
.m-callout__body > p:last-child { margin-bottom: 0; }

/* ---------- 3-up media grid (e.g. zoom comparison) ---------- */
.m-media3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.m-media3 figure { margin: 0; text-align: center; }
.m-media3 img { width: 100%; height: auto; border-radius: var(--m-radius-sm); border: 1px solid var(--m-border); display: block; }
.m-media3 figcaption { margin-top: 10px; font-weight: 600; color: var(--m-ink); }

/* ---------- Two-column text blocks (spec columns) ---------- */
.m-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
  text-align: left;
}
.m-cols h3 { font: 600 18px/1.3 "Roboto", sans-serif; color: var(--m-brand-dark); margin: 0 0 6px; }
.m-cols > div > p em { color: var(--m-muted); }

.m-diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }

/* ============================================================
   CHECKLIST (spec / feature lists)
   ============================================================ */
.m-checklist { list-style: none; margin: 18px 0; padding: 0; }
.m-checklist li {
  position: relative;
  padding: 7px 0 7px 32px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--m-body);
}
.m-checklist li::before {
  content: "\f00c"; /* fa-check */
  font-family: FontAwesome;
  position: absolute; left: 0; top: 8px;
  color: var(--m-brand);
  font-size: 14px;
}
.m-checklist li a { color: var(--m-brand); text-decoration: none; }
.m-checklist li a:hover { text-decoration: underline; }
.m-checklist strong { color: var(--m-ink); }

/* Normalize the embedded Infusionsoft quote form to the site font (it ships Arial).
   Font-family only — leaves the form's own sizing/layout untouched. */
.infusion-form, .infusion-form input, .infusion-form textarea, .infusion-form select, .infusion-form button,
.infusion-field-label-container, .infusion-option label,
.custom-29 .infusion-field-label-container, .custom-29 .infusion-option label {
  font-family: "Open Sans", "Roboto", Arial, sans-serif !important;
}

/* ============================================================
   RESPONSIVE EMBED (Vimeo / iframe video)
   ============================================================ */
.m-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--m-shadow-lg);
  background: #000;
  margin-top: 8px;
}
.m-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.m-embed__caption { text-align: center; margin-top: 14px; color: var(--m-muted); font-style: italic; }

/* ============================================================
   DOWNLOADS (PDF / spec sheet cards)
   ============================================================ */
.m-downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.m-downloads--group { grid-template-columns: repeat(3, 1fr); }
.m-download {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--m-card);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-sm);
  text-decoration: none;
  color: var(--m-ink);
  font: 600 15px/1.35 "Roboto", sans-serif;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.m-download:hover { border-color: #cfe0f5; box-shadow: var(--m-shadow); transform: translateY(-2px); text-decoration: none; color: var(--m-brand-dark); }
.m-download i { font-size: 28px; color: var(--m-brand); flex-shrink: 0; }
.m-download small { display: block; font-weight: 400; color: var(--m-muted); font-size: 12.5px; margin-top: 3px; }

/* ============================================================
   PROSE (article / rich-text blocks)
   ============================================================ */
.m-prose { max-width: 760px; margin: 0 auto; }
.m-prose p { font-size: 16.5px; line-height: 1.7; color: var(--m-body); margin: 0 0 18px; }
.m-prose h2 { font: 700 clamp(22px, 2.6vw, 30px)/1.2 "Roboto", sans-serif; color: var(--m-ink); margin: 34px 0 14px; }
.m-prose h3 { font: 600 20px/1.3 "Roboto", sans-serif; color: var(--m-ink); margin: 26px 0 10px; }
.m-prose a { color: var(--m-brand); }
.m-prose a.m-btn--accent { color: #1a1300; }
.m-prose a.m-btn--primary, .m-prose a.m-btn--ghost { color: #fff; }
.m-prose ul, .m-prose ol { margin: 0 0 18px; padding-left: 22px; }
.m-prose li { margin: 6px 0; font-size: 16.5px; line-height: 1.6; color: var(--m-body); }
/* Blog author sign-off (consistent block used at the end of every blog article) */
.m-signoff { margin-top: 22px; }
.m-signoff__sig { font: 400 46px/1 "Segoe Script", "Brush Script MT", "Bradley Hand", cursive; color: var(--m-brand); margin: 0 0 8px; }
.m-signoff__title { margin: 0; font-size: 14.5px; line-height: 1.3; color: var(--m-body); }
.m-signoff__tagline { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--m-border); font: italic 15px/1.5 "Open Sans", sans-serif; color: var(--m-brand); }

/* Testimonial quote lists (were heavy bold-italic bullets) -> clean quote cards */
.m-quotelist { list-style: none; margin: 22px 0; padding: 0; }
.m-quotelist li {
  margin: 0 0 14px;
  padding: 14px 20px;
  background: var(--m-surface);
  border-left: 3px solid var(--m-brand);
  border-radius: 0 6px 6px 0;
  color: var(--m-body);
  line-height: 1.65;
}
.m-quotelist li:last-child { margin-bottom: 0; }
.m-quotelist li em { font-style: italic; }
.m-quotelist li strong { font-weight: 400; color: inherit; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .m-cards { grid-template-columns: repeat(2, 1fr); }
  .m-cards--3 { grid-template-columns: repeat(2, 1fr); }
  .m-downloads--group { grid-template-columns: repeat(2, 1fr); }
  .m-features { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .m-segments { grid-template-columns: repeat(3, 1fr); }
  .m-split { gap: 32px; }
}
@media (max-width: 767px) {
  .m-section { padding: 52px 0; }
  .m-hero { min-height: 540px; }
  .m-hero__overlay { background: linear-gradient(180deg, rgba(7,18,40,.72) 0%, rgba(7,18,40,.85) 100%); }
  .m-features { grid-template-columns: 1fr; }
  .m-cards { grid-template-columns: 1fr; }
  .m-cards--3 { grid-template-columns: 1fr; }
  .m-cards--2 { grid-template-columns: 1fr; }
  .m-downloads--group { grid-template-columns: 1fr; }
  .m-segments { grid-template-columns: repeat(2, 1fr); }
  .m-cta { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .m-split { grid-template-columns: 1fr; gap: 28px; }
  .m-split--reverse .m-split__media { order: 0; }
  .m-cols { grid-template-columns: 1fr; gap: 28px; }
  .m-diff-grid { grid-template-columns: 1fr; }
  .m-diff-grid .background-jobsite-left,
  .m-diff-grid .background-shield-left,
  .m-diff-grid .background-tools-right,
  .m-diff-grid .background-handshake-right {
    background-image: none;
    background-color: var(--m-brand);
    height: auto;
    min-height: 90px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    border-radius: var(--m-radius-sm);
  }
  .m-media3 { grid-template-columns: 1fr; }
  .m-callout { grid-template-columns: 1fr; text-align: center; padding: 24px; }
}
@media (max-width: 420px) {
  .m-segments { grid-template-columns: 1fr; }
}
