body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 44px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.brand {
  font-size: 1.8em;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.brand span { color: var(--accent); }

.subtitle {
  color: var(--muted);
  font-size: 0.9em;
  margin-bottom: 32px;
}

.intro {
  color: var(--muted);
  font-size: 0.85em;
  line-height: 1.55;
  margin: -20px 0 24px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

/* Columns: [side] [icon] [label] [side]. Each button spans all four as a subgrid, so the icon and
   label columns are shared: as wide as the widest icon / label, and the equal sides center them.
   Every icon sits in one column and every "Continue with" starts at the same x. */
.login-buttons {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  row-gap: 10px;
}
.login-btn {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  column-gap: 10px;
  padding: 11px 20px;
  border-radius: 7px;
  font-size: 0.9em;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.15s, background 0.15s;
}
.login-btn svg { grid-column: 2; }
.login-label { grid-column: 3; text-align: left; white-space: nowrap; }

.google-btn  { background: #1b2636; color: #93b8fb; border-color: #2a4a8a; }
.google-btn:hover  { background: #1f2d42; border-color: #4285F4; }

.github-btn  { background: #132419; color: #6fcf87; border-color: #1a5230; }
.github-btn:hover  { background: #18291e; border-color: #0FBF3E; }

.discord-btn { background: #1e2036; color: #c9cdfb; border-color: #3c3f6e; }
.discord-btn:hover { background: #252844; border-color: #5865F2; }

.slack-btn { background: #281620; color: #f08caa; border-color: #642637; }
.slack-btn:hover { background: #311928; border-color: #E01E5A; }

.footer-note {
  margin-top: 28px;
  font-size: 0.78em;
  color: var(--muted);
}

.account-note {
  margin-top: 8px;
  font-size: 0.72em;
  line-height: 1.5;
  color: var(--muted);
}
