/* The app's own tokens (apps/desktop/src/app.css), the few a page needs. */
:root {
  color-scheme: light dark;
  --font-ui: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  --accent: #6852d6;
  --on-accent: #ffffff;
  --bg: #f7f7f9;
  --fg: #1c1c22;
  --fg-secondary: #5c5c68;
  --fg-tertiary: #9898a4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #9b8aff;
    --on-accent: #17171a;
    --bg: #17171a;
    --fg: #ececf1;
    --fg-secondary: #a4a4b0;
    --fg-tertiary: #6d6d79;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 24px;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.5 var(--font-ui);
  -webkit-text-size-adjust: 100%;
}

main {
  width: 100%;
  max-width: 26rem;
  text-align: center;
}

.mark {
  width: 56px;
  height: 64px;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0 0 16px;
  color: var(--fg-secondary);
  text-wrap: pretty;
}

.quiet {
  font-size: 13px;
  color: var(--fg-tertiary);
}

/* A link shown to copy by hand. */
.link {
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}

.notice {
  margin-top: 48px;
  font-size: 11px;
}

.button {
  display: inline-block;
  min-width: 12rem;
  padding: 10px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:active {
  opacity: 0.85;
}

a {
  color: var(--accent);
}

[hidden] {
  display: none !important;
}
