/* ==========================================================
   layout.css
   Page frame: announcement bar, header/navigation and footer.
   ========================================================== */

/* ---------- Announcement bar ---------- */
.announcement {
  height: 34px;
  background: var(--royal);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.spark {
  color: var(--gold);
}
.announcement-end {
  position: absolute;
  right: 5%;
  color: #8f93aa;
}
/* ---------- Header and navigation ---------- */
.site-header {
  height: 82px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
 background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font: 700 13px var(--display);
  letter-spacing: 0.1em;
}
.brand-mark {
  font-size: 35px;
  color: var(--royal);
  line-height: 1;
}
.brand b {
  color: var(--royal);
}
.brand small {
  display: block;
  font: 500 8px var(--sans);
  letter-spacing: 0.27em;
  color: #969bb0;
  margin-top: 3px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 16px;
  font-weight: 700;
  color: #075985;
}
.site-header nav a:hover,
.site-header nav a.is-active,
.footer-links a:hover {
  color: #20BFA5;
}
.site-header nav a {
  position: relative;
  padding: 6px 0;
  color: #075985;
  font-size: 16px;
  font-weight: 700;
  transition: color 0.25s;
}
.site-header nav a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.site-header nav a:hover:after,
.site-header nav a.is-active:after {
  transform: scaleX(1);
}

/* Sections land below the sticky header when a nav link is clicked */
section[id] {
  scroll-margin-top: 82px;
}
.nav-login {
  border: 1px solid #20BFA5;
  background: #20BFA5;
  color: #075985;
  padding: 12px 18px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.nav-login span {
  margin-left: 13px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #075985;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
}
/* ---------- Footer ---------- */
footer {
  padding: 45px 9% 25px;
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  background: #080d1e;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  align-items: center;
}
footer > p {
  font-size: 11px;
  color: #9ca5bb;
  margin: 0;
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  font-size: 10px;
  color: #c4cada;
}
.footer-links button {
  border: 0;
  background: none;
  color: #7e87a2;
  font-size: 10px;
  cursor: pointer;
}
.footer-note {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
  color: #707a96;
  font-size: 9px;
}
