/* Melius reference: separated navigation surfaces and layered footer branding. */
.site-header {
  border: 0;
  background: transparent;
}
.header-inner {
  height: 92px;
  gap: 20px;
}
.header-inner > .brand {
  min-height: 60px;
  padding: 10px 22px 10px 14px;
  border: 1px solid #35465c;
  border-radius: 10px;
  background: #111a26;
  box-shadow: 0 3px 14px #00000016;
}
.header-nav {
  height: auto;
  margin: 0 0 0 auto;
  gap: 6px;
  padding: 5px;
  border: 1px solid #35465c;
  border-radius: 10px;
  background: #111a26;
}
.header-nav a {
  min-height: 44px;
  height: auto;
  padding: 10px 19px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: background 180ms, color 180ms;
}
.header-nav a.active {
  color: #061725;
  background: var(--cyan);
}
.header-nav a:not(.active):hover {
  background: #25364b;
  color: var(--text);
}
.header-nav a.active::after,
.header-note {
  display: none;
}
.info-card h3 {
  font-size: 18px;
}
.site-footer {
  border: 0;
  position: relative;
  isolation: isolate;
  background-color: var(--bg);
  background-image: radial-gradient(#46628135 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  padding-top: 68px;
  padding-bottom: 80px;
}
.site-footer::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(var(--bg), transparent 110px, transparent 85%, var(--bg));
}
.footer-inner {
  display: block;
  padding-top: 0;
  padding-bottom: 0;
}
.footer-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #52667d;
  font-weight: 800;
  font-size: clamp(70px, 11.9vw, 176px);
  line-height: 1.1;
  letter-spacing: -0.07em;
  white-space: nowrap;
  padding-bottom: 40px;
}
.footer-wordmark > svg {
  width: 0.9em;
  height: 0.9em;
  color: #4b6f8b;
  flex-shrink: 0;
  transition: color 350ms;
}
.footer-wordmark::before {
  content: "";
  z-index: -1;
  position: absolute;
  left: 0;
  top: -20%;
  width: 40%;
  height: 150%;
  background: radial-gradient(ellipse at center, #168dd22d, transparent 65%);
  opacity: 0.5;
  transition: opacity 350ms;
}
.site-footer:hover .footer-wordmark::before,
.site-footer:focus-within .footer-wordmark::before {
  opacity: 1;
}
.site-footer:hover .footer-wordmark > svg,
.site-footer:focus-within .footer-wordmark > svg {
  color: #38b7ef;
}
.wordmark-dot {
  color: #4a819d;
}
.footer-panel {
  position: relative;
  z-index: 1;
  margin-top: -64px;
  padding: 42px 40px 18px;
  border: 1px solid #2b3b4f;
  border-radius: 12px;
  background: #111b29;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 60px;
  padding-bottom: 36px;
}
.footer-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #92b9d5;
  margin-bottom: 16px;
}
.footer-invitation h2 {
  font-size: 36px;
  line-height: 1.35;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.footer-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 14px;
}
.footer-cta {
  width: min(100%, 330px);
  min-height: 54px;
  margin-top: 24px;
  padding: 7px 9px 7px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #d8f4ff;
  border: 1px solid #d8f4ff;
  border-radius: 8px;
  color: #072030;
  font-size: 14px;
  font-weight: 650;
  transition: background 180ms;
}
.footer-cta > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #669bb44d;
  border-radius: 5px;
}
.footer-cta:hover {
  background: #a5e8ff;
}
.footer-cta svg {
  width: 21px;
  height: 21px;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 22px;
  padding-top: 6px;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-column h3 {
  color: #d4e0ed;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.footer-column a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9b8cd;
  font-size: 13px;
  transition: color 180ms;
}
.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--cyan);
}
.footer-column a svg {
  width: 12px;
  height: 12px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 62px;
  padding-top: 16px;
  border-top: 1px solid #2b3b4f;
  color: var(--muted);
  font-size: 11px;
}
.footer-bottom .footer-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.footer-caption svg {
  width: 14px;
  height: 14px;
  color: #67bade;
}
.footer-bottom > span {
  white-space: nowrap;
}
.footer-bottom > a {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
}
.footer-bottom > a svg {
  width: 14px;
  height: 14px;
}
@media (max-width: 1000px) {
  .footer-panel {
    padding: 32px 28px 16px;
  }
  .footer-top {
    grid-template-columns: 0.95fr 1.5fr;
    gap: 32px;
  }
  .footer-invitation h2 {
    font-size: 30px;
  }
  .footer-columns {
    gap: 12px;
  }
}
@media (max-width: 760px) {
  .header-inner {
    height: 80px;
    gap: 9px;
  }
  .header-inner > .brand {
    min-height: 48px;
    gap: 6px;
    padding: 7px 11px 7px 8px;
  }
  .header-inner .brand-kicker {
    display: none;
  }
  .header-inner .brand-name {
    font-size: 19px;
  }
  .header-inner .brand-mark {
    width: 26px;
    height: 30px;
  }
  .header-nav {
    padding: 3px;
    gap: 2px;
  }
  .header-nav a {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .info-card h3 {
    font-size: 15px;
  }
  .site-footer {
    padding-top: 38px;
    padding-bottom: 32px;
    background-size: 17px 17px;
  }
  .footer-wordmark {
    font-size: clamp(40px, 11.3vw, 84px);
    gap: 0;
    padding: 0 0 20px;
    line-height: 1.3;
  }
  .footer-panel {
    margin-top: -26px;
    padding: 26px 22px 16px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 26px;
  }
  .footer-eyebrow {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .footer-invitation h2 {
    font-size: 30px;
  }
  .footer-description {
    font-size: 13px;
    margin-top: 12px;
  }
  .footer-cta {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    font-size: 13px;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding-top: 0;
  }
  .footer-column:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 10px;
  }
  .footer-column:last-child h3 {
    grid-column: 1 / -1;
  }
  .footer-column h3 {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .footer-column a {
    font-size: 12px;
    gap: 5px;
    min-height: 44px;
  }
  .footer-column a svg {
    width: 10px;
    height: 10px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 12px;
    font-size: 10px;
    padding-top: 20px;
  }
  .footer-bottom .footer-caption {
    flex-basis: 100%;
    font-size: 10px;
    gap: 5px;
  }
  .footer-bottom > a {
    margin-left: auto;
  }
}
@media (max-width: 360px) {
  .header-nav a {
    padding: 8px;
    font-size: 11px;
  }
  .footer-panel {
    padding-left: 18px;
    padding-right: 18px;
  }
  .footer-column:last-child {
    display: flex;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-wordmark::before,
  .footer-wordmark > svg,
  .header-nav a,
  .footer-cta,
  .footer-column a {
    transition: none;
  }
}
