  :root {
    --bg: #f5f6fa;
    --card: #ffffff;
    --text: #1c2333;
    --muted: #6b7280;
    --accent: #425bd0;
    --on-accent: white;
    --accent-soft: #e6eaff;
    --border: #e3e6ee;
    --error: #a52b26;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #10131c;
      --card: #1a1f2e;
      --text: #eef0f6;
      --muted: #9aa3b5;
      --accent: #9cadff;
      --on-accent: #141e43;
      --accent-soft: #26304d;
      --border: #2b3247;
      --error: #ffaaa1;
    }
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 4vw, 24px);
    background: var(--bg);
    color: var(--text);
    font: 1rem/1.5 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  .card {
    width: 100%;
    max-width: 26.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: clamp(20px, 5vw, 32px) clamp(16px, 4vw, 28px);
    overflow-wrap: anywhere;
    box-shadow: 0 10px 30px rgba(16, 20, 34, .08);
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
  }
  .logo .mark {
    flex: none;
    width: 48px;
    height: 48px;
  }
  h1 { font-size: clamp(1.375rem, 5vw, 1.625rem); line-height: 1.18; letter-spacing: -.025em; margin: 0; }
  .sub { color: var(--muted); margin: 12px 0 24px; }
  .btn {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: var(--on-accent);
    font: inherit;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: filter .15s ease;
  }
  .btn:hover { filter: brightness(1.08); }
  .btn[hidden] { display: none; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
