/* Plain styling for the pages that sit around the three prototypes (the index and
   the "not part of the prototype" page). Deliberately neutral: system type and no
   colour of its own, so it does not flatter or fight any of the three directions. */

:root {
  color-scheme: light dark;
  --ground: light-dark(#f6f5f2, #17171a);
  --ink: light-dark(#1c1c1f, #ececec);
  --muted: light-dark(#5b5b62, #a9a9b0);
  --rule: light-dark(#d9d7d1, #35353b);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 1.0625rem/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

h1 {
  font-size: 1.625rem;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.25rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

.muted {
  color: var(--muted);
}

/* A link that stands by itself is a tap target: at least 44 px tall. */
.back,
.open {
  display: inline-block;
  min-height: 2.75rem;
  padding-block: 0.5rem;
  box-sizing: border-box;
  color: inherit;
  font-weight: 600;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.direction {
  border-top: 1px solid var(--rule);
  padding-top: 0.25rem;
}

.direction ul {
  padding-left: 1.25rem;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  border-top: 1px solid var(--rule);
  padding: 0.625rem 0;
}
