.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 6px;
  color: #fff;
  background: #081827;
  font-family: var(--font-body, "Aptos", "Segoe UI", sans-serif);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.chrome a:focus-visible,
.chrome button:focus-visible,
.footer a:focus-visible {
  outline: 3px solid rgba(0, 143, 104, .34);
  outline-offset: 4px;
}

.chrome {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 162px;
  gap: 34px;
  align-items: center;
  min-height: 66px;
  padding: 10px 72px 10px 58px;
  border-bottom: 1px solid rgba(7, 19, 35, .08);
  background: rgba(251, 253, 255, .90);
  box-shadow: 0 14px 42px rgba(5, 16, 28, .045);
  backdrop-filter: blur(20px) saturate(1.04);
}

.home-link {
  width: fit-content;
}

.chrome img {
  width: auto;
  height: 42px;
  max-width: 230px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 54px;
  color: #071832;
  font-family: var(--font-display, "Aptos Display", "Segoe UI", sans-serif);
  font-size: 18px;
  font-weight: 540;
  letter-spacing: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 0;
  border-top: 2px solid transparent;
  color: inherit;
  line-height: 1.08;
  text-decoration: none;
  white-space: nowrap;
  opacity: .96;
}

.nav a:hover {
  border-top-color: currentColor;
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  border: 1px solid rgba(7, 19, 35, .13);
  border-radius: 12px;
  color: var(--ink, #071323);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 28px rgba(5, 16, 28, .08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.chrome.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.chrome.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.chrome.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.site-scan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 13px;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--green, #008f68), var(--green-deep, #006b52));
  box-shadow: 0 18px 38px rgba(0, 111, 82, .20);
  font-family: var(--font-display, "Aptos Display", "Segoe UI", sans-serif);
  font-size: 16px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}

.site-scan-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 48px rgba(0, 111, 82, .24);
}

.site-scan-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, .42fr);
  gap: 64px;
  padding: 44px 68px 34px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #eef6ff;
  background: #081827;
  font-family: var(--font-body, "Aptos", "Segoe UI", sans-serif);
}

.footer h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display, "Aptos Display", "Segoe UI", sans-serif);
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: 0;
}

.footer p {
  margin: 14px 0 0;
  color: #c5d2df;
  font-size: 19px;
  line-height: 1.45;
}

.footer-contact {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-self: end;
  min-width: 300px;
}

.footer-contact a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  color: #fff;
  font-size: 19px;
  font-weight: 760;
  text-decoration: none;
}

.footer-contact svg {
  width: 24px;
  height: 24px;
  color: var(--green-bright, #35d39b);
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #c5d2df;
  font-size: 14px;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-links a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1120px) {
  .chrome,
  .footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .chrome {
    grid-template-columns: 230px minmax(0, 1fr) 150px;
    gap: 22px;
  }

  .nav {
    gap: 28px;
    font-size: 16px;
  }

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

  .footer-contact {
    justify-self: start;
    min-width: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 1040px) {
  .chrome {
    grid-template-columns: minmax(0, 1fr) 42px;
    min-height: 0;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(251, 253, 255, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 34px rgba(5, 16, 28, .08);
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    overflow: visible;
    padding: 8px 0 2px;
    border-top: 1px solid rgba(7, 19, 35, .10);
    font-size: 16px;
  }

  .nav a {
    width: 100%;
    padding: 13px 2px;
    border-top: 0;
    border-bottom: 1px solid rgba(7, 19, 35, .08);
  }

  .nav a:hover {
    border-top-color: transparent;
    color: var(--green-deep, #006b52);
  }

  .chrome.menu-open .nav {
    display: flex;
  }

  .site-scan-button {
    display: none;
  }
}

@media (max-width: 760px) {
  .chrome {
    grid-template-columns: minmax(0, 1fr) 38px;
    padding: 10px 16px;
  }

  .chrome img {
    width: min(184px, 58vw);
    height: 42px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .footer {
    padding: 34px 20px 30px;
  }

  .footer p,
  .footer-contact a {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 13px;
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .footer-links a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle span,
  .site-scan-button {
    transition-duration: .01ms !important;
  }
}
