/* Rollcage — brand tokens (source: brand.md). Imported read-only by the landing and the app.
   Fonts (load in each page <head>):
   https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@100..900&family=Big+Shoulders+Stencil+Display:wght@100..900&family=Archivo:wdth,wght@62..125,100..900&family=Azeret+Mono:wght@100..900&display=swap */

:root {
  --bay: #E4E6E3;     /* page background — test-bay concrete */
  --panel: #F6F7F5;   /* cards, report paper */
  --grid: #C3C8C2;    /* measurement grid, dividers */
  --carbon: #121314;  /* text, footage monitor background, heavy blocks */
  --marker: #FFCF1F;  /* crash-test yellow: mark, primary button bg (carbon text), highlights — never text on light bg */
  --fail: #E0301E;    /* FAIL stamps, blocked */
  --pass: #1E8F4E;    /* PASS / cosigned, sparingly */
}

/* Base element styles — no component classes. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bay);
  color: var(--carbon);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2 {
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif;
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

h1 {
  font-weight: 900;
}

code,
kbd,
samp,
pre {
  font-family: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

a {
  color: inherit;
}

img,
svg,
video {
  max-width: 100%;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--grid);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--carbon);
  outline-offset: 2px;
}

::selection {
  background: var(--marker);
  color: var(--carbon);
}

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