/* talkbak's palette, faces and base rules, under every page: admin.css lays
   out the admin and site.css the front page. Dark only: the tokens below are
   the whole palette, the same one the mails use. */
@font-face { font-family: "Michroma"; src: url("michroma.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("chakra-petch-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("chakra-petch-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("chakra-petch-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("chakra-petch-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("jetbrains-mono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("jetbrains-mono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --void: #07090b;
  --panel: #0c1013;
  --key: #12171a;
  --side: #0a0d10;
  --grid: #0f1417;
  --line: #1f282e;
  --line-strong: #3a474e;
  --dim: #5d6a71;
  --muted: #8d999f;
  --soft: #b6c0c4;
  --text: #e3e8ea;
  --signal: #ff8a00;
  --signal-hover: #ffa033;
  --red: #ff5a4e;
  --green: #7bd88f;
  --yellow: #ffd23f;
  --wordmark: "Michroma", "Eurostile", sans-serif;
  --sans: "Chakra Petch", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

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

html { background: var(--void); color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--void);
  color: var(--text);
  font: 16px/1.5 var(--sans);
}

a { color: var(--signal); }
a:hover { color: var(--signal-hover); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
::selection { background: var(--signal); color: var(--void); }

/* The Carrier mark, drawn by class: the policy allows no style attribute. */
.carrier { flex: none; width: 28px; height: 21px; }
.carrier rect { fill: var(--signal); }
.carrier path { fill: none; stroke: var(--signal); stroke-width: 5; stroke-linecap: square; }

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font: 400 13px/1 var(--wordmark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.lockup:hover { color: var(--text); }

/* Read by a screen reader and drawn nowhere. */
.unseen {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The stores' badges as they ship, on the front page and the fallback pages.
   Both stores ask for a quarter of the badge's height clear on every side and
   nothing drawn on it, so the padding is that space and the focus ring falls
   outside it; a badge never moves or changes under the pointer. */
.badges { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.badge { display: block; padding: 12px; }
.badge img { display: block; width: auto; height: 48px; }
.badge:focus-visible { outline-offset: 0; }
@media (max-width: 480px) {
  .badges { margin-inline: -10px; }
  .badge { padding: 10px; }
  .badge img { height: 40px; }
}
