/*
 * Site nav and footer (Figma: onDiem Brand - Fall 2026, "Web/Nav" and "Footer").
 * Used by every page. The markup lives in scripts/site-chrome.py, which writes
 * it into each page; edit it there and re-run the script.
 */
.sc-nav,
.sc-footer {
  --sc-navy: #2a3b59;
  --sc-navy-dark: #1f2c44;
  --sc-cream: #fffaf5;
  font-family: "Plus Jakarta Sans", Montserrat, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sc-nav *,
.sc-footer * { box-sizing: border-box; }
.sc-nav a,
.sc-footer a { text-decoration: none; font-family: inherit; }
.sc-nav p, .sc-footer p,
.sc-footer h2, .sc-footer label { margin: 0; font-family: inherit; text-transform: none; }

/* ---------- Nav ---------- */
.sc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  color: var(--sc-navy);
  background-color: var(--sc-cream);
  box-shadow: 0 1px 0 rgba(42, 59, 89, .08);
  transition: background-color .2s, box-shadow .2s;
}
/* Pages whose hero is designed to run under the nav (see OVERLAY_PAGES in
   scripts/site-chrome.py) start with a clear nav until the page scrolls. */
.sc-nav--overlay:not(.is-scrolled):not(.is-open) {
  background-color: transparent;
  box-shadow: none;
}
.sc-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 120px;
  max-width: 1440px;
  margin: 0 auto;
}
.sc-nav__brand { flex: 1 1 280px; display: flex; align-items: center; min-width: 0; }
.sc-nav__brand img { display: block; height: 40px; width: auto; max-width: 280px; }
.sc-nav__links { display: flex; align-items: center; gap: 8px; }
.sc-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--sc-navy);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .15s;
}
.sc-nav__link:hover { background-color: rgba(42, 59, 89, .06); }
.sc-nav__link[aria-current="page"] { font-weight: 700; }
.sc-nav__actions { flex: 1 1 280px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.sc-nav__login { color: var(--sc-navy); font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.sc-nav__login:hover { text-decoration: underline; }
.sc-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--sc-navy);
  border-radius: 999px;
  color: var(--sc-navy);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.sc-btn-outline:hover { background-color: var(--sc-navy); color: #fff; }
.sc-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sc-navy);
  cursor: pointer;
}
.sc-nav__toggle svg { width: 28px; height: 28px; display: block; }
.sc-nav__toggle .sc-icon-close { display: none; }
.sc-nav.is-open .sc-nav__toggle .sc-icon-menu { display: none; }
.sc-nav.is-open .sc-nav__toggle .sc-icon-close { display: block; }
.sc-nav__menu { display: none; }

@media (max-width: 1100px) {
  .sc-nav__bar { padding: 0 40px; }
}

@media (max-width: 991px) {
  .sc-nav__bar { height: 70px; padding: 0 16px; }
  .sc-nav__brand img { max-width: none; }
  .sc-nav__bar .sc-nav__links,
  .sc-nav__bar .sc-nav__actions { display: none; }
  .sc-nav__toggle { display: inline-flex; }
  .sc-nav.is-open .sc-nav__menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 16px 24px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .sc-nav__menu nav { display: flex; flex-direction: column; }
  .sc-nav__menu .sc-nav__link { padding: 12px 0; font-size: 18px; line-height: 24px; border-radius: 0; }
  .sc-nav__menu .sc-nav__link:hover { background: none; }
  .sc-nav__menu-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
  .sc-nav__menu .sc-btn-outline,
  .sc-nav__menu .sc-btn-solid { height: 44px; width: 100%; font-size: 16px; }
  .sc-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sc-navy);
    color: #fff;
    font-weight: 700;
  }
}

/* ---------- Footer ---------- */
.sc-footer { background: var(--sc-navy); color: #fff; }
.sc-footer__top {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 132px 56px;
}
.sc-footer__about { flex: 0 1 360px; display: flex; flex-direction: column; gap: 16px; }
.sc-footer__logo img { display: block; width: 101.793px; height: 35.919px; }
.sc-footer__logo .is-mobile { display: none; }
.sc-footer__blurb,
.sc-footer__text { color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 22px; font-weight: 400; }
.sc-footer__mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; line-height: 20px; font-weight: 600; }
.sc-footer__mail svg { width: 18px; height: 18px; flex: none; }
.sc-footer__mail:hover span { text-decoration: underline; }
.sc-footer__links { flex: 1 1 0; display: flex; gap: 48px; min-width: 0; }
.sc-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sc-footer .sc-footer__heading {
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .96px;
  text-transform: uppercase;
  white-space: nowrap;
}
.sc-footer__col a { color: #fff; font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; }
.sc-footer__col a:hover,
.sc-footer__col a[aria-current="page"] { text-decoration: underline; }
.sc-footer__newsletter { flex: 0 1 360px; display: flex; flex-direction: column; gap: 12px; }
.sc-footer__form { margin: 0; }
.sc-footer__form form { display: flex; gap: 8px; margin: 0; }
.sc-footer__input {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--sc-navy);
  font: 400 14px/22px "Plus Jakarta Sans", Montserrat, sans-serif;
}
.sc-footer__input::placeholder { color: #8a93a5; opacity: 1; }
.sc-footer__input:focus { outline: 2px solid #c0f5ce; outline-offset: 2px; }
.sc-footer__submit {
  flex: none;
  height: 44px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--sc-navy);
  font: 700 14px/20px "Plus Jakarta Sans", Montserrat, sans-serif;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.sc-footer__submit:hover { background: #e5f5f5; }
.sc-footer__submit:disabled { opacity: .7; cursor: default; }
.sc-footer__form .w-form-done,
.sc-footer__form .w-form-fail {
  margin: 0;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
}
.sc-footer__form .w-form-done { background: rgba(192, 245, 206, .15); color: #fff; }
.sc-footer__form .w-form-fail { margin-top: 8px; background: rgba(255, 120, 120, .15); color: #fff; }
.sc-footer__social { display: flex; gap: 10px; }
.sc-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  transition: background-color .15s;
}
.sc-footer__social a:hover { background: rgba(255, 255, 255, .1); }
.sc-footer__social img { display: block; }
.sc-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 22px 132px;
  background: var(--sc-navy-dark);
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
}
.sc-footer__bottom a { color: inherit; }
.sc-footer__bottom a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 1100px) {
  .sc-footer__top { padding: 64px 40px 56px; gap: 40px; }
}

@media (max-width: 991px) {
  .sc-footer__top { flex-direction: column; gap: 36px; padding: 48px 24px 0; }
  .sc-footer__about,
  .sc-footer__newsletter { flex: none; width: 100%; }
  .sc-footer__logo { padding: 0 0 16px 8px; }
  .sc-footer__logo .is-desktop { display: none; }
  .sc-footer__logo .is-mobile { display: block; width: 93.793px; height: 19.919px; }
  .sc-footer__links { flex: none; }
  .sc-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 36px 24px 32px;
    background: var(--sc-navy);
  }
}
