/* ==========================================================================
   ATHAR — reset.css
   A small, modern reset. No opinions that fight the design system.
   ========================================================================== */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  tab-size: 4;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

svg {
  fill: none;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 600;
  overflow-wrap: break-word;
  text-wrap: balance;
}

p,
li {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

button {
  background: none;
  border: none;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

[hidden] {
  display: none !important;
}

/* Numbers and headings read better when they may break at a hyphen. */
[dir="ltr"] {
  hyphens: auto;
}

/* --------------------------------------------------------------------------
   Accessibility primitives
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-block-start: -100px;
  inset-inline-start: var(--sp-3);
  z-index: var(--z-skip);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--c-text);
  color: var(--c-text-inverse);
  font-weight: 600;
  text-decoration: none;
  transition: inset-block-start var(--dur-base) var(--ease-out);
}

.skip-link:focus {
  inset-block-start: var(--sp-3);
}
