@import url("site-navbar.css?v=20261005");

/* Match the home page navigation and footer on the secondary pages. */
.shared-site-shell .site-header {
  background: transparent !important;
  color: var(--text);
}
.shared-site-shell .site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent) !important;
}
.shared-site-shell .site-header-inner {
  width: min(1280px, calc(100% - 48px)) !important;
  height: 78px;
  transition: height .3s cubic-bezier(.2,.7,.2,1);
}
.shared-site-shell .site-header.scrolled .site-header-inner { height: 68px; }
.shared-site-shell .site-header .brand-logo--dark {
  display: block;
  width: 150px;
  height: 64px;
  flex: none;
  background: url("../images/rizen-logo-dark.svg") center / contain no-repeat !important;
  mix-blend-mode: screen;
}
.shared-site-shell .site-header .brand-logo-image { display: none; width: 150px; height: 64px; object-fit: contain; }
html[data-theme="light"] .shared-site-shell .site-header .brand-logo--dark { display: none !important; }
html[data-theme="light"] .shared-site-shell .site-header .brand-logo-image { display: block !important; }
.shared-site-shell .site-header .main-nav { gap: 3px; font-size: .82rem; letter-spacing: .02em; }
.shared-site-shell .site-header .main-nav .nav-direct::after { display: none; }
.shared-site-shell .site-header .mega-menu {
  display: block;
  width: min(500px, calc(100vw - 48px));
  line-height: 1.45;
}
.shared-site-shell .site-header .mega-menu--services { width: min(760px, calc(100vw - 48px)); }
.shared-site-shell .site-header .mega-menu--right { width: min(455px, calc(100vw - 48px)); }
.shared-site-shell .site-header .mega-menu__label { display: block; margin: 2px 5px 14px; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.shared-site-shell .site-header .mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.shared-site-shell .site-header .mega-grid--one { grid-template-columns: 1fr; }
.shared-site-shell .site-header .mega-link { display: grid; gap: 3px; min-height: 64px; padding: 11px 12px; }
.shared-site-shell .site-header .mega-link strong { font-size: .88rem; line-height: 1.25; }
.shared-site-shell .site-header .mega-link span { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.shared-site-shell .site-header .mega-menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 14px 8px 0; border-top: 1px solid var(--border); color: var(--text-soft); font-size: .75rem; line-height: 1.45; letter-spacing: normal; text-transform: none; }
.shared-site-shell .site-header .mega-menu__foot .arrow-link { flex: none; color: var(--text); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.shared-site-shell .site-header .header-actions .button { font-size: .82rem; font-weight: 700; }
.shared-site-shell .mobile-basic-nav { display: none !important; }
.shared-site-shell .mobile-panel { overscroll-behavior: contain; }
.shared-site-shell .mobile-menu { top: 86px; }
.shared-site-shell .mobile-menu nav { display: grid; gap: 6px; }
.shared-site-shell .mobile-menu details { border-bottom: 1px solid var(--border); }
.shared-site-shell .mobile-menu > .cta-wrap { margin-top: 16px; }
.shared-site-shell .mobile-menu > .cta-wrap .button { width: 100%; margin-top: 0; border-radius: 999px; font-size: .82rem; font-weight: 700; }

.shared-site-shell .site-footer {
  position: relative;
  overflow: hidden;
  max-width: none !important;
  margin: 0;
  padding: 36px 24px 18px;
  border-top: 1px solid rgba(83,255,69,.18);
  background: #040704;
  color: #F8F7F1;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}
.shared-site-shell .site-footer > .footer-finale-word,
.shared-site-shell .site-footer > .footer-grid,
.shared-site-shell .site-footer > .footer-bottom { position: relative; z-index: 2; max-width: 1280px; margin-inline: auto; }
.shared-site-shell .footer-finale-word {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  margin-bottom: 58px !important;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248,247,241,.12);
  color: #F8F7F1;
  font: 900 clamp(4.5rem,10vw,9rem)/.78 Manrope, sans-serif;
  letter-spacing: -.085em;
}
.shared-site-shell .footer-finale-word::after { position: absolute; left: 93px; bottom: -3px; width: 88px; height: 6px; background: #53FF45; content: ""; }
.shared-site-shell .footer-finale-cta { display: inline-flex; flex: none; align-items: center; justify-content: center; min-height: 64px; padding: 0 32px; border: 1px solid #53FF45; border-radius: 999px; background: #53FF45; color: #040704 !important; font-size: .82rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.shared-site-shell .site-footer .footer-finale-cta:hover { color: #040704 !important; background: #6dff62; }
.shared-site-shell .footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5,minmax(0,1fr)); gap: 28px; }
.shared-site-shell .footer-brand .brand { display: flex; align-items: flex-start; line-height: 1; }
.shared-site-shell .footer-brand .brand-logo--dark { display: block !important; width: 150px; height: 86px; background: url("../images/rizen-logo-dark.svg") center / contain no-repeat !important; mix-blend-mode: screen; }
.shared-site-shell .footer-brand .brand-logo-image { display: none !important; width: 150px; height: 86px; }
.shared-site-shell .footer-brand p { max-width: 280px; margin: 10px 0 0 !important; }
.shared-site-shell .footer-column { min-width: 0; }
.shared-site-shell .footer-column h4 { margin: 0 0 16px; color: rgba(248,247,241,.56); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.shared-site-shell .footer-column ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.shared-site-shell .footer-column li { margin: 0; padding: 0; }
.shared-site-shell .site-footer a,
.shared-site-shell .site-footer p { color: rgba(248,247,241,.62) !important; }
.shared-site-shell .site-footer a:hover { color: #F8F7F1 !important; }
.shared-site-shell .site-footer .footer-finale-cta { color: #040704 !important; }
.shared-site-shell .footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px !important; padding-top: 12px; border-top: 1px solid rgba(248,247,241,.12); color: rgba(248,247,241,.56); font-size: .8rem; }
.shared-site-shell .footer-bottom > div { display: flex; flex-wrap: wrap; gap: 14px; }

html[data-theme="light"] .shared-site-shell .site-header { background: rgba(255,255,255,.96) !important; color: #040704; }
html[data-theme="light"] .shared-site-shell .site-footer { background: #F3F1E8; color: #040704; border-top-color: rgba(4,7,4,.12); }
html[data-theme="light"] .shared-site-shell .footer-finale-word { color: #040704; border-bottom-color: rgba(4,7,4,.12); }
html[data-theme="light"] .shared-site-shell .footer-column h4,
html[data-theme="light"] .shared-site-shell .footer-bottom { color: rgba(4,7,4,.58); }
html[data-theme="light"] .shared-site-shell .footer-bottom { border-top-color: rgba(4,7,4,.12); }
html[data-theme="light"] .shared-site-shell .site-footer a,
html[data-theme="light"] .shared-site-shell .site-footer p { color: rgba(4,7,4,.66) !important; }
html[data-theme="light"] .shared-site-shell .site-footer a:hover { color: #040704 !important; }
html[data-theme="light"] .shared-site-shell .footer-brand .brand-logo--dark { display: none !important; }
html[data-theme="light"] .shared-site-shell .footer-brand .brand-logo-image { display: block !important; }
html[data-theme="light"] .shared-site-shell .site-footer .footer-finale-cta { color: #040704 !important; }

@media (max-width: 1024px) {
  .shared-site-shell .site-header .main-nav,
  .shared-site-shell .site-header .header-actions .button { display: none; }
  .shared-site-shell .site-header .nav-toggle { display: grid; }
  .shared-site-shell .footer-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 800px) {
  .shared-site-shell .site-header-inner { width: 100% !important; padding-inline: 20px !important; flex-wrap: nowrap; justify-content: space-between; }
  .shared-site-shell .site-header .brand-logo--dark,
  .shared-site-shell .site-header .brand-logo-image { width: 132px; height: 58px; }
}
@media (max-width: 700px) {
  .shared-site-shell .footer-finale-word { display: grid; justify-content: center; justify-items: center; gap: 28px; text-align: center; font-size: clamp(4rem,19vw,6rem); }
  .shared-site-shell .footer-finale-word::after { left: 50%; transform: translateX(-50%); }
  .shared-site-shell .footer-finale-cta { justify-self: center; max-width: 100%; white-space: normal; text-align: center; }
  .shared-site-shell .site-footer { padding-inline: 16px; }
  .shared-site-shell .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; row-gap: 0; }
  .shared-site-shell .footer-brand,
  .shared-site-shell .footer-column:last-child { grid-column: 1 / -1; }
  .shared-site-shell .footer-brand { padding-bottom: 24px; text-align: center; }
  .shared-site-shell .footer-brand .brand { justify-content: center; }
  .shared-site-shell .footer-brand p { max-width: 30ch; margin: 12px auto 0 !important; }
  .shared-site-shell .footer-column { min-width: 0; padding-top: 22px; border-top: 1px solid rgba(248,247,241,.12); text-align: center; }
  .shared-site-shell .footer-column h4 { margin-bottom: 12px; }
  .shared-site-shell .footer-column ul { justify-items: center; }
  .shared-site-shell .footer-column a { display: block; overflow-wrap: anywhere; line-height: 1.45; }
  .shared-site-shell .footer-column:last-child { width: min(100%,240px); justify-self: center; }
  .shared-site-shell .footer-bottom { flex-direction: column; align-items: center; gap: 12px; margin-top: 32px !important; padding-top: 18px; text-align: center; }
  .shared-site-shell .footer-bottom > div { width: 100%; justify-content: center; }
}
