@font-face{font-family:'OutFigure display';font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/fonts/newsreader-latin-standard-normal.6e4f2958c3.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'OutFigure sans';font-style:normal;font-weight:200 900;font-display:swap;src:url(/assets/fonts/mona-sans-latin-wght-normal.a59061e38c.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'OutFigure mono';font-style:normal;font-weight:100 800;font-stretch:75% 112.5%;font-display:swap;src:url(/assets/fonts/martian-mono-latin-standard-normal.f9c1655c2c.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--display:'OutFigure display','Iowan Old Style', Georgia, serif;--sans:'OutFigure sans',system-ui, sans-serif;--mono:'OutFigure mono',ui-monospace, 'SF Mono', Menlo, Consolas, monospace}
/*
 * OutFigure public site: white by default (docs/adr/0022-white-by-default.md).
 *
 * White paper and black ink. Headlines in an editorial serif, text in a precise
 * grotesque, figures in a monospace. Structure comes from hairline rules,
 * spacing and type, never from light: no gradients, glows, halos, blur, grain,
 * glass, masks or decorative grids. One accent, a deep green used as a solid
 * colour, marks what the evidence shows. The footer is a black band carrying
 * the owner's wordmark in white, set large across the foot of every page.
 *
 * Nothing animates. Hover changes colour, and only colour. The site serves no
 * script.
 *
 * @font-face rules and the three family names are prepended at build time.
 */

:root {
  --paper: #ffffff;
  --paper-2: #f7f7f5;
  --paper-3: #efefec;
  --rule: #e6e6e3;
  --rule-2: #d4d4cf;
  --ink: #0c0c0c;
  --ink-2: #3d3d42;
  --ink-3: #66666d;

  --accent: #13703b;
  --accent-ink: #0d5a2e;
  --accent-tint: #eaf4ed;
  --accent-edge: #c7e2d0;
  --amber-ink: #8a5a00;

  --night: #0c0c0c;
  --night-line: #26262a;
  --night-text: #a3a3ab;
  --night-quiet: #7a7a82;

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;

  --fs-display: clamp(2.875rem, 6.8vw, 6rem);
  --fs-headline: clamp(2.125rem, 4.2vw, 3.625rem);
  --fs-lede: clamp(1.0625rem, 1.4vw, 1.25rem);
  --fs-title: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.6875rem;

  --shell: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h3 {
  font-family: var(--sans);
  font-size: var(--fs-title);
  font-weight: 580;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

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

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

strong,
b {
  font-weight: 600;
  color: var(--ink);
}

code,
.code {
  font-family: var(--mono);
  font-stretch: 87.5%;
}

code {
  font-size: 0.86em;
  color: var(--ink);
}

/* A figure in running text: the text face, a step heavier, in tabular figures. */
.figure-number {
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  overflow-wrap: break-word;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 80;
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus {
  left: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

/* ---------- Type ---------- */

.display,
.headline {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
}

.display {
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -0.032em;
}

.headline {
  font-size: var(--fs-headline);
  line-height: 1.04;
  letter-spacing: -0.026em;
}

.kicker,
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-stretch: 100%;
  font-weight: 450;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-3);
}

.kicker {
  margin-bottom: 1.25rem;
}

/* The way down to a page below a section, set in place of its label. */
.trail ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trail li {
  display: inline-flex;
  gap: 0.6rem;
}

.trail a {
  color: var(--ink-3);
  text-decoration: none;
}

.trail a:hover,
.trail a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.trail [aria-current='page'] {
  color: var(--ink);
}

/* ---------- The bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.5rem;
  max-width: var(--shell);
  min-height: 4rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.brand__mark {
  display: block;
  width: 96px;
  height: auto;
}

.brand__text {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink);
}

.topnav {
  order: 3;
  flex-basis: 100%;
}

.topnav ul {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0 0 0.25rem;
  list-style: none;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.25rem;
  font-size: 0.875rem;
  font-weight: 480;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
}

.topnav a:hover,
.topnav a:focus-visible,
.topnav a[aria-current='page'] {
  color: var(--ink);
}

.topnav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.45em;
}

.topbar__action {
  order: 2;
  margin-left: auto;
}

@media (min-width: 48rem) {
  .topnav {
    order: 0;
    flex: 1;
    flex-basis: auto;
  }

  .topnav ul {
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
  }

  .topnav a {
    padding-inline: 0.85rem;
  }

  .topbar__action {
    order: 0;
    margin-left: 0;
  }
}

/* ---------- Buttons and links ---------- */

.btn,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 560;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.btn--primary,
.cta:not(.cta--quiet) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover,
.cta:not(.cta--quiet):hover {
  border-color: #2b2b2e;
  background: #2b2b2e;
}

.btn--ghost,
.cta--quiet {
  border-color: var(--rule-2);
  background: var(--paper);
  color: var(--ink);
}

.btn--ghost:hover,
.cta--quiet:hover {
  border-color: var(--ink);
}

.btn--lg {
  min-height: 3rem;
  padding-inline: 1.4rem;
  font-size: 1rem;
}

.btn__arrow {
  width: 14px;
  height: 14px;
}

.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.15s;
}

.link:hover,
.link:focus-visible {
  text-decoration-color: var(--ink);
}

.action {
  color: var(--ink);
  font-weight: 560;
  text-decoration: underline;
  text-decoration-color: var(--rule-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.action:hover {
  text-decoration-color: var(--ink);
}

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

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section + .section:not(.section--band) {
  border-top: 1px solid var(--rule);
}

.section__head {
  max-width: 48rem;
}

.section__lede {
  max-width: 40rem;
  margin-top: 1.25rem;
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-2);
}

.section__body {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* What a section shows, one thing after another. A note or a spaced block sets its own gap. */
.section__body > * + * {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

/* A section on the tinted paper. */
.section--band {
  border-block: 1px solid var(--rule);
  background: var(--paper-2);
}

/* ---------- Reading ---------- */

.prose {
  max-width: 42rem;
  color: var(--ink-2);
}

.prose > * + * {
  margin-top: 1.2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.6rem;
}

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

.note {
  max-width: 42rem;
  margin-top: 1.4rem;
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.spaced {
  margin-top: 2rem;
}

.aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 62rem) {
  .aside {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

@media (min-width: 62rem) {
  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.split .headline {
  font-size: clamp(2.125rem, 3.8vw, 3.25rem);
}

.split .prose {
  margin-top: 1.5rem;
}

/* A numbered list read down. */
.list {
  max-width: 48rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.list li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}

.list__n {
  padding-top: 0.2rem;
  font-family: var(--mono);
  font-size: var(--fs-mono);
  color: var(--ink-3);
}

.list b {
  display: block;
  margin-bottom: 0.3rem;
  font-size: var(--fs-title);
  font-weight: 580;
  letter-spacing: -0.012em;
  color: var(--ink);
}

/* Equal things side by side, each under a rule in ink. */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr));
  gap: 2.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.tile p {
  margin-top: 0.6rem;
  font-size: var(--fs-small);
  color: var(--ink-2);
}

/* Term and meaning. */
.spec,
.pairs {
  margin: 0;
  border-top: 1px solid var(--rule);
}

.spec__row,
.pair-row {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 0.35rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.spec dt,
.pairs dt {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}

.spec dd,
.pairs dd {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 40rem) {
  .spec__row,
  .pair-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- The home page's opening ---------- */

.hero {
  padding-top: clamp(4.5rem, 10vw, 8rem);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  max-width: 13ch;
}

.hero__lede {
  max-width: 37rem;
  margin-top: 1.75rem;
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* On a phone the two actions stack at one width rather than wrap at two. */
@media (max-width: 30rem) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 20rem;
    margin-inline: auto;
  }

  .hero__actions .btn {
    justify-content: center;
  }
}

/* The product, set on the page as it is: no stage lighting. */
.stage {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

/* ---------- The chart of two readings ---------- */

.scope {
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
}

.scope__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.scope__screen {
  padding: 1rem 0.75rem 0.5rem;
}

.scope__svg {
  display: block;
  width: 100%;
  height: auto;
}

.scope__axis {
  stroke: var(--rule-2);
  stroke-width: 1;
}

.scope__trace {
  fill: none;
  stroke: #b3b3ad;
  stroke-width: 2;
  stroke-linecap: round;
}

.scope__trace--now {
  stroke: var(--ink);
  stroke-dasharray: 6 5;
}

.scope__trace--later {
  stroke: var(--accent);
  stroke-width: 2.5;
}

.scope__dot {
  fill: #b3b3ad;
}

.scope__dot--now {
  fill: var(--ink);
}

.scope__dot--later {
  fill: var(--accent);
}

.scope__text {
  fill: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
}

.scope__text--now {
  fill: var(--ink);
}

.scope__text--later {
  fill: var(--accent-ink);
}

.scope__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0.9rem 1.25rem 1.05rem;
  border-top: 1px solid var(--rule);
  list-style: none;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.scope__legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.scope__swatch {
  display: inline-block;
  width: 18px;
  border-top: 2px solid #b3b3ad;
}

.scope__swatch--now {
  border-top-color: var(--ink);
  border-top-style: dashed;
}

.scope__swatch--later {
  border-top-color: var(--accent);
}

/* ---------- The stages, as cards ---------- */

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .card {
    grid-column: span 3;
  }

  .card--wide {
    grid-column: span 4;
  }

  .card--narrow {
    grid-column: span 2;
  }
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.15s;
}

.card:hover {
  border-color: #a9a9a3;
}

.card__visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  min-height: 12rem;
  margin: 0.5rem 0.5rem 0;
  padding: 1.35rem 1.4rem;
  border-radius: var(--r-md);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: var(--fs-mono);
  color: var(--ink-3);
}

.card__body {
  padding: 1.35rem 1.5rem 1.6rem;
}

.card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.card__body p {
  margin-top: 0.6rem;
  font-size: var(--fs-small);
  color: var(--ink-2);
}

.card--planned .card__visual {
  align-items: center;
  border: 1px dashed var(--rule-2);
  background: var(--paper);
}

.card--planned h3 {
  color: var(--ink-3);
}

.card__empty {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.badge--live {
  border-color: var(--accent-edge);
  background: var(--accent-tint);
  color: var(--accent-ink);
}

.vrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--rule);
}

.vrow:last-child {
  border-bottom: 0;
}

.vrow b {
  font-weight: 450;
  color: var(--ink);
}

.vrow--signal b {
  color: var(--accent-ink);
}

.vrow--dim b {
  color: var(--ink-3);
}

.vbars {
  display: block;
  width: 100%;
  max-width: 28rem;
  height: auto;
  margin-inline: auto;
}

.vbar {
  fill: #cfcfca;
}

.vbar--signal {
  fill: var(--accent);
}

.vbar-label {
  fill: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
}

/* ---------- The two axes ---------- */

.axes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 62rem) {
  .axes-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.matrix {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.matrix__plot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  aspect-ratio: 1;
  border: 1px solid var(--rule-2);
}

.matrix__cell {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.matrix__cell:nth-child(5n) {
  border-right: 0;
}

.matrix__y {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  align-items: center;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}

.matrix__x {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-items: center;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}

.matrix__axis-title {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.4rem;
}

.matrix__points {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
}

.matrix__point {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.matrix__point i {
  width: 12px;
  height: 12px;
  border: 3px solid var(--paper);
  border-radius: 999px;
  background: var(--accent);
  box-sizing: content-box;
}

.matrix__point--experiment i {
  background: var(--ink);
}

.matrix__tag {
  position: absolute;
  top: calc(50% + 12px);
  left: 50%;
  padding: 0.12rem 0.45rem;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--ink);
  transform: translateX(-50%);
}

/* A tag in the last column opens leftwards, so it stays on the plot. */
.at-x4 .matrix__tag {
  left: auto;
  right: 0;
  transform: none;
}

.at-x0 {
  grid-column: 1;
}
.at-x1 {
  grid-column: 2;
}
.at-x2 {
  grid-column: 3;
}
.at-x3 {
  grid-column: 4;
}
.at-x4 {
  grid-column: 5;
}
.at-y0 {
  grid-row: 5;
}
.at-y1 {
  grid-row: 4;
}
.at-y2 {
  grid-row: 3;
}
.at-y3 {
  grid-row: 2;
}
.at-y4 {
  grid-row: 1;
}

.ladders {
  display: grid;
  gap: 2.25rem;
}

.ladder ol {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.ladder li {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  gap: 0.25rem 0.9rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.ladder__code {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  color: var(--ink-2);
}

.ladder .is-marked {
  color: var(--ink);
}

.ladder .is-marked .ladder__code {
  color: var(--accent-ink);
}

.ladder__mark {
  justify-self: end;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

@media (max-width: 34rem) {
  .ladder li {
    grid-template-columns: 3.4rem minmax(0, 1fr);
  }

  .ladder__mark {
    grid-column: 2;
    justify-self: start;
  }
}

/* ---------- The terminal and code: the one dark surface on the page ---------- */

.terminal {
  border: 1px solid var(--night);
  border-radius: var(--r-lg);
  background: var(--night);
  color: #d4d4d8;
  overflow: hidden;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--night-line);
}

.terminal__title {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--night-text);
}

.terminal__body {
  margin: 0;
  padding: 1.1rem 1.25rem 1.3rem;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-stretch: 87.5%;
}

.tline {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-block: 0.35rem;
  color: #d4d4d8;
}

.tline__mark {
  width: 1.1rem;
  flex: none;
  color: #8fd8a8;
}

.tline__fill {
  flex: 1;
  min-width: 1rem;
  border-bottom: 1px dotted #45454b;
}

.tline b {
  font-weight: 450;
  color: #8fd8a8;
}

.tline--limited .tline__mark,
.tline--limited b {
  color: #f0c761;
}

.tline--no .tline__mark,
.tline--no b {
  color: var(--night-quiet);
}

.terminal__foot {
  padding: 0 1.25rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--night-quiet);
}

.code {
  overflow-x: auto;
  margin: 0;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-lg);
  background: var(--night);
  font-size: 0.8rem;
  line-height: 1.75;
  white-space: pre;
  color: #e4e4e7;
}

/*
 * Code in a block takes the block's light text and size. Without this the rule
 * for code in running text set it in ink on the dark block, where it could not
 * be read at all.
 */
.code code {
  font-size: inherit;
  color: inherit;
}

.code-figure__label {
  margin-bottom: 0.75rem;
}

/* ---------- The close ---------- */

.finale {
  padding-block: clamp(6rem, 12vw, 10rem);
  text-align: center;
}

.finale .section__head {
  margin-inline: auto;
}

.finale .headline {
  font-size: clamp(2.375rem, 5.2vw, 4.5rem);
}

.finale .section__lede {
  margin-inline: auto;
}

.finale .actions {
  justify-content: center;
}

.finale .note {
  margin-inline: auto;
  margin-top: 3.5rem;
}

.finale .kicker {
  justify-content: center;
}

/* ---------- Inner page openings ---------- */

.page-hero {
  padding-block: clamp(4.5rem, 9vw, 7rem) clamp(2.75rem, 5.5vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}

.page-hero .display {
  max-width: 17ch;
  font-size: clamp(2.625rem, 5.6vw, 4.75rem);
}

.page-hero__lede {
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--ink-2);
}

.page-hero__actions {
  margin-top: 2rem;
}

@media (min-width: 62rem) {
  .page-hero--split .page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: end;
  }
}

/* ---------- The product, drawn: the console's receipt page ---------- */

.window-figure {
  margin: 0;
}

.window {
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
}

.window__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}

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

.window__rail {
  display: none;
}

.window__main {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  text-align: left;
}

.window__side {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid var(--rule);
  text-align: left;
}

@media (min-width: 64rem) {
  .window__body {
    grid-template-columns: 12rem minmax(0, 1fr);
  }

  .window__rail {
    display: block;
    grid-row: span 2;
    padding-block: 1.25rem;
    border-right: 1px solid var(--rule);
    background: var(--paper-2);
    text-align: left;
  }

  .window__side {
    grid-column: 2;
  }
}

@media (min-width: 80rem) {
  .window__body {
    grid-template-columns: 12rem minmax(0, 1fr) 20rem;
  }

  .window__rail {
    grid-row: auto;
  }

  .window__side {
    grid-column: 3;
    border-top: 0;
    border-left: 1px solid var(--rule);
  }
}

.window__rail ul {
  margin: 0;
  padding: 0 0.6rem;
  list-style: none;
}

.window__rail li {
  padding: 0.45rem 0.75rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.window__rail .is-current {
  border-color: var(--rule);
  background: var(--paper);
  color: var(--ink);
}

.window__caption {
  max-width: 44rem;
  margin: 1.25rem auto 0;
  font-size: var(--fs-small);
  text-align: center;
  color: var(--ink-3);
}

.window__caption .link {
  display: inline-block;
  margin-left: 0.4rem;
}

.receipt__title {
  font-size: 1.3rem;
  font-weight: 580;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.receipt__meta {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.receipt__heading {
  display: flex;
  margin-top: 2rem;
  margin-bottom: 0.9rem;
}

.axes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 40rem) {
  .axes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.axis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.15rem 1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
}

.axis > .label,
.axis__value,
.axis__meaning {
  grid-column: 1;
}

.axis__value {
  font-family: var(--mono);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.axis__meaning {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.axis__mark {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.ring {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
}

.ring__track {
  fill: none;
  stroke: var(--paper-3);
  stroke-width: 5;
}

.ring__arc {
  fill: none;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
}

/* The strength, marked as a stamp. */
.stamp {
  display: inline-flex;
  padding: 0.05em 0.45em;
  border: 1px solid var(--accent-edge);
  border-radius: var(--r-sm);
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 1.05rem;
}

.followed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .followed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.followed li {
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
}

.followed li:last-child {
  border-color: var(--accent-edge);
  background: var(--accent-tint);
}

.followed b {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
}

.followed li:last-child b {
  color: var(--accent-ink);
}

.ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  border-top: 1px solid var(--rule);
}

.ledger li {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(7rem, 1fr) minmax(0, 13rem);
  gap: 0.25rem 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-3);
}

.ledger b {
  font-weight: 520;
  color: var(--ink);
}

.ledger .label {
  justify-self: end;
  text-align: right;
}

@media (max-width: 40rem) {
  .ledger li {
    grid-template-columns: minmax(0, 1fr);
  }

  .ledger .label {
    justify-self: start;
  }
}

.limits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.limits li {
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-stretch: 87.5%;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.arms {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.arms li {
  padding-block: 0.9rem;
  border-top: 1px solid var(--rule);
}

.arms__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: var(--ink-2);
}

.arms__head b {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
}

.arms li:last-child .arms__head b {
  color: var(--accent-ink);
}

.arms__interval {
  display: block;
  width: 100%;
  height: 1.25rem;
  margin-top: 0.6rem;
}

.arms__track {
  stroke: var(--rule-2);
  stroke-width: 1;
}

.arms__zero {
  stroke: var(--ink-3);
  stroke-width: 1;
}

.arms__range {
  fill: #b7dcc4;
}

.arms__point {
  fill: var(--accent);
}

.arms__difference {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table caption {
  text-align: left;
}

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

.table tbody tr:last-child th,
.table tbody tr:last-child td {
  border-bottom: 0;
}

.table thead th {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 450;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.table tbody th {
  font-weight: 580;
  color: var(--ink);
}

.table td {
  color: var(--ink-2);
}

.cell--mono {
  font-family: var(--mono);
  font-size: 0.82em;
  font-stretch: 87.5%;
  color: var(--ink);
}

/* The cell already sets the mono's size; what is inside it does not shrink again. */
.cell--mono code,
.cell--mono .data {
  font-size: inherit;
}

.table .figure-number {
  color: var(--accent-ink);
}

@media (max-width: 48rem) {
  .table-wrap {
    padding: 0.25rem 1rem;
  }

  .table--stack thead {
    display: none;
  }

  .table--stack tr {
    display: block;
    padding-block: 0.9rem;
    border-bottom: 1px solid var(--rule);
  }

  .table--stack tbody tr:last-child {
    border-bottom: 0;
  }

  .table--stack th,
  .table--stack td {
    display: block;
    padding: 0;
    border: 0;
  }

  .table--stack td + td,
  .table--stack th + td {
    margin-top: 0.4rem;
  }

  .table--stack td[data-label]::before {
    display: block;
    font-family: var(--mono);
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
    content: attr(data-label);
  }
}

/* ---------- Small things ---------- */

.quiet {
  color: var(--ink-3);
}

.data {
  font-family: var(--mono);
  font-size: 0.8em;
  color: var(--accent-ink);
}

/* The unclosed ring on the not-found page. */
.notfound__ring {
  width: 120px;
  height: 120px;
}

/* ---------- Footer: a black band, link columns over the white wordmark ---------- */

.site-footer {
  background: var(--night);
  color: var(--night-text);
  overflow: hidden;
}

.site-footer .brand__text {
  color: #ffffff;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  padding-block: clamp(4rem, 8vw, 6rem) 3rem;
}

@media (min-width: 64rem) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  }
}

.site-footer__brand p {
  max-width: 21rem;
  margin-top: 1rem;
  font-size: var(--fs-small);
}

.site-footer__note {
  color: var(--night-quiet);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 2.5rem 1.5rem;
}

.site-footer__heading {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--night-quiet);
}

.site-footer__nav ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  font-size: 0.9rem;
  color: var(--night-text);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible,
.site-footer__nav a[aria-current='page'] {
  color: #ffffff;
}

.site-footer :focus-visible {
  outline-color: #ffffff;
}

.site-footer__base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem;
  font-size: 0.8125rem;
  color: var(--night-quiet);
}

/* The rule above the base runs with the content, not into the gutters. */
.site-footer__base::before {
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--night-line);
  content: '';
}

/*
 * The owner's wordmark in white, set across the foot. It stands on the page's
 * bottom edge: the crop falls just below the letters (row 312 of 427), so the
 * underline and the tail of the g run off the page, as they did in the release
 * the owner kept.
 */
.site-footer__mark {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) 0;
}

.site-footer__mark img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1696 / 312;
  object-fit: cover;
  object-position: top;
}

/* ---------- A reader who asks for less motion ---------- */

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

/* ---------- Print ---------- */

@media print {
  .topbar,
  .site-footer .brand,
  .site-footer__mark,
  .actions,
  .hero__actions {
    display: none;
  }

  /* The footer prints in ink on the paper, keeping its note that every figure is synthetic. */
  .site-footer {
    --night: #ffffff;
    --night-line: #d4d4cf;
    --night-text: #0c0c0c;
    --night-quiet: #3d3d42;
  }

  a[href^='http']::after {
    font-size: 8pt;
    content: ' (' attr(href) ')';
  }
}
