/* Shared customer-facing shell. Loaded only when the relaunch is enabled.
   QR destination artwork, creator controls, admin and semantic alerts are not
   themed here. Public marketing pages keep their dedicated layouts. */
body.site-relaunch-shell:not(.site-home2-page) {
  --site-primary: #237e4d;
  --site-primary-dark: #195f39;
  --site-primary-soft: #edf6ef;
  --site-accent: #237e4d;
  --site-bg: #f4f8f5;
  --site-bg-soft: #f4f8f5;
  --site-text: #18352e;
  --site-muted: #61746b;
  --site-border: #dce7df;
  --site-shadow: 0 12px 36px #18352e08;
  --site-shadow-soft: 0 5px 18px #18352e05;
}
body.site-relaunch-shell :is(.header-global, .site-footer) {
  --site-primary: #237e4d;
  --site-primary-dark: #195f39;
  --site-primary-soft: #edf6ef;
  --site-border: #dce7df;
}
body.site-relaunch-shell .site-navbar {
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.site-relaunch-shell .site-navbar .navbar-nav .nav-link {
  color: #365848;
  line-height: 1.5;
  padding-block: .65rem;
}
body.site-relaunch-shell .site-navbar .navbar-nav .nav-link:is(:hover, .active) {
  color: #195f39;
  background: #edf6ef;
}
body.site-relaunch-shell .site-navbar :is(.site-auth-btn, .navbar-toggler) {
  min-height: 44px;
  border-radius: 10px;
  box-shadow: none;
}
body.site-relaunch-shell .site-navbar :is(.site-auth-btn-signup, .site-account-btn-dashboard) {
  color: #fff;
  background: #237e4d;
  border-color: #237e4d;
}
body.site-relaunch-shell .site-navbar :is(.site-auth-btn-signup, .site-account-btn-dashboard):hover {
  color: #fff;
  background: #195f39;
  border-color: #195f39;
  transform: none;
}
body.site-relaunch-shell .site-navbar :is(.site-auth-btn-login, .site-account-btn-logout) {
  color: #237e4d;
  background: #fff;
  border-color: #aac9b5;
}
body.site-relaunch-shell .site-navbar :is(.site-auth-btn-login, .site-account-btn-logout):hover {
  color: #195f39;
  background: #edf6ef;
  border-color: #237e4d;
  transform: none;
}
/* Outrank the legacy global blue-link rule, but never target the phone/QR. */
body.site-relaunch-shell :is(.public-refresh, .api-manual-main, .site-auth-main, .site-footer) a:not(.btn),
body.site-relaunch-shell.site-utility-page > .site-main a:not(.btn) {
  color: #237e4d;
  text-underline-offset: .2em;
}
body.site-relaunch-shell :is(.public-refresh, .api-manual-main, .site-auth-main, .site-footer) a:not(.btn):hover,
body.site-relaunch-shell.site-utility-page > .site-main a:not(.btn):hover {
  color: #195f39;
}
body.site-relaunch-shell .site-footer {
  background: #fafcf9;
  border-top: 1px solid #e1e9e3;
}
body.site-relaunch-shell .site-footer-shell {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.site-relaunch-shell .site-footer-shell::before { display: none; }
body.site-relaunch-shell .site-footer-title { color: #254a39; letter-spacing: .06em; }
body.site-relaunch-shell :is(.site-footer-copy, .site-footer-meta-copy) { color: #61746b; }
body.site-relaunch-shell .site-footer :is(a.site-footer-link, button.site-footer-link) { color: #526f5b; }
body.site-relaunch-shell :is(.header-global, .site-footer) :is(a, button):focus-visible {
  outline: 3px solid #39815b;
  outline-offset: 3px;
}
/* Utility pages share the same calm canvas and readable card hierarchy. */
body.site-relaunch-shell.site-utility-page:not(.site-ready-register-body) { background: #f4f8f5; }
body.site-relaunch-shell.site-utility-page > .site-main > .site-page-section { padding-block: clamp(32px, 5vw, 64px); }
body.site-relaunch-shell.site-utility-page .site-auth-main { padding-bottom: 64px; }
body.site-relaunch-shell.site-utility-page :is(.site-auth-card, .site-surface) {
  border: 1px solid #dce7df;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px #18352e08;
}
body.site-relaunch-shell.site-utility-page :is(h1, h2, h3) {
  color: #18352e;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
body.site-relaunch-shell.site-utility-page h1 { font-size: clamp(28px, 3vw, 40px); }
body.site-relaunch-shell.site-utility-page :is(p, li) { line-height: 1.75; }
body.site-relaunch-shell.site-utility-page .form-label { color: #345646; font-weight: 600; }
body.site-relaunch-shell.site-utility-page :is(.form-control, .form-select):not(.is-invalid):not(.is-valid) {
  color: #18352e;
  border-color: #cddcd2;
  background-color: #fff;
}
body.site-relaunch-shell.site-utility-page :is(.form-control, .form-select) {
  min-height: 46px;
  border-radius: 10px;
  font-size: 16px;
}
body.site-relaunch-shell.site-utility-page :is(.form-control, .form-select):focus:not(.is-invalid):not(.is-valid) {
  border-color: #39815b;
  box-shadow: 0 0 0 3px #39815b20;
}
body.site-relaunch-shell.site-utility-page :is(input, textarea).form-control::placeholder { color: #71877a; }
body.site-relaunch-shell.site-utility-page .input-group > .form-control:not(:last-child) {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}
body.site-relaunch-shell.site-utility-page .input-group > .password-toggle {
  min-width: 46px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}
body.site-relaunch-shell.site-utility-page .btn { min-height: 44px; border-radius: 10px; font-weight: 650; }
body.site-relaunch-shell.site-utility-page .btn-primary {
  --bs-btn-bg: #237e4d; --bs-btn-border-color: #237e4d;
  --bs-btn-hover-bg: #195f39; --bs-btn-hover-border-color: #195f39;
  --bs-btn-active-bg: #195f39; --bs-btn-active-border-color: #195f39;
  --bs-btn-disabled-bg: #237e4d; --bs-btn-disabled-border-color: #237e4d;
  background: #237e4d; border-color: #237e4d; color: #fff;
  box-shadow: none;
}
body.site-relaunch-shell.site-utility-page .btn-primary:hover { background: #195f39; border-color: #195f39; }
body.site-relaunch-shell.site-utility-page .btn-outline-primary {
  --bs-btn-color: #237e4d; --bs-btn-border-color: #aac9b5;
  --bs-btn-hover-color: #195f39; --bs-btn-hover-bg: #edf6ef; --bs-btn-hover-border-color: #237e4d;
  color: #237e4d; border-color: #aac9b5; background: #fff;
}
body.site-relaunch-shell.site-utility-page .btn-outline-primary:hover { color: #195f39; background: #edf6ef; }
body.site-relaunch-shell.site-utility-page :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #39815b;
  outline-offset: 3px;
}
body.site-relaunch-shell.site-utility-page .legal-content { max-width: 72ch; margin-inline: auto; overflow-wrap: anywhere; }
body.site-relaunch-shell.site-utility-page .legal-content h1 { margin-bottom: 1.5rem; }
body.site-relaunch-shell.site-utility-page .legal-content h2 { font-size: 24px; margin-top: 2rem; }
body.site-relaunch-shell.site-utility-page .legal-content h3 { font-size: 19px; margin-top: 1.5rem; }
body.site-relaunch-shell.site-utility-page .legal-content :is(p, li) { color: #52675c; }
body.site-relaunch-shell.site-utility-page .site-home-kicker {
  color: #237e4d; background: #edf6ef; border-color: #dce7df;
}
body.site-relaunch-shell.site-utility-page .site-testimonial-card { padding: 28px; }
body.site-relaunch-shell.site-utility-page .site-testimonial-quote { color: #365848; font-size: 16px; }
body.site-relaunch-shell.site-utility-page .site-testimonials-grid { align-items: stretch; }
@media (max-width: 991px) {
  body.site-relaunch-shell .site-navbar .navbar-collapse { padding-block: 16px; }
  body.site-relaunch-shell .site-navbar .site-auth-btn { width: 100%; margin-top: 8px; }
}
@media (max-width: 575px) {
  body.site-relaunch-shell.site-utility-page > .site-main > .site-page-section { padding-block: 28px; }
  body.site-relaunch-shell.site-utility-page :is(.site-auth-card, .site-surface) { border-radius: 16px; }
  body.site-relaunch-shell.site-utility-page .site-auth-main .d-flex.justify-content-between {
    flex-wrap: wrap; gap: 12px;
  }
  body.site-relaunch-shell.site-utility-page .site-testimonial-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  body.site-relaunch-shell .site-navbar .site-auth-btn { transition: none; }
}
