/* Shared finishing and accessibility rules for the existing campaign and resource pages. */
html {
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #4f46e5;
  outline-offset: 5px;
}
.resource-skip {
  position: fixed;
  top: -100px;
  left: 16px;
  background: #17182b;
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}
.resource-skip:focus {
  top: 12px;
}
body {
  color: #17182b;
}
nav {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #e3e4ed;
}
.nav-links,
.foot-links {
  flex-wrap: wrap;
}
.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
footer .foot-copy {
  color: #aeb2c5;
}
.body,
main > p,
main > ul {
  font-size: 1rem;
}
details summary {
  line-height: 1.5;
}
.btn-primary,
.btn-secondary {
  min-height: 48px;
}
.hero h1,
header h1 {
  letter-spacing: -0.045em;
}
.foot-links a:hover {
  text-decoration: underline;
}
.logo,
.foot-logo {
  letter-spacing: -0.03em;
}
img {
  max-width: 100%;
}
@media (max-width: 760px) {
  nav .nav-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 20px;
  }
  nav .logo {
    font-size: 16px;
  }
  nav .nav-links {
    display: flex;
    gap: 4px 15px;
    width: 100%;
    justify-content: flex-start;
  }
  nav .nav-links a {
    font-size: 13px;
    min-height: 36px;
  }
  nav .nav-links .btn-nav {
    padding: 6px 10px;
  }
  .hero,
  header {
    padding-top: 166px !important;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 8.5vw, 3.3rem);
  }
  .foot-links {
    gap: 14px 20px;
  }
  .compare-wrap {
    overflow-x: auto;
  }
  table {
    font-size: 0.8125rem;
  }
  main {
    max-width: 100%;
  }
  .hero-cta {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
