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

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 6rem; scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
body { margin: 0; min-width: 320px; background: var(--surface); color: var(--ink); line-height: 1.6; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
::selection { color: #fff; background: var(--blue); }

:focus-visible { outline: 3px solid #00aeca; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 0.75rem; left: 0.75rem; transform: translateY(-160%); padding: 0.75rem 1rem; border-radius: 0.5rem; background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

