/* SmartTest site. Tokens mirror documentation/design/design-system.md. */
:root {
  --bg: #070b18;
  --bg-1: #0e1530;
  --panel: #111a38;
  --panel-2: #18234a;
  --line: #22305c;
  --ink: #e8ecf8;
  --soft: #aab3d4;
  --dim: #6e79a3;
  --cyan: #22d3ee;
  --pass: #34d399;
  --warn: #fbbf24;
  --fail: #fb7185;
  --skip: #3a4567;
  --on-field: #070b18;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  /* taste-skill-ignore: monospace is only used for real code and CLI output fragments */
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
  --margin: clamp(20px, 3vw, 40px);
  --radius: 8px;
  --gap: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --s-display: clamp(52px, 8.4vw, 136px);
  --s-huge: clamp(56px, 6.4vw, 104px);
  --s-h2: clamp(30px, 3.4vw, 52px);
  --s-h3: 28px;
  --s-lead: clamp(18px, 1.5vw, 22px);
  --s-body: 17px;
  --s-small: 14px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--s-body) / 1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
code,
samp,
kbd,
pre {
  font-family: var(--mono);
  font-size: 0.92em;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
::selection {
  background: var(--cyan);
  color: var(--on-field);
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--margin);
  top: 8px;
  z-index: 10;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
}
.sr {
  /* taste-skill-ignore: visually hidden text, not a rule */
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ── Buttons ─────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--on-field);
  font: 700 16px / 1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease),
    background-color 160ms;
}
.button:hover {
  background: #67e8f9;
}
.button:active {
  transform: scale(0.97);
}
.button.dark {
  background: var(--on-field);
  color: var(--ink);
}
.button.dark:hover {
  background: var(--bg-1);
}
.text-link {
  font-weight: 600;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: color 160ms;
}
.text-link:hover {
  color: var(--cyan);
}

/* ── Top bar ─────────────────────────────────────────── */
.top {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px var(--margin);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.top nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.top nav a {
  text-decoration: none;
  color: var(--soft);
  font-size: 15px;
  transition: color 160ms;
}
.top nav a:hover {
  color: var(--ink);
}
.top .button {
  min-height: 44px;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(48px, 9vh, 120px) var(--margin) 0;
}
.hero-head {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: var(--s-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.line > span {
  display: inline-block;
}
.lead {
  max-width: 44ch;
  margin: 40px auto 0;
  font-size: var(--s-lead);
  color: var(--ink);
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

/* change chips: a row of switches under the headline */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 40px auto 0;
  max-width: 1240px;
}
.chip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 16px;
  width: 280px;
  padding: 12px 14px 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--ink);
  text-align: left;
  font: 400 14px / 1.3 var(--sans);
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    background-color 160ms;
}
.chip:nth-child(odd) {
  transform: rotate(-2deg);
}
.chip:nth-child(even) {
  transform: rotate(2deg);
}
.chip:hover {
  background: #1f2c5a;
  transform: rotate(0deg) translateY(-2px);
}
.chip:active {
  transform: scale(0.98);
}
.chip-label {
  color: var(--soft);
}
.chip-name {
  grid-column: 1;
  font: 600 15px / 1.2 var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.switch {
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--skip);
  position: relative;
  transition: background-color 160ms;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 200ms var(--ease);
}
.chip[aria-pressed="true"] .switch {
  background: var(--warn);
}
.chip[aria-pressed="true"] .switch::after {
  transform: translateX(18px);
  background: var(--on-field);
}
.chip[aria-pressed="true"] .chip-label {
  color: var(--warn);
}

/* the stage under the hero: a flat cyan slab holding the impact panel */
.stage {
  max-width: 1280px;
  margin: clamp(56px, 8vh, 96px) auto 0;
  padding: clamp(20px, 3vw, 44px);
  background: var(--cyan);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr);
  gap: clamp(20px, 3vw, 44px);
  color: var(--on-field);
}
.stage-note p {
  margin: 0 0 14px;
  font-size: 16px;
}
.stage-note .count {
  font-size: var(--s-h2);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin: 0 0 20px;
}
.stage-note .count span {
  display: block;
}

/* product fragments keep the CLI's own conventions */
[data-ui].term {
  background: var(--bg);
  color: var(--ink);
  border-radius: 10px;
  padding: 18px 20px;
  font: 400 13.5px / 1.65 var(--mono);
  overflow: hidden;
}
.term samp {
  display: block;
  font: inherit;
}
.term .t-dim {
  color: var(--dim);
}
.term .t-soft {
  color: var(--soft);
}
.term .t-cyan {
  color: var(--cyan);
}
.term .t-warn {
  color: var(--warn);
}
.term .t-pass {
  color: var(--pass);
}
.term .pill {
  display: inline-block;
  padding: 0 6px;
  border-radius: 3px;
  font-weight: 700;
  color: var(--on-field);
}
.pill.sel {
  background: var(--pass);
}
.pill.skp {
  background: var(--skip);
  color: var(--ink);
}
.term .row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  width: 100%;
  padding: 2px 6px;
  margin: 0 -6px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.term .row:hover,
.term .row[aria-expanded="true"] {
  background: var(--panel);
}
.term .row .why {
  grid-column: 2;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.term .row.skipped {
  color: var(--dim);
  cursor: default;
}
.term .row.skipped:hover {
  background: none;
}
.term .path {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: var(--panel);
  border-radius: 6px;
  color: var(--soft);
  white-space: normal;
  word-break: break-word;
}
.term .path b {
  color: var(--ink);
  font-weight: 600;
}

/* ── Sections ────────────────────────────────────────── */
section {
  scroll-margin-top: 20px;
}
.section {
  padding: clamp(96px, 14vh, 200px) var(--margin) 0;
}
h2 {
  font-size: var(--s-h2);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

/* showcase: the mode switch, blown up */
.modes {
  position: relative;
  min-height: 92svh;
  margin-top: clamp(96px, 14vh, 200px);
  padding: clamp(40px, 7vh, 80px) var(--margin);
  overflow: hidden;
  background: var(--field, var(--cyan));
  color: var(--on-field);
  transition: background-color 420ms var(--ease);
}
.modes h2 {
  font-size: var(--s-h2);
}
.modes .mode-text {
  max-width: 34ch;
  margin: 20px 0 0;
  font-size: var(--s-lead);
}
.modes .mode-detail {
  max-width: 40ch;
  margin: 16px 0 0;
  font-size: 16px;
}
.segmented {
  position: absolute;
  right: -4%;
  bottom: -5%;
  font-size: var(--s-huge);
  display: flex;
  padding: 0.12em;
  gap: 0.1em;
  background: var(--on-field);
  border-radius: 0.6em;
}
.segmented button {
  border: 0;
  border-radius: 0.48em;
  padding: 0.5em 0.9em;
  background: transparent;
  color: var(--soft);
  font: 800 1em / 1 var(--sans);
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    background-color 220ms,
    color 220ms,
    transform 160ms var(--ease);
}
.segmented button:hover {
  color: var(--ink);
}
.segmented button:active {
  transform: scale(0.97);
}
.segmented button[aria-checked="true"] {
  background: var(--field, var(--cyan));
  color: var(--on-field);
}
.segmented-label {
  position: absolute;
  right: 4%;
  bottom: calc(6% + 2.3em);
  font: 600 16px / 1 var(--sans);
}

/* how it works: one reading column with evidence */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 600px) minmax(0, 1fr);
  gap: 0 clamp(24px, 4vw, 64px);
}
.flow h2 {
  grid-column: 2 / span 2;
  margin-bottom: 48px;
}
.flow ol {
  grid-column: 2;
  grid-row: 2;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow li + li {
  margin-top: 72px;
}
.flow p {
  margin: 0;
  font-size: var(--s-body);
  line-height: 1.6;
  color: var(--soft);
}
.flow p strong {
  color: var(--ink);
}
.flow .evidence {
  margin-top: 20px;
}
.flow figure {
  margin: 20px 0 0;
}
.flow figure img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}
figcaption {
  margin-top: 10px;
  font-size: var(--s-small);
  color: var(--soft);
}

/* proof: a board of runner names */
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.tile {
  aspect-ratio: 3 / 2;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-1);
  font-size: var(--s-h3);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.tile small {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--soft);
}
.tile.head {
  grid-column: span 2;
  aspect-ratio: auto;
  background: var(--pass);
  color: var(--on-field);
}
.tile.head h2 {
  font-size: var(--s-h2);
}
.tile.head p {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

/* stats: a ledger aligned on the decimal point */
.ledger {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 clamp(16px, 2vw, 32px);
  align-items: center;
}
.ledger-head {
  grid-column: 1 / span 5;
}
.ledger-head h2 span {
  display: block;
}
.ledger-head h2 .soft {
  color: var(--soft);
}
.ledger-head p {
  margin: 24px 0 0;
  max-width: 40ch;
  color: var(--soft);
}
.ledger-head figure {
  margin: 36px 0 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.ledger-head figure img {
  width: 100%;
  height: auto;
  transform-origin: 50% 0;
}
.figures {
  grid-column: 7 / span 6;
  margin: 0;
}
.figure {
  display: grid;
  grid-template-columns: 1.85em 0.9em minmax(0, 1fr);
  align-items: baseline;
  column-gap: 0.06em;
  padding: 10px 0;
  font-size: var(--s-huge);
}
.figure .whole,
.figure .dec {
  font-size: var(--s-huge);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.figure .whole {
  text-align: right;
}
.figure .dec {
  text-align: left;
}
.figure dd,
.figure dt {
  margin: 0;
}
.figure .cap {
  font-size: 16px;
  line-height: 1.45;
  color: var(--soft);
  padding-left: 16px;
}
.figure .cap b {
  color: var(--ink);
  font-weight: 600;
}

/* docs list: two-ended rows */
.docs-index {
  display: grid;
  grid-template-columns: minmax(0, 0.22fr) minmax(0, 560px) minmax(0, 1fr);
  gap: 0 clamp(24px, 4vw, 64px);
}
.docs-index .intro {
  grid-column: 1 / span 2;
  margin-bottom: 40px;
  max-width: 760px;
}
.docs-index .intro p {
  margin: 16px 0 0;
  color: var(--soft);
  max-width: 52ch;
}
.doc-list {
  grid-column: 2;
}
.doc-group + .doc-group {
  margin-top: 40px;
}
.doc-group-name {
  margin: 0 0 6px;
  color: var(--soft);
  font-size: 16px;
}
.doc-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.doc-group a {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 8px;
  margin: 0 -8px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 160ms;
}
.doc-group a:hover {
  background: var(--bg-1);
}
.doc-name {
  font-size: 16px;
}
.doc-time {
  font-size: 14px;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
}
.dot-guides {
  background: var(--ink);
}
.dot-concepts {
  background: var(--pass);
}
.dot-reference {
  background: var(--warn);
}
.dot-results {
  background: var(--fail);
}
.dot-project {
  background: var(--soft);
}
.docs-shots {
  grid-column: 3;
  align-self: start;
  position: sticky;
  top: 40px;
  display: grid;
  gap: 16px;
}
.docs-shots img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}

/* cta: setup already open */
.setup {
  min-height: 90svh;
  margin-top: clamp(96px, 14vh, 200px);
  padding: clamp(40px, 7vh, 80px) var(--margin);
  background: var(--cyan);
  color: var(--on-field);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 24px;
  align-items: center;
}
.setup-close {
  grid-column: 1 / span 5;
  align-self: end;
}
.setup-close h2 {
  font-size: var(--s-huge);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.setup-close p {
  margin: 24px 0 0;
  max-width: 38ch;
  font-size: var(--s-body);
}
[data-ui].dialog {
  grid-column: 7 / span 5;
  max-width: 480px;
  width: 100%;
  justify-self: end;
  background: var(--bg);
  color: var(--ink);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 24px 60px rgb(7 11 24 / 0.35);
}
.dialog h3 {
  margin: 0 0 4px;
  font-size: 22px;
}
.dialog .sub {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 14px;
}
.dialog label {
  display: block;
  font-size: 14px;
  color: var(--soft);
  margin: 14px 0 6px;
}
.dialog input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line); /* taste-skill-ignore: form field inside a product fragment */
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  font: 400 15px var(--sans);
}
.dialog .seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line); /* taste-skill-ignore: control inside a product fragment */
  border-radius: 7px;
  background: var(--panel);
}
.dialog .seg button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: var(--soft);
  font: 600 14px var(--sans);
  cursor: pointer;
}
.dialog .seg button[aria-checked="true"] {
  background: var(--panel-2);
  color: var(--ink);
}
.dialog pre {
  margin: 16px 0 18px;
  padding: 12px 14px;
  background: var(--panel);
  border-radius: 6px;
  font: 400 13px / 1.6 var(--mono);
  color: var(--soft);
  white-space: pre-wrap;
  word-break: break-all;
}
.dialog .button {
  width: 100%;
  justify-content: center;
  border-radius: 6px;
}

/* footer tiles */
.foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  padding: var(--gap);
}
.foot > * {
  border-radius: var(--radius);
  background: var(--bg-1);
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.foot .f-statement {
  grid-column: span 4;
}
.foot .f-statement p {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.foot .f-statement small {
  margin-top: auto;
  font-size: 13px;
  color: var(--soft);
}
.foot .f-nav {
  grid-column: span 3;
}
.foot .f-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot .f-nav a {
  display: inline-block;
  padding: 3px 0;
  text-decoration: none;
  transition: color 160ms;
}
.foot .f-nav a:hover {
  color: var(--cyan);
}
.foot .f-version {
  grid-column: span 2;
}
.foot .f-version b {
  font-size: var(--s-h3);
  letter-spacing: -0.03em;
}
.foot .f-version span {
  color: var(--soft);
  font-size: 15px;
}
.foot .f-repo {
  grid-column: span 3;
}
.foot .f-repo a {
  margin-top: auto;
  font-size: 20px;
  word-break: break-all;
}
.foot .f-mark {
  grid-column: span 8;
  min-height: 320px;
  background: var(--ink);
  color: var(--on-field);
  align-items: center;
  justify-content: center;
  font-size: var(--s-display);
  font-weight: 800;
  letter-spacing: -0.05em;
}
.foot .f-go {
  grid-column: span 4;
  min-height: 320px;
  background: var(--cyan);
  color: var(--on-field);
  text-decoration: none;
  font-size: var(--s-h3);
  font-weight: 750;
  letter-spacing: -0.02em;
  transition: background-color 160ms;
}
.foot .f-go:hover {
  background: #67e8f9;
}
.foot .f-go svg {
  margin-top: auto;
  align-self: flex-end;
  transition: transform 200ms var(--ease);
}
.foot .f-go:hover svg {
  transform: translateX(6px);
}

/* ── Motion ──────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js .line > span {
  transform: translateY(105%);
  animation: rise 900ms var(--ease) forwards;
}
.js .line:nth-child(2) > span {
  animation-delay: 110ms;
}
.js .after-headline {
  opacity: 0;
  animation: fade 600ms var(--ease) 520ms forwards;
}
@keyframes rise {
  to {
    transform: none;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal,
  .js .line > span,
  .js .after-headline {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/* ── Smaller screens ─────────────────────────────────── */
@media (max-width: 1100px) {
  .modes {
    min-height: 72svh;
  }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile {
    aspect-ratio: auto;
    min-height: 150px;
  }
  .tile.head {
    grid-column: 1 / -1;
  }
  .stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow h2,
  .flow ol {
    grid-column: 1;
  }
  .setup {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .setup-close,
  [data-ui].dialog {
    grid-column: 1;
    justify-self: start;
  }
  .docs-index {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }
  .docs-index .intro {
    grid-column: 1 / -1;
  }
  .doc-list {
    grid-column: 1;
  }
  .docs-shots {
    grid-column: 2;
  }
}
@media (max-width: 760px) {
  :root {
    --s-display: 10.6vw;
  }
  .foot .f-statement p {
    font-size: 18px;
  }
  .top nav a:not(.keep) {
    display: none;
  }
  .top nav {
    gap: 16px;
  }
  .top .button {
    display: none;
  }
  .hero {
    padding-top: 40px;
  }
  .chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 28px;
  }
  .chip,
  .chip:nth-child(odd),
  .chip:nth-child(even) {
    width: auto;
    transform: none;
    padding: 10px 12px;
  }
  .chip-name {
    font-size: 13px;
  }
  .lead {
    margin-top: 28px;
    font-size: 17px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 16px;
  }
  .modes {
    min-height: 86svh;
  }
  .segmented {
    font-size: 6.4vw;
    left: var(--margin);
    right: var(--margin);
    bottom: 8%;
    justify-content: space-between;
  }
  .segmented button {
    flex: 1;
    padding: 0.7em 0.4em;
  }
  .segmented-label {
    left: var(--margin);
    right: auto;
    bottom: calc(8% + 72px);
  }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .tile {
    font-size: 20px;
    padding: 16px;
  }
  .tile.head {
    grid-column: 1 / -1;
  }
  .ledger {
    grid-template-columns: minmax(0, 1fr);
  }
  .ledger-head,
  .figures {
    grid-column: 1;
  }
  .figures {
    margin-top: 32px;
  }
  .figure {
    grid-template-columns: 52% minmax(0, 1fr);
    padding: 14px 0;
    font-size: 15vw;
  }
  .figure .whole,
  .figure .dec {
    font-size: 15vw;
  }
  .figure .whole {
    grid-column: 1;
  }
  .figure .dec {
    grid-column: 2;
  }
  .figure .cap {
    grid-column: 1 / -1;
    padding: 6px 0 0;
    font-size: 15px;
  }
  .docs-index {
    grid-template-columns: minmax(0, 1fr);
  }
  .docs-shots {
    grid-column: 1;
    position: static;
    margin-top: 40px;
  }
  .doc-group a {
    min-height: 44px;
  }
  .setup {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    min-height: 84svh;
  }
  .setup-close,
  [data-ui].dialog {
    grid-column: 1;
    justify-self: stretch;
    max-width: none;
    align-self: start;
  }
  .setup-close h2 {
    font-size: 13vw;
  }
  .foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .foot > * {
    min-height: 0;
    padding: 20px;
  }
  .foot .f-mark {
    grid-column: 1 / -1;
    order: -2;
    min-height: 160px;
    font-size: 15vw;
  }
  .foot .f-go {
    grid-column: 1 / -1;
    order: -1;
    min-height: 160px;
  }
  .foot .f-nav,
  .foot .f-repo,
  .foot .f-version,
  .foot .f-statement {
    grid-column: span 1;
  }
}
