:root {
  color-scheme: dark;
  --bg: #1b242c;
  --text: #f4f7f8;
  --muted: #c5d4dc;
  --line: #435565;
  --button: #ccdbe2;
  --button-text: #1b242c;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.mark {
  margin: 0 0 1rem;
  color: var(--button);
  font-size: 1.5rem;
  line-height: 1;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #fff;
}

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

.text-link {
  color: var(--muted);
}

.text-link:hover {
  color: var(--text);
}
