:root {
  --bg: #f5f5f8;
  --card: #ffffff;
  --text: #16161d;
  --muted: #6b6b7b;
  --accent: #4f46e5;
  --accent-text: #ffffff;
  --border: rgba(22, 22, 29, 0.08);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e13;
    --card: #1b1b23;
    --text: #f2f2f7;
    --muted: #a0a0b0;
    --accent: #7c75ff;
    --border: rgba(255, 255, 255, 0.08);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 28px 32px;
}

.icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p { margin: 0 0 16px; color: var(--muted); }

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.button[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.note { margin-top: 16px; font-size: 14px; }

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

footer a { color: inherit; }
