/* Hey Concierge — one stylesheet, system fonts, no scripts. */
:root {
  color-scheme: light dark;
  --page: #f3f8fd;
  --surface: #ffffff;
  --ink: #14171f;
  --muted: #4a5363;
  --line: #d5e3f1;
  --accent: #1a71b8;
  --accent-ink: #ffffff;
  --link: #1a71b8;
  --banner-bg: #fff4d6;
  --banner-ink: #5a4300;
  --banner-line: #e8cf85;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0f141b;
    --surface: #18202a;
    --ink: #e8edf3;
    --muted: #aab4c1;
    --line: #2a3542;
    --accent: #1a71b8;
    --accent-ink: #ffffff;
    --link: #6cb4ea;
    --banner-bg: #2e2712;
    --banner-ink: #f3dc9a;
    --banner-line: #5c4c1c;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: var(--accent-ink); padding: 0.5rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.875rem; padding-bottom: 0.875rem; }
.brand { font-weight: 700; font-size: 1.125rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.brand img { width: 28px; height: 28px; }
header.site nav a { font-size: 0.95rem; }
main { flex: 1; padding: 2rem 0 3rem; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.375rem; line-height: 1.3; margin: 2.25rem 0 0.75rem; }
h3 { font-size: 1.125rem; margin: 1.5rem 0 0.5rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.25rem 0.5rem; margin: 1.25rem 0; }
.card h2, .card h3 { margin-top: 0; }
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid { grid-template-columns: 1fr 1fr; } }
.grid .card { margin: 0; }
.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  padding: 0.75rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.button:hover { filter: brightness(1.08); }
.pill { display: inline-block; font-size: 0.85rem; font-weight: 600; padding: 0.2rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); margin-bottom: 1rem; }
.draft {
  background: var(--banner-bg); color: var(--banner-ink); border: 1px solid var(--banner-line);
  border-radius: 10px; padding: 0.75rem 1rem; margin-bottom: 1.5rem; font-weight: 600;
}
.sample { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: 0.95rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.8rem; display: block; margin: 0.4rem 0; overflow-wrap: anywhere; }
.toc { font-size: 0.95rem; }
footer.site { border-top: 1px solid var(--line); background: var(--surface); font-size: 0.9rem; }
footer.site .wrap { padding-top: 1.25rem; padding-bottom: 1.5rem; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin-bottom: 0.5rem; }
footer.site p { margin: 0; color: var(--muted); }
