/* Styles for the four server-rendered pages: the landing page, access denied,
   errors, and signed out. The React portal has its own stylesheet; these pages
   have to stand alone because they are shown before, and instead of, the
   portal. Both read the same tokens.css. */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: min(460px, 100%);
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.card img.mark { height: 26px; width: auto; display: block; margin-bottom: 28px; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-mute); margin: 0 0 8px;
}
h1 { font-size: 24px; line-height: 32px; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.005em; }
p { margin: 0 0 10px; color: var(--text-soft); font-size: 14px; font-weight: 400; }
p:last-of-type { margin-bottom: 0; }
.note { font-size: 13px; color: var(--text-mute); }
code, .token-box {
  font-family: var(--font-mono); font-size: 12px; background: var(--hw-200);
  border: 1px solid var(--stroke); padding: 1px 6px; border-radius: 4px; color: var(--text-soft);
}
[data-theme="dark"] code, [data-theme="dark"] .token-box { background: var(--surface-alt); }

a { color: var(--text); }
a:hover { color: var(--orange-600); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 8px; border: 1px solid transparent; background: var(--btn-primary);
  color: var(--brown-500); font-family: var(--font-body); font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer; margin-top: 24px;
}
.btn:hover { background: var(--yellow-400); color: var(--brown-500); }
.btn--secondary { background: var(--btn-secondary); border-color: var(--stroke); color: var(--text); font-weight: 500; }
.btn--secondary:hover { background: var(--hw-300); color: var(--text); }
.actions { display: flex; gap: 8px; align-items: center; }
