/* The first keyboard control stays outside the normal visual layout. */
.skip-link {
  z-index: 2000;
  position: fixed;
  top: 12px;
  left: 24px;
  max-width: calc(100vw - 48px);
  padding: 12px 20px;
  border-radius: 100px;
  background: #f0eeeb;
  color: #111;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: underline;
  transform: translateY(-200%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid #f0eeeb;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #111;
}

#main-content {
  scroll-margin-top: 96px;
}

/* Programmatic landmark focus does not draw a border around the entire page. */
#main-content:focus {
  outline: none;
}

/* A fast keyboard user must never focus the CTA while its entrance animation
   still hides or moves its parent. Ordinary unfocused animation stays intact. */
.button-link-wrapper:has(:focus-visible) {
  opacity: 1 !important;
  transform: none !important;
}
