/* base.css - Reset, typography, accessibility helpers (.sr, .skip) and the page wrapper. */

:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top,0px);
  padding-bottom: env(safe-area-inset-bottom,0px);
}

*,*::before,*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 7rem;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 "Inter Tight",system-ui,-apple-system,"Segoe UI",sans-serif;
  overflow-x: hidden;
  transition: background .25s,color .25s;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  background: #fff;
  color: #17142b;
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.75rem;
}
