:root {
  --ink: #16191d;
  --muted: #5b6470;
  --line: #dfe3e8;
  --accent: #1f5f8b;
  --bg: #ffffff;
  --wash: #f6f8fa;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }
header {
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}
.bar {
  max-width: 60rem; margin: 0 auto; padding: 1.1rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: baseline;
}
.mark { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.mark span { color: var(--muted); font-weight: 400; }
nav { margin-left: auto; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.1rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .93rem; }
nav a:hover, nav a:focus { color: var(--accent); text-decoration: underline; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
main { max-width: 60rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
h1 { font-size: 1.9rem; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 .4rem; }
.lede { font-size: 1.1rem; color: var(--muted); margin: 0 0 2.5rem; max-width: 44rem; }
h2 { font-size: 1.2rem; margin: 2.5rem 0 .6rem; letter-spacing: -.01em; }
h3 { font-size: 1rem; margin: 1.6rem 0 .4rem; }
p, li { max-width: 44rem; }
a { color: var(--accent); }
code, kbd {
  font: .88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--wash); border: 1px solid var(--line);
  border-radius: 3px; padding: .1em .35em;
}
pre {
  background: var(--wash); border: 1px solid var(--line); border-radius: 5px;
  padding: 1rem; overflow-x: auto; font-size: .88rem; line-height: 1.55;
}
pre code { background: none; border: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .94rem; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--wash); font-weight: 600; }
.note {
  border-left: 3px solid var(--accent); background: var(--wash);
  padding: .9rem 1.1rem; margin: 1.5rem 0; border-radius: 0 4px 4px 0;
}
.note p { margin: .35rem 0; }
footer {
  border-top: 1px solid var(--line); background: var(--wash);
  font-size: .89rem; color: var(--muted);
}
.footbar { max-width: 60rem; margin: 0 auto; padding: 1.5rem 1.25rem; }
.footbar p { margin: .3rem 0; max-width: none; }
/* Cards, for the eight mechanisms on /company.html. Plain borders, no shadows:
   this site is read by people checking whether we are real, not browsed for pleasure. */
.grid {
  display: grid; gap: .9rem; margin: 1.2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
  border: 1px solid var(--line); border-radius: 5px; padding: .9rem 1rem;
  background: var(--bg);
}
.card h3 { margin: 0 0 .3rem; font-size: .98rem; }
.card p { margin: 0; font-size: .93rem; color: var(--muted); max-width: none; }
.tag {
  display: inline-block; margin-top: .55rem; font-size: .78rem; color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* The four engagement stages. Numbered because the order is the substance. */
.stages { list-style: none; margin: 1.2rem 0; padding: 0; counter-reset: stage; }
.stages > li {
  counter-increment: stage; position: relative;
  padding: 0 0 1.1rem 3rem; max-width: 46rem;
}
.stages > li::before {
  content: counter(stage, decimal-leading-zero);
  position: absolute; left: 0; top: .05rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem; color: var(--accent); font-weight: 600;
}
.stages h3 { margin: 0 0 .2rem; font-size: .98rem; }
.stages .when { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stages p { margin: .3rem 0 0; font-size: .95rem; }

/* Trade lists: long on purpose, so let them run in columns rather than down the page. */
.cols { columns: 2 14rem; column-gap: 2rem; }
.cols li { break-inside: avoid; max-width: none; }

@media (max-width: 34rem) {
  .bar { flex-direction: column; align-items: flex-start; }
  nav { margin-left: 0; }
}
