/* The pages a person reads: help, privacy, terms, "Your data", join, start, the opt-in page, the trial agreement and TV
   setup. Each one loads this file after style.css. Since the brand build of Nov 26, 2026, their headings are in Outfit
   and the logo is at their top. Since the brand changes of Nov 28, 2026, every other word on them is in Atkinson
   Hyperlegible, as on the first page and the sign-up page. The board's own pages (the app, the
   classic board, the settings page, the TV, the wall and the operator page) share style.css but never load this file,
   so nothing on them changes. Outfit is under the SIL Open Font License 1.1 (board/fonts/OFL-Outfit.txt). The floor of
   style.css holds here too: a margin instead of a flex gap. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/outfit-wght.woff2) format("woff2"); }

/* Every word that is not a heading and not the logo is in Atkinson Hyperlegible, with the same fallbacks as the TV in
   style.css. style.css declares its 2 files, 400 and 700, so a weight of 500 draws with the regular file and a weight
   of 600 or more with the bold file. A form control and the examples (.mono) don't take the page's font by themselves,
   so they are named here too. The headings and the logo set Outfit on themselves, so they keep it. */
body[data-mode="page"], body[data-mode="page"] button, body[data-mode="page"] input, body[data-mode="page"] select,
body[data-mode="page"] textarea, body[data-mode="page"] .mono {
  font-family: "Atkinson Hyperlegible", "Avenir Next", "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
}
/* A long link or address that doesn't fit on its line goes on to the next line, so no page scrolls sideways at 320 px
   with the text 2 times as big. Before this, 4 of these pages did, in Avenir Next too. Where every word fits, nothing
   moves. */
body[data-mode="page"] { overflow-wrap: break-word; }

/* The headings keep the weight, the size and the letter spacing that style.css gives them. */
body[data-mode="page"] h1, body[data-mode="page"] h2, body[data-mode="page"] h3 {
  font-family: "Outfit", "Avenir Next", Avenir, "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
}

/* The logo, in its version for a light background: the icon on its navy square with round corners (a radius of 22.4
   percent), then the name in Outfit at weight 700 with a letter spacing of -0.01em. The icon is 1.19 times as tall as
   the name's size, and the gap is 0.29 times. The first part of the name is dark navy and the rest is medium blue; the
   worker fills in the 2 parts from the setting NAME (worker/src/logo.js). A long name wraps inside the page, at its
   spaces or, with none, anywhere, so the page never scrolls sideways (the brand build's fix round, fix 3). */
.logo {
  display: inline-flex; align-items: center; vertical-align: middle; max-width: 100%;
  font-family: "Outfit", "Avenir Next", Avenir, "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1;
}
.logo-icon { flex: none; display: block; width: 1.19em; height: 1.19em; margin-right: 0.29em; }
.logo-mark { display: none; }
.logo-name { min-width: 0; overflow-wrap: anywhere; }
.logo-lead { color: #1A2435; }
.logo-rest { color: #4C76A0; }
/* The logo in its version for a dark background, on a page in a dark look: the 2 pieces with no square, "Shop" in white
   and the rest in the lighter blue, #5B86B1. The only page with the logo that turns dark is a dark board's help page,
   which board/help.js marks with data-theme="dark" on the html element (the brand build's fix round, fix 1). Since
   the brand changes of Nov 28, 2026, the rest of the name and the blue piece are #5B86B1 there, which has a contrast of
   4.74 to 1 on a dark board's background (#141618). The drawing keeps #4C76A0, and the rule below gives the blue piece
   its fill. The version for a light background keeps #4C76A0. */
:root[data-theme="dark"] .logo .logo-icon { display: none; }
:root[data-theme="dark"] .logo .logo-mark { flex: none; display: block; width: calc(1.19em * 72 / 88); height: 1.19em; margin-right: 0.29em; }
:root[data-theme="dark"] .logo .logo-mark path + path { fill: #5B86B1; }
:root[data-theme="dark"] .logo-lead { color: #FFFFFF; }
:root[data-theme="dark"] .logo-rest { color: #5B86B1; }
/* The join page says who sends its texts after the logo, in the small line that the name had before. */
.logo + .product { margin-left: 6px; vertical-align: middle; }
