@font-face{font-family:"Red Hat Text";src:url("/fonts/red-hat-text-latin-wght-normal.woff2") format("woff2");font-weight:300 700;font-style:normal;font-display:swap}
@font-face{font-family:"Red Hat Text";src:url("/fonts/red-hat-text-latin-wght-italic.woff2") format("woff2");font-weight:300 700;font-style:italic;font-display:swap}
@font-face{font-family:"Red Hat Display";src:url("/fonts/red-hat-display-latin-wght-normal.woff2") format("woff2");font-weight:300 900;font-style:normal;font-display:swap}
:root{color-scheme:light dark;--display:"Red Hat Display", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;--text:"Red Hat Text", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;--ui:"Red Hat Text", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;--figures:"Red Hat Text", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;--display-weight:800;--tracking:-0.02em;--paper:#ffffff;--ink:#1d1a19;--soft:#5e5754;--rule:#e0dad7;--band:#b93414;--on-band:#ffffff;--link:#a92e10;--mark:#fdeee9;--on-mark:#1d1a19;}
@media (prefers-color-scheme:dark){:root{--paper:#171413;--ink:#ece6e3;--soft:#aea5a1;--rule:#332d2b;--band:#7d2610;--on-band:#ffffff;--link:#ff9d80;--mark:#2b1a15;--on-mark:#ece6e3;}}
/* Shared base for every publication. The format stylesheet that follows arranges the pages.
   Colours and fonts come from the site's identity as custom properties. */

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

:root {
  --wrap: 72rem;
  --measure: 40rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --text-size: 1.0625rem;
  --raised: color-mix(in srgb, var(--ink) 4%, var(--paper));
  --field-rule: #8c8c8c;
  --field-ink: #242424;
  --field-hover: #696969;
  --error: #a4161a;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  accent-color: var(--ink);
  scrollbar-color: var(--field-rule) var(--paper);
}

@media (prefers-color-scheme: dark) {
  :root {
    --error: #ff9a9a;
    --field-ink: #e7e7e7;
    --field-hover: #b0b0b0;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--text-size);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.num,
time {
  font-variant-numeric: lining-nums;
}

/* Skip link and private preview strip */
.skip {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.9rem;
  font: 600 0.9375rem/1.3 var(--ui);
}

.skip:focus {
  top: 0.5rem;
  outline: 2px solid var(--paper);
  outline-offset: -4px;
}

.preview-strip {
  background: var(--ink);
  color: var(--paper);
  font: 0.8125rem/1.4 var(--ui);
  padding: 0.4rem 0;
}

.preview-strip a {
  color: inherit;
  margin-left: 0.5rem;
}

.preview-strip a:focus-visible {
  outline-color: var(--paper);
}

/* Small labels: a preview status, or a disclosure next to a product */
.tag {
  display: inline-block;
  font: 600 0.75rem/1.3 var(--ui);
  letter-spacing: 0;
  color: var(--ink);
  border: 1px solid var(--field-rule);
  padding: 0.05rem 0.4rem;
  margin-left: 0.5rem;
  vertical-align: 0.2em;
  white-space: nowrap;
}

/* Masthead. Each format arranges these parts. */
.masthead {
  font-family: var(--ui);
}

.site-title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.masthead-standfirst,
.masthead-note {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.nav a {
  color: inherit;
  text-decoration: none;
  padding: 0.7rem 0;
}

.nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.nav a[aria-current="page"] {
  font-weight: 700;
  box-shadow: inset 0 -3px 0 currentColor;
}

.nav-label {
  color: var(--soft);
  padding: 0.7rem 0;
}

.nav-topics {
  font-size: 0.875rem;
}

main {
  display: block;
  padding: 2.5rem 0 4.5rem;
}

/* Page and article heads */
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  font: 0.875rem/1.4 var(--ui);
  color: var(--soft);
}

.crumbs li + li::before {
  content: "/";
  margin: 0 0.5rem;
  color: var(--soft);
}

.crumbs a {
  color: inherit;
}

.article-head h1,
.page-head h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem);
  line-height: 1.08;
  margin-top: 0.8rem;
  max-width: 22ch;
}

.article-head h1 {
  max-width: 26ch;
}

.summary {
  font-size: 1.25rem;
  line-height: 1.45;
  margin-top: 0.9rem;
  max-width: 38rem;
  color: var(--ink);
}

.page-head {
  margin-bottom: 2.2rem;
}

.page-count {
  font: 0.875rem/1.4 var(--ui);
  color: var(--soft);
  margin-top: 0.7rem;
}

.note {
  font: 0.9375rem/1.5 var(--ui);
  background: var(--raised);
  border: 1px solid var(--rule);
  padding: 0.7rem 0.9rem;
  margin-top: 1rem;
  max-width: 38rem;
}

/* What was checked */
.checked {
  font: 0.9375rem/1.5 var(--ui);
  display: grid;
  gap: 0.45rem;
}

.checked dt {
  font-weight: 700;
  display: inline;
}

.checked dd {
  display: inline;
}

.toc h2,
.in-article h2 {
  font: 700 0.9375rem/1.3 var(--ui);
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

.toc ol {
  list-style: none;
  font: 0.9375rem/1.35 var(--ui);
  display: grid;
  gap: 0.4rem;
}

.toc a {
  color: var(--ink);
  text-decoration-color: var(--field-rule);
}

.in-article ul {
  list-style: none;
  font: 0.9375rem/1.35 var(--ui);
  display: grid;
  gap: 0.3rem;
}

.in-article li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.5rem;
}

.in-article .tag {
  margin-left: 0;
}

/* Running text */
.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  font-size: 1.55rem;
  margin-top: 2.4em;
  scroll-margin-top: 1.5rem;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.8em;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.7em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose li::marker {
  color: var(--soft);
}

.prose strong {
  font-weight: 700;
}

.measure > p,
.measure > ul,
.measure > ol,
.measure > h2,
.measure > h3,
.measure > blockquote {
  max-width: var(--measure);
}

.cite {
  font: 600 0.72em/1 var(--ui);
  vertical-align: super;
  margin-left: 0.12em;
  font-variant-numeric: tabular-nums;
}

.cite a {
  text-decoration: none;
  padding: 0.1em 0.12em;
}

.cite a:hover {
  text-decoration: underline;
}

.cite + .cite::before {
  content: ",";
  margin-right: 0.1em;
  color: var(--soft);
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--ui);
  font-size: 0.9375rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums lining-nums;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}

thead th {
  font-weight: 700;
  font-size: 0.875rem;
  vertical-align: bottom;
  border-bottom: 2px solid var(--ink);
}

tbody th {
  font-weight: 600;
}

th.num,
td.num {
  white-space: nowrap;
}

.article-table,
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-table table {
  min-width: 34rem;
}

.article-table:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.table-note,
.block-note {
  font: 0.875rem/1.5 var(--ui);
  color: var(--soft);
  margin-top: 0.6rem;
  max-width: 44rem;
}

.unknown {
  color: var(--soft);
}

.compare-block h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.compare-block {
  margin-bottom: 2.5rem;
}

.labels {
  display: block;
  margin-top: 0.25rem;
}

.labels .tag {
  margin-left: 0;
}

/* Sources */
.sources-block {
  margin-top: 3.5rem;
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}

.sources-block h2 {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.sources {
  font: 0.9375rem/1.5 var(--ui);
  padding-left: 2.2rem;
  max-width: 46rem;
}

.sources li {
  padding: 0.55rem 0 0.55rem 0.2rem;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 1.5rem;
}

.sources li::marker {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sources li:target {
  background: var(--mark);
  color: var(--on-mark);
  box-shadow: -2.4rem 0 0 var(--mark), 0.5rem 0 0 var(--mark);
}

.sources li:target a {
  color: inherit;
}

.sources .statement {
  display: block;
}

.sources .where {
  display: block;
  color: var(--soft);
  font-size: 0.875rem;
}

.sources li:target .where {
  color: inherit;
}

.closing {
  margin-top: 2.5rem;
  font: 0.9375rem/1.55 var(--ui);
  max-width: var(--measure);
}

.closing p + p {
  margin-top: 0.5rem;
}

/* A line of record under an article in a list */
.entry-meta {
  font: 0.8125rem/1.4 var(--ui);
  color: var(--soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1rem;
  margin-top: 0.7rem;
}

.entry-meta a {
  color: inherit;
}

/* What follows an article */
.more {
  margin-top: 3rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
}

.more h2 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.more-related ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem 2rem;
}

.more-related li > a {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: 1.125rem;
  line-height: 1.25;
  color: var(--ink);
}

.more-related p {
  font: 0.9375rem/1.45 var(--ui);
  color: var(--soft);
  margin-top: 0.35rem;
}

.more-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.step {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: 1.0625rem;
  line-height: 1.3;
}

.step span {
  display: block;
  font: 0.8125rem/1.4 var(--ui);
  letter-spacing: 0;
  color: var(--soft);
  margin-bottom: 0.2rem;
}

.step-after {
  grid-column: 2;
  text-align: right;
}

/* Lists of articles on section and topic pages. Formats restyle these. */
.listing {
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 46rem;
}

.listing-item {
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
}

.listing-item h2 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.listing-item h2 a {
  color: var(--ink);
  text-decoration: none;
}

.listing-item h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.listing-summary {
  margin-top: 0.4rem;
  max-width: 38rem;
}

.listing-date,
.listing-question {
  display: block;
  font: 0.875rem/1.4 var(--ui);
  color: var(--soft);
  margin-bottom: 0.35rem;
}

.listing-products,
.row-products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.6rem;
  font: 0.8125rem/1.3 var(--ui);
}

.listing-products span,
.row-products span {
  border: 1px solid var(--rule);
  padding: 0.1rem 0.45rem;
}

.listing-steps {
  list-style: none;
  counter-reset: step;
  font: 0.9375rem/1.4 var(--ui);
  margin-top: 0.8rem;
  display: grid;
  gap: 0.3rem;
}

.listing-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1.6rem 1fr;
}

.listing-steps li::before {
  content: counter(step);
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}

.topic-list {
  list-style: none;
  font: 1rem/1.45 var(--ui);
  display: grid;
  gap: 0.7rem;
  max-width: 44rem;
}

.topic-list a {
  font-weight: 700;
}

.topic-list span {
  display: block;
  color: var(--soft);
  font-size: 0.9375rem;
}

.other-topics {
  margin-top: 3rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
}

.other-topics h2,
.empty h2 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.empty > p {
  max-width: 38rem;
  margin-bottom: 0.8rem;
}

.empty .topic-list {
  margin-top: 1.6rem;
}

/* Forms. Text-entry perimeters are neutral in every state. */
.form {
  display: grid;
  gap: 1.5rem;
  max-width: 34rem;
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 2rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.field > label,
.field > legend,
.filter > label {
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0;
}

.field > legend {
  margin-bottom: 0.4rem;
}

.hint {
  font-size: 0.875rem;
  color: var(--soft);
}

.input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--raised);
  border: 1px solid var(--field-rule);
  border-radius: 0;
  padding: 0.6rem 0.75rem;
  caret-color: var(--link);
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}

.input::placeholder {
  color: var(--soft);
  opacity: 1;
}

textarea.input {
  min-height: 7.5rem;
  resize: vertical;
}

select.input {
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.05rem) 50%, calc(100% - 0.7rem) 50%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.input:hover {
  border-color: var(--field-hover);
}

/* Focus: the border goes to neutral ink, and one neutral notch marks the leading edge.
   No coloured border, outline, ring, or perimeter shadow. */
.input:focus,
.input:focus-visible {
  outline: none;
  border-color: var(--field-ink);
  background: var(--paper);
  box-shadow: inset 3px 0 0 var(--field-ink);
}

/* Invalid: the perimeter stays neutral. The message below carries the error. */
.input[aria-invalid="true"] {
  border-color: var(--field-rule);
}

.input[aria-invalid="true"]:focus {
  border-color: var(--field-ink);
}

.input:-webkit-autofill,
.input:autofill {
  border-color: var(--field-rule);
  -webkit-text-fill-color: var(--ink);
}

/* A focused autofilled field gets the same neutral ink border as any focused field. */
.input:-webkit-autofill:focus,
.input:autofill:focus {
  border-color: var(--field-ink);
}

.error {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--error);
}

.error:empty {
  display: none;
}

.choices {
  display: grid;
  gap: 0.15rem;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.3rem 0;
  cursor: pointer;
}

.choice input {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  accent-color: var(--ink);
}

.hp {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button {
  justify-self: start;
  font: inherit;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.65rem 1.5rem;
  min-height: 2.75rem;
  cursor: pointer;
  transition: transform 120ms var(--ease-out), opacity 120ms ease-out;
}

.button:hover {
  opacity: 0.88;
}

.button:active {
  transform: scale(0.98);
}

.button[disabled] {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

.result {
  border: 1px solid var(--ink);
  background: var(--raised);
  padding: 1.1rem 1.25rem;
  max-width: 34rem;
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.55;
  margin-top: 2rem;
  animation: settle 220ms var(--ease-out);
}

.result h2 {
  font-family: var(--ui);
  font-size: 1.125rem;
  letter-spacing: 0;
  margin: 0 0 0.4rem;
}

.result p {
  margin: 0 0 0.5rem;
}

.result p:last-child {
  margin-bottom: 0;
}

.result .ref {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  user-select: all;
}

.form-failure {
  border: 1px solid var(--field-rule);
  background: var(--raised);
  padding: 0.75rem 0.95rem;
  color: var(--error);
  font-weight: 600;
}

.form-failure:empty {
  display: none;
}

/* The next step inside a message. It looks like a link and works like a button. */
.text-action {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.text-action:hover {
  text-decoration-thickness: 2px;
}

.form-failure a {
  color: inherit;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* Footer. The ownership statement keeps full text contrast. It is never dimmed. */
.footer {
  border-top: 1px solid var(--rule);
  padding: 2.2rem 0 3rem;
  font: 0.9375rem/1.55 var(--ui);
  color: var(--soft);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-title {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.footer .owner {
  color: var(--ink);
  font-size: 1rem;
  margin-top: 0.7rem;
  max-width: 30rem;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.footer-head {
  font-weight: 700;
  color: var(--ink);
}

.footer-nav a {
  color: var(--soft);
  justify-self: start;
}

/* Below 768px: one column everywhere. A record table becomes one block for each row. */
@media (max-width: 47.99rem) {
  main {
    padding: 1.6rem 0 3.5rem;
  }

  .article-aside .toc ol,
  .article-aside .in-article ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1.1rem;
  }

  .article-aside .toc li,
  .article-aside .in-article li {
    border: 0;
    padding: 0.2rem 0;
    gap: 0.4rem;
  }

  .summary {
    font-size: 1.125rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .more-steps {
    grid-template-columns: 1fr;
  }

  .step-after {
    grid-column: 1;
    text-align: left;
  }

  .nav {
    gap: 0 1.1rem;
  }

  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td,
  .stack,
  .stack tbody,
  .stack tr,
  .stack th,
  .stack td {
    display: block;
    width: auto;
    min-width: 0;
  }

  .compare thead,
  .stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .compare tbody tr,
  .stack tbody tr {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .compare th,
  .compare td,
  .stack th,
  .stack td {
    padding: 0.2rem 0;
    border-bottom: 0;
  }

  .compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--soft);
  }

  .button {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Catalog: an index of products on file. Compact rows and cards, a filter, a rail on the article. */
:root {
  --wrap: 78rem;
  --measure: 41rem;
  --text-size: 1.0625rem;
}

.masthead-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 2rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.nameplate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 1.2rem;
}

.site-title {
  font-size: 1.7rem;
}

.masthead-nav {
  border-bottom: 1px solid var(--rule);
  background: var(--raised);
}

.nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 2rem;
}

.v-band .masthead-row {
  background: var(--band);
  color: var(--on-band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
}

.v-band .masthead-standfirst,
.v-band .masthead-note {
  color: inherit;
}

.v-bar .masthead {
  border-top: 0.5rem solid var(--band);
}

.v-bar .site-title {
  font-size: 2.1rem;
}

.v-bar .masthead-row {
  padding-top: 1.4rem;
}

.v-bar .masthead-nav,
.v-plain .masthead-nav {
  background: none;
  border-top: 1px solid var(--rule);
  border-bottom: 2px solid var(--ink);
}

.v-plain .site-title {
  font-size: 1.9rem;
}

.v-plain .site-title a {
  color: var(--link);
}

.masthead-note {
  font-variant-numeric: tabular-nums;
}

/* Front page */
.catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24rem;
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

/* Links to the parts of the page. On a phone they stand above the product list. */
.page-parts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 1.2rem;
  font: 1rem/1.4 var(--ui);
}

.page-parts p {
  color: var(--soft);
}

.page-parts ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
}

.page-parts a {
  font-weight: 700;
  display: inline-block;
  padding: 0.25rem 0;
}

.page-parts a::after {
  content: " \2193";
  content: " \2193" / "";
  font-weight: 400;
}

.lede {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  line-height: 1.15;
  max-width: 24ch;
  text-wrap: balance;
}

.filter {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 0.35rem;
  font: 1rem/1.4 var(--ui);
}

.filter-count {
  font-size: 0.875rem;
  color: var(--soft);
  min-height: 1.3em;
}

.filter-empty {
  font: 1rem/1.5 var(--ui);
  margin-top: 1.5rem;
}

.block {
  margin-top: 2.8rem;
}

.block > h2 {
  font-size: 1.4rem;
  border-top: 2px solid var(--ink);
  padding-top: 0.7rem;
  margin-bottom: 1.2rem;
  scroll-margin-top: 1rem;
}

/* Products run down columns, each as tall as its own content, so that a short product leaves no blank cell. */
.product-grid {
  list-style: none;
  columns: 4 16rem;
  column-gap: 2.2rem;
  column-rule: 1px solid var(--rule);
  font: 0.9375rem/1.45 var(--ui);
}

.product {
  break-inside: avoid;
  border-top: 1px solid var(--rule);
  padding: 0.8rem 0 1rem;
}

.product h3 {
  font-size: 1.25rem;
  display: inline;
}

.product-prices {
  list-style: none;
  margin-top: 0.7rem;
  border-top: 1px solid var(--rule);
}

.product-prices li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
}

.price-read {
  color: var(--soft);
  font-size: 0.875rem;
  margin-top: 0.4rem;
}

.product-prices .more-prices {
  color: var(--soft);
  font-size: 0.875rem;
  border-bottom: 0;
}

.ref {
  font-size: 0.8125rem;
  color: var(--soft);
  white-space: nowrap;
}

.product-in {
  font-weight: 700;
  font-size: 0.8125rem;
  margin-top: 0.8rem;
}

.product-articles {
  list-style: none;
  display: grid;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.family + .family {
  margin-top: 1.8rem;
}

.family h3 {
  font-size: 1.05rem;
}

.family-link {
  color: var(--ink);
}

.rows {
  list-style: none;
  margin-top: 0.5rem;
  border-top: 1px solid var(--rule);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 0.4rem 2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.row > div > a {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--ink);
}

.row p {
  font: 0.9375rem/1.45 var(--ui);
  color: var(--soft);
  margin-top: 0.25rem;
}

.row .row-products,
.row .entry-meta {
  margin-top: 0.15rem;
  color: var(--ink);
}

.row .entry-meta {
  display: grid;
  gap: 0.1rem;
  color: var(--soft);
}

.readings th,
.readings td {
  padding-right: 1.4rem;
}

.question-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
  gap: 0 3rem;
}

.question-list li {
  border-top: 1px solid var(--rule);
  padding: 1.1rem 0 1.3rem;
}

.question {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking);
  font-size: 1.3rem;
  line-height: 1.25;
}

.answer {
  font: 1rem/1.4 var(--ui);
  margin-top: 0.5rem;
}

/* Article: a rail with the contents and the products, then the text */
.article {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: 0 3.5rem;
  align-items: start;
}

.article-head {
  grid-column: 1 / -1;
  padding-bottom: 1.6rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2rem;
}

.article-aside {
  position: sticky;
  top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
}

.article-aside .toc {
  order: -1;
}

.article-aside .toc li + li {
  border-top: 1px solid var(--rule);
  padding-top: 0.4rem;
}

.article-aside .checked {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  font-size: 0.875rem;
}

.more {
  grid-column: 1 / -1;
}

.listing {
  max-width: none;
}

.listing-item {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  gap: 0 2.5rem;
}

.listing-item h2,
.listing-item .listing-summary {
  grid-column: 1;
}

.listing-item .listing-products {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0.3rem;
}

.listing-item .entry-meta {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0.4rem;
}

@media (max-width: 59.99rem) {
  .catalog-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter {
    grid-column: 1;
    grid-row: auto;
    max-width: 26rem;
  }

  .article {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-aside {
    position: static;
    max-height: none;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--rule);
  }

  .row,
  .listing-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .listing-item .listing-products,
  .listing-item .entry-meta {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 47.99rem) {
  .nav-row {
    display: block;
  }

  .nav-topics {
    border-top: 1px solid var(--rule);
  }

  .readings {
    min-width: 36rem;
  }
}

