@font-face {
  font-family: "Hubballi";
  src: url("/brand/fonts/hubballi-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050508;
  --bg-2: #0b0b11;
  --ink: #f5f3ef;
  --ink-2: rgba(245, 243, 239, 0.72);
  --ink-3: rgba(245, 243, 239, 0.46);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --pane: rgba(255, 255, 255, 0.055);
  --pane-2: rgba(255, 255, 255, 0.025);
  --raised: #101017;
  --brand: linear-gradient(90deg, #ff9a3c, #ff5a7a 50%, #a855f7);
  --brand-soft: linear-gradient(135deg, rgba(255, 154, 60, 0.16), rgba(255, 90, 122, 0.12) 45%, rgba(168, 85, 247, 0.16));
  --accent: #ff5a7a;
  --tip: #ffb35c;
  --note: #b98cff;
  --warn: #ff7a6b;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8);
  --sans: "Hubballi", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --top: 64px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f5f1;
    --bg-2: #efece6;
    --ink: #121216;
    --ink-2: rgba(18, 18, 22, 0.72);
    --ink-3: rgba(18, 18, 22, 0.5);
    --line: rgba(18, 18, 22, 0.08);
    --line-2: rgba(18, 18, 22, 0.15);
    --pane: rgba(18, 18, 22, 0.045);
    --pane-2: rgba(255, 255, 255, 0.55);
    --raised: #ffffff;
    --brand-soft: linear-gradient(135deg, rgba(255, 154, 60, 0.14), rgba(255, 90, 122, 0.1) 45%, rgba(168, 85, 247, 0.13));
    --tip: #c46a00;
    --note: #7c3aed;
    --warn: #d4402f;
    --shadow: 0 24px 60px -30px rgba(40, 30, 20, 0.35);
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg: #f7f5f1;
  --bg-2: #efece6;
  --ink: #121216;
  --ink-2: rgba(18, 18, 22, 0.72);
  --ink-3: rgba(18, 18, 22, 0.5);
  --line: rgba(18, 18, 22, 0.08);
  --line-2: rgba(18, 18, 22, 0.15);
  --pane: rgba(18, 18, 22, 0.045);
  --pane-2: rgba(255, 255, 255, 0.55);
  --raised: #ffffff;
  --brand-soft: linear-gradient(135deg, rgba(255, 154, 60, 0.14), rgba(255, 90, 122, 0.1) 45%, rgba(168, 85, 247, 0.13));
  --tip: #c46a00;
  --note: #7c3aed;
  --warn: #d4402f;
  --shadow: 0 24px 60px -30px rgba(40, 30, 20, 0.35);
  color-scheme: light;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
}

:focus {
  outline: none;
}

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

.dx-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 -1px 0 var(--line);
}

.dx-top-in {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1480px;
  height: var(--top);
  margin: 0 auto;
  padding: 0 28px;
}

.dx-brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.dx-mark {
  width: 26px;
  height: 26px;
}

.dx-word {
  width: auto;
  height: 17px;
}

.dx-word-light,
.dx-when-light {
  display: none;
}

:root[data-theme="light"] .dx-word-dark,
:root[data-theme="light"] .dx-when-dark {
  display: none;
}

:root[data-theme="light"] .dx-word-light,
:root[data-theme="light"] .dx-when-light {
  display: block;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .dx-word-dark,
  :root:not([data-theme="dark"]) .dx-when-dark {
    display: none;
  }

  :root:not([data-theme="dark"]) .dx-word-light,
  :root:not([data-theme="dark"]) .dx-when-light {
    display: block;
  }
}

.dx-badge {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.dx-search-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(380px, 100%);
  height: 38px;
  margin-left: 18px;
  padding: 0 8px 0 14px;
  border: 0;
  border-radius: 11px;
  background: var(--pane);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-3);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 160ms ease, color 160ms ease;
}

.dx-search-btn:hover {
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-2);
}

.dx-search-btn > span:not(.dx-keys) {
  flex: 1;
}

.dx-top-nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.dx-top-nav > a:not(.dx-cta) {
  color: var(--ink-2);
  font-size: 15px;
  transition: color 160ms ease;
}

.dx-top-nav > a:not(.dx-cta):hover {
  color: var(--ink);
}

.dx-icon-btn {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--pane);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
  cursor: pointer;
  transition: color 160ms ease, box-shadow 160ms ease;
}

.dx-icon-btn:hover {
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
}

.dx-menu-btn {
  display: none;
}

.dx-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14.5px;
  white-space: nowrap;
  box-shadow: 0 0 0 1px var(--line-2), 0 10px 34px -14px rgba(255, 90, 122, 0.6);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms ease;
}

.dx-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--line-2), 0 14px 40px -12px rgba(255, 90, 122, 0.75);
}

.dx-keys {
  display: inline-flex;
  gap: 3px;
  vertical-align: 1px;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 1.5px 0 var(--line-2);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1;
}

.dx-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr) 212px;
  gap: 56px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
}

.dx-side {
  position: sticky;
  top: var(--top);
  align-self: start;
  max-height: calc(100vh - var(--top));
  padding: 30px 6px 48px 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

.dx-side-head {
  display: none;
}

.dx-side-group + .dx-side-group {
  margin-top: 26px;
}

.dx-side h4,
.dx-toc h4 {
  margin: 0 0 8px;
  padding: 0 12px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dx-side a {
  position: relative;
  display: block;
  padding: 6px 12px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.4;
  transition: background 140ms ease, color 140ms ease;
}

.dx-side a:hover {
  background: var(--pane);
  color: var(--ink);
}

.dx-side a.is-on {
  background: var(--pane);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.dx-side a.is-on::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2.5px;
  border-radius: 2px;
  background: var(--brand);
}

.dx-main {
  min-width: 0;
  padding: 52px 0 110px;
}

.dx-article {
  max-width: 740px;
}

.dx-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dx-article h1 {
  margin: 0;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.dx-lead {
  margin: 18px 0 8px;
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1.6;
  text-wrap: pretty;
}

.dx-article h2 {
  position: relative;
  margin: 60px 0 16px;
  padding-top: 28px;
  box-shadow: inset 0 1px 0 var(--line);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dx-article h3 {
  position: relative;
  margin: 38px 0 10px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.dx-anchor {
  position: absolute;
  left: -28px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 6px;
  border-radius: 6px;
  color: var(--ink-3);
  opacity: 0;
  transition: opacity 140ms ease, color 140ms ease;
}

.dx-article h2 .dx-anchor {
  margin-top: 6px;
}

.dx-article h2:hover .dx-anchor,
.dx-article h3:hover .dx-anchor,
.dx-anchor:focus-visible {
  opacity: 1;
}

.dx-anchor:hover {
  color: var(--ink);
}

.dx-article p,
.dx-article li,
.dx-article td {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.75;
  text-wrap: pretty;
}

.dx-article p {
  margin: 14px 0;
}

.dx-article strong {
  color: var(--ink);
  font-weight: 400;
}

.dx-article em {
  font-style: italic;
}

.dx-article a:not(.dx-anchor):not(.dx-card):not(.dx-step-card) {
  color: var(--ink);
  background-image: var(--brand);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 200ms ease;
}

.dx-article a:not(.dx-anchor):not(.dx-card):not(.dx-step-card):hover {
  background-size: 100% 2px;
}

.dx-article code {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--pane);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.82em;
}

.dx-article ul {
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.dx-article ul > li {
  position: relative;
  margin: 6px 0;
  padding-left: 24px;
}

.dx-article ul > li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.dx-steps {
  margin: 22px 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.dx-steps > li {
  position: relative;
  padding: 0 0 22px 50px;
  counter-increment: step;
}

.dx-steps > li::before {
  content: counter(step);
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 4px var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
}

.dx-steps > li::after {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 2px;
  left: 14.5px;
  width: 1px;
  background: linear-gradient(var(--line-2), transparent);
}

.dx-steps > li:last-child {
  padding-bottom: 4px;
}

.dx-steps > li:last-child::after {
  display: none;
}

.dx-path {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  vertical-align: 1px;
  white-space: nowrap;
}

.dx-path > span {
  padding: 1px 8px;
  border-radius: 7px;
  background: var(--pane);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  font-size: 0.9em;
  line-height: 1.55;
}

.dx-path > i {
  color: var(--ink-3);
  font-style: normal;
  font-size: 0.9em;
}

.dx-callout {
  display: flex;
  gap: 14px;
  margin: 24px 0;
  padding: 16px 20px 16px 16px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--tone) 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 24%, transparent);
}

.dx-callout.is-tip {
  --tone: var(--tip);
}

.dx-callout.is-note {
  --tone: var(--note);
}

.dx-callout.is-warn {
  --tone: var(--warn);
}

.dx-callout-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--tone) 16%, transparent);
  color: var(--tone);
}

.dx-callout b {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-weight: 400;
  font-size: 15.5px;
}

.dx-callout p {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

.dx-figure {
  margin: 30px 0;
}

.dx-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}

.dx-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}

.dx-frame img {
  width: 100%;
}

.dx-figure figcaption {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.55;
}

.dx-grid {
  display: grid;
  gap: 16px;
  margin: 30px 0;
}

.dx-grid.is-pair,
.dx-grid.is-quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dx-grid.is-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dx-grid .dx-figure {
  margin: 0;
}

.dx-grid .dx-frame {
  border-radius: 13px;
}

.dx-grid figcaption {
  font-size: 13.5px;
}

.dx-table {
  margin: 24px 0;
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.dx-table table {
  width: 100%;
  border-collapse: collapse;
}

.dx-table th {
  padding: 12px 16px;
  background: var(--pane-2);
  box-shadow: inset 0 -1px 0 var(--line);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.dx-table td {
  padding: 12px 16px;
  box-shadow: inset 0 -1px 0 var(--line);
  font-size: 15.5px;
  line-height: 1.6;
  vertical-align: top;
}

.dx-table tr:last-child td {
  box-shadow: none;
}

.dx-table td:first-child {
  min-width: 8.5em;
  color: var(--ink);
}

.dx-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 740px;
  margin-top: 72px;
}

.dx-pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--pane-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 160ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dx-pager a:hover {
  box-shadow: inset 0 0 0 1px var(--line-2);
  transform: translateY(-1px);
}

.dx-pager a.is-next {
  align-items: flex-end;
  text-align: right;
}

.dx-pager span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-size: 13.5px;
}

.dx-pager b {
  color: var(--ink);
  font-weight: 400;
  font-size: 18px;
}

.dx-toc {
  position: sticky;
  top: var(--top);
  align-self: start;
  max-height: calc(100vh - var(--top));
  padding: 56px 0 40px;
  overflow-y: auto;
  scrollbar-width: none;
}

.dx-toc h4 {
  padding: 0;
}

.dx-toc a {
  position: relative;
  display: block;
  padding: 5px 0 5px 14px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.4;
  box-shadow: inset 1px 0 0 var(--line);
  transition: color 140ms ease;
}

.dx-toc a.is-h3 {
  padding-left: 26px;
  font-size: 13.5px;
}

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

.dx-toc a.is-on {
  color: var(--ink);
}

.dx-toc a.is-on::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: -0.5px;
  width: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.dx-foot {
  box-shadow: inset 0 1px 0 var(--line);
}

.dx-foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px;
  color: var(--ink-3);
  font-size: 14.5px;
}

.dx-foot-in span {
  margin-right: auto;
}

.dx-foot-in a {
  transition: color 160ms ease;
}

.dx-foot-in a:hover {
  color: var(--ink);
}

.built-with {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 1px 10px 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease, box-shadow 160ms ease;
}

.dx-foot-in .built-with:hover {
  box-shadow: inset 0 0 0 1px var(--ink-3);
  color: var(--ink);
}

.dx-scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.is-home .dx-side-home {
  display: none;
}

.dx-home-glow {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: min(1300px, 140vw);
  height: 760px;
  translate: -50% -18%;
  background:
    radial-gradient(38% 46% at 32% 48%, rgba(255, 154, 60, 0.2), transparent 70%),
    radial-gradient(40% 50% at 50% 40%, rgba(255, 90, 122, 0.2), transparent 70%),
    radial-gradient(40% 50% at 70% 50%, rgba(168, 85, 247, 0.24), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.dx-body.is-home {
  position: relative;
}

.dx-hero {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 104px 28px 64px;
  text-align: center;
}

.dx-hero h1 {
  margin: 0;
  font-size: 68px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.dx-hero .dx-lead {
  max-width: 620px;
  margin: 22px auto 0;
}

.dx-hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(560px, 100%);
  height: 58px;
  margin: 38px auto 0;
  padding: 0 14px 0 22px;
  border: 0;
  border-radius: 18px;
  background: color-mix(in srgb, var(--raised) 78%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -24px rgba(255, 90, 122, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink-3);
  font-size: 17px;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dx-hero-search:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 28px 70px -22px rgba(255, 90, 122, 0.6);
}

.dx-hero-search > span:not(.dx-keys) {
  flex: 1;
}

.dx-home {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 120px;
}

.dx-home h2 {
  margin: 72px 0 8px;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.dx-home h2 .dx-anchor {
  display: none;
}

.dx-home > p {
  max-width: 640px;
  margin: 0 0 26px;
  color: var(--ink-2);
  font-size: 17.5px;
  line-height: 1.7;
}

.dx-home strong {
  color: var(--ink);
  font-weight: 400;
}

.dx-path-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dx-step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 24px 26px;
  border-radius: 20px;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 200ms ease;
}

.dx-step-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 26px 60px -30px rgba(255, 90, 122, 0.6);
}

.dx-step-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
}

.dx-step-card b,
.dx-card b {
  color: var(--ink);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
}

.dx-step-card > span:last-child,
.dx-card-body > span {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}

.dx-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dx-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: var(--pane-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 200ms ease;
}

.dx-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow);
}

.dx-card-art {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: inset 0 -1px 0 var(--line);
}

.dx-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dx-card:hover .dx-card-art img {
  transform: scale(1.035);
}

.dx-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 22px;
}

.dx-search {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 12vh 20px 20px;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.dx-search.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dx-search-panel {
  display: flex;
  flex-direction: column;
  width: min(640px, 100%);
  max-height: min(560px, 76vh);
  overflow: hidden;
  border-radius: 20px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -30px rgba(0, 0, 0, 0.7);
  transform: translateY(6px) scale(0.985);
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dx-search.is-open .dx-search-panel {
  transform: none;
}

.dx-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  box-shadow: inset 0 -1px 0 var(--line);
  color: var(--ink-3);
}

.dx-search-field input {
  flex: 1;
  height: 60px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
}

.dx-search-field input::placeholder {
  color: var(--ink-3);
}

.dx-search-field input:focus-visible {
  outline: none;
}

.dx-results {
  flex: 1;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  list-style: none;
}

.dx-results a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 14px;
  border-radius: 12px;
}

.dx-results a.is-active {
  background: var(--pane);
  box-shadow: inset 0 0 0 1px var(--line);
}

.dx-results small {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dx-results b {
  color: var(--ink);
  font-weight: 400;
  font-size: 16.5px;
}

.dx-results span {
  overflow: hidden;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dx-results mark {
  background: none;
  color: var(--ink);
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--accent) 70%, transparent);
}

.dx-empty {
  padding: 34px 20px 38px;
  color: var(--ink-3);
  font-size: 15.5px;
  text-align: center;
}

.dx-search-foot {
  display: flex;
  gap: 18px;
  padding: 11px 18px;
  box-shadow: inset 0 1px 0 var(--line);
  color: var(--ink-3);
  font-size: 13px;
}

.dx-search-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1240px) {
  .dx-shell {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 48px;
  }

  .dx-toc {
    display: none;
  }
}

@media (max-width: 1020px) {
  .dx-path-cards,
  .dx-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --top: 58px;
  }

  .dx-top-in {
    gap: 10px;
    padding: 0 16px;
  }

  .dx-menu-btn {
    display: grid;
  }

  .dx-word,
  .dx-top-nav > a:not(.dx-cta) {
    display: none !important;
  }

  .dx-search-btn {
    width: 36px;
    min-width: 36px;
    margin-left: auto;
    padding: 0;
    justify-content: center;
  }

  .dx-search-btn > span {
    display: none;
  }

  .dx-top-nav {
    margin-left: 0;
    gap: 10px;
  }

  .dx-cta {
    padding: 0 14px;
    font-size: 14px;
  }

  .dx-shell {
    display: block;
    padding: 0 20px;
  }

  .dx-side,
  .is-home .dx-side-home {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: block;
    width: min(320px, 86vw);
    max-height: none;
    padding: 0 14px 40px;
    background: var(--bg);
    box-shadow: inset -1px 0 0 var(--line);
    visibility: hidden;
    transform: translateX(-104%);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0ms linear 260ms;
  }

  body.is-menu .dx-side {
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0ms;
  }

  .dx-side-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    margin-bottom: 8px;
    padding-left: 12px;
    background: var(--bg);
    box-shadow: inset 0 -1px 0 var(--line);
    color: var(--ink-3);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  body.is-menu .dx-side {
    visibility: visible;
    box-shadow: inset -1px 0 0 var(--line), 30px 0 80px -30px rgba(0, 0, 0, 0.6);
    transform: none;
  }

  body.is-menu .dx-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .dx-main {
    padding: 36px 0 80px;
  }

  .dx-article h1 {
    font-size: 36px;
  }

  .dx-lead {
    font-size: 18px;
  }

  .dx-article h2 {
    margin-top: 48px;
    font-size: 25px;
  }

  .dx-anchor {
    display: none;
  }

  .dx-hero {
    padding: 72px 20px 44px;
  }

  .dx-hero h1 {
    font-size: 46px;
  }

  .dx-home {
    padding: 0 20px 90px;
  }

  .dx-home h2 {
    margin-top: 56px;
    font-size: 27px;
  }
}

@media (max-width: 620px) {
  .dx-path-cards,
  .dx-cards,
  .dx-grid.is-trio {
    grid-template-columns: minmax(0, 1fr);
  }

  .dx-pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .dx-article p,
  .dx-article li {
    font-size: 16.5px;
  }

  .dx-callout {
    padding: 14px 16px 14px 14px;
  }

  .dx-badge {
    display: none;
  }

  .dx-table {
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }

  .dx-table table,
  .dx-table tbody,
  .dx-table tr,
  .dx-table td {
    display: block;
  }

  .dx-table thead {
    display: none;
  }

  .dx-table tr {
    margin-bottom: 10px;
    padding: 12px 16px 14px;
    border-radius: 14px;
    background: var(--pane-2);
    box-shadow: inset 0 0 0 1px var(--line);
  }

  .dx-table td,
  .dx-table tr:last-child td {
    padding: 2px 0;
    box-shadow: none;
  }

  .dx-table td:first-child {
    min-width: 0;
    margin-bottom: 4px;
    font-size: 16.5px;
  }

  .dx-table td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    margin-top: 6px;
    color: var(--ink-3);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .dx-search-foot {
    display: none;
  }

}

@media (max-width: 480px) {
  .dx-grid.is-pair,
  .dx-grid.is-quad {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 340px) {
  .dx-cta {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0ms !important;
  }
}

.dx-search-field input::-webkit-search-cancel-button,
.dx-search-field input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
