/* ==========================================================================
   BASE RESET & ACCESSIBILITY LOCKS
   Standard: antislop-human + industrial-brutalist-ui
   - Zero border-radius across all elements (R-11)
   - Visible focus indicator with >= 3:1 contrast ratio (R-32, R-34)
   - High contrast normal text >= 4.5:1 (R-25)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Industrial Brutalist 90-degree mandate */
}

html {
  font-size: 16px;
  background-color: var(--color-substrate);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-substrate);
  color: var(--color-ink);
  overflow-x: hidden;
}

/* Accessibility: Visible Focus Ring (R-32) */
:focus-visible {
  outline: 2px solid var(--color-hazard) !important;
  outline-offset: 2px !important;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: var(--border-line);
}

button {
  cursor: pointer;
  min-height: var(--min-tap);
  min-width: var(--min-tap);
}

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

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

ul, ol {
  list-style: none;
}

/* Skip link for keyboard users (WCAG AA) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-hazard);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-family: var(--font-telemetry);
  font-size: var(--type-telemetry);
  text-transform: uppercase;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}
