/* Shared foundation, global header, mega navigation, dialogs and footer. */

/* Site-wide design tokens. Page-specific variables below alias these values so
   existing selectors and computed styles remain unchanged. */
:root{
  --site-ink:#17212b;
  --site-muted:#68747e;
  --site-paper:#ffffff;
  --site-surface:#f3f6f7;
  --site-primary-soft:#edf6ef;
  --site-line:#dde4e7;
  --site-primary:#07871c;
  --site-primary-dark:#056b17;
  --site-system-blue:#2878a8;
  --site-teal:#14877e;
  --site-alert-red:#d83a32;
  --site-slate:#4b6575;
  --site-navy:#0d1b26;
  --site-content-width:1480px;
  --site-content-gutter:32px;
  --site-header-height:88px;
  --site-header-height-mobile:72px;
  --site-radius-media:16px;
  --site-radius-card:24px;
  --site-radius-large:28px;
  --site-shadow-sm:0 14px 32px rgba(13,27,38,.08);
  --site-font-sans:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --site-contact-dock-height:52px;
  --site-contact-dock-safe-area:env(safe-area-inset-bottom,0px);
  --site-contact-dock-total-height:calc(var(--site-contact-dock-height) + var(--site-contact-dock-safe-area));
  --site-icon-filter-ink:invert(4.4%) sepia(17.3%) saturate(2733%) hue-rotate(169deg) brightness(104.6%) contrast(83.2%);
  --site-icon-filter-primary:invert(47.8%) sepia(48.4%) saturate(1463%) hue-rotate(78.2deg) brightness(64.7%) contrast(68.1%);
  --site-icon-filter-primary-dark:invert(42.3%) sepia(35.7%) saturate(2520%) hue-rotate(78.8deg) brightness(46.8%) contrast(66.2%);
  --site-icon-filter-system:invert(23%) sepia(16.3%) saturate(3917%) hue-rotate(158.1deg) brightness(110.1%) contrast(62.3%);
  --site-icon-filter-slate:invert(6.4%) sepia(19.6%) saturate(3519%) hue-rotate(158.1deg) brightness(175.1%) contrast(47.4%);
  --site-icon-filter-footer:invert(53.4%) sepia(1%) saturate(2603%) hue-rotate(160.9deg) brightness(133.5%) contrast(92.2%);
  --site-icon-filter-white:brightness(0) invert(1);
}

html{scroll-behavior:smooth;}

body{margin:0;background:#fff;font-family:var(--site-font-sans);}

body.menu-open{overflow:hidden;}

html[lang^="zh"] main[id="main-content"] :is(h1,h2,h3){
  letter-spacing:-.01em;
}

.home-chrome-scope{display:contents;}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope){
  --ink:var(--site-ink);
  --ink-soft:var(--site-muted);
  --paper:var(--site-paper);
  --surface:var(--site-surface);
  --primary-soft:var(--site-primary-soft);
  --line:var(--site-line);
  --primary:var(--site-primary);
  --primary-dark:var(--site-primary-dark);
  --system-blue:var(--site-system-blue);
  --teal:var(--site-teal);
  --alert-red:var(--site-alert-red);
  --slate:var(--site-slate);
  --navy:var(--site-navy);
  --shadow-sm:var(--site-shadow-sm);
  --content-width:var(--site-content-width);
  --content-gutter:var(--site-content-gutter);
  --header-height:var(--site-header-height);
}

:is(.home-chrome-scope,.page-home-scope){
  --hero-overlap:230px;
  --section-pad-top:clamp(46px,3.6vw,62px);
  --section-pad-bottom:clamp(46px,3.4vw,58px);
  --section-heading-gap:clamp(34px,3vw,48px);
  --section-title-size:clamp(40px,3.2vw,56px);
  --section-title-size-mobile:clamp(30px,8.5vw,38px);
}

/* Shared page primitives. These selectors replace byte-for-byte-equivalent
   reset/shell declarations that previously lived in individual page files. */
:is(.blog-list-page,.blog-article-page,.doc-page,.product-list-page,.support-center-page,.solution-list2-main) *,
:is(.blog-list-page,.blog-article-page,.doc-page,.product-list-page,.support-center-page,.solution-list2-main) *::before,
:is(.blog-list-page,.blog-article-page,.doc-page,.product-list-page,.support-center-page,.solution-list2-main) *::after{
  box-sizing:border-box;
}

.blog-list-page img,
:is(.blog-article-page,.doc-page,.product-list-page,.support-center-page,.solution-list2-main) :is(img,svg){
  display:block;
  max-width:100%;
}

:is(.blog-list-page,.doc-page,.product-list-page,.support-center-page,.solution-list2-main) a{
  color:inherit;
  text-decoration:none;
}

:is(.product-list-page,.solution-list2-main) button{
  color:inherit;
  font:inherit;
}

.support-center-page :is(button,input){
  font:inherit;
}

:is(.blog-list-page,.support-center-page) .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;
}

:is(.site-shell,.blog-list-shell,.doc-shell,.product-list-shell,.support-center-shell){
  width:min(calc(100% - var(--site-content-gutter)),var(--site-content-width));
  margin-inline:auto;
}

.page-solution-scope *{ box-sizing:border-box; }
.page-solution-scope img{ display:block; max-width:100%; }
.page-solution-scope :is(button,a){ font:inherit; }
.page-solution-scope a{ color:inherit; text-decoration:none; }

/* Local SVG icon system */
.site-icon{
  display:block;
  width:1em;
  height:1em;
  max-width:100%;
  flex:0 0 auto;
  object-fit:contain;
  filter:var(--site-icon-filter-ink);
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) *{
  box-sizing: border-box;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope){
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) img,
:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) svg{
  display: block;
  max-width: 100%;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) a{
  color: inherit;
  text-decoration: none;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) :is(button,input,textarea,select){
  font: inherit;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) button{
  color: inherit;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) :is(h1,h2,h3,p,ul,ol){
  margin-top: 0;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) :is(h1,h2,h3){
  letter-spacing: -.025em;
  line-height: 1.08;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) h1{
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.2vw, 5.25rem);
  font-weight: 600;
}

:is(.page-channel-scope,.page-company-scope,.page-contact-scope) :is(button,a):focus-visible{
  outline:3px solid rgba(7,135,28,.30);
  outline-offset:3px;
}

@media (max-width:1080px){
  :is(.page-channel-scope,.page-company-scope,.page-contact-scope){
    --header-height:var(--site-header-height-mobile);
  }
  :is(.page-channel-scope,.page-company-scope,.page-contact-scope) h1{
    font-size:clamp(2.8rem,9vw,4.7rem);
  }
}

@media (max-width:680px){
  :is(.page-channel-scope,.page-company-scope,.page-contact-scope) h1{
    font-size:clamp(2.5rem,12vw,3.8rem);
  }
  :is(.page-channel-scope,.page-company-scope,.page-contact-scope) h2{
    font-size:clamp(2rem,9vw,3rem);
  }
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) h2{
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 600;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) h3{
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) p{
  color: var(--ink-soft);
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) ul{
  padding-left: 1.2rem;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) .container{
  width: min(calc(100% - var(--content-gutter)), var(--content-width));
  margin-inline: auto;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) main{
  padding-top: var(--header-height);
}

:is(.home-chrome-scope,.page-home-scope) .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;
}

:is(.home-chrome-scope,.page-home-scope) .skip-link{
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 5000;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

:is(.home-chrome-scope,.page-home-scope) .skip-link:focus{
  transform: translateY(0);
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .button:hover{
  transform: translateY(-2px);
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) .button-small{
  min-height: 44px;
  padding-inline: 20px;
  font-size: .9rem;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) .button-dark{
  color: #fff;
  background: var(--ink);
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) .button-dark:hover{
  box-shadow: 0 12px 26px rgba(18, 17, 22, .2);
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .button-primary{
  color: #fff;
  background: var(--site-primary);
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .button-primary:hover{
  background: var(--site-primary-dark);
  box-shadow: 0 12px 26px rgba(7, 135, 28, .22);
}

/* Shared advantage-card component: Why RoIP, Why Becke RoIP and Core Capabilities. */
:is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-card-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}

:is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:350px;
  padding:30px 27px 27px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:8px 9px 0 var(--accent);
  transition:transform .24s ease,box-shadow .24s ease;
}

:is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-card:hover{
  transform:translate(-3px,-5px);
  box-shadow:13px 15px 0 var(--accent);
}

:is(.page-home-scope,.page-channel-scope,.page-company-scope) .accent-primary{ --accent:var(--primary); }
:is(.page-home-scope,.page-channel-scope,.page-company-scope) .accent-system{ --accent:var(--system-blue); }
:is(.page-home-scope,.page-channel-scope,.page-company-scope) .accent-slate{ --accent:var(--slate); }
:is(.page-home-scope,.page-channel-scope,.page-company-scope) .accent-teal{ --accent:var(--teal); }

:is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-icon{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  margin-bottom:26px;
  border-radius:16px;
}

:is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-icon .site-icon{
  width:29px;
  height:29px;
}

:is(.page-home-scope,.page-channel-scope,.page-company-scope) .icon-primary{ color:var(--primary-dark); background:#e8f5ea; }
:is(.page-home-scope,.page-channel-scope,.page-company-scope) .icon-system{ color:#1f668f; background:#eaf3f8; }
:is(.page-home-scope,.page-channel-scope,.page-company-scope) .icon-slate{ color:#3c5665; background:#edf2f4; }
:is(.page-home-scope,.page-channel-scope,.page-company-scope) .icon-teal{ color:#0f6f68; background:#e8f5f3; }

:is(.page-home-scope,.page-channel-scope,.page-company-scope) .icon-primary .site-icon{ filter:var(--site-icon-filter-primary-dark); }
:is(.page-home-scope,.page-channel-scope,.page-company-scope) .icon-system .site-icon{ filter:var(--site-icon-filter-system); }
:is(.page-home-scope,.page-channel-scope,.page-company-scope) .icon-slate .site-icon{ filter:var(--site-icon-filter-slate); }
:is(.page-home-scope,.page-channel-scope,.page-company-scope) .icon-teal .site-icon{ filter:invert(39%) sepia(26%) saturate(1192%) hue-rotate(126deg) brightness(91%) contrast(91%); }

:is(.page-home-scope,.page-channel-scope) .roip-advantages{
  background:var(--surface);
}

.page-home-scope .roip-advantages{
  padding:calc(var(--hero-overlap) + var(--section-pad-top)) 0 var(--section-pad-bottom);
}

.page-channel-scope .roip-advantages{
  padding:clamp(72px,6vw,104px) 0;
}

:is(.page-home-scope,.page-channel-scope) .roip-advantages .section-heading{
  max-width:840px;
  margin-bottom:var(--section-heading-gap,clamp(34px,3vw,48px));
}

:is(.page-home-scope,.page-channel-scope) .roip-advantages .section-heading h2{
  font-size:var(--section-title-size,clamp(40px,3.2vw,56px));
  line-height:1.08;
  letter-spacing:-.03em;
  white-space:nowrap;
}

:is(.page-home-scope,.page-channel-scope) .roip-advantages .section-heading > p:last-child{
  max-width:720px;
  margin-bottom:0;
  font-size:1.05rem;
}

:is(.page-home-scope,.page-channel-scope,.page-company-scope) .card-kicker{
  margin-bottom:14px;
  color:var(--primary-dark);
  font-size:.76rem;
  font-weight:600;
  letter-spacing:.13em;
  text-transform:uppercase;
}

:is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-card h3{
  margin-bottom:14px;
  font-size:1.65rem;
}

:is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-card > p:not(.card-kicker){
  margin-bottom:18px;
  font-size:.94rem;
}

@media (max-width:1120px){
  :is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  :is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-card{
    min-height:330px;
  }
}

@media (max-width:760px){
  :is(.page-home-scope,.page-channel-scope) .roip-advantages .section-heading h2{
    font-size:var(--section-title-size-mobile,clamp(30px,8.5vw,38px));
  }

  :is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-card-grid{
    grid-template-columns:1fr;
  }

  :is(.page-home-scope,.page-channel-scope,.page-company-scope) .advantage-card{
    min-height:0;
  }
}

.hero-cta-group{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-cta-group--left{ justify-content: flex-start; }

.hero-cta-group--center{ justify-content: center; }

.hero-cta-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hero-cta-button:hover{ transform: translateY(-2px); }

.hero-cta-button.hero-cta-button--primary{
  color: #fff;
  background: #07871c;
}

.hero-cta-button.hero-cta-button--primary:hover{
  color: #fff;
  background: #056b17;
}

.hero-cta-button.hero-cta-button--outline{
  color: currentColor;
  background: color-mix(in srgb, currentColor 6%, transparent);
  border-color: color-mix(in srgb, currentColor 28%, transparent);
}

.hero-cta-button.hero-cta-button--outline:hover{
  color: currentColor;
  background: color-mix(in srgb, currentColor 12%, transparent);
  border-color: color-mix(in srgb, currentColor 52%, transparent);
}

.hero-cta-button:focus-visible{
  outline: 3px solid rgba(7, 135, 28, .30);
  outline-offset: 3px;
}

@media (max-width: 480px){
  .hero-cta-group{
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-cta-button{ width: 100%; }
}

@media (prefers-reduced-motion: reduce){
  .hero-cta-button{ transition: none; }
  .hero-cta-button:hover{ transform: none; }
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) .reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

:is(.home-chrome-scope,.page-home-scope,.page-channel-scope,.page-company-scope,.page-contact-scope) .reveal.is-visible{
  opacity: 1;
  transform: none;
}

:is(.home-chrome-scope,.page-home-scope) .site-header{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2000;
  height: var(--header-height);
  background: #fff;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .28s ease, transform .34s cubic-bezier(.22, .61, .36, 1);
}

:is(.home-chrome-scope,.page-home-scope) .site-header.is-campus-replaced{
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

:is(.home-chrome-scope,.page-home-scope) .main-nav-wrap{
  position: relative;
  height: 100%;
  background: #fff;
  border-bottom: 1px solid #eceff1;
  box-shadow: 0 8px 28px rgba(13, 27, 38, .06);
  transition: box-shadow .2s ease;
}

:is(.home-chrome-scope,.page-home-scope) .site-header.is-sticky .main-nav-wrap{
  box-shadow: 0 12px 34px rgba(13, 27, 38, .10);
}

:is(.home-chrome-scope,.page-home-scope) .main-nav{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  width: min(calc(100% - var(--content-gutter)), var(--content-width));
  height: 100%;
  min-height: 0;
  padding: 0;
  margin-inline: auto;
}

:is(.home-chrome-scope,.page-home-scope) .brand{
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  color: #111;
  white-space: nowrap;
}

:is(.home-chrome-scope,.page-home-scope) .brand-logo{
  display: block;
  width: auto;
  height: 46px;
  max-width: 190px;
  object-fit: contain;
}

:is(.home-chrome-scope,.page-home-scope) .primary-nav{
  display: flex;
  align-items: flex-end;
  align-self: stretch;
  min-width: 0;
  height: 100%;
}

:is(.home-chrome-scope,.page-home-scope) .nav-item{
  display: flex;
  align-items: flex-end;
  height: 100%;
}

:is(.home-chrome-scope,.page-home-scope) .nav-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 60px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 12px 12px 0 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

:is(.home-chrome-scope,.page-home-scope) .nav-link .site-icon{
  width: 11px;
  height: 7px;
  transition: transform .18s ease;
}

:is(.home-chrome-scope,.page-home-scope) .nav-link:hover{
  color: var(--primary-dark);
}

:is(.home-chrome-scope,.page-home-scope) .nav-link:hover .site-icon{
  filter:var(--site-icon-filter-primary-dark);
}

:is(.home-chrome-scope,.page-home-scope) .nav-item.is-open > .nav-link,
:is(.home-chrome-scope,.page-home-scope) .nav-item > .nav-link[aria-expanded="true"]{
  color: #fff;
  background: var(--primary);
}

:is(.home-chrome-scope,.page-home-scope) .nav-item.is-open > .nav-link .site-icon,
:is(.home-chrome-scope,.page-home-scope) .nav-item > .nav-link[aria-expanded="true"] .site-icon{
  transform: rotate(180deg);
  filter:var(--site-icon-filter-white);
}

:is(.home-chrome-scope,.page-home-scope) .nav-actions{
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 10px;
  margin-left: auto;
  padding: 0;
}

:is(.home-chrome-scope,.page-home-scope) .nav-actions .button{
  min-width: 150px;
  min-height: 50px;
  padding-inline: 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
}

:is(.home-chrome-scope,.page-home-scope) .nav-tool-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

:is(.home-chrome-scope,.page-home-scope) .nav-tool-button:hover,
:is(.home-chrome-scope,.page-home-scope) .nav-tool-button:focus-visible{
  color: var(--primary-dark);
  border-color: rgba(7, 135, 28, .36);
  background: var(--primary-soft);
}

:is(.home-chrome-scope,.page-home-scope) .nav-tool-button .site-icon{
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

:is(.home-chrome-scope,.page-home-scope) .nav-tool-button:hover .site-icon,
:is(.home-chrome-scope,.page-home-scope) .nav-tool-button:focus-visible .site-icon{
  filter:var(--site-icon-filter-primary-dark);
}

:is(.home-chrome-scope,.page-home-scope) .nav-tool-button-search{
  width: 46px;
  padding: 0;
}

:is(.home-chrome-scope,.page-home-scope) .mobile-tool-actions{
  display: none;
}

:is(.home-chrome-scope,.page-home-scope) .site-dialog{
  width: min(620px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 90px rgba(13, 27, 38, .24);
}

:is(.home-chrome-scope,.page-home-scope) .site-dialog::backdrop{
  background: rgba(8, 19, 27, .54);
  backdrop-filter: blur(4px);
}

:is(.home-chrome-scope,.page-home-scope) .site-dialog-card{
  padding: 30px;
}

:is(.home-chrome-scope,.page-home-scope) .site-dialog-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

:is(.home-chrome-scope,.page-home-scope) .site-dialog-head h2{
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

:is(.home-chrome-scope,.page-home-scope) .site-dialog-close{
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

:is(.home-chrome-scope,.page-home-scope) .site-dialog-close:hover,
:is(.home-chrome-scope,.page-home-scope) .site-dialog-close:focus-visible{
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

:is(.home-chrome-scope,.page-home-scope) .site-search-form{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

:is(.home-chrome-scope,.page-home-scope) .site-search-form input{
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

:is(.home-chrome-scope,.page-home-scope) .site-search-form input:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(7, 135, 28, .12);
}

:is(.home-chrome-scope,.page-home-scope) .site-search-form .button{
  min-height: 54px;
  border-radius: 12px;
}

:is(.home-chrome-scope,.page-home-scope) .site-search-error{
  margin: 10px 0 0;
  color: var(--alert-red);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

:is(.home-chrome-scope,.page-home-scope) .site-search-form input[aria-invalid="true"]{
  border-color: var(--alert-red);
  box-shadow: 0 0 0 3px rgba(216, 58, 50, .10);
}

:is(.home-chrome-scope,.page-home-scope) .site-search-hint{
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

:is(.home-chrome-scope,.page-home-scope) .language-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

:is(.home-chrome-scope,.page-home-scope) .language-grid a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

:is(.home-chrome-scope,.page-home-scope) .language-grid a:hover,
:is(.home-chrome-scope,.page-home-scope) .language-grid a:focus-visible,
:is(.home-chrome-scope,.page-home-scope) .language-grid a[aria-current="true"]{
  color: var(--primary-dark);
  border-color: rgba(7, 135, 28, .34);
  background: var(--primary-soft);
}

:is(.home-chrome-scope,.page-home-scope) .language-grid small{
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (min-width: 1081px) and (max-width: 1320px) {
  :is(.home-chrome-scope,.page-home-scope) .nav-language-text{
      display: none;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .nav-tool-button-language{
      width: 46px;
      padding: 0;
    }
}

:is(.home-chrome-scope,.page-home-scope) .menu-toggle,
:is(.home-chrome-scope,.page-home-scope) .mobile-actions{
  display: none;
}

:is(.home-chrome-scope,.page-home-scope) .mega-menu{
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 30;
  max-height: calc(100vh - var(--header-height));
  overflow: auto;
  visibility: hidden;
  opacity: 0;
  background: transparent;
  border-top: 0;
  transform: translateY(-5px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

:is(.home-chrome-scope,.page-home-scope) .nav-item.is-open .mega-menu{
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

:is(.home-chrome-scope,.page-home-scope) .mega-shell{
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  width: min(calc(100% - var(--content-gutter)), var(--content-width));
  min-height: 430px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 28px 80px rgba(13, 27, 38, .14);
}

:is(.home-chrome-scope,.page-home-scope) .mega-shell-featured{
  grid-template-columns: 300px 300px minmax(0, 1fr) 300px;
}

:is(.home-chrome-scope,.page-home-scope) .mega-shell-featured .mega-panel{
  grid-template-columns: 1fr;
}

:is(.home-chrome-scope,.page-home-scope) .mega-shell-featured .mega-detail-column{
  padding-inline: 28px;
}

:is(.home-chrome-scope,.page-home-scope) .mega-featured-article{
  min-width: 0;
  padding: 28px 30px;
  background: #fff;
  border-left: 1px solid #dedfe3;
}

:is(.home-chrome-scope,.page-home-scope) .mega-feature-card{
  display: block;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(13, 27, 38, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

:is(.home-chrome-scope,.page-home-scope) .mega-feature-card:hover,
:is(.home-chrome-scope,.page-home-scope) .mega-feature-card:focus-visible{
  color: var(--ink);
  border-color: rgba(7, 135, 28, .3);
  box-shadow: 0 20px 46px rgba(13, 27, 38, .12);
  transform: translateY(-2px);
}

:is(.home-chrome-scope,.page-home-scope) .mega-feature-card-media{
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9eef0;
}

:is(.home-chrome-scope,.page-home-scope) .mega-feature-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

:is(.home-chrome-scope,.page-home-scope) .mega-feature-card:hover .mega-feature-card-media img{
  transform: scale(1.025);
}

:is(.home-chrome-scope,.page-home-scope) .mega-feature-card-body{
  padding: 18px 20px 20px;
}

:is(.home-chrome-scope,.page-home-scope) .mega-feature-card-kicker{
  display: block;
  margin-bottom: 9px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

:is(.home-chrome-scope,.page-home-scope) .mega-feature-card h3{
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}

:is(.home-chrome-scope,.page-home-scope) .mega-feature-card p{
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-heading{
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}

:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-list{
  display: grid;
  gap: 12px;
}

:is(.home-chrome-scope,.page-home-scope) .mega-link-list{
  display: grid;
  gap: 9px;
}

:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-item{
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 10px 0;
  color: var(--ink);
  background: transparent;
  transition: transform .18s ease;
}

:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-item:hover,
:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-item:focus-visible{
  color: var(--ink);
  transform: translateY(-1px);
}

:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-media{
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9eef0;
  border-radius: 10px;
}

:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-media img.mega-resource-logo{
  box-sizing:border-box;
  object-fit:contain;
  padding:24px;
  background:#fff;
}

:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-copy{
  min-width: 0;
}

:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-copy span{
  display: block;
  margin-bottom: 5px;
  color: var(--primary-dark);
  font-size:11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

:is(.home-chrome-scope,.page-home-scope) .mega-resource-hot-copy strong{
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (min-width: 1081px) and (max-width: 1280px) {
  :is(.home-chrome-scope,.page-home-scope) .mega-shell{
      grid-template-columns: 250px minmax(0, 1fr) 250px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-shell-featured{
      grid-template-columns: 250px 250px minmax(0, 1fr) 250px;
    }
}

:is(.home-chrome-scope,.page-home-scope) .mega-categories{
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 22px 28px;
  background: #fff;
  border-right: 1px solid #dedfe3;
}

:is(.home-chrome-scope,.page-home-scope) .mega-tab{
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 0;
  border: 0;
  color: #17191c;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

:is(.home-chrome-scope,.page-home-scope) .mega-tab .site-icon{
  width: 21px;
  height: 21px;
}

:is(.home-chrome-scope,.page-home-scope) .mega-tab i{
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  text-align: right;
  transition: transform .18s ease;
}

:is(.home-chrome-scope,.page-home-scope) .mega-tab:hover,
:is(.home-chrome-scope,.page-home-scope) .mega-tab.is-active{
  color: var(--primary-dark);
}

:is(.home-chrome-scope,.page-home-scope) .mega-tab:hover .site-icon,
:is(.home-chrome-scope,.page-home-scope) .mega-tab.is-active .site-icon{
  filter:var(--site-icon-filter-primary-dark);
}

:is(.home-chrome-scope,.page-home-scope) .mega-tab:hover i,
:is(.home-chrome-scope,.page-home-scope) .mega-tab.is-active i{
  transform: translateX(4px);
}

:is(.home-chrome-scope,.page-home-scope) .mega-panels{
  min-width: 0;
  background: #fff;
}

:is(.home-chrome-scope,.page-home-scope) .mega-panel{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 100%;
}

:is(.home-chrome-scope,.page-home-scope) .mega-panel[hidden]{
  display: none;
}

:is(.home-chrome-scope,.page-home-scope) .mega-detail-column{
  min-width: 0;
  padding: 28px 38px 26px;
}

:is(.home-chrome-scope,.page-home-scope) .mega-link-list a{
  width: fit-content;
  max-width: 100%;
  padding: 2px 0;
  color: #4f555b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  transition: color .16s ease, transform .16s ease;
}

:is(.home-chrome-scope,.page-home-scope) .mega-link-list a:hover{
  color: var(--primary-dark);
  transform: translateX(3px);
}

:is(.home-chrome-scope,.page-home-scope) .mega-link-list a.mega-view-all{
  width: 100%;
  margin-top: 8px;
  padding: 12px 0 2px;
  border-top: 1px solid var(--line);
  color: var(--primary-dark);
  font-weight: 500;
  letter-spacing: 0;
  transition: color .16s ease, border-color .16s ease;
}

:is(.home-chrome-scope,.page-home-scope) .mega-link-list a.mega-view-all:hover,
:is(.home-chrome-scope,.page-home-scope) .mega-link-list a.mega-view-all:focus-visible{
  color: var(--primary);
  border-top-color: rgba(7, 135, 28, .28);
  transform: none;
}

:is(.home-chrome-scope,.page-home-scope) .mega-quicklinks h3{
  margin: 0 0 16px;
  color: #16191d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

:is(.home-chrome-scope,.page-home-scope) .mega-quicklinks{
  position: relative;
  padding: 28px 24px;
  background: #f4f4f4;
}

:is(.home-chrome-scope,.page-home-scope) .mega-close{
  position: absolute;
  top: 18px;
  right: max(calc(var(--content-gutter) / 2 + 22px), calc((100vw - var(--content-width)) / 2 + 22px));
  z-index: 32;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

:is(.home-chrome-scope,.page-home-scope) .mega-close::before{
  position: absolute;
  top: 2px;
  left: 15px;
  width: 4px;
  height: 32px;
  background: #000;
  border-radius: 6px;
  content: "";
  transform: rotate(45deg);
}

:is(.home-chrome-scope,.page-home-scope) .mega-close::after{
  position: absolute;
  top: 2px;
  left: 15px;
  width: 4px;
  height: 32px;
  background: #000;
  border-radius: 6px;
  content: "";
  transform: rotate(-45deg);
}

:is(.home-chrome-scope,.page-home-scope) .mega-contact{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 196px;
  min-height: 46px;
  margin: 30px 0 24px;
  color: #fff;
  background: var(--primary);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

:is(.home-chrome-scope,.page-home-scope) .mega-contact:hover{
  background: var(--primary-dark);
}

:is(.home-chrome-scope,.page-home-scope) .mega-quicklinks nav{
  display: grid;
  gap: 14px;
}

:is(.home-chrome-scope,.page-home-scope) .mega-quicklinks nav a{
  width: fit-content;
  color: #33383d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

:is(.home-chrome-scope,.page-home-scope) .mega-quicklinks nav a:hover{
  color: var(--primary-dark);
}

:is(.home-chrome-scope,.page-home-scope) .site-footer{
  color: #fff;
  background: #08131b;
}

:is(.home-chrome-scope,.page-home-scope) .footer-top{
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 70px;
  padding: 74px 0 62px;
}

:is(.home-chrome-scope,.page-home-scope) .brand-light .brand-logo{
  filter: brightness(0) invert(1);
}

:is(.home-chrome-scope,.page-home-scope) .footer-brand{
  align-self: start;
  margin-top: -18px;
}

:is(.home-chrome-scope,.page-home-scope) .footer-brand > p{
  max-width: 450px;
  margin: 20px 0 0;
  color: #a8b4bc;
  font-size: .9rem;
}

:is(.home-chrome-scope,.page-home-scope) .footer-socials{
  max-width: 320px;
  margin-top: 18px;
}

:is(.home-chrome-scope,.page-home-scope) .footer-social-title{
  margin: 0 0 10px;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

:is(.home-chrome-scope,.page-home-scope) .footer-social-list{
  display: flex;
  align-items: center;
  gap: 10px;
}

:is(.home-chrome-scope,.page-home-scope) .footer-social-link{
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(168, 180, 188, .22);
  border-radius: 50%;
  color: #a8b4bc;
  background: rgba(255, 255, 255, .035);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

:is(.home-chrome-scope,.page-home-scope) .footer-social-link:hover,
:is(.home-chrome-scope,.page-home-scope) .footer-social-link:focus-visible{
  color: #fff;
  background: rgba(7, 135, 28, .16);
  border-color: rgba(83, 199, 102, .52);
  transform: translateY(-2px);
}

:is(.home-chrome-scope,.page-home-scope) .footer-social-link .site-icon{
  width: 18px;
  height: 18px;
}

:is(.home-chrome-scope,.page-home-scope) .footer-social-link .site-icon{
  filter:var(--site-icon-filter-footer);
}
:is(.home-chrome-scope,.page-home-scope) .footer-social-link:hover .site-icon,
:is(.home-chrome-scope,.page-home-scope) .footer-social-link:focus-visible .site-icon{
  filter:var(--site-icon-filter-white);
}

:is(.home-chrome-scope,.page-home-scope) .footer-columns{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

:is(.home-chrome-scope,.page-home-scope) .footer-nav-group{
  min-width: 0;
}

:is(.home-chrome-scope,.page-home-scope) .footer-nav-toggle{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 28px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  text-align: left;
  cursor: default;
}

:is(.home-chrome-scope,.page-home-scope) .footer-nav-toggle span{
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

:is(.home-chrome-scope,.page-home-scope) .footer-nav-toggle .site-icon{
  display: none;
  width: 12px;
  height: 8px;
  filter:var(--site-icon-filter-white);
}

:is(.home-chrome-scope,.page-home-scope) .footer-nav-links{
  display: grid;
  gap: 13px;
  margin-top: 8px;
}

:is(.home-chrome-scope,.page-home-scope) .footer-nav-links a{
  color: #a8b4bc;
  font-size: .85rem;
}

:is(.home-chrome-scope,.page-home-scope) .footer-nav-links a:hover{
  color: #fff;
}

:is(.home-chrome-scope,.page-home-scope) .footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 74px;
  border-top: 1px solid #233844;
}

:is(.home-chrome-scope,.page-home-scope) .footer-bottom p{
  margin: 0;
  color: #82919b;
  font-size: .78rem;
}

:is(.home-chrome-scope,.page-home-scope) .footer-bottom div{
  display: flex;
  gap: 22px;
}

:is(.home-chrome-scope,.page-home-scope) .footer-bottom a{
  color: #93a2ab;
  font-size: .78rem;
}

@media (max-width: 1120px) {
  :is(.home-chrome-scope,.page-home-scope) .main-nav{
      gap: 22px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .brand{
      min-width: 168px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .brand-logo{
      height: 42px;
      max-width: 168px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .nav-link{
      padding-inline: 18px;
      font-size: 15px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .nav-actions .button{
      min-width: 146px;
      padding-inline: 22px;
    }
}

@media (max-width: 1080px) {
  :is(.home-chrome-scope,.page-home-scope){
      --header-height: 72px;
      --hero-overlap: 120px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) h1{
      font-size: clamp(2.8rem, 9vw, 4.7rem);
    }
  
    :is(.home-chrome-scope,.page-home-scope) .site-header,
    :is(.home-chrome-scope,.page-home-scope) .site-header.is-campus-replaced{
      height: var(--header-height);
      opacity: 1;
      transform: none;
      pointer-events: auto;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .main-nav{
      display: flex;
      width: 92vw;
      height: var(--header-height);
      min-height: 0;
      padding: 0;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .brand{
      flex: 1 1 auto;
      min-width: 0;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .brand-logo{
      height: 38px;
      max-width: 150px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .menu-toggle{
      display: grid;
      align-content: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      margin-left: auto;
      padding: 10px;
      border: 0;
      background: transparent;
      cursor: pointer;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .menu-toggle span:not(.sr-only){
      display: block;
      height: 2px;
      background: var(--ink);
      transition: transform .2s ease, opacity .2s ease;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .menu-toggle[aria-expanded="true"] span:nth-of-type(2){
      transform: translateY(7px) rotate(45deg);
    }
  
    :is(.home-chrome-scope,.page-home-scope) .menu-toggle[aria-expanded="true"] span:nth-of-type(3){
      opacity: 0;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .menu-toggle[aria-expanded="true"] span:nth-of-type(4){
      transform: translateY(-7px) rotate(-45deg);
    }
  
    :is(.home-chrome-scope,.page-home-scope) .primary-nav{
      position: fixed;
      top: var(--header-height);
      right: 0;
      bottom: 0;
      left: 0;
      display: block;
      height: auto;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      margin: 0;
      padding: 8px 20px calc(32px + env(safe-area-inset-bottom, 0px));
      visibility: hidden;
      opacity: 0;
      background: #fff;
      clip-path: inset(0 0 0 100%);
      pointer-events: none;
      transition: opacity .22s ease, clip-path .22s ease, visibility .22s;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .primary-nav.is-open{
      visibility: visible;
      opacity: 1;
      clip-path: inset(0);
      pointer-events: auto;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .nav-item{
      display: block;
      height: auto;
      border-bottom: 1px solid var(--line);
    }

    :is(.home-chrome-scope,.page-home-scope) .primary-nav > .nav-link.direct{
      border-bottom: 1px solid var(--line);
    }
  
    :is(.home-chrome-scope,.page-home-scope) .nav-link,
  :is(.home-chrome-scope,.page-home-scope) .nav-link.direct{
      display: flex;
      width: 100%;
      height: auto;
      min-height: 54px;
      justify-content: space-between;
      margin: 0;
      padding: 0;
      border-radius: 0;
      font-size: 1rem;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .nav-item.is-open > .nav-link,
  :is(.home-chrome-scope,.page-home-scope) .nav-item > .nav-link[aria-expanded="true"]{
      color: var(--primary-dark);
      background: transparent;
      border-radius: 0;
    }

    :is(.home-chrome-scope,.page-home-scope) .nav-item.is-open > .nav-link .site-icon,
    :is(.home-chrome-scope,.page-home-scope) .nav-item > .nav-link[aria-expanded="true"] .site-icon{
      filter:var(--site-icon-filter-primary-dark);
    }
  
    :is(.home-chrome-scope,.page-home-scope) .nav-actions{
      display: none;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mobile-actions{
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
      padding-top: 28px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mobile-tool-actions{
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mobile-tool-actions .nav-tool-button{
      width: 100%;
      min-height: 48px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-menu{
      position: static;
      width: auto;
      max-height: none;
      display: none;
      overflow: visible;
      visibility: visible;
      opacity: 1;
      border: 0;
      box-shadow: none;
      transform: none;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .nav-item.is-open .mega-menu{
      display: block;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-shell{
      display: block;
      width: auto;
      min-height: 0;
      margin: 0;
      overflow: visible;
      border-radius: 0;
      box-shadow: none;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-categories{
      gap: 0;
      padding: 0;
      border-right: 0;
      border-bottom: 0;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-tab{
      grid-template-columns: 28px minmax(0, 1fr) 24px;
      gap: 12px;
      min-height: 46px;
      padding: 4px 0;
      border-bottom: 1px solid var(--line);
      color: #17191c;
      font-size: .92rem;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-tab.is-active{
      color: #17191c;
    }

    :is(.home-chrome-scope,.page-home-scope) .mega-tab.is-active .site-icon{
      filter:var(--site-icon-filter-ink);
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-tab[aria-expanded="true"]{
      color: var(--primary-dark);
      border-bottom-color: transparent;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-tab .site-icon{
      width: 22px;
      height: 22px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-tab i,
  :is(.home-chrome-scope,.page-home-scope) .mega-tab:hover i,
  :is(.home-chrome-scope,.page-home-scope) .mega-tab.is-active i{
      font-size: 1.2rem;
      transform: none;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-tab[aria-expanded="true"] i{
      transform: rotate(90deg);
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-panels{
      padding: 0;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-panel{
      grid-template-columns: 1fr;
      min-height: 0;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-categories > .mega-panel{
      padding: 0 0 8px 40px;
      border-bottom: 1px solid var(--line);
      background: #f8faf9;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-detail-column{
      padding: 8px 0 10px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-shell-featured .mega-detail-column{
      padding-inline: 0;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-link-list{
      gap: 5px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-link-list a{
      display: flex;
      align-items: center;
      min-height: 34px;
      padding: 2px 0;
      font-size: .9rem;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mega-featured-article,
  :is(.home-chrome-scope,.page-home-scope) .mega-quicklinks,
  :is(.home-chrome-scope,.page-home-scope) .mega-close{
      display: none;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-top{
      grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
  :is(.home-chrome-scope,.page-home-scope){
      --hero-overlap: 0px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) h1{
      font-size: clamp(2.5rem, 12vw, 3.8rem);
    }
  
    :is(.home-chrome-scope,.page-home-scope) h2{
      font-size: clamp(2rem, 9vw, 3rem);
    }
  
    :is(.home-chrome-scope,.page-home-scope) .brand-logo{
      height: 35px;
      max-width: 138px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .mobile-actions{
      grid-template-columns: 1fr;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .site-dialog-card{
      padding: 24px 20px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .site-search-form,
  :is(.home-chrome-scope,.page-home-scope) .language-grid{
      grid-template-columns: 1fr;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-top{
      padding: 58px 0 30px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-columns{
      grid-template-columns: 1fr;
      gap: 0;
      border-top: 1px solid #233844;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-nav-group{
      border-bottom: 1px solid #233844;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-nav-toggle{
      min-height: 58px;
      cursor: pointer;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-nav-toggle .site-icon{
      display: block;
      transition: transform .18s ease;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-nav-toggle[aria-expanded="true"] .site-icon{
      transform: rotate(180deg);
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-nav-links{
      gap: 0;
      margin-top: 0;
      padding: 0 0 14px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-nav-links[hidden]{
      display: none;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-nav-links a{
      display: flex;
      align-items: center;
      min-height: 38px;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-socials{
      max-width: 100%;
    }
  
    :is(.home-chrome-scope,.page-home-scope) .footer-bottom{
      align-items: flex-start;
      flex-direction: column;
      justify-content: center;
      padding: 18px 0;
      border-top: 0;
    }

    :is(.home-chrome-scope,.page-home-scope) .footer-bottom div{
      flex-wrap: wrap;
      column-gap: 18px;
      row-gap: 8px;
    }
}

/* Shared consultation CTA: homepage, product and solution pages. */
:is(.page-home-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .contact-section{
  padding: var(--section-pad-top, clamp(46px, 3.6vw, 62px)) 0 var(--section-pad-bottom, clamp(46px, 3.4vw, 58px));
  color: #fff;
  background: var(--site-paper);
}

:is(.page-home-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .contact-card{
  padding: clamp(30px, 3.4vw, 46px) 7%;
  text-align: center;
  color: #fff;
  background: var(--site-navy);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(13, 27, 38, .16);
}

:is(.page-home-scope,.product-list-page,.solution-list2-main) .contact-card h2,
.page-solution-scope .tuya-campus-page .contact-card h2{
  max-width: 900px;
  margin: 0 auto 12px;
  color: #fff;
  font-size: clamp(2.05rem, 3.2vw, 3.3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}

:is(.page-home-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .contact-card > p{
  max-width: 820px;
  margin: 0 auto 20px;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.65;
}

:is(.page-home-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .contact-card .button-primary{
  min-height: 46px;
  padding-inline: 24px;
  background: var(--site-primary);
}

:is(.page-home-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .contact-card .button-primary:hover{
  background: var(--site-primary-dark);
}

@media (max-width: 640px) {
  :is(.page-home-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .contact-card{
    padding: 28px 20px;
    border-radius: 24px;
  }

  :is(.page-home-scope,.product-list-page,.solution-list2-main,.page-solution-scope) .contact-card .button{
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-channel-scope *,
  .page-channel-scope *::before,
  .page-channel-scope *::after,
  .page-company-scope *,
  .page-company-scope *::before,
  .page-company-scope *::after,
  .page-contact-scope *{
    scroll-behavior:auto !important;
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }

  :is(.page-channel-scope,.page-company-scope,.page-contact-scope) .reveal{
    opacity:1;
    transform:none;
  }

  .page-channel-scope .channel-hero-video{ display:none; }
}

@media print {
  :is(.page-channel-scope,.page-company-scope,.page-contact-scope) .reveal{
    opacity:1 !important;
    transform:none !important;
  }
  .page-channel-scope .channel-hero-video{ display:none; }
}

@media (prefers-reduced-motion: reduce) {
  :is(.home-chrome-scope,.page-home-scope) *,
  :is(.home-chrome-scope,.page-home-scope) *::before,
  :is(.home-chrome-scope,.page-home-scope) *::after{
      scroll-behavior: auto !important;
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
    }
}

@media print {
  :is(.home-chrome-scope,.page-home-scope) .main-nav-wrap,
  :is(.home-chrome-scope,.page-home-scope) .site-header.is-sticky .main-nav-wrap{
      position: relative !important;
    }
}

/* Shared pagination for listing pages. */
.site-pagination{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-top:54px;
}
nav.site-pagination :is(a,span){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  color:#58666f;
  background:#fff;
  border:1px solid #dde4e7;
  border-radius:12px;
  font-size:15px;
  font-weight:600;
}
.site-pagination :is(a,span)[aria-current="page"]{
  color:#fff;
  background:#07871c;
  border-color:#07871c;
}
.site-pagination a:not([aria-current="page"]):not(.is-disabled):hover{
  color:#07871c;
  background:#f4f9f5;
  border-color:#b8cabd;
}
.site-pagination__arrow{
  font-size:22px;
  font-weight:500;
}
.site-pagination .site-pagination__ellipsis{
  width:24px;
  background:transparent;
  border-color:transparent;
  font-weight:500;
}
.site-pagination .site-pagination__arrow.is-disabled{
  color:#b9c1c6;
  background:#f7f8f8;
  border-color:#e3e7e9;
}
.site-pagination [hidden]{
  display:none;
}

@media (max-width:640px){
  .site-pagination{
    gap:8px;
    margin-top:40px;
  }
  nav.site-pagination :is(a,span){
    width:42px;
    height:42px;
  }
  .site-pagination .site-pagination__ellipsis{
    width:18px;
  }
  .site-pagination__optional{
    display:none;
  }
}

/* Shared FAQ section layout and collapsible items. */
.site-faq-section{
  padding:clamp(46px,3.6vw,62px) 0 clamp(46px,3.4vw,58px);
  background:var(--site-surface);
}
.site-faq-shell{
  width:min(calc(100% - var(--site-content-gutter)),var(--site-content-width));
  margin-inline:auto;
}
.site-faq-head{
  max-width:760px;
  margin:0 auto clamp(34px,3vw,48px);
  text-align:center;
}
.site-faq-section .site-faq-shell .site-faq-head h2{
  margin:0 0 18px;
  color:var(--site-ink);
  font-size:clamp(40px,3.2vw,56px);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-.04em;
}
.site-faq-head p{
  max-width:680px;
  margin:0 auto;
  color:var(--site-muted);
  font-size:clamp(15px,1.02vw,17px);
  line-height:1.75;
}
.site-faq-grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:clamp(36px,4vw,64px);
  align-items:center;
}
.site-faq-media{
  min-width:0;
  aspect-ratio:16 / 10;
  margin:0;
  overflow:hidden;
  border-radius:24px;
  background:#dfe5e7;
}
.site-faq-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.site-faq-media--product{
  display:grid;
  place-items:center;
  padding:clamp(24px,3vw,44px);
  background:#fff;
  border:1px solid var(--site-line);
}
.site-faq-media--product img{
  object-fit:contain;
}
.site-faq-list{
  border-top:1px solid var(--site-line);
}
.site-faq-item{
  border-bottom:1px solid var(--site-line);
}
.site-faq-item summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) 34px;
  align-items:center;
  gap:22px;
  padding:24px 0;
  color:var(--site-ink);
  font-size:clamp(18px,1.25vw,21px);
  font-weight:600;
  line-height:1.35;
  list-style:none;
  cursor:pointer;
  transition:color .18s ease;
}
.site-faq-item summary::-webkit-details-marker{
  display:none;
}
.site-faq-item summary::after{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  color:var(--site-ink);
  background:#fff;
  border:1px solid var(--site-line);
  border-radius:50%;
  content:"+";
  font-size:22px;
  font-weight:500;
  line-height:1;
  transition:color .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease;
}
.site-faq-item summary:is(:hover,:focus-visible){
  color:var(--site-primary-dark);
}
.site-faq-item summary:is(:hover,:focus-visible)::after{
  color:#fff;
  background:var(--site-primary);
  border-color:var(--site-primary);
}
.site-faq-item summary:focus-visible{
  outline:3px solid rgba(7,135,28,.30);
  outline-offset:3px;
}
.site-faq-item[open] summary::after{
  color:#fff;
  background:var(--site-primary);
  border-color:var(--site-primary);
  content:"−";
  transform:rotate(180deg);
}
.site-faq-answer{
  padding:0 56px 24px 0;
}
.site-faq-list .site-faq-answer p{
  max-width:820px;
  margin:0;
  color:var(--site-muted);
  font-size:15px;
  line-height:1.78;
}

@media (max-width:760px){
  .site-faq-head{
    margin-bottom:28px;
  }
  .site-faq-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  .site-faq-section .site-faq-shell .site-faq-head h2{
    font-size:clamp(30px,8.5vw,38px);
  }
  .site-faq-media{
    border-radius:20px;
  }

  .site-faq-item summary{
    grid-template-columns:minmax(0,1fr) 32px;
    gap:16px;
    padding:20px 0;
    font-size:17px;
  }
  .site-faq-item summary::after{
    width:32px;
    height:32px;
  }
  .site-faq-answer{
    padding:0 48px 20px 0;
  }
}

/* Mobile-only quick-contact bar. */
.site-contact-dock{
  display:none;
}

@media (max-width:640px){
  body.has-site-contact-dock{
    padding-bottom:var(--site-contact-dock-total-height);
  }
  .site-contact-dock{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:1460;
    display:grid;
    box-sizing:border-box;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
    min-height:var(--site-contact-dock-total-height);
    padding-bottom:var(--site-contact-dock-safe-area);
    overflow:hidden;
    color:#fff;
    background:var(--site-primary);
    border:0;
    border-top:1px solid rgba(255,255,255,.18);
    border-radius:0;
    box-shadow:0 -8px 24px rgba(10,31,18,.12);
  }
  .site-contact-dock__item{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-width:0;
    min-height:var(--site-contact-dock-height);
    padding:0 10px;
    color:#fff;
    text-align:center;
    text-decoration:none;
    transition:background-color .18s ease;
  }
  .site-contact-dock__item + .site-contact-dock__item{
    border-left:1px solid rgba(255,255,255,.32);
  }
  .site-contact-dock__item .site-icon{
    width:17px;
    height:17px;
    flex:0 0 auto;
    filter:var(--site-icon-filter-white);
  }
  .site-contact-dock__item span{
    font-size:14px;
    font-weight:500;
    line-height:1.15;
    white-space:nowrap;
  }
  .site-contact-dock__item:active,
  .site-contact-dock__item:focus-visible{
    color:#fff;
    background:rgba(255,255,255,.10);
  }
  .site-contact-dock__item:focus-visible{
    outline:3px solid rgba(255,255,255,.72);
    outline-offset:-4px;
  }
}

@media print{
  .site-contact-dock{
    display:none!important;
  }
}

/* Privacy choices and consent-controlled analytics. */
.cookie-consent-banner{
  position:fixed;
  box-sizing:border-box;
  right:20px;
  bottom:20px;
  left:20px;
  z-index:1600;
  width:min(calc(100% - 40px),1180px);
  max-height:calc(100vh - 40px);
  max-height:calc(100dvh - 40px);
  margin-inline:auto;
  padding:22px 24px;
  overflow-y:auto;
  overscroll-behavior:contain;
  color:var(--site-ink);
  background:#fff;
  border:1px solid rgba(13,27,38,.12);
  border-radius:20px;
  box-shadow:0 22px 60px rgba(13,27,38,.20);
  font-family:var(--site-font-sans);
}
.cookie-consent-banner[hidden]{
  display:none;
}
.cookie-consent-banner__inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:28px;
}
.cookie-consent-banner__copy{
  min-width:0;
  max-width:760px;
}
.cookie-consent-banner__copy h2{
  margin:0 0 7px;
  color:var(--site-ink);
  font-size:20px;
  font-weight:650;
  line-height:1.25;
  letter-spacing:-.015em;
}
.cookie-consent-banner__copy p{
  margin:0;
  color:var(--site-muted);
  font-size:14px;
  line-height:1.65;
}
.cookie-consent-banner__copy a{
  color:var(--site-primary-dark);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:2px;
}
.cookie-consent-banner__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.cookie-consent-button{
  box-sizing:border-box;
  min-height:44px;
  padding:0 17px;
  border:1px solid #c9d1d5;
  border-radius:10px;
  color:var(--site-ink);
  background:#fff;
  font:600 14px/1 var(--site-font-sans);
  white-space:nowrap;
  cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.cookie-consent-button:hover{
  border-color:#9ba8ae;
  background:#f6f8f8;
}
.cookie-consent-button:focus-visible{
  outline:3px solid rgba(7,135,28,.22);
  outline-offset:2px;
}
.cookie-consent-button--primary{
  color:#fff;
  background:var(--site-primary);
  border-color:var(--site-primary);
}
.cookie-consent-button--primary:hover{
  color:#fff;
  background:var(--site-primary-dark);
  border-color:var(--site-primary-dark);
}
.cookie-consent-button--text{
  padding-inline:10px;
  color:var(--site-primary-dark);
  background:transparent;
  border-color:transparent;
}
.cookie-consent-button--text:hover{
  color:var(--site-primary-dark);
  background:#f3f7f4;
  border-color:transparent;
}
.cookie-settings-dialog{
  width:min(calc(100% - 32px),620px);
  max-height:min(82vh,720px);
  padding:0;
  overflow:hidden;
  color:var(--site-ink);
  background:#fff;
  border:0;
  border-radius:22px;
  box-shadow:0 26px 80px rgba(13,27,38,.28);
  font-family:var(--site-font-sans);
}
.cookie-settings-dialog::backdrop{
  background:rgba(5,18,26,.56);
  backdrop-filter:blur(3px);
}
.cookie-settings-dialog[open]{
  display:block;
}
.cookie-settings-dialog__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:26px 28px 20px;
  border-bottom:1px solid var(--site-line);
}
.cookie-settings-dialog__head h2{
  margin:0 0 7px;
  font-size:25px;
  font-weight:650;
  line-height:1.2;
  letter-spacing:-.02em;
}
.cookie-settings-dialog__head p{
  max-width:470px;
  margin:0;
  color:var(--site-muted);
  font-size:14px;
  line-height:1.6;
}
.cookie-settings-dialog__close{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  padding:0;
  border:1px solid var(--site-line);
  border-radius:50%;
  color:var(--site-ink);
  background:#fff;
  font:400 24px/1 var(--site-font-sans);
  cursor:pointer;
}
.cookie-settings-dialog__body{
  max-height:calc(82vh - 190px);
  overflow:auto;
  padding:8px 28px 4px;
}
.cookie-setting-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  padding:22px 0;
  border-bottom:1px solid var(--site-line);
}
.cookie-setting-row:last-child{
  border-bottom:0;
}
.cookie-setting-row h3{
  margin:0 0 6px;
  color:var(--site-ink);
  font-size:17px;
  font-weight:650;
  line-height:1.3;
}
.cookie-setting-row p{
  margin:0;
  color:var(--site-muted);
  font-size:13px;
  line-height:1.6;
}
.cookie-setting-state{
  color:var(--site-primary-dark);
  font-size:13px;
  font-weight:650;
  white-space:nowrap;
}
.cookie-toggle{
  position:relative;
  display:inline-flex;
  align-items:center;
  width:48px;
  height:28px;
  flex:0 0 48px;
}
.cookie-toggle input{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  opacity:0;
}
.cookie-toggle span{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:#bdc7cc;
  cursor:pointer;
  transition:background-color .18s ease;
}
.cookie-toggle span::after{
  content:"";
  position:absolute;
  top:4px;
  left:4px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 7px rgba(13,27,38,.22);
  transition:transform .18s ease;
}
.cookie-toggle input:checked + span{
  background:var(--site-primary);
}
.cookie-toggle input:checked + span::after{
  transform:translateX(20px);
}
.cookie-toggle input:focus-visible + span{
  outline:3px solid rgba(7,135,28,.22);
  outline-offset:3px;
}
.cookie-settings-dialog__foot{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:20px 28px 24px;
  border-top:1px solid var(--site-line);
}
:is(.home-chrome-scope,.page-home-scope) .footer-cookie-settings{
  margin:0;
  padding:0;
  border:0;
  color:#93a2ab;
  background:transparent;
  font:400 .78rem/1.4 var(--site-font-sans);
  cursor:pointer;
}
:is(.home-chrome-scope,.page-home-scope) .footer-cookie-settings:hover,
:is(.home-chrome-scope,.page-home-scope) .footer-cookie-settings:focus-visible{
  color:#fff;
}
:is(.home-chrome-scope,.page-home-scope) .footer-cookie-settings:focus-visible{
  outline:2px solid rgba(255,255,255,.55);
  outline-offset:3px;
}
@media (max-width:860px){
  .cookie-consent-banner__inner{
    grid-template-columns:1fr;
    gap:18px;
  }
  .cookie-consent-banner__copy{
    max-width:none;
  }
  .cookie-consent-banner__actions{
    justify-content:flex-start;
  }
}
@media (max-width:640px){
  body.has-site-contact-dock.is-cookie-consent-visible{
    padding-bottom:0;
  }
  body.is-cookie-consent-visible .site-contact-dock{
    display:none;
  }
  .cookie-consent-banner{
    right:12px;
    bottom:calc(12px + env(safe-area-inset-bottom,0px));
    left:12px;
    width:calc(100% - 24px);
    max-height:calc(100vh - 24px - env(safe-area-inset-bottom,0px));
    max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));
    padding:18px;
    border-radius:16px;
    -webkit-overflow-scrolling:touch;
  }
  .cookie-consent-banner__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }
  .cookie-consent-button{
    width:100%;
    min-height:46px;
    padding:8px 12px;
    line-height:1.25;
    white-space:normal;
  }
  .cookie-consent-button--text{
    grid-column:1 / -1;
    grid-row:2;
  }
  .cookie-settings-dialog{
    width:calc(100% - 24px);
    border-radius:18px;
  }
  .cookie-settings-dialog__head,
  .cookie-settings-dialog__body,
  .cookie-settings-dialog__foot{
    padding-right:20px;
    padding-left:20px;
  }
  .cookie-setting-row{
    gap:18px;
  }
  .cookie-settings-dialog__foot{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
}
@media print{
  .cookie-consent-banner,
  .cookie-settings-dialog,
  .footer-cookie-settings{
    display:none!important;
  }
}

/* Mobile primary navigation */
@media (max-width:1080px){
  .site-header .primary-nav{
    inset:var(--site-header-height-mobile) 0 0;
    width:100%;
    max-width:none;
    height:auto;
    max-height:none;
    box-sizing:border-box;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    padding-bottom:calc(24px + env(safe-area-inset-bottom));
    scrollbar-gutter:stable;
  }

  .site-header .primary-nav,
  .site-header .primary-nav *{min-width:0}

  .site-header .primary-nav a,
  .site-header .primary-nav button{
    min-height:44px;
    touch-action:manipulation;
    overflow-wrap:anywhere;
  }

  .site-header .primary-nav > ul > li > a,
  .site-header .primary-nav > ul > li > button{min-height:52px}

  .site-header .primary-nav .has-mega-menu,
  .site-header .primary-nav .mega-menu,
  .site-header .primary-nav .mega-close,
  .site-header .primary-nav .mega-shell,
  .site-header .primary-nav .mega-shell-featured,
  .site-header .primary-nav .mega-categories,
  .site-header .primary-nav .mega-tab,
  .site-header .primary-nav .mega-panels,
  .site-header .primary-nav .mega-panel,
  .site-header .primary-nav .mega-detail-column{
    max-width:100%;
    box-sizing:border-box;
  }

  .site-header .primary-nav [class*="grid"],
  .site-header .primary-nav [class*="columns"]{grid-template-columns:minmax(0,1fr)}

  body.is-mobile-nav-open{overflow:hidden}
}

/* Mobile component hardening */
@media (max-width:760px){
  .footer-bottom > div,
  .footer-bottom__links{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    column-gap:18px;
    row-gap:10px;
    min-width:0;
  }

  .contact-card__actions,
  .hero-cta-group{
    min-width:0;
    flex-wrap:wrap;
  }

  .contact-card__actions > *,
  .hero-cta-group > *{min-width:0}

  pre,
  .content-prose pre{
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
}

@media (max-width:480px){
  .contact-card__actions .button,
  .contact-card__actions a.button{width:100%}
}
