/* uli-web: rail grid design system.
   Tokens, shell (rows, columns, plus marks), type scale, buttons, the home page rows and the prose
   layout used by the tester pages. */

:root {
  --page: #0e0e0e;
  --ink: #f4f4f3;
  --ink-60: rgba(244, 244, 243, .6);
  --ink-45: rgba(244, 244, 243, .45);
  --shell: #161616;
  --paper: #1f1f1f;
  --stage: #090909;
  --grid: rgba(244, 244, 243, .08);
  --grid-mark: rgba(244, 244, 243, .28);
  --hatch: rgba(244, 244, 243, .09);
  --ring: rgba(244, 244, 243, .12);
  --red: #e8251b;
  --col: min(1120px, 100% - 32px);
  --pad: 16px;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: .16s;
}

@media (min-width: 1024px) {
  :root { --col: min(1120px, 100% - 64px); --pad: 36px; }
}

/* ---------------------------------------------------------------- base */

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.page { overflow-x: clip; min-height: 100vh; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; color: var(--ink); }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

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

::selection { background: rgba(244, 244, 243, .22); }

/* ---------------------------------------------------------------- rows, columns, plus marks */

.row {
  display: flex;
  justify-content: center;
  position: relative;
  border-top: 1px solid var(--grid);
}

.row[data-row="nav"] { border-top: 0; z-index: 30; }

.col {
  width: var(--col);
  border-inline: 1px solid var(--grid);
  position: relative;
}

.plus {
  position: absolute;
  top: -11px;
  width: 21px;
  height: 21px;
  color: var(--grid-mark);
  pointer-events: none;
  z-index: 2;
}
.plus-l { left: -11px; }
.plus-r { right: -11px; }
.plus::before,
.plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 0; right: 0; top: 10px; height: 1px; }
.plus::after { top: 0; bottom: 0; left: 10px; width: 1px; }

/* ---------------------------------------------------------------- type scale */

.t-hero {
  font-size: min(9.2vw, 44px);
  line-height: 1.11;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.t-caption { font-size: 26px; line-height: 32px; letter-spacing: -.03em; }
.t-section { font-size: 24px; line-height: 30px; letter-spacing: -.02em; }
.t-section-sub { font-size: 16px; line-height: 24px; color: var(--ink-60); }
.t-feature { font-size: 24px; line-height: 30px; letter-spacing: -.03em; }
.t-lede { font-size: 16px; line-height: 24px; color: var(--ink-60); }
.t-cta { font-size: 24px; line-height: 30px; letter-spacing: -.02em; }
.t-cell-title { font-size: 15px; line-height: 22px; }
.t-cell-body { font-size: 14px; line-height: 20px; color: var(--ink-60); }
.t-body { font-size: 16px; line-height: 24px; color: var(--ink-60); }
.t-link { font-size: 15px; line-height: 20px; font-weight: 500; }
.t-nav { font-size: 14px; line-height: 18px; font-weight: 500; }

@media (min-width: 1024px) {
  .t-hero { font-size: 80px; line-height: 84px; }
  .t-caption { font-size: 32px; line-height: 36px; }
  .t-section { font-size: 32px; line-height: 38px; letter-spacing: -.025em; }
  .t-section-sub { font-size: 17px; line-height: 27px; }
  .t-feature { font-size: 26px; line-height: 32px; }
  .t-lede { font-size: 19px; line-height: 28px; }
  .t-cta { font-size: 40px; line-height: 46px; letter-spacing: -.03em; }
  .t-cell-title { font-size: 16px; }
  .t-cell-body { font-size: 15px; line-height: 23px; }
}

.t-link {
  display: inline-block;
  color: var(--ink);
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--dur) var(--ease);
}
.t-link:hover { background-size: 100% 1px; }
.t-link .arrow { display: inline-block; margin-left: 4px; transition: transform var(--dur) var(--ease); }
.t-link:hover .arrow { transform: translateX(3px); }

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(244, 244, 243, .35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur) var(--ease);
}
.text-link:hover { text-decoration-color: var(--ink); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn-xl { height: 48px; padding: 0 24px; gap: 8px; font-size: 15px; line-height: 19px; }
.btn-nav { height: 32px; padding: 0 14px; font-size: 14px; line-height: 18px; }

.btn-primary {
  color: rgba(5, 5, 5, .9);
  background-color: rgba(255, 255, 255, .62);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 70%);
  box-shadow:
    0 0 0 .75px rgba(255, 255, 255, .24),
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -1px 0 rgba(0, 0, 0, .1);
}
.btn-primary:hover { background-color: rgba(255, 255, 255, .72); }
.btn-primary .arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-flat {
  color: var(--ink);
  background-color: var(--paper);
  box-shadow: 0 0 0 1px rgba(244, 244, 243, .06);
}
.btn-flat:hover { background-color: #272727; }

@media (min-width: 1024px) {
  .btn-xl { height: 44px; }
  .btn-nav { height: 36px; padding: 0 16px; }
}

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ---------------------------------------------------------------- fields drawn on canvas */

canvas[data-field] { position: absolute; pointer-events: none; }
canvas[data-field="gutter"] {
  display: none;
  bottom: 0;
  height: min(450px, 100%);
  width: calc(50vw - 50% - 2px);
}
canvas[data-field="gutter"].field-l { right: calc(100% + 1px); }
canvas[data-field="gutter"].field-r { left: calc(100% + 1px); }
canvas[data-field="panel"] { display: block; left: 0; bottom: 0; width: 100%; height: 35%; z-index: 0; }
canvas[data-field="panel"].field-soft { height: 30%; }
canvas[data-field="ember"] { left: 0; top: 0; width: 120px; height: 60px; z-index: 3; }

@media (min-width: 1248px) {
  canvas[data-field="gutter"] { display: block; }
}

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

.nav-col {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
  border-inline-color: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand svg { width: 20px; height: 20px; }

.nav-links { display: none; align-items: center; gap: 32px; }
.nav-links a, .nav-aside > a:not(.btn) { color: var(--ink-60); transition: color var(--dur) var(--ease); }
.nav-links a:hover, .nav-aside > a:not(.btn):hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-aside { display: flex; align-items: center; gap: 12px; }
.nav-aside > a:not(.btn) { display: none; }

.menu { position: static; }
.menu summary {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink-60);
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { color: var(--ink); }
.menu-panel {
  position: absolute;
  right: 16px;
  top: 62px;
  width: min(240px, 100% - 32px);
  padding: 8px;
  background: var(--shell);
  border: 1px solid var(--ring);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.menu-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-60);
  font-size: 15px;
  line-height: 20px;
}
.menu-panel a:hover { background: var(--paper); color: var(--ink); }
.menu-panel a[aria-current="page"] { color: var(--ink); }

@media (min-width: 1024px) {
  .nav-col { display: grid; grid-template-columns: 1fr auto 1fr; padding-inline: 28px; border-inline-color: var(--grid); }
  .nav-links { display: flex; }
  .nav-aside { justify-self: end; gap: 20px; }
  .nav-aside > a:not(.btn) { display: inline; }
  .menu { display: none; }
}

@media (max-width: 400px) {
  .nav-aside { gap: 4px; }
  .btn-nav { padding: 0 12px; }
  .brand { gap: 8px; }
}

/* ---------------------------------------------------------------- hero */

.hero-col {
  min-height: 524px;
  padding: 56px var(--pad) 56px;
  text-align: center;
}
.hero-col > :not(.plus):not(canvas) { position: relative; z-index: 1; }
.hero-col h1 { position: relative; }
.hero-col .t-lede { max-width: 760px; margin: 20px auto 0; }
.hero-col .actions { margin-top: 30px; }
.fine { margin-top: 18px; font-size: 14px; line-height: 20px; color: var(--ink-45); }
.fine a {
  color: var(--ink-60);
  text-decoration: underline;
  text-decoration-color: rgba(244, 244, 243, .3);
  text-underline-offset: 3px;
}
.fine a:hover { color: var(--ink); text-decoration-color: var(--ink); }

[data-rotate] {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
  transition: width .3s var(--ease), opacity .18s linear;
}
[data-rotate].is-out { opacity: .3; }

@media (max-width: 767px) {
  .t-hero { font-size: min(7.2vw, 44px); }
}
@media (max-width: 1023px) {
  .t-hero { white-space: nowrap; }
}

@media (min-width: 1024px) {
  .hero-col { padding: 112px var(--pad) 0; }
}

/* ---------------------------------------------------------------- stage: window and caption */

.stage-col { padding-top: 40px; }
.stage-frame { position: relative; margin: 0 var(--pad); }
.stage-frame > svg[data-mark] {
  position: absolute;
  z-index: 0;
  top: -52px;
  right: 18%;
  width: 64px;
  height: 64px;
  color: var(--ink);
  fill: currentColor;
  shape-rendering: crispEdges;
}

.window {
  position: relative;
  z-index: 1;
  height: 480px;
  background: var(--shell);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(244, 244, 243, .1), inset 0 1px 0 rgba(244, 244, 243, .16);
  -webkit-mask-image: linear-gradient(#000 75%, transparent 99%);
  mask-image: linear-gradient(#000 75%, transparent 99%);
  overflow: hidden;
}
.window-bar {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}
.dots { display: flex; gap: 8px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(244, 244, 243, .14); }
.window-title {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  max-width: calc(100% - 140px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 14px;
  border-radius: 6px;
  background: rgba(244, 244, 243, .06);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 24px;
  color: var(--ink-45);
}
.window-body {
  position: relative;
  height: calc(100% - 44px);
  margin: 0 4px 4px;
  background: var(--stage);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(244, 244, 243, .05);
  overflow: hidden;
}
.window pre {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 28px 32px;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-60);
  tab-size: 4;
  white-space: pre;
}

.caption {
  display: grid;
  gap: 16px;
  padding: 36px var(--pad) 40px;
  border-top: 1px solid var(--grid);
}
.caption-text p { color: var(--ink-60); font-size: 15px; line-height: 23px; }
.caption-text .t-link { margin-top: 12px; }

@media (min-width: 1024px) {
  .stage-col { padding-top: 70px; }
  .stage-frame { margin: 0 88px; }
  .stage-frame > svg[data-mark] { right: 20%; }
  .window { height: 740px; }
  .caption { grid-template-columns: 1fr 390px; gap: 48px; padding: 44px var(--pad) 52px; align-items: start; }
  .caption-text p { font-size: 16px; line-height: 24px; }
}

@media (max-width: 1023px) {
  .window { height: auto; -webkit-mask-image: none; mask-image: none; }
  .window-body { height: auto; }
  .window pre { height: auto; padding: 20px 18px; font-size: 12px; line-height: 18px; }
  .caption h2 { margin-bottom: 4px; }
}

/* ---------------------------------------------------------------- feature */

.feature-grid { display: grid; gap: 32px; padding: 48px var(--pad); }
.feature-intro .t-section-sub { margin-top: 12px; }
.feature-intro .t-link { margin-top: 20px; }
.feature-cards { display: grid; gap: 12px; align-content: start; }
.card {
  background: var(--shell);
  border: 1px solid var(--ring);
  border-radius: 12px;
}
.card-sentence { padding: 22px 24px 28px; }
.card-sentence h3 { font-size: 14px; line-height: 20px; color: var(--ink); margin-bottom: 20px; }
.sentence { font-size: 19px; line-height: 34px; color: var(--ink-60); }
.slot {
  color: var(--ink);
  border-bottom: 1px solid rgba(244, 244, 243, .35);
  padding-bottom: 1px;
}
.slot-pill {
  display: inline-block;
  line-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--ring);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
}
.card-pair { display: grid; gap: 12px; }
.card-small { display: flex; flex-direction: column; }
.card-small .body { padding: 20px 20px 22px; flex: 1; }
.card-small .t-cell-body { margin-top: 6px; }
.card-small .foot {
  padding: 12px 20px;
  border-top: 1px solid var(--grid);
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-45);
}

@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: 1fr 2fr; gap: 56px; padding: 72px var(--pad); }
  .card-pair { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------- stages */

.cells { display: grid; }
.cells-2 { grid-template-columns: 1fr; }
.cells-3 { grid-template-columns: 1fr; }
.cells > .cell + .cell { border-top: 1px solid var(--grid); }

@media (min-width: 1024px) {
  .cells-2 { grid-template-columns: 1fr 1fr; }
  .cells-3 { grid-template-columns: repeat(3, 1fr); }
  .cells > .cell + .cell { border-top: 0; border-left: 1px solid var(--grid); }
}

.band {
  padding: 16px;
  background: repeating-linear-gradient(135deg, transparent 0, transparent 7px, var(--hatch) 7px, var(--hatch) 8px);
}
.stage-panel {
  position: relative;
  display: grid;
  place-items: center;
  height: 300px;
  padding: 20px;
  overflow: hidden;
  background: var(--stage);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(244, 244, 243, .08), inset 0 1px 0 rgba(244, 244, 243, .06);
}
.stage-panel > :not(canvas) { position: relative; z-index: 1; }
.cell-text { padding: 28px var(--pad) 36px; border-top: 1px solid var(--grid); }
.cell-text .t-feature + p { margin-top: 12px; max-width: 420px; color: var(--ink-60); font-size: 15px; line-height: 23px; }
.cell-text .t-link { margin-top: 20px; }

.timeline { width: 100%; height: auto; max-width: 560px; }
.tl-track { fill: none; stroke: rgba(244, 244, 243, .1); stroke-width: 1; stroke-dasharray: 2 4; }
.tl-label { fill: rgba(244, 244, 243, .45); font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; }
.tl-req { fill: var(--ink); opacity: .88; }
.tl-train { fill: var(--red); opacity: .55; }
.tl-axis { stroke: rgba(244, 244, 243, .14); stroke-width: 1; fill: none; }

.result { width: min(100%, 400px); padding: 20px 22px 24px; }
.result h3 { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink); }
.bar { margin-top: 20px; }
.bar-head { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; line-height: 18px; color: var(--ink-60); }
.bar-head b { font-weight: 500; font-family: var(--font-mono); color: var(--ink); white-space: nowrap; }
.track { margin-top: 8px; height: 10px; border-radius: 6px; background: rgba(244, 244, 243, .08); overflow: hidden; }
.fill { height: 100%; border-radius: 6px; background: rgba(244, 244, 243, .4); }
.fill-red { background: var(--red); }
.w-90 { width: 90%; }
.w-69 { width: 69%; }

@media (min-width: 1024px) {
  .band { padding: 20px; }
  .stage-panel { height: 340px; }
  .cell-text { padding: 36px var(--pad) 44px; }
  .cell-text .t-feature + p { font-size: 16px; line-height: 24px; }
}

/* ---------------------------------------------------------------- unlocks */

.band-title { padding: 40px var(--pad); border-bottom: 1px solid var(--grid); }
.unlock { padding: 32px var(--pad) 36px; }
.unlock svg { width: 20px; height: 20px; margin-bottom: 24px; color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.unlock .t-cell-body { margin-top: 6px; max-width: 310px; }

@media (min-width: 1024px) {
  .band-title { padding: 56px var(--pad); }
  .unlock { padding: 36px var(--pad) 48px; }
}

/* ---------------------------------------------------------------- context and standing */

.context { padding: 48px var(--pad); }
.context .t-feature + p { margin-top: 14px; max-width: 470px; }

.standing-col { padding: 48px var(--pad) 52px; }
.standing-col .t-section-sub { margin-top: 14px; max-width: 640px; }
.standing-col .t-link { margin-top: 20px; }

@media (min-width: 1024px) {
  .context { padding: 72px var(--pad); }
  .standing-col { padding: 72px var(--pad) 76px; }
}

/* ---------------------------------------------------------------- cta */

.cta-col { text-align: center; padding: 72px var(--pad) 64px; min-height: 380px; }
.cta-col > :not(.plus):not(canvas) { position: relative; z-index: 1; }
.cta-col svg[data-mark] {
  width: 80px;
  height: 80px;
  margin: 0 auto 36px;
  color: var(--ink);
  fill: currentColor;
  shape-rendering: crispEdges;
}
.cta-col .t-section-sub { max-width: 540px; margin: 16px auto 0; }
.cta-col .actions { margin-top: 28px; }
.cta-col .fine { margin-top: 20px; }

@media (min-width: 1024px) {
  .cta-col { padding: 126px var(--pad) 120px; min-height: 490px; }
  .cta-col .t-section-sub { margin-top: 18px; }
  .cta-col .actions { margin-top: 32px; }
}

/* ---------------------------------------------------------------- footer */

.footer-col {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 28px var(--pad) 36px;
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-45);
}
.footer-col .brand { font-size: 14px; }
.footer-col .brand svg { width: 16px; height: 16px; }
.footer-col a:not(.brand) { color: var(--ink-60); transition: color var(--dur) var(--ease); }
.footer-col a:not(.brand):hover { color: var(--ink); }

@media (min-width: 1024px) {
  .footer-col { grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 100px; padding: 0 var(--pad); font-size: 14px; }
  .footer-col span:last-child { justify-self: end; }
}

/* ---------------------------------------------------------------- prose (tester pages) */

.doc-col { padding: 0 20px; }

article.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0 96px;
  min-width: 0;
}
.prose h1 { font-size: 32px; line-height: 38px; letter-spacing: -.03em; margin-bottom: 14px; }
.prose .lede { color: var(--ink-60); font-size: 17px; line-height: 27px; margin: 0 0 32px; }
.prose h2 {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 44px 0 10px;
  font-size: 19px;
  line-height: 26px;
  letter-spacing: -.01em;
}
.prose h2 > span { color: var(--red); font-family: var(--font-mono); font-size: 14px; font-weight: 400; }
.prose p, .prose li { color: var(--ink-60); font-size: 15.5px; line-height: 25px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--ink-45); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(244, 244, 243, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong, .prose b { color: var(--ink); font-weight: 500; }
.prose code { font-family: var(--font-mono); font-size: 13.5px; }
.prose p code, .prose li code, .prose td code {
  padding: 1px 6px;
  color: var(--ink);
  background: var(--shell);
  border: 1px solid var(--ring);
  border-radius: 5px;
}
.prose pre {
  margin: 12px 0 14px;
  padding: 14px 16px;
  max-width: 100%;
  overflow-x: auto;
  background: var(--shell);
  border: 1px solid var(--ring);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 22px;
}
.prose pre code { color: var(--ink); white-space: pre; }
.prose .note { font-size: 14px; line-height: 22px; color: var(--ink-45); }
.prose .notice {
  padding: 12px 16px;
  margin: 0 0 8px;
  border: 1px solid var(--ring);
  border-radius: 10px;
  background: var(--shell);
  font-size: 14.5px;
  line-height: 23px;
  color: var(--ink-60);
}
.prose table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 14.5px; }
.prose td, .prose th { padding: 10px 16px 10px 0; vertical-align: top; text-align: left; border-top: 1px solid var(--grid); color: var(--ink-60); }
.prose td:first-child { white-space: nowrap; }

@media (min-width: 600px) {
  .prose h1 { font-size: 40px; line-height: 46px; }
}
@media (max-width: 640px) {
  .prose td:first-child { white-space: normal; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose tr { padding: 8px 0; border-top: 1px solid var(--grid); }
  .prose td { border-top: 0; padding: 2px 0; }
}
@media (min-width: 1024px) {
  .doc-col { padding: 0 var(--pad); }
}

/* ---------------------------------------------------------------- motion preferences */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
