/* Montaigne branding (session 12b): the wordmark font, and the sign-in and offline pages, which
   are public (decision 78) and so cannot load app.css. Rule d: greys plus #0d6efd only here.
   The page tokens follow the device (prefers-color-scheme); they match app.css's --bg, --ink and
   --muted. Contrast (WCAG AA): ink 15.9:1 light / 12.2:1 dark, motto (muted) 5.7:1 / 6.4:1,
   white on the blue button 4.50:1. */
@font-face {
  font-family: "EB Garamond";
  src: url("/static/brand/fonts/EBGaramond-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --brand-font: "EB Garamond", Georgia, "Iowan Old Style", serif;
  --b-bg: #ffffff; --b-ink: #222222; --b-muted: #666666; --b-line: #e2e2e2;
  --b-active: #0d6efd; --b-on-active: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --b-bg: #1e1e1e; --b-ink: #dcdcdc; --b-muted: #a0a0a0; --b-line: #333333; }
}
.brand-page { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--b-bg); color: var(--b-ink);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.brand-card { text-align: center; padding: 32px 24px; max-width: 420px; }
.brand-card img { display: block; margin: 0 auto 8px; width: 240px; height: 240px; }
.brand-card .head { width: 96px; height: 96px; }
.wordmark { font-family: var(--brand-font); font-weight: 400; letter-spacing: 0.02em; }
.brand-card .wordmark { font-size: 48px; line-height: 1.1; margin: 0; }
.brand-card .motto { font-family: var(--brand-font); font-style: normal; font-size: 20px;
  color: var(--b-muted); margin: 2px 0 28px; }
.brand-card .note { color: var(--b-ink); margin: 0 0 20px; }
.brand-btn { display: inline-block; font: inherit; font-size: 15px; padding: 9px 22px; border-radius: 6px;
  background: var(--b-active); color: var(--b-on-active); border: 1px solid var(--b-active);
  text-decoration: none; cursor: pointer; }
.brand-btn:focus-visible { outline: 2px solid var(--b-active); outline-offset: 2px; }
.brand-quiet { color: var(--b-ink); }
