@font-face {
  font-family: "Courier Display";
  src: url("display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Courier Body";
  src: url("body.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14171f;
  --ink-deep: #0c0e13;
  --panel: #1c212c;
  --panel-2: #262c3a;
  --primary: #ff4d2e;
  --primary-dark: #8c140f;
  --secondary: #ffc531;
  --accent: #ff7a18;
  --highlight: #ffe7a3;
  --text: #f6ecdc;
  --muted: #b7ab9c;
  --success: #3ecf78;
  --danger: #ff3d4a;
  --metal: #9aa3b2;
  --line: rgba(255, 197, 49, 0.55);
  --display: "Courier Display", "Trebuchet MS", sans-serif;
  --body: "Courier Body", "Trebuchet MS", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(15px, 2.7vw, 17px);
  line-height: 1.45;
}

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

button { cursor: pointer; }

img { max-width: 100%; display: block; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3, .btn, .brand-name, .node-index, .score-pop {
  font-family: var(--display);
  letter-spacing: 0.01em;
  line-height: 1.05;
}

h1 { font-size: clamp(1.8rem, 7vw, 3.2rem); }

h2 { font-size: clamp(1.25rem, 4vw, 1.7rem); }

.kicker {
  margin: 0 0 0.25rem;
  color: var(--secondary);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede, .summary { color: var(--highlight); }

.ico {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
}

.ico svg { width: 100%; height: 100%; }

[hidden] { display: none !important; }
