/* ==========================================================================
   FILE     public_html/assets/site.css   jjmccaffrey.com   JJ01
   UPLOAD   by the live branch, into domains/jjmccaffrey.com/public_html/assets/
   DATE     2026-10-29
   The look of the holding page and the 404 page.
   JJ01: first version. The device's own fonts, so the page asks no other
   company for anything; light or dark to match the device.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #14181f;
  --muted: #5a6270;
  --link: #1f5fbf;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141c;
    --ink: #eef1f5;
    --muted: #a3acba;
    --link: #8fb8ff;
  }
}

html, body { margin: 0; height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: grid;
  place-items: center;
  padding: 0 16px;
  box-sizing: border-box;
}

main { max-width: 34rem; text-align: center; }

h1 {
  margin: 0 0 .5rem;
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -.01em;
}

p { margin: .25rem 0; color: var(--muted); }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus-visible { text-decoration-thickness: 2px; }
