@font-face {
  font-family: "Bedstead";
  src: url("/fonts/bedstead.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bedstead";
  src: url("/fonts/bedstead-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #000;
  --panel: #050505;
  --text: rgba(255, 255, 255, .78);
  --dim: rgba(255, 255, 255, .48);
  --line: rgba(255, 255, 255, .18);
  --signal: #7fe3ff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, .035), transparent 42%),
    var(--background);
  color: #fff;
  font: 400 15px/1.5 "Bedstead", ui-monospace, Menlo, monospace;
}

main {
  width: 100%;
  max-width: 620px;
  margin: 36px 0;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 13px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.bug {
  letter-spacing: .18em;
  white-space: nowrap;
}

a {
  color: rgba(255, 255, 255, .82);
  text-decoration-color: rgba(255, 255, 255, .28);
  text-underline-offset: 3px;
}

a:hover,
a:active {
  color: #fff;
}

.back {
  color: var(--dim);
  font-size: 12px;
  text-decoration: none;
}

h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: .02em;
}

h2 {
  margin: 25px 0 9px;
  color: var(--signal);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
}

p {
  margin: 0 0 13px;
  color: var(--text);
  font-size: 13px;
}

.lead {
  color: #fff;
  font-size: 17px;
}

.signal {
  margin: 20px 0;
  padding: 7px 0 7px 11px;
  border-left: 2px solid rgba(127, 227, 255, .5);
  color: var(--signal);
}

.fine {
  color: var(--dim);
  font-size: 11px;
}

footer {
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  body {
    padding: 12px;
    place-items: start center;
  }

  main {
    margin: 12px 0;
    padding: 18px;
  }
}
