:root {
  --primary: #3182F6;
  --primary-dark: #2563eb;
  --bg: #F7FAFC;
  --card: #ffffff;
  --text: #1A202C;
  --muted: #718096;
  --border: #E2E8F0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Apple SD Gothic Neo', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: 24px;
  padding: 40px 28px 28px;
  box-shadow: 0 12px 40px rgba(49, 130, 246, 0.08);
  text-align: center;
}

.logo {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 16px;
}

h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.tagline {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}

.kicker {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.code {
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 6px;
  background: #F0F7FF;
  border: 2px solid #BFD9FF;
  border-radius: 14px;
  padding: 16px 12px;
  margin-bottom: 28px;
  color: var(--primary);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.btn {
  display: block;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(49, 130, 246, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  background: #F0F7FF;
  color: var(--primary);
  border: 1.5px solid #BFD9FF;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer {
  font-size: 11px;
  color: #CBD5E0;
  margin-top: 20px;
}
