/* The Riff manual (riffreply.com/help). Same materials as the homepage: steel and white bands,
   Archivo with expanded heavy headings, one loud colour (enamel orange) for what Riff does. */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin.woff2') format('woff2-variations'), url('/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --steel: #e7e9eb;
  --steel-2: #dde0e3;
  --white: #ffffff;
  --panel-2: #f2f3f5;
  --line: #d4d8dc;
  --line-2: #c9ced3;
  --ink: #1b1e22;
  --ink-1: #2e3338;
  --ink-2: #4a5057;
  --ink-3: #6b727a;
  --ink-4: #858c94;
  --enamel: #ff6a1a;
  --enamel-ink: #24160d;
  --cream: #fff3e3;
  --cream-line: #ead9c4;
  --led: #22c76f;
  --bad: #c2281d;
  --bad-bg: #fce3e0;
  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 5.6vw, 80px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.kb {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: var(--font);
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: #000; }
.kb a:focus-visible, .kb button:focus-visible, .kb summary:focus-visible, .kb input:focus-visible {
  outline: 2px solid var(--enamel);
  outline-offset: 3px;
  border-radius: 8px;
}

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

.kb-skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--cream);
  font-weight: 700; text-decoration: none;
}
.kb-skip:focus { top: 12px; color: var(--cream); }

.kb-in { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

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

.kb-top-in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding-top: 22px; padding-bottom: 22px;
}
.kb-brandrow { display: flex; align-items: center; gap: 12px; }
.kb-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.kb-brand span { font-size: 26px; font-weight: 850; font-stretch: 125%; letter-spacing: -0.035em; line-height: 1; }
.kb-brand--light { color: var(--cream); }
.kb-brand--light:hover { color: var(--cream); }
.kb-tag {
  padding: 3px 11px 4px; border: 1.5px solid var(--ink); border-radius: 999px;
  color: var(--ink); font-size: 13px; font-weight: 800; font-stretch: 125%; line-height: 1.2; text-decoration: none;
}
.kb-tag:hover { background: var(--ink); color: var(--cream); }
.kb-nav { display: flex; align-items: center; gap: 30px; }
.kb-nav a { color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.kb-nav a:hover, .kb-nav a[aria-current="page"] {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.kb-nav a[aria-current="page"] { text-decoration-color: var(--enamel); }
.kb-cta, .kb-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 12px;
  background: var(--ink); color: var(--cream); text-decoration: none; font-size: 15px; font-weight: 800;
  font-stretch: 112%; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 0 rgba(0, 0, 0, .35);
  transition: transform .06s ease, box-shadow .06s ease, background-color .15s ease;
}
.kb-cta:hover, .kb-btn:hover { background: #2b3036; color: var(--cream); }
.kb-cta:active, .kb-btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(0, 0, 0, .35); }
.kb-led { width: 8px; height: 8px; border-radius: 50%; background: var(--enamel); box-shadow: 0 0 8px var(--enamel); }
.kb-btn { height: 50px; padding: 0 20px 0 22px; border-radius: 14px; font-size: 16px; }
.kb-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.kb-btn--ghost:hover { background: var(--white); color: var(--ink); }

@media (max-width: 860px) { .kb-nav { display: none; } }
@media (max-width: 420px) { .kb-cta { display: none; } }

/* ------------------------------------------------------------------ search */

.kb-search { position: relative; }
.kb-search input {
  width: 100%; height: 56px; padding: 0 52px 0 50px; border: 1.5px solid var(--line-2); border-radius: 16px;
  background: var(--white); color: var(--ink); font: inherit; font-size: 17px;
  box-shadow: 0 18px 36px -28px rgba(27, 30, 34, .55);
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.kb-search input::placeholder { color: var(--ink-4); }
.kb-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.kb-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 106, 26, .22); }
.kb-search-icon { position: absolute; left: 17px; top: 18px; color: var(--ink-3); pointer-events: none; }
.kb-search-key {
  position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 24px; height: 24px;
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--panel-2);
  color: var(--ink-3); font: 600 12px/1 var(--font);
}
.kb-search input:focus ~ .kb-search-key { opacity: 0; }
.kb-search--side input { height: 46px; padding-left: 42px; border-radius: 13px; font-size: 15px; box-shadow: none; }
.kb-search--side .kb-search-icon { left: 14px; top: 13px; }
.kb-search--side .kb-search-key { top: 11px; right: 12px; }

.kb-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; max-height: min(70vh, 520px); overflow: auto;
  padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--white);
  box-shadow: 0 30px 60px -30px rgba(27, 30, 34, .55);
}
.kb-search--side .kb-results { min-width: min(420px, 86vw); right: auto; }
.kb-result {
  display: grid; gap: 2px; padding: 10px 12px; border-radius: 11px; color: var(--ink); text-decoration: none;
}
.kb-result[aria-selected="true"], .kb-result:hover { background: var(--panel-2); color: var(--ink); }
.kb-result-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.kb-result b { font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.kb-result-cat { flex: none; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.kb-result-sn { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.kb-result mark { background: rgba(255, 106, 26, .2); color: inherit; border-radius: 3px; padding: 0 1px; }
.kb-results-empty { padding: 14px 12px; font-size: 14.5px; color: var(--ink-2); }

/* ------------------------------------------------------------------ the manual's home */

.kb-hero { padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 6vw, 88px); }
.kb-hero .kb-in { max-width: 1040px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.kb-eyebrow {
  margin: 0; display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 800; font-stretch: 125%; letter-spacing: .01em; color: var(--ink-2);
}
.kb-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); }
.kb-hero h1 {
  margin: 0; font-size: clamp(44px, 7.6vw, 104px); font-weight: 850; font-stretch: 125%;
  letter-spacing: -0.045em; line-height: .92; text-wrap: balance;
}
.kb-sub { margin: 0; max-width: 40em; font-size: 19px; line-height: 1.55; color: var(--ink-1); text-wrap: pretty; }
.kb-search--hero { width: 100%; max-width: 760px; margin-top: 10px; }
.kb-quick { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14.5px; }
.kb-quick span { font-weight: 700; color: var(--ink-2); margin-right: 4px; }
.kb-quick a {
  padding: 5px 12px; border: 1.5px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .55);
  font-weight: 600; text-decoration: none;
}
.kb-quick a:hover { border-color: var(--ink); background: var(--white); }

.kb-band { padding: clamp(64px, 7vw, 112px) 0; border-top: 1px solid var(--line); }
.kb-band--white { background: var(--white); }
.kb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 56px; margin-bottom: 44px; }
.kb-head h2, .kb-dm h2, .kb-stuck h2 {
  margin: 0; font-size: clamp(30px, 4.2vw, 58px); font-weight: 850; font-stretch: 125%;
  letter-spacing: -0.04em; line-height: .98; text-wrap: balance;
}
.kb-head p { margin: 0; max-width: 430px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }

.kb-start { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .kb-start { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kb-start { grid-template-columns: minmax(0, 1fr); } }

.kb-card {
  height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.kb-card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); box-shadow: 0 22px 40px -30px rgba(27, 30, 34, .6); }
.kb-card b { font-size: 19px; font-weight: 750; font-stretch: 108%; letter-spacing: -0.01em; line-height: 1.25; }
.kb-card-sum { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.kb-card-cat { font-size: 12px; font-weight: 800; font-stretch: 125%; letter-spacing: .01em; color: var(--ink-3); }
.kb-card--start { background: var(--panel-2); border-color: transparent; }
.kb-card--start:hover { background: var(--white); }
.kb-num {
  width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 50%;
  background: var(--enamel); color: var(--enamel-ink); font-size: 13.5px; font-weight: 850; font-stretch: 125%;
}

.kb-band--dm { background: var(--ink); color: var(--cream); border-top: 0; }
.kb-dm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 64px; align-items: center; }
@media (max-width: 1100px) { .kb-dm { grid-template-columns: minmax(0, 1fr); } }
.kb-dm-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.kb-dm-copy > p { margin: 0; font-size: 18px; line-height: 1.55; color: #bac0c6; text-wrap: pretty; }
.kb-band--dm .kb-chip--new { border-color: #4a5057; background: transparent; color: var(--cream); }
.kb-dm-links { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; border-top: 1px solid #353a40; }
.kb-dm-links li { border-bottom: 1px solid #353a40; }
.kb-dm-links a {
  display: grid; gap: 2px; padding: 13px 34px 13px 0; color: var(--cream); text-decoration: none; position: relative;
}
.kb-dm-links a::after {
  content: '→'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--enamel); font-weight: 700; transition: transform .2s ease;
}
.kb-dm-links a:hover::after { transform: translate(4px, -50%); }
.kb-dm-links b { font-size: 16.5px; font-weight: 700; }
.kb-dm-links span { font-size: 14px; line-height: 1.45; color: #9aa1a9; }
.kb-dm-links a:hover { color: #fff; }

.kb-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .kb-cats { grid-template-columns: minmax(0, 1fr); } }
.kb-cat {
  scroll-margin-top: 24px; display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 18px;
  border: 1px solid var(--line); border-radius: 22px; background: var(--white);
}
.kb-cat--new { border-color: var(--cream-line); background: linear-gradient(var(--cream), var(--white) 160px); }
.kb-cat-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.kb-cat-icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px;
  background: var(--ink); color: var(--cream);
}
.kb-cat--new .kb-cat-icon { background: var(--enamel); color: var(--enamel-ink); }
.kb-cat h3 { margin: 0; font-size: 23px; font-weight: 850; font-stretch: 118%; letter-spacing: -0.025em; line-height: 1.1; }
.kb-cat-count { font-size: 13px; font-weight: 650; color: var(--ink-3); }
.kb-cat > p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.kb-cat ul { list-style: none; margin: 4px 0 0; padding: 0; }
.kb-cat li { border-top: 1px solid #e3e6e9; }
.kb-cat li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px;
  font-size: 16px; font-weight: 600; text-decoration: none;
}
.kb-cat li a::after { content: '→'; color: var(--ink-4); transition: transform .2s ease, color .2s ease; }
.kb-cat li a:hover::after { color: var(--enamel); transform: translateX(3px); }
.kb-dot { display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--enamel); box-shadow: 0 0 6px var(--enamel); vertical-align: .15em; }

.kb-sites { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .kb-sites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kb-sites { grid-template-columns: minmax(0, 1fr); } }
.kb-site { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; background: var(--panel-2); }
.kb-site h3 { margin: 0; font-size: 26px; font-weight: 850; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1; }
.kb-site p { margin: 4px 0 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.kb-site ul { list-style: none; margin: auto 0 0; padding: 0; }
.kb-site li a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line);
  font-size: 15.5px; font-weight: 650; text-decoration: none;
}
.kb-site li a svg { color: var(--ink-4); transition: transform .2s ease, color .2s ease; }
.kb-site li a:hover svg { color: var(--enamel); transform: translateX(3px); }

.kb-stuck {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding: clamp(28px, 4vw, 48px); border: 1.5px dashed var(--line-2); border-radius: 26px;
}
.kb-stuck > div { flex: 1 1 420px; max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.kb-stuck p { margin: 0; font-size: 17.5px; line-height: 1.55; color: var(--ink-2); }
.kb-stuck--small { display: block; margin-top: 40px; padding: 18px 22px; border-radius: 18px; }
.kb-stuck--small p { font-size: 15.5px; }

/* ------------------------------------------------------------------ an entry */

.kb-layout {
  display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 32px clamp(32px, 4.4vw, 72px);
  padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(64px, 7vw, 112px); align-items: start;
}
.kb-side { position: sticky; top: 20px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; gap: 16px; }
.kb-toc { min-height: 0; display: flex; flex-direction: column; }
.kb-toc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 13px; background: var(--white);
  font-size: 15px; font-weight: 700;
}
.kb-toc summary::-webkit-details-marker { display: none; }
.kb-toc summary::after { content: '+'; font-size: 20px; font-weight: 500; line-height: 1; transition: transform .2s ease; }
.kb-toc[open] summary::after { transform: rotate(45deg); }
.kb-toc nav { overflow: auto; padding: 6px 2px 8px; scrollbar-width: thin; }
.kb-toc-cat {
  margin: 16px 0 6px 12px; display: flex; align-items: center;
  font-size: 12px; font-weight: 800; font-stretch: 125%; letter-spacing: .01em; color: var(--ink-3);
}
.kb-toc ul { list-style: none; margin: 0; padding: 0; }
.kb-toc li a {
  position: relative; display: block; padding: 5px 12px 5px 26px; border-radius: 10px;
  font-size: 14.5px; line-height: 1.35; color: var(--ink-2); text-decoration: none;
}
.kb-toc li a:hover { background: rgba(255, 255, 255, .65); color: var(--ink); }
.kb-toc li a[aria-current="page"] { background: var(--white); color: var(--ink); font-weight: 700; }
.kb-toc li a[aria-current="page"]::before {
  content: ''; position: absolute; left: 11px; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%;
  background: var(--enamel); box-shadow: 0 0 7px var(--enamel);
}
@media (min-width: 1001px) {
  .kb-toc summary { display: none; }
  /* the list scrolls inside the sticky sidebar (search box 46px + gap 16px + 20px above and below) */
  .kb-toc nav { padding-top: 0; max-height: calc(100vh - 110px); overscroll-behavior: contain; }
  .kb-toc .kb-toc-cat:first-child { margin-top: 4px; }
}
@media (max-width: 1000px) {
  .kb-layout { grid-template-columns: minmax(0, 1fr); }
  .kb-side { position: static; max-height: none; }
  .kb-toc nav { padding: 4px 4px 10px; }
}

.kb-article { min-width: 0; max-width: 780px; }
.kb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 18px; font-size: 14px; font-weight: 600; }
.kb-crumbs a { color: var(--ink-2); text-decoration: none; }
.kb-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.kb-crumbs span { color: var(--ink-4); }
.kb-article h1 {
  margin: 0; font-size: clamp(34px, 4.4vw, 56px); font-weight: 850; font-stretch: 125%;
  letter-spacing: -0.04em; line-height: 1; text-wrap: balance;
}
.kb-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.kb-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--white); font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--ink-1);
}
.kb-chip--new { border-color: var(--cream-line); background: var(--cream); }
.kb-chip--new i { width: 7px; height: 7px; border-radius: 50%; background: var(--enamel); box-shadow: 0 0 6px var(--enamel); }
.kb-chip--fix { border-color: #f1c2bd; background: #fdf1ef; }
.kb-lead { margin: 0 0 6px; max-width: 40em; font-size: 19px; line-height: 1.55; color: var(--ink-1); text-wrap: pretty; }
.kb-symptom {
  margin: 0 0 18px; padding: 16px 20px; border: 1px solid #f1c2bd; border-radius: 16px; background: #fdf1ef;
}
.kb-symptom-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px;
  font-size: 12.5px; font-weight: 800; font-stretch: 125%; color: var(--bad);
}
.kb-symptom-label i { width: 8px; height: 8px; border-radius: 50%; background: #f04438; box-shadow: 0 0 7px #f04438; }
.kb-symptom p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-1); }

/* body copy */
.kb-body { font-size: 17px; line-height: 1.65; color: var(--ink-1); }
.kb-body > * { margin-top: 0; margin-bottom: 0; }
.kb-body > * + * { margin-top: 18px; }
.kb-body p { max-width: 42em; text-wrap: pretty; }
.kb-body h2 {
  margin: 40px 0 0; font-size: 26px; font-weight: 850; font-stretch: 118%; letter-spacing: -0.025em; line-height: 1.15;
}
.kb-body > h2 + * { margin-top: 12px; }
.kb-body strong { font-weight: 700; color: var(--ink); }
.kb-body a, .kb-lead a, .kb-symptom a, .kb-stuck a:not(.kb-btn) {
  color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2);
  text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.kb-body a:hover, .kb-lead a:hover, .kb-symptom a:hover, .kb-stuck a:not(.kb-btn):hover { text-decoration-color: var(--enamel); }
.kb .kb-xref {
  display: inline-flex; align-items: center; gap: 5px; margin: 0 1px; padding: 0 8px 1px 7px; border: 1px solid var(--line-2);
  border-radius: 999px; background: var(--white); font-size: .82em; font-weight: 650; line-height: 1.6;
  text-decoration: none; vertical-align: .06em; max-width: calc(100% - .6em); text-align: left; white-space: normal;
}
.kb .kb-xref::before { content: '↗'; color: var(--enamel); font-weight: 800; }
.kb .kb-xref:hover { border-color: var(--ink); }
.kb-nw { white-space: nowrap; }

.ui {
  padding: 1px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--white);
  color: var(--ink); font-size: .93em; font-weight: 600;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
kbd {
  display: inline-block; min-width: 1.7em; padding: 0 6px; border: 1px solid var(--line-2); border-bottom-width: 2.5px;
  border-radius: 7px; background: var(--white); color: var(--ink); font: 650 .82em/1.65 var(--font); text-align: center;
  vertical-align: .08em;
}
code {
  padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2);
  color: var(--ink); font: 600 .88em var(--font); white-space: nowrap;
}

.kb-steps { list-style: none; padding: 0; counter-reset: step; max-width: 42em; }
.kb-steps > li { position: relative; counter-increment: step; padding: 0 0 0 46px; }
.kb-steps > li + li { margin-top: 14px; }
.kb-steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--enamel); color: var(--enamel-ink); font-size: 13.5px; font-weight: 850; font-stretch: 125%;
}
.kb-steps > li:not(:last-child)::after {
  content: ''; position: absolute; left: 14.25px; top: 36px; bottom: -10px; width: 1.5px; background: var(--line-2);
}
.kb-steps ul { list-style: none; margin: 10px 0 0; padding: 0; }
.kb-list { list-style: none; padding: 0; max-width: 42em; }
.kb-steps ul li, .kb-list li { position: relative; padding-left: 22px; }
.kb-steps ul li + li, .kb-list li + li { margin-top: 8px; }
.kb-steps ul li::before, .kb-list li::before {
  content: ''; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--ink);
}
.kb-list li + li { margin-top: 12px; }

.kb-table-wrap { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--white); }
.kb-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.kb-table th, .kb-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.kb-table thead th {
  border-top: 0; padding-top: 14px; padding-bottom: 10px; background: var(--panel-2);
  font-size: 13px; font-weight: 800; font-stretch: 125%; letter-spacing: .01em; text-transform: lowercase; color: var(--ink);
}
.kb-table tbody th { font-weight: 700; color: var(--ink); }
.kb-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kb-table--2 tbody th { width: 32%; }
.kb-table--3 tbody th { width: 30%; }
.kb-table--6 { min-width: 640px; }
/* on a phone each row becomes a small card: the row's name, then its cells */
@media (max-width: 600px) {
  .kb-table-wrap { overflow: visible; }
  .kb-table, .kb-table tbody, .kb-table tr, .kb-table th, .kb-table td { display: block; width: auto !important; }
  .kb-table--6 { min-width: 0; }
  .kb-table thead { display: none; }
  .kb-table tr { padding: 14px 16px; border-top: 1px solid var(--line); }
  .kb-table tbody tr:first-child { border-top: 0; }
  .kb-table th, .kb-table td { padding: 0; border: 0; }
  .kb-table tbody th { margin-bottom: 4px; }
  .kb-table:not(.kb-table--2) td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 3px 0; text-align: right; }
  .kb-table:not(.kb-table--2) td::before {
    content: attr(data-label); flex: none; color: var(--ink-3); font-size: 12.5px; font-weight: 800; font-stretch: 125%; text-transform: lowercase; text-align: left;
  }
  .kb-table .num { white-space: normal; }
}

/* related and pager */
.kb-related { margin-top: 56px; }
.kb-related h2, .kb-related-title {
  margin: 0 0 16px; font-size: 22px; font-weight: 850; font-stretch: 118%; letter-spacing: -0.02em;
}
.kb-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.kb-card--rel { padding: 16px 18px 18px; border-radius: 16px; gap: 6px; }
.kb-card--rel b { font-size: 16.5px; }
.kb-card--rel .kb-card-sum { font-size: 14px; }

.kb-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.kb-pager a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.kb-pager a:hover { background: var(--white); color: var(--ink); }
.kb-pager a span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.kb-pager a b { font-size: 16px; font-weight: 700; line-height: 1.35; }
.kb-pager-next { text-align: right; align-items: flex-end; }
@media (max-width: 560px) { .kb-pager { grid-template-columns: minmax(0, 1fr); } .kb-pager-next { text-align: left; align-items: flex-start; } }

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

.kb-foot { background: var(--ink); color: #e7e9eb; }
.kb-foot .kb-in { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.kb-foot-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px 48px; }
.kb-foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.kb-foot-brand p { margin: 0; font-size: 15px; line-height: 1.5; color: #bac0c6; }
.kb-foot nav { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.kb-foot nav a { color: #e7e9eb; font-size: 15px; font-weight: 600; text-decoration: none; }
.kb-foot nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.kb-foot-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 24px;
  border-top: 1px solid #353a40; font-size: 13.5px; line-height: 1.5; color: #9aa1a9;
}
.kb-foot-legal a { color: #9aa1a9; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ the review page (preview only) */

.kb-hero--mk h1 { font-size: clamp(40px, 6vw, 84px); }
.mk-links { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.mk-list { list-style: none; margin: 0; padding: 0; columns: 2 360px; column-gap: 40px; }
.mk-list li { break-inside: avoid; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #e3e6e9; }
.mk-list a { font-size: 15.5px; font-weight: 600; text-decoration: none; }
.mk-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mk-type { font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.mk-id {
  display: inline-block; min-width: 34px; margin-right: 8px; padding: 1px 6px; border-radius: 6px; background: var(--ink);
  color: var(--cream); font-size: 12px; font-weight: 800; font-stretch: 125%; text-align: center;
}
.mk-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); gap: 28px 24px; }
.mk-cell-h { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.mk-cell-h a { text-decoration: none; }
.mk-cell .scene { margin: 0; }
