/* Pairing page styles (2026-11-19 pairing deep-link spec §2.3). System fonts only: no remote
   resources are allowed by the CSP (default-src 'self'). */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #1d4ed8;
  --on-primary: #ffffff;
  --notice-bg: #fef3c7;
  --notice-text: #78350f;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060d1f;
    --surface: #111a33;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --primary: #93b4ff;
    --on-primary: #060d1f;
    --notice-bg: #3b2f0b;
    --notice-text: #fde68a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
}

h1 { margin: 0 0 16px; font-size: 1.4rem; line-height: 1.3; }

.notice {
  padding: 12px;
  border-radius: 12px;
  background: var(--notice-bg);
  color: var(--notice-text);
}

.button {
  display: block;
  margin: 12px 0;
  padding: 14px 20px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
}

.button.primary { background: var(--primary); color: var(--on-primary); }
.button.secondary { border: 2px solid var(--primary); color: var(--primary); }

.hint { color: var(--muted); font-size: 0.9rem; }

a:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

[hidden] { display: none !important; }
