/* The pairing page: system font stack, no font file, no image but the symbol. Colours are the
   tokens of the brand guidelines (light and dark); text contrast is at least 4.5:1 (WCAG AA), the
   text on the blue button is navy because white on #0099FF reaches only 3:1. */
:root {
  color-scheme: light dark;
  --bg: #f6f8fa;
  --surface: #ffffff;
  --text: #0b2a44;
  --muted: #475569;
  --border: #cbd2da;
  --accent: #0a66b8;
  --button-bg: #0099ff;
  --button-text: #071b2e;
  --focus: #0a66b8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071b2e;
    --surface: #0b2a44;
    --text: #ffffff;
    --muted: #a9b6c6;
    --border: #1c4c78;
    --accent: #66bdff;
    --focus: #66bdff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
[hidden] { display: none !important; }
main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand img { display: block; width: 2.25rem; height: 2.25rem; }
h1 { margin: 0 0 0.75rem; font-size: 1.75rem; line-height: 1.2; }
h2 { margin: 0 0 0.5rem; font-size: 1.15rem; line-height: 1.3; }
p, ol { margin: 0 0 1rem; }
ol { padding-left: 1.4rem; }
li { margin-bottom: 0.75rem; }
.lead { font-size: 1.1rem; }
.muted { color: var(--muted); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.card > :last-child { margin-bottom: 0; }
a { color: var(--accent); }
.button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 0.5rem;
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Without script: only the plain instruction. With script: only the states the script switches. */
.no-js .jsonly { display: none; }
.js .nojs { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
