/* Preface Press — the site.
 *
 * The pages on this site are set by Preface; everything else is here to stay
 * out of their way. They lie on a proofing table — a grey ground, crop marks at
 * the trim — and are captioned with what they actually are.
 */

@font-face {
  font-family: "Libertinus Serif";
  src: url("/fonts/LibertinusSerif-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libertinus Serif";
  src: url("/fonts/LibertinusSerif-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libertinus Serif";
  src: url("/fonts/LibertinusSerif-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DejaVu Sans Mono";
  src: url("/fonts/DejaVuSansMono.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* -- tokens ------------------------------------------------------------ */

:root {
  --table: #e9eae6;      /* the proofing table the pages lie on */
  --table-deep: #dfe0db; /* a band of it, for a section that wants setting apart */
  --paper: #ffffff;      /* a page: paper in either theme */
  --ink: #1b1c1a;
  --muted: #5b5f58;
  --faint: #83877f;
  --rule: #c5c8c0;
  --mark: #3b3d39;       /* crop marks */
  --accent: #7f6034;     /* the bronze of Athenaeum's drop cap, taken from the page */
  --accent-ink: #ffffff;
  --focus: #2f5f8a;

  --serif: "Libertinus Serif", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --mono: "DejaVu Sans Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* One scale, stepped by a perfect fourth. */
  --s-1: 0.875rem;
  --s0: 1.1875rem;
  --s1: 1.5rem;
  --s2: 2rem;
  --s3: 2.75rem;
  --s4: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);

  --measure: 34em;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --wide: 76rem;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --table: #1b1c1a;
    --table-deep: #232421;
    --ink: #e8e7e1;
    --muted: #a7aaa2;
    --faint: #80847c;
    --rule: #3b3d39;
    --mark: #9a9d95;
    --accent: #c9a46a;
    --accent-ink: #1b1c1a;
    --focus: #8ab8e0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --table: #1b1c1a;
  --table-deep: #232421;
  --ink: #e8e7e1;
  --muted: #a7aaa2;
  --faint: #80847c;
  --rule: #3b3d39;
  --mark: #9a9d95;
  --accent: #c9a46a;
  --accent-ink: #1b1c1a;
  --focus: #8ab8e0;
  color-scheme: dark;
}

/* -- ground ------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--table);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--s0);
  line-height: 1.5;
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

/* A label in small capitals, the way the pages below set theirs. */
.sc {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  font-variant-numeric: lining-nums;
}

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus { left: var(--gutter); top: 0.75rem; background: var(--paper); color: #1b1c1a; padding: 0.4rem 0.8rem; z-index: 10; }

/* -- masthead ---------------------------------------------------------- */

.masthead {
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: 1.1rem;
}
.wordmark {
  font-size: var(--s1);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
}
/* Optically sized against the word beside it, not set to the cap height: the
   mark has a descender and the word does not, so matching the two by their
   boxes leaves the mark looking taller than the type it sits with. */
.mark {
  width: 0.62em;
  height: 1.06em;
  fill: var(--accent);
  flex: none;
}
.nav {
  display: flex;
  gap: 0.25rem 1.5rem;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: var(--s0);
}
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); }

/* -- buttons ----------------------------------------------------------- */

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font: inherit;
  font-size: var(--s0);
  line-height: 1;
  padding: 0.8em 1.25em 0.75em;
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

/* A button that cannot do anything should not look as though it can. There is
   one on /buy/ while Paddle finishes approving the site: it keeps its place
   so the page still reads as the page where you buy, and says plainly that
   today is not the day. */
.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: saturate(0.4);
}
.button:hover { background: var(--ink); color: var(--table); }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button.primary:hover { background: var(--ink); border-color: var(--ink); color: var(--table); }

.aside-note { color: var(--muted); font-size: var(--s-1); font-style: italic; }

/* -- the proof: a page on the table ------------------------------------ */

/* Crop marks sit outside the trim, collinear with its edges, a gap away from
 * the corner — as a printer draws them. One pseudo-element, eight strokes. */
.proof {
  --gap: 7px;
  --len: 16px;
  --reach: calc(var(--gap) + var(--len));
  position: relative;
  background: var(--paper);
  margin: var(--reach);
}
.proof::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--reach));
  pointer-events: none;
  --m: linear-gradient(var(--mark), var(--mark));
  background:
    var(--m) left 0 top var(--reach) / var(--len) 1px,
    var(--m) left var(--reach) top 0 / 1px var(--len),
    var(--m) right 0 top var(--reach) / var(--len) 1px,
    var(--m) right var(--reach) top 0 / 1px var(--len),
    var(--m) left 0 bottom var(--reach) / var(--len) 1px,
    var(--m) left var(--reach) bottom 0 / 1px var(--len),
    var(--m) right 0 bottom var(--reach) / var(--len) 1px,
    var(--m) right var(--reach) bottom 0 / 1px var(--len);
  background-repeat: no-repeat;
}
.proof img { width: 100%; }

/* Two pages that face each other are one sheet with a fold, not two cards. */
.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.spread img:first-child { box-shadow: inset -1px 0 0 var(--rule); }
.spread::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.12) 12%, rgba(0, 0, 0, 0.12) 88%, transparent);
}

.caption {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--muted);
  font-variant-numeric: normal;
}
.caption b { font-weight: 400; color: var(--ink); }

/* -- hero -------------------------------------------------------------- */

/* The section already has padding; the hero's own is trimmed so the call to
 * action sits on the first screen of a 1280 x 720 window. */
section.hero { padding-block: clamp(1.5rem, 1rem + 2.5vw, 3rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.category { font-size: var(--s1); line-height: 1.35; color: var(--muted); max-width: 24em; margin-bottom: 1.75rem; }
.hero h1 {
  font-size: var(--s4);
  letter-spacing: -0.012em;
  margin-block: 0.6rem 1.4rem;
}
.hero h1 em { color: var(--accent); }
.eyebrow { color: var(--accent); font-size: var(--s0); }
.lede {
  font-size: var(--s1);
  line-height: 1.42;
  max-width: 26em;
  color: var(--ink);
  margin-bottom: 2rem;
}
.hero .aside-note { margin-top: 1rem; max-width: 30em; }
.hero figure { margin: 0; }
/* One page, as large as the screen allows and no larger: it should read as a
 * page you could hold, not a picture of one. */
.hero-page { justify-self: center; width: min(100%, 26rem, calc((100svh - 11rem) * 0.643)); }
.hero figcaption { margin-top: 0.4rem; padding-inline: 23px; }

/* A spread wide enough to read, across the measure of the section. */
.evidence { margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 0; }
.evidence .proof { max-width: 62rem; margin-inline: auto; }
.evidence figcaption { max-width: 62rem; margin: 0.4rem auto 0; padding-inline: 23px; }

/* -- sections ---------------------------------------------------------- */

section { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
section + section { border-top: 1px solid var(--rule); }
.band { background: var(--table-deep); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 1rem clamp(2rem, 1rem + 4vw, 5rem);
  align-items: baseline;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section-head h2 { font-size: var(--s3); }
.section-head p { font-size: var(--s1); line-height: 1.45; color: var(--muted); max-width: 30em; }

.prose { max-width: var(--measure); }
.prose p + p { margin-top: 0.9em; }

/* What the typesetter notices: a fault, and what it does about it. */
.notices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 0 clamp(2rem, 1rem + 3vw, 4rem);
}
.notices li {
  padding-block: 1.25rem 1.4rem;
  border-top: 1px solid var(--rule);
}
.notices .fault { font-size: var(--s1); line-height: 1.25; display: block; margin-bottom: 0.45rem; }
.notices .remedy { color: var(--muted); }

.pull {
  font-size: var(--s2);
  line-height: 1.3;
  font-style: italic;
  max-width: 24em;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  text-wrap: balance;
}

/* -- the styles -------------------------------------------------------- */

.styles-strip {
  display: grid;
  /* Wide enough that only the three featured pages fit across, so they fill
     the row and come out big enough to read. auto-fit is no help here: it
     collapses a track only when the grid has one to spare, and at 15rem a
     fourth still fitted, leaving the three huddled against an empty quarter. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 2.5rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.styles-strip li { margin: 0; }
.styles-strip .proof { --gap: 5px; --len: 11px; }
.styles-strip h3 { font-size: var(--s1); margin-top: 0.3rem; padding-inline: 16px; }
.styles-strip p { color: var(--muted); font-size: var(--s-1); padding-inline: 16px; margin-top: 0.2rem; }

/* -- two columns of claims --------------------------------------------- */

.pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 3rem clamp(2rem, 1rem + 4vw, 5rem);
}
.pair h3 { font-size: var(--s2); margin-bottom: 1rem; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checks li {
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-top: 1px solid var(--rule);
  position: relative;
}
.checks li::before {
  content: "❧";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* -- the same chapter, printed and read on a screen --------------------- */

.editions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: end;
  justify-items: center;
}
/* Both to one height, so the comparison is of the setting and not of how big
   two pictures happen to be. A page and a phone are different shapes, and the
   widths coming out unequal is the honest part. */
.editions .proof { width: auto; }
.editions img { max-height: 32rem; width: auto; }
/* A screen has no trim, so it gets no crop marks — an edge and a shadow
   instead, which is what it actually has. */
.editions .reader {
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 0.09);
}
.editions .reader img { display: block; }
.evidence.both figcaption { margin-top: 1.5rem; }

/* -- footer ------------------------------------------------------------ */

.colophon {
  border-top: 1px solid var(--rule);
  padding-block: 2.5rem 3rem;
  color: var(--muted);
  font-size: var(--s-1);
}
.colophon .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.colophon nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.colophon a { color: var(--muted); }

/* -- narrow ------------------------------------------------------------ */

@media (max-width: 52rem) {
  .hero .wrap, .section-head { grid-template-columns: 1fr; }
  /* The claim first, then the page that backs it. */
  .hero-page { width: min(100%, 24rem); }
  .edition, .edition + .edition { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 30rem) {
  .proof { --gap: 4px; --len: 9px; }
  .hero figcaption { padding-inline: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
}

/* -- inner pages ------------------------------------------------------- */

.page-title { font-size: var(--s4); letter-spacing: -0.012em; margin-top: 0.4rem; }
.h2-small { font-size: var(--s2); }
/* A statement that something is not yet available, said plainly. */
.pending {
  border: 1px dashed var(--rule);
  padding: 1.25rem 1.5rem;
  color: var(--muted);
  max-width: var(--measure);
}
.pending strong { color: var(--ink); font-weight: 600; }

.legal { max-width: var(--measure); }
.legal h2 { font-size: var(--s2); margin: 2.5rem 0 0.75rem; }
.legal h3 { font-size: var(--s1); margin: 1.75rem 0 0.5rem; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 0.85em; }
.legal ul { padding-left: 1.2em; margin: 0.85em 0 0; }
.legal li + li { margin-top: 0.35em; }
.legal pre {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.55;
  white-space: pre-wrap;
  background: var(--paper);
  color: #1b1c1a;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 1rem 0 0;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
}
.plan { padding: 1.5rem 1.5rem 1.75rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.plan + .plan { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.plan h3 { font-size: var(--s2); }
.plan .price { font-size: var(--s3); line-height: 1; }
.plan .price small { font-size: var(--s0); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.plan li { padding: 0.45rem 0; border-top: 1px solid var(--rule); }

@media (max-width: 52rem) {
  .plan, .plan + .plan { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* Pages at their true relative size — a 6 × 9 book is larger than a 5 × 8 one —
 * standing on one line, with their names level beneath them. */
.styles-strip li {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0;
}
.styles-strip .proof {
  align-self: end;
  width: calc(var(--w, 1) * (100% - 2 * var(--reach)));
}
.styles-strip .trim { padding-inline: 16px; margin-top: 0.1rem; }

/* On a phone, two pages to a row rather than one full-screen page after another. */
@media (max-width: 36rem) {
  .styles-strip { grid-template-columns: 1fr 1fr; gap: 2rem 0.75rem; }
  .styles-strip .proof { --gap: 3px; --len: 8px; }
  .styles-strip h3 { font-size: var(--s0); padding-inline: 11px; }
  .styles-strip p, .styles-strip .trim { padding-inline: 11px; }
}

/* -- how it works: four steps, each with the screen it happens on ------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr));
  gap: 3rem clamp(1.5rem, 1rem + 2vw, 3rem);
  counter-reset: step;
}
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 0.6rem; }
.steps h3 { font-size: var(--s1); }
.steps h3::before {
  content: counter(step);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-right: 0.6rem;
  vertical-align: 0.15em;
}
.steps p { color: var(--muted); }
.screen {
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 3px;
  overflow: hidden;
}
.screen img { width: 100%; }
.try-sample { margin-top: 2.5rem; max-width: var(--measure); }

/* A page image that opens larger. */
a.enlarge { display: block; cursor: zoom-in; }
a.enlarge:focus-visible { outline-offset: 6px; }

/* Two lists side by side: what is done for you, and what is pointed out. */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem clamp(2rem, 1rem + 4vw, 5rem); }
.split h3 { font-size: var(--s1); margin-bottom: 0.5rem; }

/* Questions and answers. */
.qa { max-width: 44rem; }
.qa dt { font-size: var(--s1); margin-top: 1.75rem; }
.qa dd { margin: 0.4rem 0 0; color: var(--muted); }
.qa dd p + p { margin-top: 0.7em; }

.closing { text-align: left; }
.closing h2 { font-size: var(--s3); margin-bottom: 1rem; }
.closing p { max-width: 32em; margin-bottom: 1.5rem; color: var(--muted); }

/* The nav's call to action: a button, but sized for a nav bar. */
.nav .nav-cta { font-size: var(--s-1); padding: 0.55em 0.9em 0.5em; }
@media (max-width: 40rem) { .nav .nav-cta { display: none; } }

/* -- a picture opened in place ----------------------------------------- */

.enlarged {
  border: 0;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  background: var(--table);
  color: var(--ink);
  max-width: min(96vw, 1700px);
  max-height: 94vh;
  overflow: auto;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.35);
}
.enlarged::backdrop { background: rgb(28 26 24 / 0.72); }
.enlarged img {
  max-width: 100%;
  /* Room for the caption and the close button, so the picture never pushes
     them out of a short window. */
  max-height: calc(94vh - 5.5rem);
  margin-inline: auto;
}
.enlarged form { margin: 0; display: flex; justify-content: flex-end; }
.enlarged .close {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: var(--s1);
  line-height: 1;
  padding: 0.2em 0.55em;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.enlarged .close:hover { color: var(--ink); border-color: var(--ink); }
.enlarged .caption { margin: 0.6rem 0 0; }

/* On a phone the picture is the whole point: give it the width and let the
   dialog scroll rather than shrinking a screenshot into illegibility. */
@media (max-width: 36rem) {
  .enlarged { max-width: 100vw; max-height: 100vh; padding: 0.5rem; }
  .enlarged img { max-height: none; }
}

/* -- the mechanics, for anyone who wants them ---------------------------- */

.more-detail {
  border-top: 1px solid var(--rule);
  max-width: var(--measure);
  margin-top: 1.5rem;
  padding-top: 0.9rem;
}
.more-detail summary {
  cursor: pointer;
  color: var(--accent);
  font-size: var(--s-1);
  letter-spacing: 0.02em;
}
.more-detail summary:hover { color: var(--ink); }
.more-detail p { margin-top: 0.9rem; }
.more-detail[open] summary { margin-bottom: 0.2rem; }

/* -- one address, when there is something to say ------------------------ */

form.notify {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  max-width: var(--measure);
}
form.notify label[for="notify-email"] {
  flex-basis: 100%;
  font-size: var(--s-1);
  color: var(--muted);
}
form.notify input[type="email"] {
  flex: 1 1 16rem;
  font: inherit;
  font-size: var(--s0);
  padding: 0.5em 0.7em;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
}
form.notify input[type="email"]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
form.notify button { flex: 0 0 auto; }
/* The field for robots. Off the page rather than display:none, which is the
   first thing a form-filler checks for. */
form.notify .trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notify-said {
  flex-basis: 100%;
  margin: 0;
  min-height: 1.5em;
  color: var(--accent);
}
.notify-said.wrong { color: var(--ink); }

/* `hidden` means hidden, whatever else a class says.
 *
 * The attribute's own default is `display: none`, which any rule setting
 * `display` beats -- so `.actions { display: flex }` made a `hidden` element
 * render anyway, and the buy page offered to copy a key it did not have. One
 * rule rather than a fix at each call site, because the next one would be
 * found the same way: by looking. */
[hidden] { display: none !important; }

/* -- buying ------------------------------------------------------------ */

/* The saving is the point, so the old price stays on the page beside the new
 * one rather than being replaced by it. */
.plan .price .was { color: var(--muted); text-decoration: line-through; font-size: var(--s1); margin-right: 0.3em; }

/* A license key is a long unbroken line of base64url that somebody may have
 * to select by hand. It wraps anywhere rather than running off the page, and
 * is set in the mono face so a lowercase l and a digit 1 are different
 * shapes -- a key is read character by character exactly when it has gone
 * wrong. */
.key {
  font-family: var(--mono);
  font-size: var(--s-1);
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-all;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 1rem 1.25rem;
  max-width: var(--measure);
  user-select: all;
}
