@layer components {
  /* Off-screen until it is tabbed to, and then unmissable. Hidden with a
     position rather than with display or visibility, because both of those
     take it out of the tab order — which is the one thing it exists for. */
  .skip-link {
    position: fixed;
    top: calc(var(--safe-top) + var(--space));
    left: var(--space);
    z-index: 30;
    transform: translateY(calc(-100% - var(--space-4)));
    padding: 0 var(--space-3);
    display: inline-flex;
    align-items: center;
    min-height: var(--control-h-sm);
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--accent-ink);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-decoration: none;
    transition: transform var(--transition);
  }

  .skip-link:focus-visible { transform: translateY(0); }
}
