*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text-primary);
  font: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

a { color: var(--gold-300); text-decoration: none; }
a:hover { color: var(--gold-200); text-decoration: underline; }

::selection { background: rgba(212, 170, 82, .35); color: var(--silver-50); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 10px; border: 2px solid var(--bg-app); }

.ic { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: middle; stroke-width: 1.75; }
.ic--xs { width: 12px; height: 12px; }
.ic--sm { width: 14px; height: 14px; }
.ic--md { width: 18px; height: 18px; }
.ic--lg { width: 20px; height: 20px; }
.ic--xl { width: 24px; height: 24px; }

.mono { font: var(--text-data); }
.mono-sm { font: 400 11px/1.5 var(--font-mono); color: var(--text-muted); }
.muted { color: var(--text-muted); }
.secondary { color: var(--text-secondary); }
.gold { color: var(--gold-300); }
.strong { font-weight: 600; color: var(--text-primary); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }

.label {
  font: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

.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;
}

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--sm { gap: 10px; }
.stack--xs { gap: 6px; }
.row { display: flex; align-items: center; gap: 8px; }
.row--wrap { flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.row--top { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.mt-16 { margin-top: 16px; }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.inline-form { display: inline; margin: 0; }
