:root {
  --bg: #f4f5f7; --card: #ffffff; --text: #0f172a; --muted: #64748b; --line: #dadce0; --accent: #2563eb;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0f17; --card: #161c27; --text: #e5e7eb; --muted: #94a3b8; --line: #273142; --accent: #3b82f6; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--bg); color: var(--text);
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  padding: calc(env(safe-area-inset-top) + 16px) calc(env(safe-area-inset-right) + 16px) calc(env(safe-area-inset-bottom) + 24px) calc(env(safe-area-inset-left) + 16px);
}
.card { width: 100%; max-width: 380px; background: var(--card); border-radius: 22px; padding: 28px 20px 20px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.logo { width: 64px; height: 64px; border-radius: 16px; }
h1 { font-size: 24px; margin: 0; }
.muted { color: var(--muted); margin: 0; }
.btn {
  width: 100%; min-height: 52px; border-radius: 14px; font: inherit; font-size: 17px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
}
.btn:disabled { opacity: .5; }
.google { background: #fff; color: #1f1f1f; border: 1px solid var(--line); }
.link { min-height: 44px; border: 0; background: none; color: var(--muted); font: inherit; }
.doc { text-align: left; justify-items: stretch; max-width: 560px; }
.doc h2 { font-size: 17px; margin: 8px 0 0; }
.doc p { margin: 0; }
.doc a { color: var(--accent); }
