/* Shared tokens, fonts and the guide-sign header for every page on the site. Change a color here and every page follows. */
:root {
  --bg: #eef0ec;
  --surface: #ffffff;
  --fg: #1e2420;
  --muted: #5d665f;
  --line: #d3d8d2;
  --sign: #0e5b3c;
  --sign-fg: #ffffff;
  --amber: #e8a200;
  --amber-soft: #fbf1d6;
  --link: #0b5a3a;
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161a18; --surface: #1f2522; --fg: #e9ede9; --muted: #9aa49d; --line: #33403a;
    --sign: #12704a; --sign-fg: #ffffff; --amber: #f2b42a; --amber-soft: #3a3020; --link: #7fd1a8; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161a18; --surface: #1f2522; --fg: #e9ede9; --muted: #9aa49d; --line: #33403a;
  --sign: #12704a; --sign-fg: #ffffff; --amber: #f2b42a; --amber-soft: #3a3020; --link: #7fd1a8; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
.wrap {
  max-width: 760px; margin: 0 auto; display: grid; gap: 22px;
  padding-block: 24px 56px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.sign {
  background: var(--sign); color: var(--sign-fg); border-radius: 12px;
  padding: 20px 22px; border: 3px solid var(--sign); outline: 2px solid var(--sign-fg); outline-offset: -8px;
  display: grid; gap: 8px;
}
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1; margin: 0; letter-spacing: .01em; text-wrap: balance; }
.sign p { margin: 0; max-width: 52ch; }
.stamp { font-family: var(--font-mono); font-size: 12px; opacity: .85; }

/* Small "back home" bar at the top of inner pages */
.topnav { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.topnav a { text-decoration: none; }
.topnav a:hover { text-decoration: underline; }
