/* Wolfguard server pages: same look as the extension (Can's design). */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F;
}
:root {
  --bg: #ffffff;
  --bg2: #fafafa;
  --fg: #09090b;
  --fg2: #717179;
  --line: #e4e4e7;
  --red: #ca3a31;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --bg2: #131315;
    --fg: #fafafa;
    --fg2: #a1a1a9;
    --line: #27272a;
    --red: #e77975;
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font: 400 14px/20px "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  max-width: 420px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0a0a0a;
  display: grid;
  place-items: center;
}
.mark img {
  height: 24px;
  width: auto;
  display: block;
}
@media (prefers-color-scheme: dark) {
  .mark {
    background: transparent;
  }
}
.wordmark {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
h1 {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.muted {
  color: var(--fg2);
}
.small {
  font-size: 12px;
  line-height: 16px;
}
.status {
  height: 48px;
  border-radius: 12px;
  background: var(--bg2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
}
.status[data-state="error"] {
  color: var(--red);
}
.spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--line);
  border-top-color: var(--fg);
  animation: spin 0.8s linear infinite;
}
.status[data-state="done"] .spinner,
.status[data-state="error"] .spinner {
  display: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2.4s;
  }
}
