/* Switchgear design system. No external fonts, framework or JavaScript required. */
:root {
  color-scheme: light;
  --ink: #172c41;
  --ink-deep: #0B2545;
  --steel: #345b7d;
  --steel-dark: #233f5f;
  --muted: #43596a;
  --surface: #ffffff;
  --surface-soft: #ffffff;
  --line: #ced9e3;
  --red: #B31942;
  --red-dark: #891331;
  --container: 76rem;
  --gutter: clamp(1.125rem, 4vw, 3rem);
  --section-space: clamp(4rem, 8vw, 7.5rem);
  --radius: 0.25rem;
  --shadow: 0 1rem 2.5rem rgb(11 37 69 / 9%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--surface); font-size: 1rem; line-height: 1.65; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { border-radius: 0; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { margin: 0 0 0.7em; color: inherit; line-height: 1.13; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 5.7vw, 5.3rem); font-weight: 750; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); font-weight: 730; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.55rem); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
a { color: var(--red); text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
strong, b { font-weight: 700; }
:focus { outline: 3px solid var(--ink-deep); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--ink-deep); outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px var(--ink-deep); }
::selection { color: #fff; background: var(--steel-dark); }

.container { width: min(calc(100% - (var(--gutter) * 2)), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-soft { background: var(--surface-soft); }
.section-dark { color: var(--ink); background: #fff; }
.section-heading { max-width: 53rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-heading h2:last-child, .section-heading p:last-child { margin-bottom: 0; }
.section-intro { max-width: 45rem; color: var(--muted); font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.7; }
.section-dark .section-intro { color: var(--muted); }
.eyebrow { display: block; margin: 0 0 1rem; color: var(--red); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; line-height: 1.35; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 1.65rem; height: 0.16rem; margin: 0 0.65rem 0.23rem 0; background: var(--red); }
.hero .eyebrow { color: #fff; }
.lead { max-width: 43rem; color: var(--muted); font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.7; }

/* Restrained red-white-navy dividers; placed in normal flow below content. */
.hero::after, main h2::after { content: ""; display: block; height: 6px; background: linear-gradient(to bottom, var(--red) 0 33.33%, #fff 33.33% 66.66%, var(--ink-deep) 66.66% 100%); }
.hero::after { position: relative; z-index: 2; width: 100%; }
main h2::after { width: 4.5rem; max-width: 100%; margin-top: 0.65rem; box-shadow: 0 0 0 1px rgb(11 37 69 / 12%); }

/* Header: the full menu remains available as wrapped links at small widths. */
.site-header { position: relative; z-index: 20; background: var(--ink-deep); border-bottom: 1px solid rgb(255 255 255 / 20%); }
.topbar { padding: 0.5rem var(--gutter); color: #e3ebee; background: var(--ink-deep); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.025em; line-height: 1.4; }
.topbar > .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; width: min(100%, var(--container)); }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; width: min(calc(100% - (var(--gutter) * 2)), var(--container)); min-height: 4.5rem; margin-inline: auto; padding-block: 0.75rem; }
.nav.container { width: min(calc(100% - (var(--gutter) * 2)), var(--container)); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; min-width: 0; margin-right: auto; color: #fff; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { display: block; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; object-fit: contain; }
.nav-links { display: flex; flex: 1 0 100%; order: 3; flex-wrap: wrap; align-items: center; gap: 0.2rem 1.05rem; min-width: 0; margin: 0; padding: 0.6rem 0 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 20%); }
.nav-links li { margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.3rem 0; color: #fff; font-size: 0.83rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: #fff; text-underline-offset: 0.3em; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 2.7rem; padding: 0.65rem 0.9rem; color: #fff; background: var(--red); border: 1px solid var(--red); font-size: 0.76rem; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none; }
.nav-cta:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }

/* Full-bleed, photographic hero. Image may be an img, picture, or a wrapper. */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink-deep); }
.hero-grid { position: relative; z-index: 1; display: grid; width: min(100%, 100rem); margin-inline: auto; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: clamp(3.5rem, 7vw, 7rem) var(--gutter); }
.hero-copy > :last-child { margin-bottom: 0; }
.display-title { max-width: 14ch; margin-bottom: 0.36em; font-size: clamp(2.75rem, 6vw, 5.65rem); font-weight: 760; letter-spacing: -0.045em; line-height: 1.01; }
.page-article .display-title { max-width: 19ch; font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
.hero .lead { max-width: 36rem; color: #d5dfe2; }
.hero-image { position: absolute; z-index: 0; inset: 0 0 6px; display: block; overflow: hidden; width: 100%; height: auto; min-width: 0; min-height: 0; margin: 0; background: var(--ink-deep); }
.hero-image img, .hero-image picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero-image img { position: absolute; inset: 0; object-fit: cover; object-position: center; }
.hero-image .hero-image-fill { z-index: 0; object-fit: cover; filter: blur(18px); transform: scale(1.06); opacity: 0.65; }
.hero-image .hero-image-photo { z-index: 1; object-fit: contain; }
.hero-image::after { content: ""; position: absolute; z-index: 2; inset: 0; background: rgb(11 37 69 / 84%); pointer-events: none; }
.hero-image figcaption { z-index: 3 !important; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3.2rem; padding: 0.9rem 1.35rem; border: 1px solid transparent; border-radius: 0; font-size: 0.82rem; font-weight: 750; letter-spacing: 0.015em; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.button-primary, .button-outline, .button-light { color: #fff; background: var(--red); border-color: var(--red); }
.button-primary:hover, .button-outline:hover, .button-light:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: 1rem; max-width: 38rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.4rem; border-top: 1px solid rgb(255 255 255 / 25%); }
.stat { min-width: 0; color: #c6d2d6; font-size: 0.8rem; line-height: 1.45; }
.stat strong, .stat b { display: block; margin-bottom: 0.15rem; color: #fff; font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -0.035em; line-height: 1.1; }

/* Reassurance strip and cards. */
.trust-strip { color: var(--ink); background: #fff; border-block: 1px solid var(--line); }
.trust-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 0; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; min-width: 0; padding: 1.25rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.85rem; font-weight: 700; line-height: 1.35; }
.trust-item:last-child { border-bottom: 0; }
.trust-item svg, .trust-item img { flex: 0 0 auto; width: 1.5rem; height: 1.5rem; object-fit: contain; }
.feature-grid, .mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.feature-card { position: relative; min-width: 0; padding: clamp(1.5rem, 2.5vw, 2.25rem); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); }
.feature-card h3 { margin-bottom: 0.65rem; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }
.feature-card > :last-child { margin-bottom: 0; }
.feature-number { display: block; margin-bottom: 2.25rem; color: var(--steel); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; }
.feature-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.5rem; color: var(--red); background: #f9e9ee; }
.feature-icon svg, .feature-icon img { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.section-dark .feature-card, .section-dark .mini-card { color: var(--ink); background: #fff; border-color: var(--line); }
.section-dark .feature-card p, .section-dark .mini-card p { color: var(--muted); }
.section-dark .feature-number { color: var(--steel); }
.mini-card { min-width: 0; padding: 1.4rem; background: #fff; border: 1px solid var(--line); }
.mini-card h3, .mini-card h4 { margin-bottom: 0.5rem; }
.mini-card p { color: var(--muted); font-size: 0.92rem; }
.mini-card > :last-child { margin-bottom: 0; }

/* Flexible editorial and product layouts. */
.split-layout { display: grid; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.split-layout > * { min-width: 0; }
.photo-frame { position: relative; overflow: hidden; width: 100%; min-height: 15rem; aspect-ratio: 4 / 3; background-color: #d9e2e4; background-position: center; background-size: cover; object-fit: cover; object-position: center; }
.photo-frame img, .photo-frame picture { display: block; width: 100%; height: 100%; }
.photo-frame img { position: absolute; inset: 0; object-fit: cover; object-position: center; }
.article-layout { display: grid; align-items: start; gap: clamp(2rem, 5vw, 4.5rem); }
.article-main, .article-aside, .article-content { min-width: 0; }
.article-content { max-width: 50rem; overflow-wrap: anywhere; }
.article-content h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.article-content h3 { margin-top: 1.6em; }
.article-content h2:first-child, .article-content h3:first-child { margin-top: 0; }
.article-content p, .article-content li { line-height: 1.75; }
.article-content ul, .article-content ol { padding-left: 1.4rem; }
.article-content li + li { margin-top: 0.4rem; }
.article-content img { margin-block: 1.75rem; }
.article-aside { padding: 1.5rem; background: var(--surface-soft); border-top: 3px solid var(--steel); }
.article-aside > :last-child { margin-bottom: 0; }
.breadcrumbs { margin-bottom: 1.5rem; color: var(--muted); font-size: 0.8rem; line-height: 1.5; overflow-wrap: anywhere; }
.breadcrumbs ol, .breadcrumbs ul { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.35rem; color: #84959d; }
.breadcrumbs a { color: inherit; }
.hero .breadcrumbs, .section-dark .breadcrumbs { color: #c6d2d6; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); background: #edf2f3; font-size: 0.85rem; font-weight: 750; }
.spec-table { display: block; max-width: 100%; margin-block: 1.5rem; overflow-x: auto; color: var(--ink); background: #fff; font-size: 0.92rem; }
.spec-table th, .spec-table td { min-width: 9rem; }
.spec-table tr:nth-child(even) td { background: #f7f9f9; }
.related-links { margin-block: 1.5rem; }
.related-links ul, .related-links ol { margin: 0; padding: 0; list-style: none; }
.related-links li { padding-block: 0.7rem; border-bottom: 1px solid var(--line); }
.related-links a, .text-link { color: var(--red); font-weight: 750; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; }
.related-links a:hover, .text-link:hover { color: var(--ink); }
.hero .text-link { color: #fff; }
.hero .text-link:hover { color: #fff; text-decoration-thickness: 0.15em; }

/* Quote form: direct fields or fields grouped in .form-row both work. */
.quote-panel { padding: clamp(1.5rem, 4vw, 3rem); color: var(--ink); background: #fff; border: 1px solid var(--line); }
.quote-panel > :last-child { margin-bottom: 0; }
.quote-panel p { color: var(--muted); }
.quote-panel .eyebrow { color: var(--red); }
.quote-panel a:not(.button) { color: var(--red); }
.quote-panel a:not(.button):hover { color: var(--ink); }
.quote-form, .form-row { display: grid; gap: 1rem; }
.quote-form { margin-top: 1.5rem; }
.quote-form > :not(.field), .form-row, .field-full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label, label.field { color: inherit; font-size: 0.82rem; font-weight: 700; line-height: 1.4; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="reset"]):not([type="button"]), select, textarea { width: 100%; min-width: 0; min-height: 3rem; padding: 0.75rem 0.85rem; color: var(--ink); background: #fff; border: 1px solid #9babb2; border-radius: 0; line-height: 1.4; }
input::placeholder, textarea::placeholder { color: #65767e; opacity: 1; }
textarea { min-height: 8rem; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: 1.1rem; height: 1.1rem; accent-color: var(--red); }
input:disabled, select:disabled, textarea:disabled, button:disabled { cursor: not-allowed; opacity: 0.6; }
.quote-form .button { justify-self: start; }
.small-note { color: var(--muted); font-size: 0.8rem; line-height: 1.55; }
.quote-panel .small-note, .section-dark .small-note { color: var(--muted); }
.callout { margin-block: 1.5rem; padding: 1.25rem 1.4rem; color: var(--ink); background: #f3f6f9; border-left: 4px solid var(--red); }
.callout > :last-child { margin-bottom: 0; }
.pill, .badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.65rem; color: var(--steel-dark); background: #edf2f3; border: 1px solid #cfdbde; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1.25; text-transform: uppercase; }

/* Footer and persistent quote shortcut. */
.site-footer { color: #cfdbdf; background: var(--ink-deep); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
/* The generated footer has an inline legacy accent color. */
.site-footer .eyebrow { color: #fff !important; }
.site-header a[href^="tel:"], .site-footer a[href^="tel:"] { display: inline-flex; align-items: center; padding: 0.4rem 0.65rem; color: #fff; background: var(--red); font-weight: 700; text-decoration: none; }
.site-header a[href^="tel:"]:hover, .site-footer a[href^="tel:"]:hover { color: #fff; background: var(--red-dark); text-decoration: underline; }
main a[href^="tel:"]:not(.button) { color: var(--red); }
main a[href^="tel:"]:not(.button):hover { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 2rem; padding-block: clamp(3.5rem, 7vw, 6rem); }
.footer-brand { max-width: 21rem; }
.footer-brand .brand { margin-bottom: 1.2rem; color: #fff; }
.footer-brand p { color: #b8c8ce; font-size: 0.9rem; }
.footer-links { min-width: 0; }
.footer-links h2, .footer-links h3, .footer-links h4 { margin: 0 0 1.1rem; color: #fff; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; }
.footer-links ul, ul.footer-links { display: grid; gap: 0.65rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { font-size: 0.88rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 1.5rem; padding-block: 1.4rem; border-top: 1px solid #405159; color: #b8c8ce; font-size: 0.76rem; }
.footer-bottom p { margin: 0; }
.floating-quote { position: fixed; z-index: 30; right: max(0.75rem, env(safe-area-inset-right)); bottom: max(0.75rem, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0.75rem 1rem; color: #fff; background: var(--red); border: 1px solid var(--red); box-shadow: 0 0.5rem 1.5rem rgb(11 37 69 / 25%); font-size: 0.8rem; font-weight: 750; line-height: 1.2; text-decoration: none; }
.floating-quote:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }
.desktop-only { display: none !important; }

@media (min-width: 40rem) {
  .quote-form, .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item { border-bottom: 0; border-right: 1px solid var(--line); }
  .trust-item:last-child { border-right: 0; }
}
@media (min-width: 48rem) {
  .split-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) minmax(14rem, 19rem); }
  .mobile-only { display: none !important; }
  .desktop-only { display: revert !important; }
}
@media (min-width: 64rem) {
  .nav { flex-wrap: nowrap; gap: 1.5rem; min-height: 5.25rem; }
  .nav-links { flex: 0 1 auto; order: initial; justify-content: flex-end; gap: 0.4rem 1.4rem; padding: 0; border: 0; }
  .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); min-height: 37rem; }
  .hero-copy { padding-left: max(var(--gutter), calc((min(100vw, 100rem) - var(--container)) / 2)); }
  .hero-image::after { background: linear-gradient(90deg, rgb(11 37 69 / 88%) 0%, rgb(11 37 69 / 85%) 48%, rgb(11 37 69 / 55%) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
