/* Minimum prototype — tokens, reset and type.
   Colours follow references/minimum/style-notes.txt. Trade Gothic is not
   bundled; the stacks fall back to locally available condensed grotesques. */

:root {
  --bg: #16171C;
  --bg-raise: #1C1D23;
  --surface: #202128;
  --surface-2: #282930;
  --surface-3: #31323A;
  --line: rgba(236, 236, 236, 0.11);
  --line-2: rgba(236, 236, 236, 0.2);
  --text: #ECECEC;
  --text-2: #B0B1B7;
  --text-3: #8C8D94;
  --coral: #EA908D;
  --coral-hover: #F0A6A3;
  --coral-ink: #16171C;
  --coral-soft: rgba(234, 144, 141, 0.14);
  --amber: #F2BE5C;
  --amber-soft: rgba(242, 190, 92, 0.13);
  --ok: #8FD3A6;
  --ok-soft: rgba(143, 211, 166, 0.12);
  --info: #9DB9F5;

  /* Grade bands — deliberately separate from the coral brand accent. */
  --g1: #F2D440; /* 4a–5a  yellow */
  --g2: #4DBB6A; /* 5b–5c  green  */
  --g3: #4C8DF6; /* 6a–6a+ blue   */
  --g4: #A275FF; /* 6b–6c+ violet */
  --g5: #F4F4F4; /* 7a+    white  */

  --font-display: "Trade Gothic LT Com Bold Cond", "Trade Gothic Next Condensed",
    "Avenir Next Condensed", "AvenirNextCondensed-Bold", "Roboto Condensed",
    "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Trade Gothic LT Com", "Trade Gothic Next", "Helvetica Neue",
    Helvetica, Arial, system-ui, sans-serif;

  --r-s: 4px;
  --r-m: 6px;
  --r-l: 10px;
  --tap: 44px;
  --side-w: 252px;
  --top-h: 56px;
  --tab-h: 64px;
  --gutter: 16px;
  --page-max: 1240px;   /* standard pages: main column + aside */
  --page-narrow: 860px; /* forms, detail and reading pages */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

@media (min-width: 720px) { :root { --gutter: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
a { color: inherit; }
p { margin: 0 0 .8em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.005em; }
h1 { font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(25px, 3.4vw, 34px); }
h3 { font-size: 21px; line-height: 1.12; }
h4 { font-size: 17px; line-height: 1.15; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
.num { font-variant-numeric: tabular-nums; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--coral); color: var(--coral-ink); padding: 10px 14px; border-radius: var(--r-m);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.eyebrow { font-size: 15px; color: var(--text-2); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lede { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.16; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.small { font-size: 14px; line-height: 1.45; }
.tiny { font-size: 12.5px; line-height: 1.4; letter-spacing: .01em; }
.caps { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
