:root {
  --paper:      #e9edee;
  --paper-high: #f6f8f8;
  --ink:        #14252c;
  --ink-soft:   #55686f;
  --ink-faint:  #7d8d93;
  --rule:       #c4d0d4;
  --mark:       #b01b62;
  --screen:     #12212a;
  --screen-ink: #c6d2d6;
  --serif: ui-serif, Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #101b21;
    --paper-high: #17252c;
    --ink:        #dde5e7;
    --ink-soft:   #9aabb1;
    --ink-faint:  #74868d;
    --rule:       #2c3d45;
    --mark:       #ea8fb4;
    --screen:     #0b1418;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.62;
}
.page { max-width: 41rem; margin: 0 auto; padding: 0 1.4rem 6rem; }

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

h1, h2, h3 { font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 2.6rem; margin: 0 0 .4rem; letter-spacing: -0.03em; }
h2 { font-size: 1.35rem; margin: 3.4rem 0 .9rem; }
h3 { font-size: 1.02rem; margin: 2rem 0 .4rem; font-weight: 600; }
p { margin: 0 0 1.05rem; }
ul { margin: 0 0 1.05rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }
strong { font-weight: 600; }

header { padding: 4.5rem 0 0; }
.standfirst {
  font-size: 1.22rem; line-height: 1.5; color: var(--ink-soft);
  margin: 0 0 2.2rem; max-width: 32rem;
}
.tagline { color: var(--ink-faint); font-size: .95rem; margin: 0 0 2.6rem; }

hr {
  border: 0; height: 1px; background: var(--rule);
  margin: 3.6rem 0 0; box-shadow: 0 3px 0 -2px var(--rule);
}

/* the terminal specimen: a fixed grid, so it scrolls rather than reflows */
.screen-frame {
  background: var(--screen); border-radius: 5px;
  overflow-x: auto; margin: 0 0 .7rem; padding: .85rem 0;
  border: 1px solid var(--rule);
}
.screen {
  font-family: var(--mono); font-size: 12px; line-height: 1.45;
  color: var(--screen-ink); margin: 0; padding: 0 1rem;
  min-width: 74ch; white-space: pre;
}
.caption { color: var(--ink-faint); font-size: .88rem; margin: 0 0 2.4rem; }
.s-dim  { color: #6c7f87; }
.s-me   { color: #97c459; }
.s-them { color: #5dcaa5; }
.s-bar  { color: #9db4c4; }
.s-mark { color: #d8749f; }

pre.cmd {
  font-family: var(--mono); font-size: 13.5px; line-height: 1.6;
  background: var(--paper-high); color: var(--ink);
  border-left: 2px solid var(--mark); border-radius: 0;
  padding: .8rem 1rem; margin: 0 0 1.05rem;
  overflow-x: auto; white-space: pre;
}
code {
  font-family: var(--mono); font-size: .86em;
  background: var(--paper-high); padding: .1em .35em; border-radius: 3px;
}
pre.cmd code { background: none; padding: 0; font-size: 1em; }

table { border-collapse: collapse; width: 100%; margin: 0 0 1.3rem; font-size: .95rem; }
th, td { text-align: left; padding: .45rem .8rem .45rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; color: var(--ink-soft); font-size: .86rem; }
td.num { font-family: var(--mono); font-size: .84rem; white-space: nowrap; }

dl { margin: 0 0 1.05rem; }
dt { font-weight: 600; margin-top: 1.1rem; }
dd { margin: .15rem 0 0; color: var(--ink-soft); }

.note {
  border-left: 2px solid var(--rule); border-radius: 0;
  padding: .1rem 0 .1rem 1rem; margin: 0 0 1.3rem;
  color: var(--ink-soft); font-size: .96rem;
}

footer {
  margin-top: 4rem; padding-top: 1.4rem; border-top: 1px solid var(--rule);
  color: var(--ink-faint); font-size: .9rem;
}
footer p { margin-bottom: .4rem; }

@media (max-width: 34rem) {
  body { font-size: 17px; }
  h1 { font-size: 2.1rem; }
  header { padding-top: 3rem; }
  .screen { font-size: 10.5px; }
}

/* navigation and cross-page links */
nav { margin: 0 0 2.2rem; font-size: .95rem; }
nav a { margin-right: 1.2rem; }
nav a[aria-current] { color: var(--mark); text-decoration: none; font-weight: 600; }

.next {
  display: block; margin: 2rem 0 0; padding: 1rem 1.2rem;
  background: var(--paper-high); border-left: 2px solid var(--mark);
  text-decoration: none; color: var(--ink);
}
.next:hover { color: var(--ink); background: var(--rule); }
.next b { display: block; font-size: 1.08rem; margin-bottom: .15rem; }
.next span { color: var(--ink-soft); font-size: .95rem; }

/* the walkthrough: genuinely a sequence, so genuinely numbered */
ol.steps {
  list-style: none; counter-reset: step; padding: 0;
  margin: 2.6rem 0 0;   /* hr has no bottom margin; nothing else here supplies one */
}
ol.steps > li {
  counter-increment: step; position: relative;
  padding: 0 0 .4rem 2.6rem; margin: 0 0 2.4rem;
}
ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: .05rem;
  font-family: var(--mono); font-size: .8rem; color: var(--mark);
  border: 1px solid var(--mark); border-radius: 50%;
  width: 1.7rem; height: 1.7rem; line-height: 1.6rem; text-align: center;
}
ol.steps h2 { margin: 0 0 .6rem; font-size: 1.15rem; }

.platform { margin: 0 0 1.05rem; }
.platform dt { margin-top: .8rem; font-size: .92rem; }
.platform dd { margin-left: 0; }
.platform dd code { font-size: .82em; }

.aside {
  background: var(--paper-high); padding: .9rem 1.1rem;
  margin: 0 0 1.3rem; font-size: .95rem; color: var(--ink-soft);
}
.aside p:last-child { margin-bottom: 0; }
.aside strong { color: var(--ink); }

/* The mark inherits colour, so it follows the theme. Inline rather than an
   <img>, because an <img> is a separate document and currentColor there
   resolves to black instead of the page's text colour. */
.mark { width: 1em; height: 1em; color: var(--mark); vertical-align: -0.09em; }
h1 .mark { margin-right: .3em; }
nav .mark { width: 1.15em; height: 1.15em; vertical-align: -0.22em; }
nav a[aria-label] { margin-right: 1rem; }
