/*
 * Sideline Lift Judge — platform-side industrial.
 *
 * Read from two metres away, operated with chalky thumbs, in a gym. So:
 * scoreboard numerals, steel and chalk, IWF plate colours carrying the band
 * (green 10kg, blue 20kg, yellow 15kg, red 25kg), knurling as texture, and the
 * primary action always parked in the thumb zone at the bottom of the screen.
 */

:root {
  /* Steel */
  --steel-950: #080a0c;
  --steel-900: #0c0f12;
  --steel-850: #12171c;
  --steel-800: #171d24;
  --steel-700: #1f262f;
  --line: #2c343e;
  --line-bright: #3d4752;

  /* Chalk */
  --chalk: #eff2f5;
  --chalk-dim: #97a3b0;
  --chalk-faint: #6b7682;

  /* Plates */
  --plate-green: #2fae6a;
  --plate-blue: #2a7fe0;
  --plate-yellow: #f2c230;
  --plate-orange: #ef7d3b;
  --plate-red: #d9283f;

  --accent: var(--plate-yellow);
  --radius: 4px;
  --tap: 52px;
  --gutter: 16px;

  --font-display: "Anton", "Haettenschweiler", "Arial Narrow Bold", "Barlow Condensed", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --band-color: var(--chalk-dim);
}

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

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

/* The hidden attribute is only `display: none` in the UA stylesheet, so any
 * author rule that sets display (.actions is a grid) would override it. */
[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--steel-900);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  /* No overflow-x:hidden here: it turns body into a scroll container and the
   * sticky action dock stops pinning to the bottom of the viewport. Nothing is
   * allowed to overflow in the first place instead. */
  /* Chalk dust: a faint grain so flat steel does not read as flat grey. */
  background-image: radial-gradient(circle at 50% -10%, #1b222a 0%, var(--steel-900) 55%, var(--steel-950) 100%);
  background-attachment: fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* ---------- Structure ---------- */

.app {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 560px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter)
    calc(env(safe-area-inset-bottom, 0px) + 14px);
}

.masthead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.masthead h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.masthead .mark {
  flex: none;
  width: 26px;
  height: 26px;
  align-self: center;
}

.masthead .tagline {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chalk-faint);
}

/* Knurling: the crosshatch off a barbell sleeve, as a rule under the header. */
.knurl {
  height: 7px;
  flex: none;
  background-image: repeating-linear-gradient(
      45deg,
      var(--line-bright) 0 1px,
      transparent 1px 5px
    ),
    repeating-linear-gradient(-45deg, var(--line-bright) 0 1px, transparent 1px 5px);
  opacity: 0.5;
}

main {
  flex: 1 1 auto;
  padding-top: 20px;
}

.screen {
  display: none;
  animation: rise 0.32s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.screen[data-active="true"] {
  display: block;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.step-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}

h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

p.lede {
  margin: 0 0 20px;
  color: var(--chalk-dim);
}

/* ---------- Start ---------- */

/* Above the fold on a 390×844 phone: the one line, the sample, the camera. */
[data-screen="start"] h2 {
  font-size: 38px;
  margin-bottom: 12px;
}

[data-screen="start"] .lede {
  font-size: 18px;
}

.hero-actions {
  margin-top: 26px;
}

.hero-actions button {
  min-height: 60px;
  font-size: 20px;
}

.hero-actions .notice {
  margin: 0;
}

.hero-hint {
  margin-top: 16px;
}

/* ---------- Controls ---------- */

.stack {
  display: grid;
  gap: 10px;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--tap);
  padding: 12px 14px;
  background: var(--steel-800);
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-bright);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s, transform 0.08s;
}

.choice:active {
  transform: scale(0.99);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice .name {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.choice .hint {
  margin-left: auto;
  font-size: 13px;
  color: var(--chalk-faint);
  text-align: right;
  max-width: 48%;
}

.choice:has(input:checked) {
  background: var(--steel-700);
  border-color: var(--line-bright);
  border-left-color: var(--accent);
}

.choice:has(input:checked) .name {
  color: var(--accent);
}

.choice input:focus-visible + .name {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--tap);
  width: 100%;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-950);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.16s, transform 0.08s;
}

button:active,
.btn:active {
  transform: scale(0.99);
}

button:hover,
.btn:hover {
  filter: brightness(1.08);
}

button.ghost,
.btn.ghost {
  color: var(--chalk);
  background: transparent;
  border: 1px solid var(--line-bright);
}

button.ghost:hover,
.btn.ghost:hover {
  background: var(--steel-800);
  filter: none;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.actions.pair {
  grid-template-columns: 1fr 1fr;
}

/* A text field: the access code, nothing else so far. */
.field {
  margin-top: 22px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}

input[type="text"] {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--chalk);
  background: var(--steel-850);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

input[type="text"]::placeholder {
  color: var(--chalk-faint);
}

.field-hint {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--chalk-faint);
}

/* An inline button that reads as a link — used by "change" on the saved
   access-code row so the field never sits visibly on a page carrying a code. */
button.link {
  background: none;
  border: 0;
  padding: 0;
  margin-left: 6px;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

button.link:hover,
button.link:focus-visible {
  color: var(--chalk);
}

/* The primary action sits where a thumb already is. */
.dock {
  position: sticky;
  bottom: 0;
  margin-top: 24px;
  padding: 14px 0 calc(env(safe-area-inset-bottom, 0px) + 4px);
  background: linear-gradient(to top, var(--steel-900) 62%, transparent);
}

/* ---------- Filming guide ---------- */

.guide-frame {
  position: relative;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--steel-850);
  overflow: hidden;
}

.guide-frame img,
.guide-frame svg {
  display: block;
  width: 100%;
  height: auto;
}

.guide-list {
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.guide-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 15px;
  color: var(--chalk-dim);
}

.guide-list b {
  color: var(--chalk);
  font-weight: 600;
}

.guide-list .num {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.5;
  color: var(--accent);
}

/* ---------- Trim ---------- */

video {
  display: block;
  width: 100%;
  max-height: 46dvh;
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.window-bar {
  position: relative;
  height: 10px;
  margin: 16px 0 6px;
  background: var(--steel-700);
  border-radius: 999px;
  overflow: hidden;
}

.window-bar .sel {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--accent);
  border-radius: 999px;
}

.slider {
  margin: 14px 0 2px;
}

.slider label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chalk-faint);
}

.slider label .value {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--chalk);
}

input[type="range"] {
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--line-bright);
  border-radius: 999px;
}

input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--line-bright);
  border-radius: 999px;
}

/* Big enough to hit with a chalky thumb. */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  margin-top: -13px;
  background: var(--chalk);
  border: 4px solid var(--steel-900);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-bright);
  cursor: grab;
}

input[type="range"]::-moz-range-thumb {
  width: 30px;
  height: 30px;
  background: var(--chalk);
  border: 4px solid var(--steel-900);
  border-radius: 50%;
  cursor: grab;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--chalk-faint);
}

/* ---------- Progress ---------- */

.stages {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.stages li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--chalk-faint);
  font-size: 15px;
  transition: color 0.2s;
}

.stages li .dot {
  width: 11px;
  height: 11px;
  margin: 0 auto;
  border: 2px solid var(--line-bright);
  border-radius: 50%;
}

.stages li[data-state="active"] {
  color: var(--chalk);
}

.stages li[data-state="active"] .dot {
  border-color: var(--accent);
  background: var(--accent);
  animation: throb 1.1s ease-in-out infinite;
}

.stages li[data-state="done"] {
  color: var(--chalk-dim);
}

.stages li[data-state="done"] .dot {
  border-color: var(--plate-green);
  background: var(--plate-green);
}

@keyframes throb {
  50% {
    transform: scale(1.45);
    opacity: 0.65;
  }
}

.track {
  height: 6px;
  margin: 20px 0 8px;
  background: var(--steel-700);
  border-radius: 999px;
  overflow: hidden;
}

.track .fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--plate-yellow), var(--plate-orange));
  border-radius: 999px;
  transition: width 0.45s ease-out;
}

.progress-note {
  font-size: 14px;
  color: var(--chalk-dim);
  min-height: 1.4em;
}

/* ---------- Result ---------- */

.verdict {
  --band-color: var(--chalk-dim);
  margin-bottom: 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.verdict[data-band="elite"] { --band-color: var(--plate-green); }
.verdict[data-band="solid"] { --band-color: var(--plate-blue); }
.verdict[data-band="mixed"] { --band-color: var(--plate-yellow); }
.verdict[data-band="poor"] { --band-color: var(--plate-orange); }
.verdict[data-band="fail"] { --band-color: var(--plate-red); }

.verdict-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.lift-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}

.window-stamp {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--chalk-faint);
  font-variant-numeric: tabular-nums;
}

/* The numeral overlaps the band badge: grid-breaking, and it reads at distance. */
.score-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 2px 0 4px;
}

.score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-size: clamp(72px, 26vw, 124px);
  /* Anton's own leading is generous; trim it without letting the "/10" ride up
   * into the numeral. */
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--band-color);
  font-variant-numeric: tabular-nums;
}

.score .of {
  font-size: 0.26em;
  letter-spacing: 0.08em;
  color: var(--chalk-faint);
}

.band {
  align-self: flex-end;
  margin-bottom: 8px;
  padding: 5px 11px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-950);
  background: var(--band-color);
  border-radius: 2px;
}

.drift {
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--chalk);
}

.drift .k {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk-faint);
}

/* Who did what, in pipeline order: tracker → vision model → judge. Small, but
 * never hidden. */
.pipeline {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--chalk-faint);
}

.pipeline li {
  display: inline;
}

.pipeline li + li::before {
  content: "→";
  margin: 0 7px;
  color: var(--accent);
}

/* Confidence: honesty sits next to the score, never hidden (§8). */
.confidence {
  margin-top: 16px;
}

.confidence .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk-faint);
}

.confidence .row b {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--chalk);
}

.meter {
  height: 8px;
  margin-top: 6px;
  background: var(--steel-700);
  border-radius: 999px;
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--plate-green);
  transition: width 0.5s ease-out;
}

.meter[data-level="low"] span { background: var(--plate-red); }
.meter[data-level="medium"] span { background: var(--plate-yellow); }

.warnings {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.warnings li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  color: #ffe2c9;
  background: rgba(239, 125, 59, 0.11);
  border-left: 3px solid var(--plate-orange);
  border-radius: 2px;
}

.warnings li.info {
  color: #cfe3ff;
  background: rgba(42, 127, 224, 0.1);
  border-left-color: var(--plate-blue);
}

.warnings .icon {
  font-size: 15px;
  line-height: 1.3;
}

.cues {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 18px 0 0;
}

.cue {
  position: relative;
  min-width: 0;
  padding: 15px 16px 15px 18px;
  background: var(--steel-800);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  font-size: 19px;
  line-height: 1.26;
  font-weight: 600;
  animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.cue:nth-child(2) {
  animation-delay: 0.09s;
}

.cue .tag {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Evidence-backed cue enhancements */
.cue.evidenced {
  padding-bottom: 12px;
}

.cue-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 2px;
}

.cue-header .tag {
  flex-shrink: 0;
}

.cue-text {
  flex: 1;
  min-width: 0;
}

.source-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.source-tag.measured {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.source-tag.vision {
  background: color-mix(in srgb, var(--plate-orange) 15%, transparent);
  color: var(--plate-orange);
  border: 1px solid color-mix(in srgb, var(--plate-orange) 30%, transparent);
}

.cue-still-wrap {
  margin: 10px 0 8px;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  line-height: 0;
}

.cue-still {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #000;
  border-radius: calc(var(--radius) - 2px);
  display: block;
}

/* Frames across the cue's window: full height, scrolled sideways when wider
   than the card, so no frame is shrunk past reading. The max-width + min-width:0
   combination is what keeps the strip from pushing the card wider than the
   viewport on a phone — without it, the image's intrinsic width grows the grid
   column and the whole card clips on the right. */
.cue-strip-wrap {
  margin: 10px 0 8px;
  max-width: 100%;
  min-width: 0;
  border-radius: calc(var(--radius) - 2px);
  overflow-x: auto;
  overflow-y: hidden;
  line-height: 0;
  background: #000;
  -webkit-overflow-scrolling: touch;
}

.cue-strip {
  height: 240px;
  width: auto;
  max-width: none;
  display: block;
}

.cue-why {
  margin: 8px 0 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--chalk-dim);
  line-height: 1.45;
}

.cue-seek {
  margin-top: 6px;
  font-size: 12px;
  padding: 4px 10px;
}

.how-judged {
  margin-top: 16px;
}

.how-judged-steps {
  margin: 10px 0 0 0;
  padding-left: 22px;
  font-size: 14px;
  color: var(--chalk-dim);
  line-height: 1.6;
}

.how-judged-steps li {
  margin-bottom: 4px;
}

.how-judged-steps b {
  color: var(--chalk);
  font-weight: 600;
}

details {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--steel-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

details summary {
  min-height: 28px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chalk-dim);
  cursor: pointer;
}

details p,
details pre {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--chalk-dim);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-body);
}

.replay {
  margin-top: 18px;
}

.replay video {
  max-height: 52dvh;
}

/* Legend for the trace burnt into the replay. */
.trace-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk-faint);
}

.trace-key-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* The pair is the smallest wrap unit, so "WHERE IT STARTED" never splits
     across two lines on a narrow phone. */
  white-space: nowrap;
}

.trace-key .swatch {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--plate-green);
}

.trace-key .swatch.start {
  background: var(--chalk);
}

.trace-key .swatch.drift {
  background: var(--plate-orange);
}

.replay .actions {
  margin-top: 10px;
}

.split-banner {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  margin-bottom: 18px;
  padding: 13px 14px;
  font-size: 15px;
  line-height: 1.35;
  color: #cfe3ff;
  background: rgba(42, 127, 224, 0.12);
  border-left: 3px solid var(--plate-blue);
  border-radius: 2px;
}

.split-banner b {
  color: var(--chalk);
}

.notice {
  margin: 18px 0 0;
  padding: 13px 14px;
  font-size: 15px;
  border-radius: var(--radius);
  border-left: 3px solid var(--plate-red);
  color: #ffd2d2;
  background: rgba(217, 40, 63, 0.12);
}

.notice.hint {
  color: var(--chalk-dim);
  background: var(--steel-850);
  border-left-color: var(--line-bright);
}

.disclaimer {
  margin: 22px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--chalk-faint);
}

footer {
  margin-top: 26px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--chalk-faint);
}

footer a {
  color: var(--chalk-dim);
}

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

/* A little room to breathe once there is a real screen to use. */
@media (min-width: 600px) {
  body {
    font-size: 18px;
  }
  .app {
    padding-top: 28px;
  }
  h2 {
    font-size: 34px;
  }
  .dock {
    position: static;
    background: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
}
