/* PAT Logbook plain pages (support, privacy, 404): the specification-sheet look.
   White paper on a grey bench, black type and hairline rules, square corners, Schibsted Grotesk with Martian Mono captions. */
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/assets/fonts/martian-mono-var.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }

:root {
  --ink: #0c0d0c;
  --paper: #ffffff;
  --bench: #f1f2f0;
  --rule: #c6c9c5;
  --mute: #555a56;
  --fail: #b42318;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--bench); color: var(--ink); font: 400 17px/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 10; padding: .65rem .9rem; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

header.site { border-top: 0; border-bottom: 2px solid var(--ink); }
header.site .inner { max-width: 44rem; margin: 0 auto; padding: .65rem 1.25rem; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
header.site img { width: 34px; height: 34px; border-radius: 8px; }
header.site a.name { color: var(--ink); font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; text-decoration: none; }
header.site nav { margin-left: auto; display: flex; gap: .25rem; }
header.site nav a { min-height: 44px; padding: .45rem .55rem; display: inline-flex; align-items: center; color: var(--ink); font-size: .92rem; font-weight: 600; text-decoration: none; }
header.site nav a:hover { text-decoration: underline; }
header.site nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

main { max-width: 44rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
h1 { margin: 0 0 .75rem; font-size: clamp(2rem, 7vw, 2.9rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; }
h2 { margin: 2.5rem 0 .65rem; padding-top: .9rem; border-top: 1px solid var(--ink); font-size: 1.4rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
h3 { margin: 1.5rem 0 .4rem; font-size: 1.1rem; line-height: 1.3; font-weight: 700; }
p, ul, ol, dl { margin-top: .65rem; margin-bottom: 1rem; }
ul, ol { padding-left: 1.35rem; }
li { margin: .35rem 0; }
strong { font-weight: 700; }
code { font: 500 .85em var(--mono); }
table { border-collapse: collapse; max-width: 100%; }
th, td { padding: .5rem .6rem; border: 1px solid var(--ink); text-align: left; vertical-align: top; }
.lede { margin: 0 0 1rem; color: var(--mute); font-size: 1.14rem; }
.eyebrow { margin: 0 0 .65rem; color: var(--mute); font: 500 .6875rem/1.4 var(--mono); font-stretch: 87.5%; letter-spacing: .07em; text-transform: uppercase; }
/* the 404's one red object: a FAIL tag */
.eyebrow { display: inline-block; padding: .45rem 1.4rem .5rem .9rem; background: var(--paper); border: 2.5px solid var(--fail); border-radius: 10px 30px 30px 10px; color: var(--fail); font-weight: 600; }

footer.site { margin-top: 2rem; border-top: 2px solid var(--ink); background: var(--paper); }
footer.site .inner { max-width: 44rem; margin: 0 auto; padding: 1.4rem 1.25rem 2.2rem; color: var(--mute); font-size: .85rem; }
footer.site nav { display: flex; gap: 1rem; flex-wrap: wrap; }
footer.site nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 600; }

@media (max-width: 34rem) {
  header.site .inner { align-items: flex-start; }
  header.site nav { width: 100%; margin-left: -.55rem; }
  main { padding-top: 1.5rem; }
}
@media print {
  header.site, footer.site, .skip-link { display: none; }
  body { color: #111; background: #fff; font-size: 11pt; }
  main { max-width: none; padding: 0; }
}

/* family line: the only WeEvolve mark (monochrome glyph, the site's own type) */
footer.site .family { margin: .6rem 0 0; }
footer.site .family a { min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; text-decoration: none; }
footer.site .family a:hover { text-decoration: underline; }
footer.site .family svg { width: 18px; height: 18px; flex: none; }
footer.site .lockup { margin: .2rem 0 0; }
