/* northtrail.org: the page as a README open in a calm editor. Shared by index.html and 404.html.
   The editor chrome (tab bar, line numbers, markdown markers, status bar, cursor) is decoration: every piece
   of it is aria-hidden or has empty alternative text, so a screen reader reads plain content. */
@font-face { font-family: "iA Writer Mono"; src: url("/fonts/ia-writer-mono/iAWriterMonoS-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "iA Writer Mono"; src: url("/fonts/ia-writer-mono/iAWriterMonoS-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "iA Writer Mono"; src: url("/fonts/ia-writer-mono/iAWriterMonoS-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
:root {
  --desk: #e9e6dc;
  --paper: #f7f5ef;
  --chrome: #efece3;
  --ink: #2a2a28;
  --muted: #9a968a;   /* decoration only: markdown markers, chrome */
  --quiet: #6f6b5e;   /* quiet text that must stay readable: 4.9:1 on --paper */
  --gutter: #c2bdb0;
  --line: #dcd7ca;
  --blue: #2457a6;
  --mono: "iA Writer Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--desk); }
body {
  margin: 0;
  min-height: 100vh;
  padding: 56px 24px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.window {
  max-width: 860px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 18px 50px rgba(60, 50, 30, 0.10);
  overflow: hidden;
}
.tabs {
  display: flex; align-items: stretch;
  background: var(--chrome);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.dots { display: flex; gap: 7px; align-items: center; padding: 0 16px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--gutter); display: block; }
.tab {
  padding: 10px 18px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: -1px;
}
.path { margin-left: auto; padding: 10px 18px; color: var(--muted); }
.doc { padding: 36px 40px 40px 0; counter-reset: ln; }
.l {
  position: relative;
  margin: 0;
  padding-left: 88px;
  min-height: 1.75em;
  counter-increment: ln;
}
.l::before {
  content: counter(ln);
  /* Empty alternative text keeps the line numbers out of the accessibility tree. */
  content: counter(ln) / "";
  position: absolute; left: 0; width: 60px;
  text-align: right;
  color: var(--gutter);
  font-size: 13px;
  line-height: 1.75rem;
  top: 1px;
}
.m { color: var(--muted); }
.q { color: var(--quiet); }
h1.l, h2.l { font-size: inherit; font-weight: 700; }
h1.l { font-size: 28px; line-height: 1.3; padding-top: 0; }
h1.l::before { line-height: 2.4rem; }
.lede { font-size: 18px; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(36, 87, 166, 0.35); }
a:hover { border-bottom-color: var(--blue); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
em { font-style: italic; }
.cursor { display: inline-block; width: 0.6em; height: 1.15em; background: var(--blue); vertical-align: -0.2em; opacity: 0.8; }
.status {
  display: flex; gap: 24px;
  padding: 8px 18px;
  border-top: 1px solid var(--line);
  background: var(--chrome);
  color: var(--muted);
  font-size: 12px;
}
.status .right { margin-left: auto; }
@media (max-width: 640px) {
  body { padding: 16px 10px 64px; font-size: 14.5px; }
  .doc { padding: 22px 16px 28px 0; }
  .l { padding-left: 44px; }
  .l::before { width: 30px; font-size: 11px; }
  h1.l { font-size: 23px; }
  .lede { font-size: 15.5px; }
  .path, .status .hide { display: none; }
}
