:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --text: #1f2328;
  --muted: #5b636d;
  --link: #0b5cad;
  --border: #c9ced6;
  --button-bg: #0b5cad;
  --button-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181c;
    --text: #e6e8eb;
    --muted: #a3abb5;
    --link: #7db8f5;
    --border: #3a414a;
    --button-bg: #7db8f5;
    --button-text: #10141a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 1rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }

a { color: var(--link); }

video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0.75rem 0 0;
}

button {
  font: inherit;
  font-weight: 600;
  padding: 0.5rem 1rem;
  color: var(--button-text);
  background: var(--button-bg);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.hint { color: var(--muted); }

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}

ul { padding-left: 1.25rem; }
li { margin: 0.5rem 0; }
