/* Shared by every page: fonts, colors and the button */

/* Briefly block fallback text while each font loads */
@font-face {
  font-family: Jost;
  font-weight: 200;
  font-display: block;
  src: url('/fonts/jost-200-cyrillic.v1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Jost;
  font-weight: 200;
  font-display: block;
  src: url('/fonts/jost-200-latin.v1.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-weight: 600;
  font-display: block;
  src: url('/fonts/manrope-600-cyrillic.v1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-weight: 600;
  font-display: block;
  src: url('/fonts/manrope-600-latin.v1.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* Mockup colors; the error red is ours, 7.6:1 against the black */
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #191a1c;
  --accent: #ffc597;
  --text: #fff;
  --error: #ff6b6b;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.5;
}
/* Keeps hidden winning if a state ever gets a display rule */
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  box-sizing: border-box;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.button svg {
  width: 1.25rem;
  height: 1.25rem;
}
/* Dimmed rather than hidden, so the next step reads as coming */
.button:disabled {
  opacity: 0.4;
  cursor: default;
}
.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
