/* The public pages' type and controls in the homepage's look (homepage B, 2026-10-19; Silas: "Make sure all
   the other website pages are updated accordingly"). Only on <body class="hb-site"> (pricing, security, the gate,
   sign-in, sign-up, terms, privacy, accessibility), loaded last; typeset.css and styles.css stay as they are for
   the app. Inter for headings and text, sentence-case eyebrows in slate, graphite buttons, rounded white cards,
   light only. */
body.hb-site { background: #F5FAFD; color: #15181B; font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; color-scheme: light; }
html:has(body.hb-site) { background: #F5FAFD; }
.hb-site main, .hb-site input, .hb-site select, .hb-site textarea, .hb-site button, .hb-site label, .hb-site p, .hb-site li, .hb-site td, .hb-site th {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.hb-site h1, .hb-site h2, .hb-site h3, .hb-site h4 { font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important; font-weight: 600 !important;
  font-style: normal; letter-spacing: -.03em; color: #15181B; }
.hb-site main h1 { letter-spacing: -.045em; line-height: 1.02; }
.hb-site .eyebrow { font: 600 clamp(19px, 1.9vw, 23px)/1.2 "Inter", sans-serif !important; letter-spacing: -.015em !important; text-transform: none !important; color: #46698D !important; }
.hb-site .lead { color: #3A4250; }
.hb-site main a:not(.btn):not([class*="-btn"]) { color: #2F5F8A; text-underline-offset: 3px; }
/* buttons: the homepage's graphite (and its light-blue on graphite) */
.hb-site .btn-primary, .hb-site .btn-demo, .hb-site .login-btn, .hb-site .signup-btn, .hb-site main button[type="submit"] {
  border: 0 !important; border-radius: 8px !important; background: #1B1D20 !important; color: #fff !important;
  font: 500 15px/1 "Inter", sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; }
.hb-site .btn-primary:hover, .hb-site .btn-demo:hover, .hb-site .login-btn:hover, .hb-site .signup-btn:hover, .hb-site main button[type="submit"]:hover { background: #34383E !important; }
.hb-site .btn-secondary { border: 1px solid #CFE0EF !important; border-radius: 8px !important; background: #fff !important; color: #15181B !important; font: 500 15px/1 "Inter", sans-serif !important; }
/* fields */
.hb-site main input:not([type="checkbox"]):not([type="radio"]), .hb-site main select, .hb-site main textarea {
  border: 1px solid #CFE0EF !important; border-radius: 8px !important; background: #fff; color: #15181B; font-size: 15px; box-shadow: none !important; }
.hb-site main input:focus-visible, .hb-site main select:focus-visible, .hb-site main textarea:focus-visible { outline: 2px solid #2F5F8A; outline-offset: 0; border-color: #2F5F8A !important; }
body.hb-site { --focus-ring: #2F5F8A; }   /* keyboard focus everywhere else on the page: the homepage's ink, in every theme */
/* cards */
.hb-site .form-card, .hb-site .login-container, .hb-site .signup-container, .hb-site .gate-main .card, .hb-site .terms-card {
  background: #fff !important; border: 1px solid #CFE0EF !important; border-radius: 16px !important; box-shadow: none !important; }
.hb-site .logo { font-family: "Jost", "Avenir Next", sans-serif; font-weight: 500; font-size: 20px; letter-spacing: .42em; text-transform: uppercase; color: #15181B; }
/* the security page's table header and the dark bands follow the homepage graphite */
.hb-site .cta-band { background: transparent; }
@media (prefers-reduced-motion: reduce) { .hb-site * { transition: none !important; animation: none !important; } }
/* pages that centred their one card by making the body a flex row (sign-up): the header and footer are now in
   the body too, so the body stacks and the card centres itself */
body.hb-site { display: block !important; min-height: 0 !important; padding: 0 !important; }
.hb-site .signup-container, .hb-site .login-container { margin: clamp(32px, 6vw, 72px) auto !important; }
.hb-ftr p { color: #AFC4D8 !important; }
/* links inside running text are underlined (WCAG 1.4.1); the gate's small print at 5.8:1 */
.hb-site main p a, .hb-site main li a { text-decoration: underline !important; text-decoration-thickness: 1px; }
.hb-site .foot { color: #5A6774 !important; }
/* LIGHT ONLY, ALSO FOR TEXT (2026-10-22, accessibility audit). These pages draw light grounds and white cards in
   every theme, but the theme switch still marks <html> dark for a visitor who chose dark (or "System" on a dark
   computer), and the app's dark tokens then reached the text: labels, terms and links measured 1.2-2.6:1 on the
   white cards (sign-in, sign-up, pricing, security, terms). The page keeps the light theme's tokens instead,
   the same values as the :root block of styles.css and tokens.css. */
body.hb-site {
  --crimson: #376DA1; --crimson-deep: #2C5A85; --crimson-soft: #7FA9CC; --accent: #376DA1; --navy-band: #17324E;
  --ink: #20303F; --ink-soft: #33465A; --parchment: #F6FAFD; --parchment-deep: #E7F1FA; --taupe: #DEEDF9; --taupe-deep: #B9D8F0;
  --muted: #586B80; --muted-soft: #5C6B7D; --rule: #D9E6F2; --gold: #B9D8F0;
  --speaker-user: #2F6BA8; --speaker-oc: #B3455B; --speaker-court: #20303F;
  --surface: #FFFFFF; --surface-sunk: #FBFBFC; --shadow-rgb: 15, 36, 71; --on-accent: #FFFFFF;
  --veil: rgba(246, 250, 253, 0.92); --on-accent-chip: rgba(255, 255, 255, 0.22);
  --danger: #B3261E; --danger-wash: #FDF6F6; --danger-line: #F1DEDC; --success: #2F6B46; --success-wash: #E8F5E9; --success-line: #CFE6D6;
  --warn: #7A5D12; --warn-wash: #FFF6DC; --warn-line: #EBDCAE;
}
/* the Security page's ticks and crosses keep their light inks on its white table (its dark-theme inks were for a
   dark table: 2.0-2.4:1 here) */
:root .hb-site .access-table .yes { color: #2F6B46; }
:root .hb-site .access-table .no { color: #B8322A; }
