/* Hearing Maid's pages (REL-5): the app's colours (client/lib/core/design/theme/colors.dart) and font. */
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 400; font-display: swap;
  src: url("/fonts/AtkinsonHyperlegibleNext-Regular.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 700; font-display: swap;
  src: url("/fonts/AtkinsonHyperlegibleNext-Bold.ttf") format("truetype"); }
:root { --surface: #F0FCFB; --text: #131D1D; --muted: #3F4947; --accent: #1A5F5B; --line: #DAE5E4; }
@media (prefers-color-scheme: dark) {
  :root { --surface: #0D1515; --text: #F1F7F6; --muted: #A5C4C1; --accent: #6FD2C9; --line: #1F3331; }
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--text);
  font: 400 1.125rem/1.6 "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
header, main, footer { max-width: 40rem; margin: 0 auto; padding: 0 1.25rem; }
header { padding-top: 1.25rem; }
.app { font-weight: 700; color: var(--accent); text-decoration: none; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 1.5rem 0 1rem; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
p, ul { margin: 0 0 1rem; }
li { margin-bottom: 0.5rem; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
strong { font-weight: 700; }
main a, footer a { overflow-wrap: anywhere; }
footer { margin-top: 3rem; padding-bottom: 2rem; border-top: 1px solid var(--line); color: var(--muted); }
footer ul { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
footer [aria-current] { color: var(--text); text-decoration: none; font-weight: 700; }
