/* dotfiles.marcopontili.com
   Dark first, light theme under prefers-color-scheme: light.
   Terminal panels stay dark in both themes. Sizes in rem. */

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/roboto-mono-v31-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/roboto-mono-v31-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Cabin";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cabin-v35-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Cabin";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cabin-v35-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Cabin";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/cabin-v35-latin-700.woff2") format("woff2");
}

:root {
  color-scheme: dark light;

  --font-mono: "Roboto Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --font-sans: "Cabin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bg: #070a12;
  --bg-raised: #0b1120;
  --panel: #0e1626;
  --line: #1e2a40;
  --line-strong: #2e4060;
  --text: #e6edf7;
  --muted: #94a7c2;
  --accent: #38bdf8;
  --accent-ink: #04121c;
  --accent-2: #fb923c;
  --ok: #4ade80;
  --dot: rgb(148 167 194 / 0.12);
  --focus: #7dd3fc;

  /* Terminal panels: dark in both themes */
  --term-bg: #0a0f1c;
  --term-bar: #111a2c;
  --term-line: #22304a;
  --term-text: #dce6f4;
  --term-muted: #8b9cb6;
  --term-accent: #38bdf8;
  --term-accent-2: #fb923c;
  --term-ok: #4ade80;

  --radius-s: 0.25rem;
  --radius: 0.5rem;
  --radius-l: 0.75rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --shell: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6fa;
    --bg-raised: #ffffff;
    --panel: #ffffff;
    --line: #d5dce7;
    --line-strong: #b4c0d3;
    --text: #0b1324;
    --muted: #46566e;
    --accent: #0369a1;
    --accent-ink: #ffffff;
    --accent-2: #c2410c;
    --ok: #15803d;
    --dot: rgb(11 19 36 / 0.08);
    --focus: #0369a1;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--space-6);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.06em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

:focus-visible {
  outline: 0.1875rem solid var(--focus);
  outline-offset: 0.1875rem;
  border-radius: var(--radius-s);
}

code,
kbd,
pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

:not(pre) > code {
  padding: 0.05em 0.35em;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg-raised);
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

p,
figure {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: var(--space-4);
  top: -10rem;
  z-index: 10;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: var(--space-4);
}

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

/* ---------- Top bar ---------- */

.topbar {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 3.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-tilde {
  color: var(--accent);
}

.brand img {
  width: 1.5rem;
  height: 1.5rem;
}

.topnav ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: var(--space-3);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-decoration: none;
}

.topnav a:hover {
  color: var(--text);
}

.topnav .topnav-gh {
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

@media (max-width: 40rem) {
  .topnav .topnav-anchor {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  }
}

.eyebrow {
  display: inline-flex;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-5);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ok);
}

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

.headline em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  margin-top: var(--space-5);
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1875rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 85%, var(--text));
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
}

.btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin: var(--space-6) 0 0;
  font-family: var(--font-mono);
}

.stats div {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: baseline;
  gap: var(--space-2);
}

.stats dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

.stats dd {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
}

/* ---------- Terminal ---------- */

.term {
  min-width: 0;
  border: 1px solid var(--term-line);
  border-radius: var(--radius-l);
  background: var(--term-bg);
  color: var(--term-text);
  box-shadow: 0 1.5rem 3rem -1.5rem rgb(0 0 0 / 0.55);
  overflow: hidden;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--term-line);
  background: var(--term-bar);
  color: var(--term-muted);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.term-dots {
  display: flex;
  gap: 0.375rem;
  margin-right: var(--space-2);
}

.term-dots span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--term-line);
}

.term-dots span:nth-child(1) {
  background: #ef4444;
}

.term-dots span:nth-child(2) {
  background: #eab308;
}

.term-dots span:nth-child(3) {
  background: #22c55e;
}

.term-body {
  margin: 0;
  padding: var(--space-4) var(--space-4) var(--space-5);
  font-size: clamp(0.75rem, 1.1vw, 0.8125rem);
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}

.term-body code {
  font-size: inherit;
}

.t-path {
  color: var(--term-accent);
  font-weight: 700;
}

.t-branch {
  color: var(--term-accent-2);
}

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

.t-prompt {
  color: var(--term-ok);
  font-weight: 700;
}

.t-mod {
  color: var(--term-accent-2);
}

.t-ok {
  color: var(--term-ok);
}

.t-warn {
  color: #fcd34d;
}

.t-cmd {
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
  white-space: pre;
}

.t-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.15em;
  vertical-align: text-bottom;
  background: var(--term-accent);
}

@media (prefers-reduced-motion: no-preference) {
  .t-cmd {
    width: 0;
    animation: type 1.1s steps(20, end) 0.4s forwards;
  }

  .t-out {
    opacity: 0;
    animation: reveal 0.3s ease-out forwards;
    animation-delay: calc(1.6s + var(--i, 0) * 0.09s);
  }

  .i0 {
    --i: 0;
  }

  .i1 {
    --i: 1;
  }

  .i2 {
    --i: 2;
  }

  .i3 {
    --i: 3;
  }

  .i4 {
    --i: 4;
  }

  .i5 {
    --i: 5;
  }

  .i6 {
    --i: 6;
  }

  .i7 {
    --i: 7;
  }

  .i8 {
    --i: 8;
  }

  .i9 {
    --i: 9;
  }

  .i10 {
    --i: 10;
  }

  .t-cursor {
    animation: blink 1.1s steps(1, end) infinite;
  }
}

@keyframes type {
  to {
    width: 20ch;
  }
}

@keyframes reveal {
  to {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

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

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: block;
  margin-bottom: var(--space-3);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.625rem, 3.4vw, 2.375rem);
}

.section-lede {
  margin-top: var(--space-4);
  color: var(--muted);
}

/* ---------- Manifest fan-out ---------- */

.fan {
  --wire: var(--line-strong);
  --wire-w: 2px;
}

.manifest {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
}

.manifest .term-body {
  font-size: clamp(0.6875rem, 1.5vw, 0.8125rem);
}

.fan-targets {
  position: relative;
  display: grid;
  gap: var(--space-5);
  margin: 0;
  padding: var(--space-7) 0 0;
  list-style: none;
}

/* Drop from the manifest down to the bus */
.manifest::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: var(--wire-w);
  height: var(--space-5);
  background: var(--wire);
  transform: translateX(-50%);
}

.fan-targets::after {
  content: "";
  position: absolute;
  top: var(--space-5);
  height: var(--wire-w);
  background: var(--wire);
}

.target {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--panel);
  padding: var(--space-5);
}

.target::before {
  content: "";
  position: absolute;
}

.target-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px dashed var(--line);
}

.target h3 {
  font-size: 1.125rem;
}

.target-shells {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.links li {
  display: grid;
  gap: 0.125rem;
  padding-block: var(--space-2);
}

.links li + li {
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.links .to {
  color: var(--text);
  overflow-wrap: anywhere;
}

.links .from {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.links .from::before {
  content: "\2190  ";
  color: var(--accent);
}

.target-count {
  margin-top: var(--space-3);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.target-count strong {
  color: var(--accent);
}

/* Narrow: the bus runs left to a trunk, an elbow into each card */
@media (max-width: 59.99rem) {
  .fan-targets {
    padding-left: var(--space-5);
  }

  .fan-targets::after {
    left: var(--space-2);
    width: calc(50% - var(--space-2));
  }

  .target::before {
    left: calc(-1 * var(--space-5) + var(--space-2));
    top: calc(-1 * var(--space-5) - 1px);
    width: calc(var(--space-5) - var(--space-2));
    height: calc(var(--space-5) + 1.75rem);
    border-left: var(--wire-w) solid var(--wire);
    border-bottom: var(--wire-w) solid var(--wire);
  }

  .target:first-child::before {
    top: calc(-1 * (var(--space-7) - var(--space-5)) - 1px);
    height: calc(var(--space-7) - var(--space-5) + 1.75rem);
  }
}

/* Wide: the bus spans the three column centres, a drop into each card */
@media (min-width: 60rem) {
  .fan-targets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fan-targets::after {
    left: calc((100% - 2 * var(--space-5)) / 6);
    right: calc((100% - 2 * var(--space-5)) / 6);
  }

  .target::before {
    bottom: 100%;
    left: 50%;
    width: var(--wire-w);
    height: calc(var(--space-7) - var(--space-5));
    margin-bottom: 1px;
    background: var(--wire);
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 60rem) {
  .target::after {
    content: "";
    position: absolute;
    left: calc(50% - 0.25rem);
    top: calc(-1 * (var(--space-7) - var(--space-5)) - 0.25rem);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: drop 3.6s ease-in infinite;
  }

  .target:nth-child(2)::after {
    animation-delay: 1.2s;
  }

  .target:nth-child(3)::after {
    animation-delay: 2.4s;
  }
}

@keyframes drop {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  8% {
    opacity: 1;
  }

  28% {
    opacity: 0;
    transform: translateY(calc(var(--space-7) - var(--space-5)));
  }

  100% {
    opacity: 0;
    transform: translateY(calc(var(--space-7) - var(--space-5)));
  }
}

.fan-note {
  max-width: 44rem;
  margin: var(--space-6) auto 0;
  color: var(--muted);
  text-align: center;
}

/* ---------- Shells ---------- */

.shells {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.shell-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-bottom: 0.1875rem solid var(--accent);
  border-radius: var(--radius-l);
  background: var(--panel);
}

.shell-card[data-tone="wsl"] {
  border-bottom-color: var(--accent-2);
}

.shell-card[data-tone="pwsh"] {
  border-bottom-color: var(--muted);
}

.shell-card h3 {
  font-size: 1.75rem;
  color: var(--accent);
}

.shell-card[data-tone="wsl"] h3 {
  color: var(--accent-2);
}

.shell-card[data-tone="pwsh"] h3 {
  color: var(--text);
}

.shell-platform {
  font-weight: 600;
}

.shell-entry {
  color: var(--muted);
  font-size: 0.9375rem;
}

.shell-layer {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.shared-layer {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-7);
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bg-raised);
}

@media (min-width: 60rem) {
  .shared-layer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
  }
}

.shared-layer h3 {
  font-size: 1.25rem;
}

.shared-layer p {
  margin-top: var(--space-3);
  color: var(--muted);
}

.fn-list {
  display: grid;
  gap: 0;
  margin: 0;
}

@media (min-width: 40rem) {
  .fn-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-6);
  }
}

.fn-list div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.fn-list dt {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
}

.fn-list dd {
  margin: 0;
  color: var(--muted);
}

/* ---------- Safety ---------- */

.rules {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
  border-top: 1px solid var(--line);
}

.rules li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line);
  counter-increment: rule;
}

@media (min-width: 48rem) {
  .rules li {
    grid-template-columns: 4rem minmax(0, 18rem) minmax(0, 1fr);
    gap: var(--space-6);
  }
}

.rules li::before {
  content: "0" counter(rule);
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-weight: 700;
}

.rules h3 {
  font-size: 1.0625rem;
}

.rules p {
  grid-column: 2;
  color: var(--muted);
}

@media (min-width: 48rem) {
  .rules p {
    grid-column: 3;
  }
}

/* ---------- Install ---------- */

.install-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 60rem) {
  .install-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.snippet .term-bar {
  justify-content: space-between;
}

.snippet h3 {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--term-muted);
}

.copy {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.25rem;
  min-width: 5.5rem;
  justify-content: center;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--term-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--term-text);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  cursor: pointer;
}

.copy[hidden] {
  display: none;
}

.copy:hover {
  border-color: var(--term-accent);
}

.copy:focus-visible {
  outline-color: var(--term-accent);
}

.copy[data-state="done"] {
  border-color: var(--term-ok);
  color: var(--term-ok);
}

.copy svg {
  width: 1rem;
  height: 1rem;
}

.t-comment {
  color: var(--term-muted);
}

.requirements {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.requirements li {
  padding-left: var(--space-5);
  position: relative;
}

.requirements li::before {
  content: "$";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: var(--space-3);
  max-width: 50rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--panel);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 2.75rem;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--muted);
}

/* ---------- Prose (privacy) ---------- */

.page {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.page h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
}

.page-meta {
  margin-top: var(--space-3);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.prose {
  max-width: 44rem;
  margin-top: var(--space-6);
}

.prose h2 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: 1.25rem;
}

.prose p + p,
.prose ul + p,
.prose p + ul {
  margin-top: var(--space-3);
}

.prose ul {
  padding-left: var(--space-5);
}

.prose li + li {
  margin-top: var(--space-2);
}

/* ---------- Error pages ---------- */

.error-panel {
  padding-block: clamp(4rem, 12vw, 8rem);
}

.error-panel .term {
  max-width: 40rem;
  margin-bottom: var(--space-6);
}

.error-panel h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.error-panel .lede {
  margin-top: var(--space-4);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--space-6);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  align-items: center;
  justify-content: space-between;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: var(--space-2);
}

.site-footer li:first-child a {
  padding-left: 0;
}

.pixel {
  position: absolute;
  width: 1px;
  height: 1px;
}
