/* The colours of EduHear: the deep blue of the icon, the aqua beside it
   and the sun. Nothing else carries a colour, so the page stays quiet
   and the name is the one strong thing on it. */
:root {
  --paper: #F5F7F9;
  --sheet: #FFFFFF;
  --ink: #141A1E;
  --quiet: #4B5A64;
  --line: #CBD6DE;
  --deep: #0B3C5D;
  --aqua: #1D7A8C;
  --sun: #D98A14;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101920;
    --sheet: #18232A;
    --ink: #E7EDF1;
    --quiet: #A6B6C2;
    --line: #2C3A44;
    --deep: #9FC9DE;
    --aqua: #56B6C8;
    --sun: #F2A63B;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 44px 20px 72px;
  max-width: 40rem;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.62 ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--aqua); }
a:hover { color: var(--deep); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }

/* -- the name of the application -- */
.brand { display: flex; align-items: center; gap: 12px; }
/* The bars take the colours of the theme, so the dark mode does not
   hide the deep blue one. */
.brand svg { display: block; }
.brand .deep { fill: var(--deep); }
.brand .aqua { fill: var(--aqua); }
.brand .sun { fill: var(--sun); }
.brand b {
  font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--deep);
}

h1 {
  margin: 30px 0 0;
  font-size: clamp(2rem, 7.5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--deep);
  max-width: 14em;
}

.lede { margin: 18px 0 0; font-size: 1.1rem; color: var(--quiet); }

h2 {
  margin: 48px 0 0;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  color: var(--deep);
}

p { margin: 14px 0 0; }
.quiet { color: var(--quiet); }

/* -- the three modes and the facts, as pairs of a name and a sentence -- */
dl { margin: 18px 0 0; }
dt {
  margin: 18px 0 0;
  font-weight: 700;
  color: var(--ink);
}
dt:first-child { margin-top: 0; }
dd { margin: 3px 0 0; color: var(--quiet); }

/* The number of a fact stays in the colour of the text. Only the name of
   the application and the headings take the blue. */
dl.facts dt { font-weight: 700; }
dl.facts dt span { color: var(--aqua); }

ul { margin: 12px 0 0; padding-left: 1.15rem; }
li { margin: 7px 0 0; color: var(--quiet); }
li::marker { color: var(--sun); }

hr {
  margin: 44px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* -- the way to reach a person -- */
.ask {
  margin: 20px 0 0;
  padding: 20px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sun);
  border-radius: 4px;
}
.ask p { margin: 0; }
.ask p + p { margin-top: 10px; }
.mail { font-size: 1.15rem; font-weight: 700; }

footer {
  margin: 52px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--quiet);
}
footer a { color: var(--quiet); }
