:root {
  color-scheme: dark;
  background: #0c191c;
  color: #f4f1e8;
  font:
    17px/1.6 system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(100% - 40px, 880px);
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #314143;
}
header a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}
header strong {
  color: #f4f1e8;
}
main {
  padding: clamp(32px, 6vw, 72px) 0;
}
h1 {
  font-size: clamp(32px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  max-width: 21ch;
  margin: 0 0 20px;
}
h2 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin: 36px 0 8px;
}
p,
ol {
  max-width: 68ch;
  margin: 0 0 16px;
  color: #c7d4d1;
}
li {
  padding: 0 0 7px;
}
a {
  color: #bceedd;
  text-underline-offset: 0.2em;
}
a:focus-visible,
video:focus-visible {
  outline: 2px solid #bceedd;
  outline-offset: 4px;
}
code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
  color: #d6f6ea;
}
video {
  display: block;
  width: 100%;
  height: auto;
  background: #10282a;
  border-radius: 12px;
  margin: 24px 0;
}
footer {
  border-top: 1px solid #314143;
  padding: 18px 0 36px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
}
