/* Xolotl landing / login — tokens mirror the login.pen "Sign In" design */
:root {
  --ink: #302d71;
  --paper: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --border: #ede9fe;
  --line: #ddd6fe;
  --text-primary: #302d71;
  --text-secondary: #6f6c9c;
  --text-muted: #9995be;
  --radius-field: 8px;
  --radius-box: 16px;
}

* {
  box-sizing: border-box;
}

body.auth-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--paper);
  color: var(--text-primary);
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.auth-card {
  width: 480px;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-box);
  padding: 48px;
}

.mark-wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 28px;
}

.mark-img {
  width: auto;
  height: 64px;
  object-fit: contain;
}

.auth-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 32px;
  text-align: center;
}

.auth-title {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.auth-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.providers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--radius-field);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.1px;
  text-decoration: none;
  cursor: pointer;
}

.btn-provider {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-provider:hover {
  background: #e8edf5;
}

.btn-provider svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--paper);
}

.logout-form {
  width: 100%;
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--text-secondary);
  outline-offset: 2px;
}

.auth-footer {
  padding-top: 28px;
}

.footer-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 12px;
}

.auth-terms {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}
