:root {
  color-scheme: light;
  --ink: #10283b;
  --muted: #3f5667;
  --line: #cddbe1;
  --card: #fff;
  --panel: #eaf1f5;
  --accent-panel: #e5f3f3;
  --accent-hover: #d7eeef;
  --page-bg: #f6f9fa;
  --link-color: #08676d;
  --button-bg: #007377;
  --button-hover: #05585e;
  --blue: var(--link-color);
  --brand: var(--link-color);
  --deep: var(--ink);
  --soft: var(--panel);
  background: var(--page-bg);
}

body, main, .page-section, .section, .seo-intro {
  color: var(--ink);
  background-color: var(--page-bg);
}
.section.soft, .soft, .product-hero, .page-hero, .page-hero.compact,
.inspection-feature, .crumb, .detail-nav, .family-links a, .contact-map {
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
}
.range-bar, .mini-cta, .article-contact {
  color: var(--ink);
  background: var(--accent-panel);
  border-color: var(--line);
}

:where(main) a:not(.btn):not(.cta):not(.banner-slide):not(.primary),
.crumb a, .breadcrumbs a, .crumbs a, footer a, .link, .map-link {
  color: var(--link-color);
}
:where(main) a:not(.btn):not(.cta):not(.banner-slide):hover,
.crumb a:hover, footer a:hover {
  color: var(--button-hover);
}
:where(.rich-article, .product-document, .reading-article, .intro, .contact-page) p a,
.map-link {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.card, .catalog-card, .solution-photo-card, .news-photo-card, .product-card,
.product-specs, .quick-specs, .info-card, .category-card, .contact-card,
.faq-item, .faq-long details, .search-result, .contact form, .contact-page form,
.product-copy aside, .empty-category, .cert-gallery a, .product-document table,
.rich-article table, .spec-table th, .spec-table td {
  color: var(--ink);
  background-color: var(--card);
  border-color: var(--line);
}

footer {
  color: var(--ink);
  background-color: #dce8ed;
  border-color: var(--line);
}

.download-files {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-menu-list {
  max-height: 40vh;
  overflow-y: auto;
}

.home-video-carousel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.home-video-track, .home-video-controls {
  grid-area: 1 / 1;
}

.home-video-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cms-body-video {
  margin: 1.5rem 0;
}

.cms-body-video video {
  display: block;
  width: min(100%, 56rem);
}

.home-video-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.home-video-slide video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.home-video-slide figcaption {
  padding-block: 10px;
  font-weight: 600;
}

.home-video-controls:not([hidden]) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: start;
  width: 100%;
  max-height: 720px;
  aspect-ratio: 16 / 9;
  box-sizing: border-box;
  padding-inline: clamp(8px, 1.5vw, 20px);
  z-index: 1;
  pointer-events: none;
}

.home-video-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .8);
  border-radius: 50%;
  background: rgb(11 21 36 / .72);
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.home-video-controls button:hover {
  background: #0b1524;
}

.home-video-controls button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

footer img.site-footer-logo, .header img.site-header-logo, header img.site-header-logo {
  display: block;
  max-width: min(200px, 100%);
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-banner-caption {
  position: absolute;
  inset: auto 8% 16% 8%;
  display: grid;
  gap: 4px;
  max-width: max-content;
  padding: 8px 14px;
  background: rgb(16 40 59 / 83%);
  color: #fff;
}

.site-banner-caption strong { font-size: clamp(1rem, 2vw, 1.6rem); }
.edited-product-gallery { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.edited-product-gallery img { width: 76px; height: 76px; object-fit: contain; }

.faq-home .faq-long summary {
  font-size: 17px;
  padding-inline: 12px 18px;
}

.faq-home .faq-long details p {
  padding-inline: 12px 18px;
}

.inquiry-confirmation {
  box-sizing: border-box;
  width: min(212px, calc(100% - 32px));
  margin: auto;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgb(16 40 59 / 20%);
  text-align: center;
}

.inquiry-confirmation::backdrop {
  background: rgb(16 40 59 / 36%);
}

.inquiry-confirmation h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.inquiry-confirmation p {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.inquiry-confirmation .btn {
  min-width: 56px;
  min-height: 32px;
  padding: 4px 12px;
  font-size: 13px;
}

@media (min-width: 1101px) {
  .faq-home {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: 48px;
  }
}

.page-hero h1, .product-hero h1, .page-hero p, .product-hero p, .mini-cta h2,
.mini-cta .kicker, .catalog-card p, .catalog-card small, .news-photo-card small,
.solution-photo-card span, .news-photo-card span, .catalog-link, .section-heading > span,
.section-heading > div > span, .page-hero .kicker, .product-hero .kicker, .section-label,
.faq-long summary, .quick-specs dt, .quick-specs dd, .quick-specs b,
.product-document th, .product-document td, .rich-article td, .rich-article th,
.contact-page form label, footer b {
  color: var(--ink);
}
.product-document th, .product-document tr:first-child, .rich-article th {
  background: var(--panel);
}
.spec-table thead th, .product-document thead th, .rich-article thead th {
  color: #fff;
  background: #20394b;
}
.section-heading > span, .section-heading > div > span,
.section-label, .page-hero .kicker, .product-hero .kicker {
  color: var(--link-color);
}
.product-document td, .rich-article td, .rich-article th, .product-document th {
  border-color: var(--line);
}
.product-document li, .rich-article li, .inspection-layout ul,
.factory-wide figcaption, .factory-gallery figcaption, footer p, .copyright,
.form-note, .crumb li + li::before, time {
  color: var(--muted);
}

.btn.primary, button.primary, a.cta, .header .quote, .floating-quote {
  color: #fff;
  background: var(--button-bg);
  border-color: var(--button-bg);
}
.btn.primary:hover, button.primary:hover, a.cta:hover, .header .quote:hover, .floating-quote:hover {
  color: #fff;
  background: var(--button-hover);
  border-color: var(--button-hover);
}
.mini-cta .btn {
  color: var(--link-color);
  background: var(--card);
  border-color: var(--link-color);
}
.mini-cta .btn:hover, .family-links a:hover, .range-bar a:hover {
  color: var(--ink);
  background: var(--accent-hover);
}

input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  color: var(--ink);
  background: var(--card);
  border-color: #708895;
}
input::placeholder, textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--link-color);
  outline-offset: 3px;
}

.cms-body-image { margin: 1.25rem 0; }
.cms-body-image img { display: block; max-width: 100%; height: auto; border-radius: 6px; }

.compact-footer { padding-bottom: env(safe-area-inset-bottom, 0px); }
.compact-footer .copyright { margin-top: 28px; padding-block: 14px; }
.contact-rail-at-footer:not(:focus-within) { visibility: hidden; }

@media (max-width: 800px) {
  .compact-footer .copyright { margin-top: 24px; }
}

.analytics-settings {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}
.analytics-settings:hover, .analytics-settings:focus-visible { color: var(--link-color); }
#analytics-preferences {
  position: fixed;
  z-index: 1000;
  inset: auto auto 1rem 1rem;
  width: min(27rem, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 4px 24px #10283b26;
}
#analytics-preferences p { margin: 0 0 .75rem; }
#analytics-preferences div { display: flex; flex-wrap: wrap; gap: .5rem; }
#analytics-preferences button {
  padding: .45rem .75rem;
  border: 1px solid var(--link-color);
  border-radius: .3rem;
  background: var(--card);
  color: var(--link-color);
  font: inherit;
  cursor: pointer;
}
#analytics-preferences [data-choice="allowed"] {
  background: var(--button-bg);
  color: #fff;
}

