/* Chelys static pages (chelys.shutbox.im). Colours and type follow the Chelys design system: true black, marble light. */
@font-face { font-family: Geist; src: url("/fonts/geist-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url("/fonts/geist-semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --ground: #eeede9; --surface: #f7f6f3; --line: #dedcd7;
  --text: #111110; --muted: #57554f; --accent-text: #4a5a00;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #000000; --surface: #0e0e10; --line: #26262b;
    --text: #f4f4f5; --muted: #a1a1aa; --accent-text: #d7ff3b;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font: 400 16px/26px Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 680px; margin: 0 auto; padding: 40px 16px 72px; }
@media (min-width: 720px) { main { padding-top: 64px; } }

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; font-size: 20px; font-weight: 600; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }

h1 { margin: 0; font-size: 34px; line-height: 40px; font-weight: 600; letter-spacing: -0.03em; }
h2 { margin: 40px 0 8px; font-size: 20px; line-height: 28px; font-weight: 600; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 20px; }
li { margin: 4px 0; }
li::marker { color: var(--muted); }
strong { font-weight: 600; }

.meta { margin-top: 8px; color: var(--muted); font: 400 14px/20px "Geist Mono", ui-monospace, monospace; }
code { font: 400 14px/20px "Geist Mono", ui-monospace, monospace; overflow-wrap: anywhere; }
.summary {
  margin: 28px 0 0; padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px;
}

a { color: var(--accent-text); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }
