/* Sign-in pages only. Deliberately says nothing about the site behind them. */
:root {
  --bg: #f2f2f7; --surface: #ffffff; --label: #000000; --label-2: rgba(60, 60, 67, 0.72);
  --label-3: rgba(60, 60, 67, 0.46); --separator: rgba(60, 60, 67, 0.14); --fill: rgba(120, 120, 128, 0.12);
  --tint: #007aff; --tint-text: #0062d6; --red: #d70015; --red-soft: rgba(255, 59, 48, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --surface: #1c1c1e; --label: #ffffff; --label-2: rgba(235, 235, 245, 0.7);
    --label-3: rgba(235, 235, 245, 0.42); --separator: rgba(84, 84, 88, 0.6); --fill: rgba(120, 120, 128, 0.24);
    --tint: #0a84ff; --tint-text: #4da3ff; --red: #ff453a; --red-soft: rgba(255, 69, 58, 0.18);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100svh; display: grid; place-items: center;
  padding: 1.5rem max(1.5rem, env(safe-area-inset-right, 0px)) 1.5rem max(1.5rem, env(safe-area-inset-left, 0px));
  font: 100%/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Hebrew", Roboto, system-ui, sans-serif;
  color: var(--label); background: var(--bg); -webkit-font-smoothing: antialiased;
}
.card { width: 100%; max-width: 21rem; display: grid; gap: 1rem; text-align: center; }
h1 { margin: 0 0 0.5rem; font-size: 2.125rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
.sub { color: var(--label-2); font-size: 1.0625rem; }
.note { color: var(--label-3); font-size: 0.8125rem; }
.error { background: var(--red-soft); color: var(--red); padding: 0.75rem 1rem; border-radius: 0.75rem; font-size: 0.9375rem; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 0.625rem; width: 100%;
  min-height: 3.125rem; padding: 0.75rem 1.25rem; border: 0; border-radius: 0.75rem;
  font: inherit; font-size: 1.0625rem; font-weight: 600; text-decoration: none; cursor: pointer;
  touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: transform 100ms ease-out, opacity 100ms ease-out;
}
.btn:active { transform: scale(0.97); opacity: 0.85; }
.btn:focus-visible { outline: 3px solid var(--tint); outline-offset: 2px; }
.google { background: var(--surface); color: var(--label); box-shadow: 0 0 0 0.5px var(--separator), 0 1px 3px rgba(0, 0, 0, 0.08); }
.quiet { background: var(--fill); color: var(--tint-text); }
.g-mark { width: 1.125rem; height: 1.125rem; flex: none; }
.dev { display: grid; gap: 0.5rem; }
@media (hover: hover) and (pointer: fine) { .btn:hover { filter: brightness(0.97); } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
