/* Public pages on hespersleep.com. Colours follow landing/hesper/tokens.css (night by default, day on light systems). */
@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ground: #0F1424;
  --surface: #1A2138;
  --line: #2A3150;
  --ink: #EDE6D6;
  --ink-muted: #8C93A8;
  --lamp-ink: #F4B860;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --ground: #F6F3ED;
    --surface: #EDE6D6;
    --line: #DCD5C6;
    --ink: #0F1424;
    --ink-muted: #535A70;
    --lamp-ink: #8A5A14;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
main { max-width: 42rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
header { display: flex; align-items: center; gap: .6rem; margin-bottom: 2.5rem; }
header a { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: .01em; }
header img { width: 32px; height: 32px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .5rem; font-weight: 600; }
h2 { font-size: 1.2rem; margin: 2.2rem 0 .6rem; font-weight: 600; }
p, li { margin: 0 0 .8rem; }
ul { padding-left: 1.2rem; }
a { color: var(--lamp-ink); }
.meta { color: var(--ink-muted); font-size: .95rem; }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .5rem 0 1rem; }
th, td { text-align: left; vertical-align: top; padding: .5rem .6rem .5rem 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: .9rem; }
footer a { color: var(--ink-muted); }
