/*
 * The look is the dark, neutral one of TrackForge's CWR Workspace and public pages
 * (James, 30 November 2026): the same values as the first block of
 * frontend/public/article-base.css, the system font, semibold headings, blue for links
 * only, no accent colour. Copied here, not imported, so this folder stands on its own.
 */
:root {
  --canvas: oklch(10% 0 0);
  --elevated: oklch(12% 0 0);
  --line: oklch(32% 0 0);
  --text: oklch(97% 0 0);
  --subtle: oklch(70.8% 0 0);
  --link: oklch(70.7% 0.165 254.624);
  color-scheme: dark;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--canvas);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.column { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }

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

.site-header { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.wordmark { color: var(--text); font-weight: 600; }
.wordmark:hover { text-decoration: none; }

main.column { padding-top: 4rem; padding-bottom: 4rem; }

.chip {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--elevated);
  color: var(--subtle);
  border-radius: 0.375rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 1.5rem;
}

h1 { font-size: 2.25rem; font-weight: 600; line-height: 1.2; margin-bottom: 1.5rem; }
h2 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-bottom: 0.75rem; }

.lead { font-size: 1.125rem; color: var(--subtle); }

section { margin-top: 3.5rem; }
section p + p { margin-top: 1rem; }

.card {
  border: 1px solid var(--line);
  background: var(--elevated);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 3rem;
  color: var(--subtle);
  font-size: 0.875rem;
}
.site-footer p + p { margin-top: 0.25rem; }

@media (max-width: 40rem) {
  main.column { padding-top: 2.5rem; padding-bottom: 3rem; }
  h1 { font-size: 1.75rem; }
}

ul { list-style: none; margin-top: 1rem; }
li { border-top: 1px solid var(--line); padding: 0.875rem 0; }
li:last-child { border-bottom: 1px solid var(--line); }
.term { font-weight: 500; }
