@font-face {
  font-family: Redaction20;
  src: url("/brand/Redaction20-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: BDOGrotesk;
  src: url("/brand/BDOGrotesk-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: CommitMono;
  src: url("/brand/CommitMono-400-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #111110;
  --muted: #5d5d58;
  --line: #e4e4df;
  --lav-0: #f3f0ff;
  --lav-2: #c9bdf7;
  --lav-3: #a999ee;
  --lime: #c9f24d;
  --accent: #5a49b0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #fff;
  color: var(--ink);
  font:
    400 15px/1.5 BDOGrotesk,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  width: min(360px, 100%);
  display: grid;
  gap: 16px;
}
.mascot {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-left: -6px;
}
h1 {
  margin: 0;
  font:
    400 38px/1.1 Redaction20,
    Georgia,
    serif;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
.line {
  color: var(--muted);
}
#message {
  min-height: 24px;
}
.action,
.quiet {
  display: block;
  width: 100%;
  font:
    400 11px/1.3 CommitMono,
    ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  padding: 14px 16px;
  cursor: pointer;
}
.action {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}
/* A row of lavender pixels steps in along the bottom on hover, as in the app. */
.action::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background:
    linear-gradient(90deg, transparent 0 3px, var(--ink) 3px 4px) 0 0 / 4px 3px,
    linear-gradient(90deg, var(--lav-3), var(--lav-2) 70%, var(--lime));
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.4s steps(8, jump-end);
}
.action:hover::after,
.action:focus-visible::after {
  clip-path: inset(0);
}
.fine {
  margin-top: -6px;
  color: var(--muted);
  font-size: 12px;
}
#google[hidden] + .fine {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .action::after {
    transition: none;
  }
}
.quiet {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}
.quiet:hover {
  color: var(--ink);
}
.legal {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.legal a {
  color: inherit;
}
.legal a:hover {
  color: #000;
}
[hidden] {
  display: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
