/* ============================================================================
   Strange Attractors — stylesheet
   Dark by default; the theme toggle stamps data-theme on <html>.
   ========================================================================== */

:root {
  color-scheme: dark;

  --page: #0e0e10;
  --panel: #151518;
  --panel-2: #1b1b1f;
  --surface: #131316; /* the canvas background — validated against */
  --ink: #f4f4f2;
  --ink-2: #b6b5ae;
  --ink-muted: #85847e;
  --line: #2a2a2f;
  --line-soft: #212126;
  --accent: #3987e5;
  --accent-soft: rgba(57, 135, 229, 0.16);
  --grid: rgba(255, 255, 255, 0.035);
  --axis: rgba(255, 255, 255, 0.22);

  /* categorical slots — validated for this surface (see Readme) */
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --series-4: #c98500;

  /* chrome heights, so the shell can leave room for the footer */
  --masthead-h: 51px;
  --footer-h: 44px;

  --radius: 10px;
  --radius-s: 7px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:
    ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Consolas,
    monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --page: #eceae5;
  --panel: #fbfbf9;
  --panel-2: #f3f2ee;
  --surface: #f7f7f4;
  --ink: #16161a;
  --ink-2: #52514e;
  --ink-muted: #898781;
  --line: #dedcd5;
  --line-soft: #e8e6e0;
  --accent: #2a78d6;
  --accent-soft: rgba(42, 120, 214, 0.12);
  --grid: rgba(0, 0, 0, 0.045);
  --axis: rgba(0, 0, 0, 0.22);
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --series-4: #eda100;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

/* ------------------------------------------------------------------ header */

.masthead {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.masthead h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.masthead .sub {
  font-size: 12.5px;
  color: var(--ink-muted);
}
.masthead .spacer {
  flex: 1;
}

/* -------------------------------------------------------------------- shell */

.shell {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr) 320px;
  gap: 1px;
  background: var(--line);
  min-height: calc(100vh - var(--masthead-h) - var(--footer-h));
}

.col {
  background: var(--page);
  min-width: 0;
  padding: 16px;
}
.col--left {
  background: var(--panel);
  padding: 14px 12px;
}
.col--right {
  background: var(--panel);
  padding: 16px 14px;
  overflow-y: auto;
  max-height: calc(100vh - var(--masthead-h) - var(--footer-h));
}
.col--stage {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ------------------------------------------------------------- attractor nav */

.nav-group + .nav-group {
  margin-top: 16px;
}
.nav-group > h2 {
  margin: 0 0 6px 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.25;
}
.nav-item:hover {
  background: var(--panel-2);
  color: var(--ink);
}
.nav-item[aria-current="true"] {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--ink);
}
.nav-item .n {
  font-size: 13px;
  font-weight: 500;
}
.nav-item .y {
  font-size: 11px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.nav-item[aria-current="true"] .y {
  color: var(--accent);
}

/* ------------------------------------------------------------------- canvas */

.stage-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.stage-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.stage-head .tagline {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.toolbar .gap {
  width: 6px;
}
.toolbar .rule {
  width: 1px;
  align-self: stretch;
  background: var(--line);
  margin: 2px 4px;
}

.btn {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--panel);
  color: var(--ink-2);
  cursor: pointer;
  font-size: 12.5px;
  white-space: nowrap;
}
a.btn {
  display: inline-block;
  text-decoration: none;
}
.btn:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
}
.btn[aria-pressed="true"],
.btn.on {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--ink);
}
.btn--wide {
  width: 100%;
  text-align: center;
}
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  filter: brightness(1.08);
  color: #fff;
}

select.btn {
  padding-right: 6px;
}

.canvas-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
#scene {
  display: block;
  width: 100%;
  height: clamp(340px, 52vh, 620px);
  cursor: grab;
  touch-action: none;
}
#scene.dragging {
  cursor: grabbing;
}

.legend {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--ink-2);
  pointer-events: none;
}
.legend[hidden] {
  display: none;
}
.legend .item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend .swatch {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.hint {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 11px;
  color: var(--ink-muted);
  pointer-events: none;
}

/* ------------------------------------------------------------- diagnostics */

.stats {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.stat {
  padding: 6px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  background: var(--panel);
}
/* three signed coordinates need roughly twice the width of a single figure */
.stat--pos {
  grid-column: span 2;
}
.stat dt {
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.stat-tip {
  position: relative;
  cursor: help;
}
.stat-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  width: min(42ch, 62vw);
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-2);
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.35;
  font-size: 11.5px;
  font-family: var(--sans);
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transform: translateY(2px);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
  pointer-events: none;
  z-index: 8;
}
.stat-tip::before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: calc(100% + 2px);
  border: 6px solid transparent;
  border-top-color: var(--line);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 120ms ease;
  z-index: 7;
}
.stat-tip:hover::after,
.stat-tip:hover::before,
.stat-tip:focus-visible::after,
.stat-tip:focus-visible::before {
  opacity: 1;
  visibility: visible;
}
.stat-tip:hover::after,
.stat-tip:focus-visible::after {
  transform: translateY(0);
}
.stat dd {
  margin: 1px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  display: inline-block;
  min-width: 0;
}
.stat dd .unit {
  font-size: 11px;
  color: var(--ink-muted);
}
#s-pos {
  white-space: pre;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
  font-size: 12px;
}
.stat.is-chaotic dd {
  color: var(--series-3);
}
.stat.is-ordered dd {
  color: var(--ink-2);
}

@media (max-width: 1180px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------- inset plot */

.inset-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.inset-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: var(--ink-muted);
}
.inset-head .title {
  color: var(--ink-2);
  font-weight: 500;
}
.inset-head .spacer {
  flex: 1;
}
#inset {
  display: block;
  width: 100%;
  height: 150px;
}
.inset-note {
  padding: 6px 10px 8px;
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------- right column */

.block + .block {
  margin-top: 18px;
}
.block > h3 {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.eqn {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  background: var(--panel-2);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  white-space: pre-wrap;
  color: var(--ink);
  overflow-x: auto;
}

/* ------------------------------------------------------------ the editor */

.editor[hidden] {
  display: none;
}
.eq-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.eq-row label {
  width: 30px;
  flex: none;
  white-space: nowrap;
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}

/* the spinners cost more width than they are worth in these narrow fields */
.eq-grid input::-webkit-outer-spin-button,
.eq-grid input::-webkit-inner-spin-button,
.val--edit::-webkit-outer-spin-button,
.val--edit::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.eq-grid input[type="number"],
.val--edit {
  appearance: textfield;
  -moz-appearance: textfield;
}
.eq-row input {
  flex: 1;
  min-width: 0;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--panel-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
}
.eq-row input:focus {
  outline: none;
  border-color: var(--accent);
}

.eq-status {
  margin: 8px 0 0 37px;
  min-height: 16px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-muted);
}
.eq-status.is-good {
  color: var(--series-3);
}
.eq-status.is-bad {
  color: #e66767;
  font-family: var(--mono);
}
.eq-status.is-flat {
  color: var(--ink-2);
}

.eq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0 0 37px;
}
.eq-grid label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
}
.eq-grid input {
  width: 100%;
  min-width: 0;
  padding: 3px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
}

.eq-help {
  margin: 10px 0 0 37px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-muted);
}
.eq-help code,
.prose code {
  padding: 0 3px;
  border-radius: 3px;
  background: var(--panel-2);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-2);
}

.val--edit {
  width: 72px;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel-2);
  text-align: right;
}
.val--edit:focus {
  outline: none;
  border-color: var(--accent);
}

.param {
  margin-bottom: 10px;
}
.param .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.param .name {
  font-family: var(--mono);
  font-size: 13px;
}
.param .val {
  font-family: var(--mono);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.param .note {
  font-size: 11px;
  color: var(--ink-muted);
}
.param input[type="range"] {
  width: 100%;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.empty-note {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-style: italic;
}

.preset-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.preset {
  text-align: left;
  padding: 6px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  background: var(--panel-2);
  cursor: pointer;
}
.preset:hover {
  border-color: var(--ink-muted);
}
.preset .pn {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}
.preset .pd {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.field {
  margin-bottom: 10px;
}
.field > label {
  display: block;
  font-size: 11.5px;
  color: var(--ink-2);
  margin-bottom: 2px;
}
.field .with-val {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.field .with-val .v {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
.field select {
  width: 100%;
}
.check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  accent-color: var(--accent);
}

.prose {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.prose p {
  margin: 0 0 8px;
}
.tips {
  margin: 0;
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.tips li {
  margin-bottom: 6px;
}
.meta {
  font-size: 11.5px;
  color: var(--ink-muted);
}
.meta a {
  color: var(--accent);
  text-decoration: none;
}
.meta a:hover {
  text-decoration: underline;
}

kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--ink-2);
}

/* ------------------------------------------------------------------- dialog */

dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  padding: 0;
  max-width: 620px;
  width: calc(100% - 32px);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}
dialog .dlg-body {
  padding: 18px 20px 20px;
}
dialog h2 {
  margin: 0 0 12px;
  font-size: 16px;
}
dialog h3 {
  margin: 16px 0 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
dialog table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
dialog td {
  padding: 3px 0;
  vertical-align: top;
  color: var(--ink-2);
}
dialog td:first-child {
  width: 128px;
  white-space: nowrap;
}
dialog .dlg-close {
  position: absolute;
  top: 10px;
  right: 12px;
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .col--right {
    grid-column: 1 / -1;
    max-height: none;
    overflow: visible;
  }
}
@media (max-width: 760px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .col--left {
    display: flex;
    gap: 14px;
    overflow-x: auto;
  }
  .nav-group + .nav-group {
    margin-top: 0;
  }
  .nav-group {
    min-width: max-content;
  }
  .masthead .sub {
    display: none;
  }
  #scene {
    height: 46vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}

/* ============================================================================
   guide.html — the reference page generated from Readme.md
   ========================================================================== */

.g-body {
  height: auto;
}

.g-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  align-items: start;
  min-height: calc(100vh - var(--masthead-h) - var(--footer-h));
}

/* ---------------------------------------------------------------- contents */

.g-toc {
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100vh;
  overflow-y: auto;
  padding: 20px 14px 28px;
  background: var(--panel);
}
.g-toc h2 {
  margin: 0 0 10px 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.g-toc-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.g-toc-item {
  display: block;
  padding: 4px 9px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.35;
}
.g-toc-item:hover {
  background: var(--panel-2);
  color: var(--ink);
}
.g-toc-3 {
  padding-left: 20px;
  font-size: 12px;
  color: var(--ink-muted);
}
.g-toc-item.is-current {
  border-left-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}

/* -------------------------------------------------------------- the document */

.g-doc {
  padding: 28px 40px 80px;
  background: var(--page);
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-2);
}
/* the column fills its cell; the readable measure is set on the content */
.g-doc > * {
  max-width: 78ch;
}
.g-doc > h1 {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.g-doc h2 {
  margin: 44px 0 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  scroll-margin-top: 12px;
}
.g-doc h3 {
  margin: 30px 0 8px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  scroll-margin-top: 12px;
}
.g-doc .g-anchor {
  color: inherit;
  text-decoration: none;
}
.g-anchor:hover::after {
  content: " #";
  color: var(--ink-muted);
  font-weight: 400;
}

.g-doc p {
  margin: 0 0 14px;
}
.g-doc strong {
  color: var(--ink);
  font-weight: 600;
}
.g-doc a {
  color: var(--accent);
  text-underline-offset: 2px;
}
.g-doc ul,
.g-doc ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.g-doc li {
  margin-bottom: 7px;
}
.g-doc hr {
  display: none; /* the h2 top rules already separate the sections */
}
.g-doc blockquote {
  margin: 18px 0;
  padding: 10px 16px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--ink);
}
.g-doc code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--panel-2);
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--ink);
}

.g-code {
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
}
.g-code code {
  padding: 0;
  background: none;
  font-size: inherit;
}

.g-tablewrap {
  margin: 0 0 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow-x: auto;
}
.g-tablewrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.g-tablewrap th {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.g-tablewrap td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.g-tablewrap tr:last-child td {
  border-bottom: 0;
}
.g-tablewrap td:first-child {
  color: var(--ink);
}

@media (max-width: 900px) {
  .g-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .g-toc {
    position: static;
    max-height: none;
  }
  .g-doc {
    padding: 22px 20px 60px;
  }
}

.guide-link {
  margin: 10px 0 0;
  font-size: 12.5px;
}
.guide-link a {
  color: var(--accent);
  text-decoration: none;
}
.guide-link a:hover {
  text-decoration: underline;
}

.g-status {
  margin: 0;
  padding: 8px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  font-size: 12.5px;
  color: var(--ink-2);
}
.g-status.is-ok {
  color: var(--series-3);
}
.g-status.is-warn {
  color: var(--series-4);
}
.g-status[hidden] {
  display: none;
}
/* the "generated by" note, now a segment inside the shared site footer */
.g-foot {
  color: var(--ink-muted);
}
.g-foot code {
  padding: 0 3px;
  border-radius: 3px;
  background: var(--panel-2);
  font-family: var(--mono);
  font-size: 0.92em;
}

/* ============================================================================
   site footer — shared by the simulator and the reference page
   ========================================================================== */

.sitefoot {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--panel);
  font-size: 12px;
  color: var(--ink-muted);
}
.sitefoot a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.sitefoot a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink-muted);
}
.sitefoot .spacer {
  flex: 1;
}
.sitefoot .home {
  color: var(--accent);
  border-bottom-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.sitefoot .home:hover {
  color: var(--accent);
}
