/* AttestPod identity, navigation and closing scene */

.site-header {
  height: 94px;
  padding-top: 13px;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.nav-shell {
  position: relative;
  width: min(100% - 48px, 1440px);
  height: 68px;
  padding: 7px 8px 7px 18px;
  gap: 16px;
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid rgba(20, 40, 78, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 46px rgba(18, 41, 88, 0.12);
  backdrop-filter: blur(22px) saturate(1.3);
}

.brand {
  gap: 9px;
  font-size: 1.48rem;
  letter-spacing: -0.06em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: none;
}

.desktop-nav {
  height: 50px;
  margin: 0 0 0 auto;
  padding: 4px;
  gap: 2px;
  background: #f3f6fb;
  border: 1px solid #e7ebf2;
  border-radius: 16px;
}

.nav-group {
  height: 100%;
}

.nav-trigger,
.nav-link {
  height: 40px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.nav-trigger:hover,
.nav-trigger[aria-expanded="true"],
.nav-link:hover {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 4px 14px rgba(22, 54, 114, 0.08);
  transform: translateY(-1px);
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #66738a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(212, 250, 93, 0.28);
  animation: navSignal 2.4s ease-in-out infinite;
}

.header-cta {
  min-height: 50px;
  padding: 11px 20px;
}

.mega-menu {
  /* Overlap the trigger's hover area so the pointer can reach submenu links. */
  top: 48px;
  width: min(960px, calc(100vw - 64px));
  grid-template-columns: 41% 59%;
  border-color: rgba(22, 42, 80, 0.1);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(13, 35, 76, 0.23);
}

.mega-intro {
  position: relative;
  overflow: hidden;
  padding: 38px 38px 34px;
  background: #0b43d0;
  color: #fff;
}

.mega-intro::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -92px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.92;
}

.mega-kicker {
  color: #bfd2ff;
  margin-bottom: 18px;
}

.mega-intro strong {
  position: relative;
  z-index: 1;
  max-width: 260px;
  font-size: 2rem;
}

.mega-intro p {
  position: relative;
  z-index: 1;
  color: #dce7ff;
  max-width: 270px;
  margin-bottom: 22px;
}

.mega-intro > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  color: #fff;
}

.mega-route {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.mega-route span {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mega-route i {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, #8cacff, var(--lime));
}

.mega-audiences {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.mega-audiences span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-right: -12px;
  border: 2px solid #0b43d0;
  border-radius: 50%;
  background: #fff;
  color: #123b9b;
  font-size: 0.58rem;
  font-weight: 800;
}

.mega-audiences span:nth-child(2) {
  background: var(--lime);
}

.mega-audiences span:nth-child(3) {
  background: var(--peach);
}

.mega-links {
  padding: 18px;
  gap: 4px;
}

.mega-links a {
  min-height: 76px;
  padding: 15px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
}

.mega-links a:hover {
  background: #f7f9fd;
  border-color: #e7ebf3;
  transform: translateX(5px);
}

.menu-icon {
  width: 45px;
  height: 45px;
  border-radius: 14px;
}

.mini-mark {
  width: 22px;
  height: 22px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
}

@keyframes navSignal {
  50% {
    box-shadow: 0 0 0 9px rgba(212, 250, 93, 0.08);
  }
}

/* The international portraits are staged as part of the interface scenes. */
.hero-person {
  width: 470px;
  left: -105px;
  bottom: -135px;
}

.scene-note-top {
  display: none;
}

.standards-deep-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 26px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
}

.standards-deep-link:hover {
  gap: 36px;
}

.learner-scene img {
  width: 680px;
  right: 3%;
  bottom: -405px;
}

/* Closing scene */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 122px;
  background: #071126;
  color: #fff;
  border-radius: 48px 48px 0 0;
}

.footer-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.footer-glow-one {
  top: -260px;
  left: -180px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(21, 85, 237, 0.72), transparent 68%);
}

.footer-glow-two {
  top: 100px;
  right: -240px;
  width: 590px;
  height: 590px;
  background: radial-gradient(
    circle,
    rgba(212, 250, 93, 0.18),
    transparent 69%
  );
}

.footer-watermark {
  position: absolute;
  z-index: -1;
  top: 70px;
  right: 2%;
  width: min(42vw, 620px);
  opacity: 0.075;
  transform: rotate(10deg);
  pointer-events: none;
}

.footer-lead {
  padding-bottom: 110px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-eyebrow,
.footer-nav span {
  color: #aebbd2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.footer-cta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  margin-top: 42px;
}

.footer-cta-row h2 {
  max-width: 1110px;
  margin: 0;
  font-size: clamp(4.4rem, 8.5vw, 9rem);
  line-height: 0.89;
  letter-spacing: -0.078em;
}

.footer-cta-row h2 em {
  color: var(--lime);
  font-style: normal;
}

.footer-launch {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  width: 190px;
  height: 190px;
  padding: 29px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.footer-launch::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  transition: transform 0.55s ease;
}

.footer-launch span,
.footer-launch b {
  position: relative;
  z-index: 1;
}

.footer-launch b {
  line-height: 1;
  font-size: 2rem;
  font-weight: 400;
}

.footer-launch:hover {
  background: #1e60fa;
  transform: rotate(-5deg) scale(1.04);
}

.footer-launch:hover::before {
  transform: rotate(180deg) scale(0.92);
}

.footer-directory {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  gap: 10%;
  padding-top: 70px;
  padding-bottom: 78px;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-mark {
  padding: 2px;
  border-radius: 50%;
  background: #fff;
}

.footer-position p {
  max-width: 390px;
  margin: 23px 0 0;
  color: #aebbd2;
  font-size: 0.94rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.footer-nav div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-nav span {
  margin-bottom: 9px;
  color: #6f82a3;
}

.footer-nav a {
  color: #e4eafa;
  font-size: 0.88rem;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-nav a:hover {
  color: var(--lime);
  transform: translateX(4px);
}

.footer-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  width: 100%;
  padding: 24px 2vw 42px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  white-space: nowrap;
}

.footer-wordmark span {
  font-size: clamp(7.2rem, 17vw, 18rem);
  font-weight: 800;
  line-height: 0.76;
  letter-spacing: -0.09em;
}

.footer-wordmark img {
  width: clamp(90px, 11vw, 180px);
  height: clamp(90px, 11vw, 180px);
  flex: none;
}

.footer-bottom {
  padding: 28px 0 32px;
  color: #8d9cb6;
  border: 0;
}

.footer-bottom a:hover {
  color: var(--lime);
}

@media (max-width: 1250px) {
  .nav-status {
    display: none;
  }

  .desktop-nav {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 82px;
    padding-top: 9px;
  }

  .nav-shell {
    width: calc(100% - 32px);
    height: 64px;
    padding: 7px 12px;
    border-radius: 20px;
  }

  .mobile-toggle {
    border-radius: 12px;
    background: #f2f5fa;
  }

  .mobile-nav {
    top: 78px;
    left: 16px;
    right: 16px;
    padding: 16px 22px 22px;
    border: 1px solid #e3e9f2;
    border-radius: 20px;
    box-shadow: 0 24px 55px rgba(20, 40, 80, 0.18);
  }

  .hero-person {
    width: 410px;
    left: -90px;
    bottom: -145px;
  }

  .learner-scene img {
    right: -70px;
  }

  .footer-cta-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-launch {
    width: 165px;
    height: 165px;
  }

  .footer-directory {
    grid-template-columns: 1fr;
    gap: 55px;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 78px;
    padding-top: 8px;
  }

  .nav-shell {
    width: calc(100% - 24px);
    height: 61px;
    padding-left: 11px;
    border-radius: 18px;
  }

  .brand {
    font-size: 1.27rem;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .mobile-nav {
    top: 73px;
    left: 12px;
    right: 12px;
  }

  .hero-person {
    width: 315px;
    left: -92px;
    bottom: -150px;
  }

  .learner-scene img {
    width: 500px;
    right: -55px;
    bottom: -330px;
  }

  .site-footer {
    padding-top: 82px;
    border-radius: 34px 34px 0 0;
  }

  .footer-watermark {
    top: 145px;
    right: -80px;
    width: 360px;
  }

  .footer-lead {
    padding-bottom: 72px;
  }

  .footer-cta-row {
    gap: 36px;
    margin-top: 28px;
  }

  .footer-cta-row h2 {
    font-size: clamp(3.8rem, 17vw, 5.7rem);
  }

  .footer-launch {
    width: 150px;
    height: 150px;
    padding: 25px;
    gap: 8px;
  }

  .footer-directory {
    padding-top: 55px;
    padding-bottom: 58px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }

  .footer-nav div:last-child {
    grid-column: 1 / -1;
  }

  .footer-wordmark {
    justify-content: flex-start;
    gap: 14px;
    padding: 22px 18px 35px;
  }

  .footer-wordmark span {
    font-size: clamp(5.5rem, 28vw, 8rem);
  }

  .footer-wordmark img {
    width: 72px;
    height: 72px;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 20px;
  }

  .footer-bottom span:nth-child(2) {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-status i {
    animation: none;
  }
}
