/* Base styles shared by every page. Component styles build on these in later milestones. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--action);
}
a:hover {
  color: var(--action-hover);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.display-type {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--button-h);
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--action);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--action-hover);
  color: #fff;
}

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

.dev-banner {
  margin: 0;
  padding: 6px 16px;
  background: #fef3c7;
  color: #78350f;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* Progressive enhancement: player.js adds .js to <html>. */
html:not(.js) .js-only {
  display: none !important;
}
html.js .no-js-only {
  display: none !important;
}
