/* Resets and base rules beyond what tokens.css already sets. */

img, video, svg { display: block; max-width: 100%; height: auto; }

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

::selection { background: var(--kgc-brass-300); color: var(--kgc-ink); }

.kgc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kgc-skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 1000;
  background: var(--kgc-green-950);
  color: var(--fg-inverse);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 0 var(--radius-sm) 0;
}
.kgc-skip-link:focus {
  top: 0;
}

/* Fallback pages (Sample Page, Hello World, 404) — not part of the
   designed experience, just enough to not look broken. */
.kgc-generic-content {
  padding-block: calc(var(--space-24) + 96px) var(--space-24);
}
.kgc-generic-content--404 {
  text-align: center;
}
.kgc-meta {
  margin-bottom: var(--space-6);
}
