:root {
  color-scheme: dark;
  --bg: #0b0d14;
  --panel: #151924;
  --text: #f2f4fa;
  --muted: #aeb6c8;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #70d7ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

main {
  width: min(440px, calc(100% - 32px));
  place-self: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 28px;
}

.brand {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.note {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  width: min(440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #7f8798;
  font-size: 12px;
}

@media (max-width: 520px) {
  main {
    padding: 24px;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }
}
