.skip-link {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid #2563eb;
  border-radius: 10px;
  background: #ffffff;
  color: #0b1220;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 28px));
  transition: transform .18s ease, opacity .18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  outline: 3px solid rgba(255, 255, 255, .95);
  outline-offset: 3px;
}

#main-content {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

#main-content:focus {
  outline: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(7, 11, 18, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .18), inset 0 -1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: none;
  transition: transform .32s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.site-header.is-scrolled {
  background: #070b12;
  border-bottom-color: rgba(255, 255, 255, .17);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .30), inset 0 -1px 0 rgba(255, 255, 255, .055);
  backdrop-filter: none;
}

.site-header.is-mega-open,
.site-header.is-search-open {
  background: #08111f;
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: none;
  backdrop-filter: none;
}

:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, .98);
  border-bottom-color: rgba(12, 24, 43, .10);
  box-shadow: 0 12px 36px rgba(16, 24, 39, .07);
  backdrop-filter: none;
}

:root[data-theme="light"] .site-header.is-scrolled {
  background: #ffffff;
  backdrop-filter: none;
}

:root[data-theme="light"] .site-header.is-mega-open,
:root[data-theme="light"] .site-header.is-search-open {
  background: #ffffff;
  border-bottom-color: rgba(12, 24, 43, .12);
  box-shadow: none;
  backdrop-filter: none;
}



/* Hero header: clear glass over visual media, solid after the first scroll */
body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) {
  background: rgba(3, 7, 13, .12);
  border-bottom-color: rgba(255, 255, 255, .13);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .055), 0 14px 34px rgba(0, 0, 0, .10);
  -webkit-backdrop-filter: brightness(.80) saturate(.92) blur(10px);
  backdrop-filter: brightness(.58) saturate(.92) blur(10px);
}

:root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) {
  background: rgba(3, 7, 13, .12);
  border-bottom-color: rgba(255, 255, 255, .13);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .055), 0 14px 34px rgba(0, 0, 0, .09);
  -webkit-backdrop-filter: brightness(.90) saturate(.50) blur(5px);
  backdrop-filter: brightness(.90) saturate(.50) blur(5px);
}

body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .nav-button,
:root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .nav-button {
  color: rgba(255, 255, 255, .96);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .95),
    0 0 14px rgba(0, 0, 0, .88),
    0 8px 24px rgba(0, 0, 0, .68);
}

body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .nav-button:hover,
body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .nav-item.is-open > .nav-button,
:root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .nav-button:hover,
:root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .nav-item.is-open > .nav-button {
  color: #ffffff;
}

body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header__logo-mark {
  color: #ffffff;
}

body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header-search-toggle,
body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .theme-toggle,
:root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header-search-toggle,
:root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .theme-toggle {
  color: rgba(255, 255, 255, .94);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .95)) drop-shadow(0 0 10px rgba(0, 0, 0, .72));
}

body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header-search-toggle:hover,
body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .theme-toggle:hover,
:root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header-search-toggle:hover,
:root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .theme-toggle:hover {
  color: #ffffff;
}

.site-header.is-hidden:not(.is-mega-open):not(.is-search-open) {
  transform: translateY(calc(-1 * var(--header-height) - 12px));
}

body.is-mega-open::before,
body.is-search-open::before {
  content: "";
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 999;
  pointer-events: none;
  background: rgba(0, 0, 0, .62);
  opacity: 1;
}

.header__inner {
  width: min(calc(100% - 48px), 1560px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(180px, 18%) minmax(0, 1fr) minmax(220px, 17%);
  align-items: center;
  gap: clamp(16px, 1.7vw, 28px);
  position: relative;
  z-index: 2;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin-left: 0;
  position: relative;
  z-index: 2;
}

.header__logo-mark {
  display: block;
  width: clamp(132px, 8.3vw, 148px);
  height: auto;
  color: #ffffff;
  flex: 0 0 auto;
}

:root[data-theme="light"] .header__logo-mark {
  color: var(--text);
}

.header__nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  color: color-mix(in oklab, var(--text) 78%, var(--text-muted));
  background: transparent;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .005em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .32);
  transform: translateY(0);
  transition: color .2s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
}

.nav-button::before {
  content: none;
}

.nav-button--link {
  text-decoration: none;
}

.nav-button--link::after {
  content: none;
}

.nav-button__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-button__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 100%;
  min-width: 34px;
  max-width: 64px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  opacity: .96;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .26s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
}

.nav-button:hover,
.nav-item.is-open > .nav-button {
  color: var(--text);
  background: transparent;
  border-color: transparent;
  transform: translateY(-2px);
}

.nav-button:hover .nav-button__label::after,
.nav-item.is-open > .nav-button .nav-button__label::after {
  transform: translateX(-50%) scaleX(1);
}

:root[data-theme="light"] .nav-button {
  color: color-mix(in oklab, var(--text) 80%, var(--text-muted));
  text-shadow: none;
}

:root[data-theme="light"] .nav-button:hover,
:root[data-theme="light"] .nav-item.is-open > .nav-button {
  color: #07111f;
  background: transparent;
  border-color: transparent;
}

.nav-button:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--brand) 62%, transparent);
  outline-offset: 6px;
}

.nav-button::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .86;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-item.is-open > .nav-button::after,
.nav-button:hover::after {
  opacity: 1;
  transform: translateY(1px) rotate(225deg);
}

/* Direct navigation items do not expose a dropdown indicator. */
.nav-button.nav-button--link::after,
.mega-tab.mega-tab--link::after {
  content: none;
}


.mega {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  width: auto;
  max-width: 100%;
  height: 37svh;
  min-height: 320px;
  max-height: 340px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(-16px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    #08111f;
  box-shadow: 0 38px 80px rgba(0, 0, 0, .34);
  backdrop-filter: none;
  transition: opacity .22s ease, visibility .22s ease, transform .34s cubic-bezier(.22, 1, .36, 1);
}

:root[data-theme="light"] .mega {
  background:
    #ffffff;
  box-shadow: 0 38px 80px rgba(16, 24, 39, .16);
}

.mega *,
.nav-item:not(.is-open) .mega * {
  pointer-events: none;
}

.nav-item.is-open .mega {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item.is-open .mega * {
  pointer-events: auto;
}

.mega__shell {
  width: var(--desktop-frame);
  max-width: none;
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 21vw minmax(0, 1fr);
  gap: 2.4vw;
  padding: 28px 0 32px;
}

.mega__rail {
  min-width: 0;
  padding: 0 2vw 0 0;
  border-right: 1px solid var(--border);
}

.mega__rail h2,
.mega-tabpanel h3 {
  margin: 0;
  font-family: var(--font-title);
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 400;
}

.mega__rail h2 {
  margin-bottom: 18px;
  font-size: clamp(22px, 1.65vw, 30px);
  white-space: nowrap;
}

.mega__rail p {
  max-width: 245px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.mega-tabs {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.mega-tab {
  position: relative;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px 0 18px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
  text-align: left;
  overflow: hidden;
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.mega-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0;
  transform: scaleY(.45);
  transition: opacity .2s ease, transform .2s ease;
}

.mega-tab::after {
  content: "›";
  color: currentColor;
  opacity: .6;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease, opacity .2s ease;
}

.mega-tab:hover,
.mega-tab.is-active {
  color: var(--text);
  background: color-mix(in oklab, var(--brand) 8%, var(--surface-2));
  transform: translateX(3px);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--border) 80%, transparent);
}

.mega-tab:hover::before,
.mega-tab.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.mega-tab:hover::after,
.mega-tab.is-active::after {
  opacity: 1;
  transform: translateX(2px);
}

.mega-tab--link {
  text-decoration: none;
}

.mega-tab--link.is-current {
  color: var(--brand-text);
}

.mega-tab--link.is-current::before {
  opacity: 1;
  transform: scaleY(1);
}

:root[data-theme="light"] .mega-tab:hover,
:root[data-theme="light"] .mega-tab.is-active {
  background: rgba(12, 24, 43, .06);
}

.mega__panel {
  position: relative;
  min-width: 0;
  padding: 2px 0 0;
}

.mega-tabpanel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease, transform .26s ease;
}

.mega-tabpanel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item.is-open .mega-tabpanel.is-active,
.nav-item.is-open .mega-tabpanel.is-active * {
  pointer-events: auto;
}

.nav-item.is-open .mega-tabpanel:not(.is-active),
.nav-item.is-open .mega-tabpanel:not(.is-active) * {
  pointer-events: none;
}

.mega-tabpanel h3 {
  font-size: clamp(24px, 2vw, 34px);
}

.mega-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 42px;
  max-width: 850px;
}

.mega-feature-link {
  position: relative;
  display: inline-grid;
  gap: 4px;
  width: fit-content;
  max-width: 260px;
  min-width: 0;
  padding: 0;
  color: var(--text);
  transform: translateX(0);
  transition: color .2s ease, transform .2s ease;
}

.mega-feature-link strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: currentColor;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.mega-feature-link strong::after {
  content: "→";
  color: currentColor;
  opacity: 0;
  transform: translateX(-7px);
  transition: opacity .2s ease, transform .2s ease;
}

.mega-feature-link span {
  max-width: 245px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.mega-feature-link:hover,
.mega-feature-link.is-active {
  color: var(--brand-text);
  transform: translateX(7px);
}


/* ALS menu: group the three overview links on the first row and the four
   system architecture links on the second row. The shared 12-column grid
   keeps both rows aligned without offsetting individual cards. */
.mega-tabpanel[data-mega-tab-panel="als"] .mega-link-grid {
  width: min(100%, 1040px);
  max-width: 1040px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px 28px;
}

.mega-tabpanel[data-mega-tab-panel="als"] .mega-feature-link {
  width: 100%;
  max-width: none;
  grid-column: span 3;
}

.mega-tabpanel[data-mega-tab-panel="als"] .mega-feature-link:nth-child(-n + 3) {
  grid-column: span 4;
}

.mega-tabpanel[data-mega-tab-panel="als"] .mega-feature-link > span {
  max-width: 100%;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .mega-tabpanel[data-mega-tab-panel="als"] .mega-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mega-tabpanel[data-mega-tab-panel="als"] .mega-feature-link,
  .mega-tabpanel[data-mega-tab-panel="als"] .mega-feature-link:nth-child(-n + 3) {
    grid-column: auto;
  }

  .mega-tabpanel[data-mega-tab-panel="als"] .mega-feature-link:nth-child(7) {
    grid-column: 2;
  }
}

.mega-feature-link:hover strong::after,
.mega-feature-link.is-active strong::after {
  opacity: 1;
  transform: translateX(0);
}

.mega-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 780px;
}

.mega-card-grid--industries {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1060px;
}

.mega--resources .mega-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1060px;
}

.mega-service-card,
.mega-image-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--surface-2) 82%, transparent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mega-service-card {
  min-height: 118px;
  border-radius: 8px;
}

.mega-image-card {
  min-height: 108px;
  border-radius: 10px;
}

.mega-service-card:hover,
.mega-service-card.is-active,
.mega-image-card:hover,
.mega-image-card.is-active {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--brand) 35%, var(--border));
  box-shadow: 0 18px 36px rgba(0, 0, 0, .14);
}

.mega-service-card__media,
.mega-image-card__media {
  position: absolute;
  inset: 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 150px;
  background: color-mix(in oklab, var(--bg-soft) 95%, transparent);
}

.mega-service-card__media::after,
.mega-image-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 33, .52);
}

.mega-service-card__media img,
.mega-image-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .28s ease;
}

.mega-service-card:hover img,
.mega-image-card:hover img {
  transform: scale(1.06);
}

.mega-service-card > span,
.mega-image-card > span {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}

.mega-service-card > span::after,
.mega-image-card > span::after {
  content: "›";
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1;
  opacity: .92;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-search {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 1;
  width: auto;
  max-width: 100%;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    #08111f;
  box-shadow: 0 38px 80px rgba(0, 0, 0, .32);
  transition: max-height .42s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, visibility .2s ease, transform .34s cubic-bezier(.22, 1, .36, 1);
}

:root[data-theme="light"] .header-search {
  background:
    #ffffff;
  box-shadow: 0 38px 80px rgba(16, 24, 39, .14);
}

.site-header.is-search-open .header-search {
  max-height: 330px;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-search__shell {
  width: var(--desktop-frame);
  max-width: none;
  min-height: 0;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  padding: 34px 0 38px;
}

.header-search__shell h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-title);
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-align: center;
}

.header-search__form {
  width: min(100%, 760px);
  height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  border: 1px solid color-mix(in oklab, var(--border) 82%, transparent);
  border-radius: 13px;
  background: color-mix(in oklab, var(--surface-solid) 84%, transparent);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

:root[data-theme="light"] .header-search__form {
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 24, 39, .10);
}

.header-search__form:focus-within {
  border-color: color-mix(in oklab, var(--brand-2) 42%, var(--border));
  box-shadow: 0 20px 48px rgba(0, 0, 0, .16);
}

.header-search__input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}

.header-search__input::placeholder {
  color: var(--text-muted);
}

.header-search__input::-webkit-search-decoration,
.header-search__input::-webkit-search-cancel-button {
  display: none;
}

.header-search__submit {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  transition: color .2s ease, transform .2s ease;
}

.header-search__submit:hover {
  color: var(--link-text);
  transform: translateY(-1px);
}

.header-search__submit svg {
  width: 20px;
  height: 20px;
}

.header__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  min-width: max-content;
}

.header-search-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  overflow: hidden;
  box-shadow: none;
  transition: color .2s ease, transform .2s ease;
}

.header-search-toggle:hover,
.site-header.is-search-open .header-search-toggle {
  color: var(--brand-text);
  transform: translateY(-2px);
}

.header-search-toggle:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--brand-2) 62%, transparent);
  outline-offset: 4px;
}

.header-search-toggle__icon {
  position: absolute;
  inset: auto;
  width: 18px;
  height: 18px;
  transition: opacity .2s ease, transform .24s cubic-bezier(.22, 1, .36, 1);
}

.header-search-toggle__icon--search {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.header-search-toggle__icon--close {
  opacity: 0;
  transform: scale(.72) rotate(-90deg);
}

.site-header.is-search-open .header-search-toggle__icon--search {
  opacity: 0;
  transform: scale(.72) rotate(90deg);
}

.site-header.is-search-open .header-search-toggle__icon--close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  overflow: hidden;
  box-shadow: none;
  transition: color .2s ease, transform .2s ease;
}

.theme-toggle::before {
  content: none;
}

.theme-toggle:hover {
  color: var(--brand-text);
  transform: translateY(-2px);
}

.theme-toggle:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--brand-2) 62%, transparent);
  outline-offset: 4px;
}

.theme-toggle__icon {
  position: absolute;
  inset: auto;
  width: 19px;
  height: 19px;
  color: currentColor;
  transition: opacity .2s ease, transform .24s cubic-bezier(.22, 1, .36, 1);
}

.theme-toggle__icon--sun {
  opacity: 0;
  transform: scale(.72) rotate(-90deg);
}

.theme-toggle__icon--moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

:root[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

:root[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 0;
  transform: scale(.72) rotate(90deg);
}

.header__cta {
  min-height: 40px;
  padding-inline: 16px;
  border-radius: var(--button-radius, 9px);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}


/* Mobile theme tokens & optimized overrides */
@media (max-width: 900px) {
  :root {
    --mobile-header-bg: #0b1220;
    --mobile-header-border: rgba(255, 255, 255, .10);
    --mobile-header-shadow: 0 12px 30px rgba(0, 0, 0, .30);
    --mobile-surface: #0f172a;
    --mobile-surface-2: #111c2f;
    --mobile-card: #121d31;
    --mobile-card-soft: #182338;
    --mobile-border: rgba(255, 255, 255, .10);
    --mobile-border-strong: rgba(255, 255, 255, .16);
    --mobile-text: #f8fafc;
    --mobile-text-strong: #ffffff;
    --mobile-muted: #94a3b8;
    --mobile-muted-2: #cbd5e1;
    --mobile-backdrop: rgba(2, 6, 23, .68);
    --mobile-shadow: 0 -28px 76px rgba(0, 0, 0, .42);
  }

  :root[data-theme="light"] {
    --mobile-header-bg: #ffffff;
    --mobile-header-border: rgba(12, 24, 43, .10);
    --mobile-header-shadow: 0 10px 26px rgba(16, 24, 39, .08);
    --mobile-surface: #ffffff;
    --mobile-surface-2: #ffffff;
    --mobile-card: #ffffff;
    --mobile-card-soft: #f8fafc;
    --mobile-border: rgba(12, 24, 43, .12);
    --mobile-border-strong: rgba(12, 24, 43, .18);
    --mobile-text: #101827;
    --mobile-text-strong: #111318;
    --mobile-muted: #5e6c80;
    --mobile-muted-2: #506178;
    --mobile-backdrop: rgba(0, 0, 0, .50);
    --mobile-shadow: 0 -28px 70px rgba(0, 0, 0, .20);
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.is-search-open,
  body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open),
  :root[data-theme="light"] .site-header,
  :root[data-theme="light"] .site-header.is-scrolled,
  :root[data-theme="light"] .site-header.is-search-open,
  :root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) {
    background: var(--mobile-header-bg);
    border-bottom-color: var(--mobile-header-border);
    box-shadow: var(--mobile-header-shadow);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .header__logo-mark {
    width: clamp(112px, 31vw, 142px);
  }

  .header__logo-mark,
  body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header__logo-mark,
  :root[data-theme="light"] .header__logo-mark,
  :root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header__logo-mark {
    color: var(--mobile-text-strong);
  }


  .header-search-toggle,
  .theme-toggle,
  body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header-search-toggle,
  body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .theme-toggle,
  :root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header-search-toggle,
  :root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .theme-toggle {
    color: var(--mobile-muted-2);
    filter: none;
  }

  .header-search,
  :root[data-theme="light"] .header-search {
    background: var(--mobile-surface);
    border-top-color: var(--mobile-border);
    border-bottom-color: var(--mobile-border);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .24);
  }

  .header-search__shell h2 {
    color: var(--mobile-text-strong);
  }

  .header-search__form,
  :root[data-theme="light"] .header-search__form {
    background: var(--mobile-card);
    border-color: var(--mobile-border);
  }

  .header-search__input {
    color: var(--mobile-text);
  }

  .header-search__input::placeholder {
    color: var(--mobile-muted);
  }

  .mobile-menu-backdrop {
    background: var(--mobile-backdrop);
  }

  .mobile-app-nav {
    border-top-color: var(--mobile-border-strong);
    background: color-mix(in oklab, var(--mobile-surface) 96%, transparent);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, .18);
  }

  @supports ((-webkit-backdrop-filter: blur(14px)) or (backdrop-filter: blur(14px))) {
    .mobile-app-nav {
      background: color-mix(in oklab, var(--mobile-surface) 88%, transparent);
      -webkit-backdrop-filter: saturate(1.1) blur(14px);
      backdrop-filter: saturate(1.1) blur(14px);
    }
  }

  .mobile-app-nav__item {
    color: var(--mobile-muted-2);
  }

  .mobile-nav-sheet {
    background: var(--mobile-surface);
    color: var(--mobile-text);
    box-shadow: var(--mobile-shadow);
  }

  .mobile-nav-sheet__close,
  .mobile-sheet-back {
    color: var(--mobile-muted-2);
  }

  .mobile-nav-sheet__close:hover,
  .mobile-nav-sheet__close:focus-visible,
  .mobile-sheet-back:hover,
  .mobile-sheet-back:focus-visible {
    color: var(--brand-text);
    background: color-mix(in oklab, var(--brand) 10%, transparent);
  }

  .mobile-sheet-panel__header {
    border-bottom-color: var(--mobile-border);
  }

  .mobile-sheet-panel__header h2 {
    color: var(--mobile-text-strong);
  }

  .mobile-sheet-panel__header p,
  .mobile-sheet-panel__header--detail p {
    color: var(--mobile-muted);
  }

  .mobile-sheet-card {
    border-color: var(--mobile-border);
    background: var(--mobile-card);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .16);
  }

  .mobile-sheet-card:hover,
  .mobile-sheet-card:focus-visible,
  .mobile-sheet-card.is-active,
  .mobile-sheet-card--drilldown.is-submenu-active,
  .mobile-sheet-card--drilldown.is-active {
    border-color: color-mix(in oklab, var(--brand) 40%, var(--mobile-border));
    box-shadow: 0 16px 32px rgba(0, 0, 0, .22);
  }

  .mobile-sheet-card--product,
  .mobile-sheet-card--product > span {
    color: var(--mobile-text-strong);
  }

  .mobile-sheet-card--product .mobile-sheet-card__media {
    background: var(--mobile-card-soft);
  }

  :root[data-theme="dark"] .mobile-sheet-card--product img {
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .24));
  }

  .mobile-sheet-link {
    color: var(--mobile-text);
  }

  .mobile-sheet-link strong {
    color: var(--mobile-text-strong);
  }

  .mobile-sheet-link span {
    color: var(--mobile-muted);
  }

  .mobile-sheet-link:hover,
  .mobile-sheet-link:focus-visible,
  .mobile-sheet-link.is-active,
  .mobile-sheet-link:hover strong,
  .mobile-sheet-link:focus-visible strong,
  .mobile-sheet-link.is-active strong {
    color: var(--brand-text);
  }

  @media (max-width: 380px) {
    .header__logo-mark {
      width: clamp(104px, 31vw, 124px);
    }
  }

  @media (max-width: 340px) {
    .header__logo-mark {
      width: 100px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .mega,
  .nav-button,
  .nav-button::after,
  .mega-tab,
  .mega-tabpanel,
  .mega-feature-link,
  .mega-feature-link strong::after,
  .mega-service-card,
  .mega-image-card,
  .mega-service-card img,
  .mega-image-card img,
  .header-search,
  .header-search__form,
  .header-search__submit,
  .header-search-toggle,
  .header-search-toggle__icon,
  .theme-toggle,
  .theme-toggle::before,
  .theme-toggle__icon {
    transition: none;
  }
}

.mega__rail h2 + .mega-tabs {
  margin-top: 4px;
}

/* Mobile app-style navigation */
.mobile-menu-backdrop,
.mobile-nav-sheet,
.mobile-app-nav {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --mobile-app-nav-height: 74px;
    --mobile-app-nav-total: calc(var(--mobile-app-nav-height) + env(safe-area-inset-bottom, 0px));
  }

  body {
    padding-bottom: var(--mobile-app-nav-total);
  }

  body.is-mobile-menu-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 1190;
    height: var(--header-height);
    background: var(--mobile-header-bg);
    border-bottom-color: var(--mobile-header-border);
    box-shadow: var(--mobile-header-shadow);
    backdrop-filter: none;
  }

  .site-header.is-scrolled,
  .site-header.is-search-open,
  :root[data-theme="light"] .site-header,
  :root[data-theme="light"] .site-header.is-scrolled,
  :root[data-theme="light"] .site-header.is-search-open,
  body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open),
  :root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) {
    background: var(--mobile-header-bg);
    border-bottom-color: var(--mobile-header-border);
    box-shadow: var(--mobile-header-shadow);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header.is-hidden:not(.is-mega-open):not(.is-search-open) {
    transform: translateY(calc(-1 * var(--header-height) - 10px));
  }

  .header__inner {
    width: min(calc(100% - 24px), 680px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .header__nav {
    display: none;
  }

  .header__logo-mark {
    width: clamp(122px, 34vw, 152px);
  }



  .header__actions {
    gap: 6px;
  }

  .header-search-toggle,
  .theme-toggle,
  body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header-search-toggle,
  body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .theme-toggle,
  :root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .header-search-toggle,
  :root[data-theme="light"] body:is(.page-home, .product-page-body) .site-header:not(.is-scrolled):not(.is-mega-open):not(.is-search-open) .theme-toggle {
    width: 38px;
    height: 38px;
    color: var(--mobile-muted-2);
    filter: none;
  }

  .header-search-toggle:hover,
  .theme-toggle:hover,
  .site-header.is-search-open .header-search-toggle {
    color: var(--brand-text);
  }

  .header-search-toggle__icon {
    width: 21px;
    height: 21px;
  }

  .theme-toggle__icon {
    width: 22px;
    height: 22px;
  }

  .header__cta {
    min-height: 38px;
    padding-inline: 12px;
    border-radius: var(--button-radius, 9px);
    font-size: clamp(10.5px, 2.8vw, 12.5px);
    box-shadow: 0 8px 18px rgba(226, 27, 45, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
  }

  .header-search {
    z-index: 1;
    background: var(--mobile-surface);
    border-top-color: var(--mobile-border);
    border-bottom-color: var(--mobile-border);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .24);
  }

  .header-search__shell {
    width: min(calc(100% - 32px), 640px);
    min-height: 220px;
    padding: 36px 0 46px;
  }

  .header-search__form {
    background: var(--mobile-card);
    border-color: var(--mobile-border);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1180;
    display: block;
    background: var(--mobile-backdrop);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease;
  }

  body.is-mobile-menu-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-app-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1210;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: var(--mobile-app-nav-total);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--mobile-border-strong);
    background: color-mix(in oklab, var(--mobile-surface) 96%, transparent);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, .18);
  }

  .mobile-app-nav__item {
    display: inline-grid;
    grid-template-rows: 27px 26px;
    justify-items: center;
    align-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 56px;
    padding: 0 2px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--mobile-muted-2);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    line-height: 1.05;
    text-align: center;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, transform .2s ease;
  }

  .mobile-app-nav__item svg {
    width: 27px;
    height: 27px;
    color: currentColor;
  }

  .mobile-app-nav__item span {
    display: block;
    width: 100%;
    height: 26px;
    max-width: 100%;
    overflow: hidden;
    white-space: normal;
    line-height: 13px;
    text-wrap: normal;
  }

  .mobile-app-nav__item:hover,
  .mobile-app-nav__item:focus-visible,
  .mobile-app-nav__item.is-active {
    color: var(--brand-text);
  }

  body.is-mobile-menu-open .mobile-app-nav__item[href].is-active {
    color: var(--mobile-muted-2);
  }

  .mobile-app-nav__item:active {
    transform: translateY(1px) scale(.98);
  }

  .mobile-app-nav__item:focus-visible {
    outline: 2px solid color-mix(in oklab, var(--brand) 44%, transparent);
    outline-offset: -2px;
  }

  .mobile-nav-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--mobile-app-nav-total);
    z-index: 1200;
    display: block;
    height: auto;
    max-height: min(76svh, calc(100svh - var(--header-height) - var(--mobile-app-nav-total) - 10px));
    padding: 14px 18px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 22px 22px 0 0;
    background: var(--mobile-surface);
    color: var(--mobile-text);
    box-shadow: var(--mobile-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, calc(100% + 16px), 0);
    transition:
      transform .36s cubic-bezier(.22, 1, .36, 1),
      opacity .22s ease,
      visibility .22s ease;
    will-change: transform;
  }

  .mobile-nav-sheet.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .mobile-nav-sheet__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--mobile-muted-2);
    transition: color .2s ease, background .2s ease, transform .2s ease;
  }

  .mobile-nav-sheet__close:hover,
  .mobile-nav-sheet__close:focus-visible {
    color: var(--brand-text);
    background: rgba(226, 27, 45, .07);
  }

  .mobile-nav-sheet__close:active {
    transform: scale(.96);
  }

  .mobile-nav-sheet__close svg {
    width: 22px;
    height: 22px;
  }

  .mobile-sheet-panel {
    min-height: 0;
    padding-bottom: 2px;
  }

  .mobile-sheet-panel[hidden] {
    display: none;
  }

  .mobile-sheet-panel__header {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 0 48px 12px;
    border-bottom: 1px solid var(--mobile-border);
    text-align: center;
  }

  .mobile-sheet-panel__header h2 {
    margin: 0;
    color: var(--mobile-text-strong);
    font-family: var(--font-title);
    font-size: clamp(19px, 5.2vw, 24px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.035em;
  }

  .mobile-sheet-panel__header p {
    max-width: 280px;
    margin: 0;
    color: var(--mobile-muted);
    font-size: clamp(10.5px, 3vw, 12px);
    line-height: 1.45;
  }

  .mobile-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .mobile-sheet-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--mobile-border);
    border-radius: 10px;
    appearance: none;
    background: var(--mobile-card);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(16, 24, 39, .08);
    font: inherit;
    text-align: inherit;
    text-decoration: none;
    transform: translateY(0);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }

  .mobile-sheet-card:hover,
  .mobile-sheet-card:focus-visible,
  .mobile-sheet-card.is-active {
    border-color: color-mix(in oklab, var(--brand) 34%, var(--mobile-border));
    box-shadow: 0 16px 28px rgba(16, 24, 39, .14);
    transform: translateY(-2px);
  }

  .mobile-sheet-card:focus-visible {
    outline: 2px solid color-mix(in oklab, var(--brand) 58%, transparent);
    outline-offset: 3px;
  }

  .mobile-sheet-card--image {
    min-height: clamp(92px, 25vw, 118px);
  }

  .mobile-sheet-card--image .mobile-sheet-card__media {
    position: absolute;
    inset: 0;
    content-visibility: auto;
    contain-intrinsic-size: auto 132px;
    background: color-mix(in oklab, var(--bg-soft) 95%, transparent);
  }

  .mobile-sheet-card--image .mobile-sheet-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 11, 18, .52);
  }

  .mobile-sheet-card--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .28s ease;
  }

  .mobile-sheet-card--image:hover img,
  .mobile-sheet-card--image:focus-visible img {
    transform: scale(1.06);
  }

  .mobile-sheet-card--image > span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    min-height: inherit;
    padding: 12px;
    color: #ffffff;
    font-family: var(--font-title);
    font-size: clamp(13.5px, 3.8vw, 18px);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .58);
  }

  .mobile-sheet-card--image > span::after {
    content: "›";
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 20px;
    line-height: .9;
    opacity: .94;
  }

  .mobile-sheet-card--product {
    display: block;
    min-height: clamp(128px, 34vw, 158px);
    padding: 0;
    color: #ffffff;
    background: #0b1220;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .14);
  }

  .mobile-sheet-card--product .mobile-sheet-card__media {
    position: absolute;
    inset: 0;
    display: block;
    min-height: 0;
    content-visibility: auto;
    contain-intrinsic-size: auto 150px;
    background: color-mix(in oklab, var(--mobile-card-soft) 92%, transparent);
  }

  .mobile-sheet-card--product .mobile-sheet-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(4, 8, 15, .02) 20%,
      rgba(4, 8, 15, .08) 48%,
      rgba(4, 8, 15, .74) 100%
    );
  }

  .mobile-sheet-card--product img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    transition: transform .28s ease;
  }

  .mobile-sheet-card--product:hover img,
  .mobile-sheet-card--product:focus-visible img {
    transform: scale(1.045);
  }

  .mobile-sheet-card--product > span {
    position: absolute;
    right: 9px;
    bottom: 9px;
    left: 9px;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 34px;
    color: #ffffff;
    font-family: var(--font-title);
    font-size: clamp(11.5px, 3.25vw, 13.5px);
    line-height: 1.08;
    letter-spacing: -.025em;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .76);
  }

  .mobile-sheet-card--drilldown {
    cursor: pointer;
    font: inherit;
  }

  .mobile-sheet-card--drilldown > span {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;
  }

  .mobile-sheet-card--drilldown > span::after {
    content: "›";
    flex: 0 0 auto;
    margin-bottom: .04em;
    color: color-mix(in oklab, var(--brand) 86%, var(--mobile-text-strong));
    font-family: var(--font-body);
    font-size: .92em;
    line-height: 1;
  }

  .mobile-sheet-card--drilldown.is-submenu-active,
  .mobile-sheet-card--drilldown.is-active {
    border-color: color-mix(in oklab, var(--brand) 40%, var(--mobile-border));
  }

  .mobile-sheet-drilldown {
    overflow: hidden;
  }

  .mobile-sheet-track {
    display: flex;
    width: 200%;
    align-items: flex-start;
    transform: translate3d(0, 0, 0);
    transition: transform .32s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
  }

  .mobile-sheet-drilldown.is-drilled .mobile-sheet-track {
    transform: translate3d(-50%, 0, 0);
  }

  .mobile-sheet-screen {
    flex: 0 0 50%;
    width: 50%;
    min-width: 0;
  }

  .mobile-sheet-screen--detail {
    padding-inline: 1px;
  }

  .mobile-sheet-detail-panel[hidden] {
    display: none;
  }

  .mobile-sheet-panel__header--detail {
    position: relative;
    padding-inline: 50px;
  }

  .mobile-sheet-panel__header--detail h2 {
    font-size: clamp(17.5px, 4.8vw, 21px);
  }

  .mobile-sheet-panel__header--detail p {
    max-width: 280px;
    color: var(--mobile-muted);
    font-size: clamp(10.5px, 3vw, 12px);
    line-height: 1.45;
  }

  .mobile-sheet-back {
    position: absolute;
    top: -4px;
    left: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--mobile-muted-2);
    transition: color .2s ease, background .2s ease, transform .2s ease;
  }

  .mobile-sheet-back:hover,
  .mobile-sheet-back:focus-visible {
    color: var(--brand-text);
    background: rgba(226, 27, 45, .07);
  }

  .mobile-sheet-back:active {
    transform: scale(.96);
  }

  .mobile-sheet-back svg {
    width: 21px;
    height: 21px;
  }

  .mobile-sheet-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 6vw, 34px) clamp(18px, 6vw, 44px);
    width: min(100%, 720px);
    margin: 12px auto 0;
    padding: 4px clamp(12px, 6vw, 28px) 8px;
  }

  .mobile-sheet-link {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
    padding: 3px 2px;
    border-radius: 10px;
    color: var(--mobile-text);
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
  }

  .mobile-sheet-link strong {
    display: block;
    color: var(--mobile-text-strong);
    font-family: var(--font-title);
    font-size: clamp(12.5px, 3.3vw, 14px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.025em;
  }

  .mobile-sheet-link span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--mobile-muted);
    font-size: clamp(10.5px, 2.9vw, 11.5px);
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .mobile-sheet-link:hover,
  .mobile-sheet-link:focus-visible,
  .mobile-sheet-link.is-active {
    color: var(--brand-text);
    transform: translateY(-1px);
  }

  .mobile-sheet-link:hover strong,
  .mobile-sheet-link:focus-visible strong,
  .mobile-sheet-link.is-active strong {
    color: var(--brand-text);
  }

  .mobile-sheet-link:focus-visible {
    outline: 2px solid color-mix(in oklab, var(--brand) 42%, transparent);
    outline-offset: 7px;
  }

  @media (max-width: 380px) {
    .header__inner {
      width: min(calc(100% - 24px), 680px);
      gap: 8px;
    }

    .header__logo-mark {
      width: clamp(108px, 34vw, 132px);
    }

    .header-search-toggle,
    .theme-toggle {
      width: 34px;
      height: 34px;
    }

    .header-search-toggle__icon {
      width: 19px;
      height: 19px;
    }

    .theme-toggle__icon {
      width: 20px;
      height: 20px;
    }

    .header__cta {
      min-height: 34px;
      padding-inline: 9px;
      font-size: 10.5px;
    }

    .mobile-app-nav {
      padding-inline: 6px;
    }

    .mobile-app-nav__item {
      grid-template-rows: 24px 26px;
      font-size: 11px;
    }

    .mobile-app-nav__item svg {
      width: 24px;
      height: 24px;
    }

    .mobile-nav-sheet {
      padding-inline: 14px;
    }

    .mobile-sheet-grid {
      gap: 12px;
    }

    .mobile-sheet-card--product {
      min-height: 122px;
      padding: 0;
    }

    .mobile-sheet-card--product .mobile-sheet-card__media {
      min-height: 0;
    }

    .mobile-sheet-link-grid {
      gap: 20px 16px;
      padding-inline: 8px;
    }
  }

  @media (max-width: 340px) {
    .header__logo-mark {
      width: 104px;
    }

    .header__actions {
      gap: 4px;
    }

    .header-search-toggle,
    .theme-toggle {
      width: 32px;
      height: 32px;
    }

    .header__cta {
      min-height: 32px;
      padding-inline: 8px;
      font-size: 10px;
    }
  }
}




@media (prefers-reduced-motion: reduce) {
  .mobile-menu-backdrop,
  .mobile-app-nav__item,
  .mobile-nav-sheet,
  .mobile-nav-sheet__close,
  .mobile-sheet-back,
  .mobile-sheet-track,
  .mobile-sheet-card,
  .mobile-sheet-card img,
  .mobile-sheet-link {
    transition: none;
  }
}

/* Quick search results */
.site-header.is-search-open .header-search {
  max-height: min(72vh, 620px);
}

.header-search__results {
  width: min(100%, 760px);
  display: grid;
  gap: 12px;
}

.header-search__status {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-transform: none;
}

.header-search__list {
  display: grid;
  gap: 0;
  max-height: min(46vh, 390px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 4px 0 0;
  scrollbar-width: thin;
}

.header-search-result {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  grid-template-areas:
    "type arrow"
    "title arrow"
    "description arrow";
  gap: 3px 18px;
  align-items: center;
  padding: 14px 6px 14px 10px;
  border: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 86%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  box-shadow: none;
  transition: background .18s ease;
}

.header-search-result:last-child {
  border-bottom: 0;
}

.header-search-result:hover,
.header-search-result:focus-visible,
.header-search-result.is-active {
  background: color-mix(in oklab, var(--brand) 3.5%, transparent);
  outline: 0;
}

.header-search-result__type {
  grid-area: type;
  color: var(--brand-text);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-search-result__title {
  grid-area: title;
  min-width: 0;
  color: var(--text);
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.12;
  transition: color .18s ease;
}

.header-search-result:hover .header-search-result__title,
.header-search-result:focus-visible .header-search-result__title,
.header-search-result.is-active .header-search-result__title {
  color: var(--brand-text);
}

.header-search-result__description {
  grid-area: description;
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.header-search-result__arrow {
  grid-area: arrow;
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--brand-text);
  background: transparent;
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  transition: transform .18s ease;
}

.header-search-result:hover .header-search-result__arrow,
.header-search-result:focus-visible .header-search-result__arrow,
.header-search-result.is-active .header-search-result__arrow {
  transform: translateX(4px);
}

.header-search-empty {
  display: grid;
  gap: 8px;
  padding: 14px 2px 4px;
  border-top: 1px solid color-mix(in oklab, var(--border) 86%, transparent);
}

.header-search-empty p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.header-search-empty a {
  width: fit-content;
  color: var(--brand-text);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header.is-search-open .header-search {
    max-height: min(74dvh, 580px);
  }

  .header-search__shell {
    align-content: start;
    gap: 12px;
    min-height: 0;
    padding-block: 22px 24px;
  }

  .header-search__shell h2 {
    max-width: 310px;
    font-size: clamp(18px, 5vw, 21px);
    line-height: 1.1;
  }

  .header-search__form {
    width: min(100%, 640px);
    height: 46px;
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .header-search__submit {
    width: 46px;
    height: 46px;
  }

  .header-search__results {
    width: min(100%, 640px);
    gap: 10px;
  }

  .header-search__status {
    font-size: 13px;
  }

  .header-search__list {
    max-height: min(44dvh, 350px);
  }

  .header-search-result {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 2px 10px;
    padding: 11px 2px;
  }

  .header-search-result__type {
    font-size: 9px;
  }

  .header-search-result__title {
    font-size: 14px;
  }

  .header-search-result__description {
    font-size: 11.5px;
    line-height: 1.38;
  }

  .header-search-result__arrow {
    width: 26px;
    height: 26px;
    font-size: 23px;
  }
}

@media (max-width: 380px) {
  .header-search__shell {
    width: min(calc(100% - 24px), 640px);
    padding-block: 20px 22px;
  }

  .header-search__input {
    padding-inline: 14px;
    font-size: 13px;
  }

  .header-search-result__description {
    -webkit-line-clamp: 1;
  }
}

/* Safety Device hierarchy: primary items on row one, supporting items side by side on row two. */
.mega-tabpanel[data-mega-tab-panel="safety"] .mega-link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 56px;
  width: min(100%, 700px);
  max-width: 700px;
}

.mega-tabpanel[data-mega-tab-panel="safety"] .mega-feature-link {
  width: 100%;
  max-width: 320px;
}

.mega-feature-link--supporting {
  grid-column: auto;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in oklab, var(--border) 82%, transparent);
}

.mega-feature-link--supporting > span {
  max-width: 300px;
}

.mega-feature-link__badge,
.mobile-sheet-link__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 3px 7px;
  border: 1px solid color-mix(in oklab, var(--brand) 28%, var(--border));
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 7%, var(--surface-solid));
  color: var(--brand-text);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mobile-sheet-link--supporting {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--mobile-border);
}

.mobile-sheet-link--supporting strong {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.mobile-sheet-link__badge {
  min-height: 18px;
  padding: 3px 6px;
  background: rgba(226, 27, 45, .06);
  font-size: 8px;
}
