/* Ellinor Labs brand: colours and type from the brand README (biz-lane, 2026-11-03).
   Besley 600 for headings only (≥ 20 px); Overpass for all other text. Never the Lūsis colours. */
@font-face {
  font-family: "Besley";
  src: url("/fonts/Besley-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Overpass";
  src: url("/fonts/Overpass-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --page: #F7F5F0;
  --text: #1A2A2D;
  --muted: #4A5759;
  --link: #4F6F98;
  --rule: #F0BE93;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #14191B;
    --text: #F2EEE6;
    --muted: #B5B8B4;
    --link: #8FA6C4;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0 auto;
  max-width: 40rem;
  padding: 3rem 1.25rem 2.5rem;
  background: var(--page);
  color: var(--text);
  font: 400 1.125rem/1.6 "Overpass", system-ui, sans-serif;
}

.lockup { display: block; width: 100%; max-width: 18rem; height: auto; }

main { margin-top: 3.5rem; }
section + section { margin-top: 2.75rem; }
.intro { padding-bottom: 2.5rem; border-bottom: 2px solid var(--rule); }

h1, h2 {
  font-family: "Besley", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: 1.5rem; }
p { margin: 0 0 0.75rem; }

a { color: var(--link); font-weight: 500; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }

footer { margin-top: 4rem; font-size: 0.9375rem; color: var(--muted); }
footer p { margin: 0 0 0.25rem; }
