:root {
  color-scheme: light dark;
  --bg: #0b0b0d;
  --card: #16161a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #9a9aa3;
  --accent: #f4f4f5;
  --accent-text: #0b0b0d;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f7;
    --card: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
    --text: #111114;
    --muted: #66666e;
    --accent: #111114;
    --accent-text: #ffffff;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 380px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
}

.mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 22px;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.actions {
  display: grid;
  gap: 10px;
}

.btn {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: transparent;
}

.btn[hidden] {
  display: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}

footer {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
