*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
}

::-moz-selection {
  background: var(--cobalt);
  color: #fff;
}

::selection {
  background: var(--cobalt);
  color: #fff;
}

a {
  color: var(--cobalt);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

code, kbd, pre, samp {
  font-family: var(--f-mono);
}

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

/* -------------------------------------------------------------------------
     Shell
     ----------------------------------------------------------------------- */

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .5rem .75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 244, 241, .92);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 60px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.wordmark:hover {
  text-decoration: none;
}

.wordmark-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 5px);
  gap: 2px;
}

.wordmark-mark i {
  display: block;
  width: 5px;
  height: 14px;
  background: var(--ink);
}

.wordmark-mark i:last-child {
  background: var(--cobalt);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: .94rem;
}

.site-nav a {
  color: var(--graphite);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.site-header .version {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header .wrap {
    gap: 1.25rem;
  }

  .site-nav {
    gap: 1rem;
    font-size: .9rem;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-nav a:nth-child(n+3) {
    display: none;
  }

  .site-header .version {
    display: none;
  }
}

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 6rem;
  padding: 2.5rem 0 3rem;
  color: var(--graphite);
  font-size: .92rem;
}

.site-footer .wrap {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .site-footer .wrap {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h2 {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: .6rem;
}

.site-footer ul {
  display: grid;
  gap: .35rem;
}

.site-footer a {
  color: var(--graphite);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
     Buttons
     ----------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 44px;
  padding: 0 1.15rem;
  font-weight: 500;
  font-size: .98rem;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background-color .12s, border-color .12s;
}

.btn:hover {
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--cobalt);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

/* -------------------------------------------------------------------------
     Home
     ----------------------------------------------------------------------- */

.hero {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: 2.5rem;
}

.hero-top {
  display: grid;
  gap: 1.6rem 4rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1000px) {
  .hero-top {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }
}

.hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(3.1rem, 8.2vw, 7rem);
  line-height: .9;
  letter-spacing: -0.02em;
}

.hero .lede {
  max-width: 52ch;
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--graphite);
}

.hero .actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* The log: partitions as lanes, records as cells. */

.log {
  margin-top: 3.5rem;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
}

.log-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--rule);
  font-size: .88rem;
  color: var(--graphite);
}

.log-head strong {
  color: var(--ink);
  font-weight: 600;
}

.log-legend {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.log-legend span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.log-legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
}

.log-legend .k-durable {
  background: var(--ink);
}

.log-legend .k-pending {
  border: 1.5px solid var(--cobalt);
  background: var(--cobalt-soft);
}

.log-legend .k-cursor {
  width: 2px;
  height: 14px;
  background: var(--commit);
}

.lane {
  display: grid;
  grid-template-columns: 8.5rem 1fr 6.5rem;
  align-items: center;
  gap: 1rem;
  padding: .55rem 1rem;
  border-bottom: 1px solid var(--rule);
}

.lane:last-of-type {
  border-bottom: 0;
}

.lane-name {
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--graphite);
  white-space: nowrap;
}

.lane-track {
  position: relative;
  height: 22px;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  gap: 3px;
  mask-image: linear-gradient(to right, transparent, #000 12%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%);
}

.cell {
  flex: 0 0 14px;
  height: 22px;
  background: var(--ink);
}

.cell.pending {
  background: var(--cobalt-soft);
  box-shadow: inset 0 0 0 1.5px var(--cobalt);
}

.cell.enter {
  animation: cell-in .22s ease-out;
}

@keyframes cell-in {
  from {
    transform: translateX(10px);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

.cell.cursor {
  box-shadow: inset 3px 0 0 var(--commit);
}

.lane-offset {
  font-family: var(--f-mono);
  font-size: .82rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.log-foot {
  padding: .7rem 1rem;
  border-top: 1px solid var(--rule);
  font-size: .88rem;
  color: var(--graphite);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
}

.log-foot b {
  font-family: var(--f-mono);
  font-weight: 500;
  color: var(--commit);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .lane {
    grid-template-columns: 1fr auto;
  }

  .lane-track {
    grid-column: 1 / -1;
    order: 3;
  }
}

.band {
  padding-top: 5rem;
}

.band-head {
  display: grid;
  gap: 1rem 3rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.25rem;
}

@media (min-width: 900px) {
  .band-head {
    grid-template-columns: 5fr 7fr;
    align-items: end;
  }
}

.band-head h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.015em;
}

.band-head p {
  color: var(--graphite);
  max-width: 58ch;
}

/* Spec sheet: one row per area of the product. */

.spec {
  border-top: 2px solid var(--ink);
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .spec-row {
    grid-template-columns: 3fr 9fr;
  }
}

.spec-row h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
}

.spec-row ul {
  display: grid;
  gap: .45rem 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .spec-row ul {
    grid-template-columns: 1fr 1fr;
  }
}

.spec-row li {
  color: var(--graphite);
  padding-left: 1rem;
  position: relative;
}

.spec-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  background: var(--rule-strong);
}

.spec-row li strong {
  color: var(--ink);
  font-weight: 600;
}

/* Throughput bars */

.bars {
  border-top: 2px solid var(--ink);
}

.bar-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .35rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}

@media (min-width: 800px) {
  .bar-row {
    grid-template-columns: 19rem 1fr 7rem;
  }
}

.bar-label {
  font-size: .96rem;
}

.bar-label small {
  display: block;
  color: var(--muted);
  font-size: .82rem;
}

.bar {
  height: 14px;
  background: var(--rule);
  position: relative;
}

.bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--ink);
}

.bar-value {
  font-family: var(--f-mono);
  font-size: .92rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bars-note {
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--muted);
  max-width: 80ch;
}

/* Quickstart */

.quick {
  border-top: 2px solid var(--ink);
  counter-reset: q;
}

.quick li {
  counter-increment: q;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .5rem 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 900px) {
  .quick li {
    grid-template-columns: 3fr 4fr 5fr;
    align-items: start;
  }
}

.quick h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  display: flex;
  gap: .7rem;
  align-items: baseline;
}

.quick h3::before {
  content: counter(q);
  color: var(--cobalt);
}

.quick p {
  color: var(--graphite);
  font-size: .95rem;
}

.quick .code {
  margin: 0;
}

/* -------------------------------------------------------------------------
     Code
     ----------------------------------------------------------------------- */

.code, .codeblock {
  margin: 1.25rem 0 1.5rem;
  background: var(--code-bg);
  color: var(--code-fg);
  border-radius: 3px;
  overflow: hidden;
}

.code figcaption, .codeblock-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem .9rem;
  font-family: var(--f-mono);
  font-size: .76rem;
  color: #9AA2AF;
  border-bottom: 1px solid #262C38;
}

.codeblock-bar .dot {
  display: none;
}

.codeblock-bar .lang {
  color: #6F7887;
}

.code pre, .codeblock pre {
  margin: 0;
  padding: .95rem 1rem 1.05rem;
  font-size: .84rem;
  line-height: 1.65;
  overflow-x: auto;
  white-space: pre;
  -moz-tab-size: 2;
    -o-tab-size: 2;
       tab-size: 2;
}

.c-com {
  color: #7C8594;
  font-style: italic;
}

.c-key {
  color: #9CB3FF;
}

.c-str {
  color: #E7C98B;
}

.c-num {
  color: #7FD1B9;
}

.c-em  {
  color: #FFFFFF;
  font-weight: 600;
}

.c-dim {
  color: #8B93A1;
}

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

.docs {
  display: grid;
  gap: 0 3rem;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 2.5rem;
}

@media (min-width: 1000px) {
  .docs {
    grid-template-columns: 13.5rem minmax(0, 1fr);
  }
}

@media (min-width: 1280px) {
  .docs {
    grid-template-columns: 13.5rem minmax(0, 1fr) 12rem;
  }
}

.docs-nav {
  font-size: .93rem;
}

.docs-nav details > summary {
  display: none;
}

@media (max-width: 999px) {
  .docs-nav {
    border: 1px solid var(--rule-strong);
    background: var(--surface);
    margin-bottom: 2rem;
  }

  .docs-nav details > summary {
    display: block;
    cursor: pointer;
    padding: .7rem 1rem;
    font-weight: 600;
  }

  .docs-nav details > div {
    padding: 0 1rem 1rem;
  }
}

@media (min-width: 1000px) {
  .docs-nav {
    position: relative;
  }

  .docs-nav > details > div {
    position: sticky;
    top: 84px;
  }
}

/* Without JavaScript the menu stays closed on desktop; show it anyway. */

@media (min-width: 1000px) {
  .docs-nav details:not([open])::details-content {
    content-visibility: visible;
    display: block;
  }
}

.docs-nav h2 {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  margin: 1.4rem 0 .4rem;
}

.docs-nav h2:first-child {
  margin-top: 0;
}

.docs-nav a {
  display: block;
  padding: .3rem .7rem;
  margin-left: -.7rem;
  color: var(--graphite);
  text-decoration: none;
  border-left: 2px solid transparent;
}

.docs-nav a:hover {
  color: var(--ink);
}

.docs-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--cobalt);
  background: rgba(35, 64, 216, .06);
}

.toc {
  display: none;
  font-size: .86rem;
}

@media (min-width: 1280px) {
  .toc {
    display: block;
  }
}

.toc > div {
  position: sticky;
  top: 84px;
}

.toc h2 {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .5rem;
}

.toc a {
  display: block;
  padding: .22rem 0 .22rem .75rem;
  color: var(--graphite);
  text-decoration: none;
  border-left: 1px solid var(--rule);
  line-height: 1.35;
}

.toc a:hover {
  color: var(--ink);
}

.toc a.is-current {
  color: var(--cobalt);
  border-left: 2px solid var(--cobalt);
  padding-left: calc(.75rem - 1px);
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.pager a {
  display: block;
  text-decoration: none;
  padding: .9rem 1rem;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
}

.pager a:hover {
  border-color: var(--ink);
}

.pager small {
  display: block;
  color: var(--muted);
  font-size: .82rem;
}

.pager span {
  color: var(--ink);
  font-weight: 600;
}

.pager .next {
  text-align: right;
  grid-column: 2;
}

/* -------------------------------------------------------------------------
     Prose (docs articles)
     ----------------------------------------------------------------------- */

.prose {
  max-width: 46rem;
  min-width: 0;
}

.prose h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.prose .lede {
  font-size: 1.15rem;
  color: var(--graphite);
  max-width: 62ch;
  margin-bottom: 2rem;
}

.prose h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 3.25rem 0 .9rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 80px;
}

.prose h3 {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 2rem 0 .5rem;
  scroll-margin-top: 80px;
}

.prose p, .prose li {
  max-width: var(--measure);
}

.prose p + p {
  margin-top: .9rem;
}

.prose ul, .prose ol {
  margin: .75rem 0 1rem;
  display: grid;
  gap: .4rem;
}

.prose ul > li {
  padding-left: 1.1rem;
  position: relative;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 1.5px;
  background: var(--ink);
}

.prose ol {
  list-style: decimal;
  padding-left: 1.4rem;
}

.prose ol > li::marker {
  font-family: var(--f-mono);
  font-size: .85em;
  color: var(--graphite);
}

.prose strong {
  font-weight: 600;
}

.prose :not(pre) > code {
  font-size: .86em;
  background: #E6E8E3;
  padding: .1em .35em;
  border-radius: 2px;
  word-break: break-word;
}

.prose a code {
  color: inherit;
}

.prose .small {
  font-size: .92rem;
  color: var(--graphite);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.5rem;
  font-size: .93rem;
  display: block;
  overflow-x: auto;
}

.prose th {
  text-align: left;
  font-weight: 600;
  padding: .55rem .9rem .55rem 0;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}

.prose td {
  padding: .6rem .9rem .6rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.prose td:first-child {
  white-space: nowrap;
}

/* Definitions: flags, parameters, fields. */

.defs {
  margin: 1rem 0 1.5rem;
  border-top: 1px solid var(--rule);
}

.defs > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: .2rem 1.5rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 700px) {
  .defs > div {
    grid-template-columns: 15rem 1fr;
  }
}

.defs dt code {
  background: none;
  padding: 0;
  font-weight: 500;
}

.defs dd {
  color: var(--graphite);
  font-size: .95rem;
}

/* HTTP endpoints */

.endpoints {
  margin: 1rem 0 1.5rem;
  border-top: 1px solid var(--rule);
}

.endpoints li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .2rem 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.prose .endpoints li {
  padding-left: 0;
}

.prose .endpoints li::before {
  display: none;
}

@media (min-width: 760px) {
  .endpoints li {
    grid-template-columns: 4.5rem minmax(0, 1.2fr) 1fr;
  }
}

.endpoints code {
  background: none !important;
  padding: 0 !important;
  font-size: .9rem !important;
}

.endpoints .desc {
  color: var(--graphite);
  font-size: .93rem;
  grid-column: 2 / -1;
}

@media (min-width: 760px) {
  .endpoints .desc {
    grid-column: auto;
  }
}

.verb {
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.verb.get {
  color: var(--commit);
}

.verb.post {
  color: var(--cobalt);
}

.verb.put {
  color: var(--warn);
}

.verb.delete {
  color: #B4232F;
}

/* Callouts */

.note {
  margin: 1.5rem 0;
  padding: .9rem 1.1rem;
  border-left: 3px solid var(--ink);
  background: var(--surface);
}

.note > p {
  max-width: none;
}

.note > p:first-child {
  font-weight: 600;
  margin-bottom: .25rem;
}

.note.good {
  border-left-color: var(--commit);
  background: var(--commit-soft);
}

.note.warn {
  border-left-color: var(--warn);
  background: var(--warn-soft);
}

/* Procedures */

.prose .steps {
  list-style: none;
  padding: 0;
  counter-reset: s;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.prose .steps > li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding-left: 0;
}

.prose .steps > li::before {
  content: counter(s);
  position: static;
  width: 2rem;
  height: 2rem;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
}

.prose .steps > li > :not(:first-child) {
  grid-column: 2;
}

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-8 {
  margin-top: 2rem;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.table {
  display: table;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.max-w-\[44ch\] {
  max-width: 44ch;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.resize {
  resize: both;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

/* ---------------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------------- */

:root {
  --paper: #F3F4F1;
  --surface: #FFFFFF;
  --ink: #141821;
  --graphite: #4B5361;
  --muted: #6B7380;
  --rule: #D9DCD7;
  --rule-strong: #BFC4C0;
  --cobalt: #2340D8;
  --cobalt-soft: #E4E8FB;
  --commit: #17845A;
  --commit-soft: #E2F1E9;
  --warn: #A15C07;
  --warn-soft: #F7EBD9;
  --code-bg: #141821;
  --code-fg: #E3E6EC;
  --f-display: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --f-sans: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --measure: 70ch;
  --gutter: clamp(1rem, 3vw, 2rem);
}
