:root {
  --ink: #0e1726;
  --ink-soft: #38465c;
  --muted: #6b7a90;
  --line: #e3e8f0;
  --line-soft: #eef1f6;
  --bg: #f6f8fb;
  --panel: #fff;
  --solar: #f0941f;
  --solar-deep: #d97a06;
  --shadow: 0 1px 2px rgba(14, 23, 38, .04), 0 12px 32px rgba(14, 23, 38, .07);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.brand {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  font-weight: 760;
  gap: 11px;
}

.glyph {
  align-items: center;
  background: var(--solar-deep);
  border-radius: 8px;
  color: #fff;
  display: grid;
  font-size: 11px;
  font-weight: 850;
  height: 30px;
  justify-items: center;
  letter-spacing: 0;
  width: 30px;
}

.brand span:last-child {
  color: var(--solar-deep);
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
}

.auth-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 30px;
  width: min(360px, 100%);
}

.auth-card.wide {
  width: min(520px, 100%);
}

.auth-card .brand {
  margin-bottom: 28px;
}

h1 {
  letter-spacing: 0;
  margin: 0;
}

.auth-card h1 {
  font-size: 24px;
  margin-bottom: 22px;
}

.auth-card.wide h1 {
  font-size: 25px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.auth-card p {
  color: var(--ink-soft);
  margin: 0;
}

.actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 26px;
}

.btn,
.auth-card button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 760;
  justify-content: center;
  padding: 11px 14px;
}

.btn.primary,
.auth-card button {
  background: var(--ink);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.auth-card button {
  font-size: 15px;
  padding: 12px;
  width: 100%;
}

.auth-card button:disabled {
  cursor: default;
  opacity: .6;
}

.auth-card label {
  font-size: 13px;
  font-weight: 700;
}

.auth-card input {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  margin-top: 7px;
  outline: none;
  padding: 11px 13px;
  width: 100%;
}

.auth-card input:focus {
  border-color: var(--solar-deep);
}

.auth-card form button {
  margin-top: 18px;
}

#status {
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0 0;
  min-height: 18px;
}

.alt {
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
  text-align: center;
}

.alt a {
  color: var(--solar-deep);
  font-weight: 650;
}

@media (max-width: 520px) {
  .auth-shell {
    padding: 16px;
  }

  .auth-card {
    padding: 24px;
  }

  .actions {
    grid-template-columns: 1fr;
  }
}
