/* /how-it-works: product docs. A sticky tab list on the left, one topic on
   the right. Phones: the tabs become a sticky, sideways-scrolling strip. */
.dx { max-width: 1240px; margin: 0 auto; padding: 48px 24px 0; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; box-sizing: content-box; }

.dx-side { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow-y: auto; padding-bottom: 24px; scrollbar-width: none; }
.dx-side::-webkit-scrollbar { display: none; }
.dx-home { display: block; font-size: 15px; font-weight: 600; color: #f4f1ea; margin-bottom: 22px; }
.dx-group + .dx-group { margin-top: 26px; }
.dx-group p { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: rgba(244, 241, 234, 0.45); }
.dx-group ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.dx-group a { display: block; margin-left: -1px; padding: 7px 0 7px 14px; border-left: 1px solid transparent; font-size: 14.5px; line-height: 1.35; color: rgba(244, 241, 234, 0.62); transition: color 0.2s, border-color 0.2s; }
.dx-group a:hover { color: #f4f1ea; }
.dx-group a[aria-current="page"] { color: #f4f1ea; font-weight: 500; border-left-color: #4282C6; }

.dx-main { max-width: 720px; min-width: 0; }
.dx-crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(244, 241, 234, 0.45); }
.dx-crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(244, 241, 234, 0.25); }
.dx-crumbs a { color: rgba(244, 241, 234, 0.62); }
.dx-crumbs a:hover { color: #f4f1ea; }
.dx-main h1 { margin: 0; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; color: #f4f1ea; }
.dx-lede { margin: 18px 0 0; font-size: 19px; line-height: 1.55; color: rgba(244, 241, 234, 0.72); }
.dx-body-text { margin-top: 36px; font-size: 16.5px; line-height: 1.65; color: rgba(244, 241, 234, 0.78); }
.dx-body-text h2 { margin: 44px 0 14px; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; color: #f4f1ea; }
.dx-body-text > :first-child { margin-top: 0; }
.dx-body-text p { margin: 0 0 16px; }
.dx-body-text ul { margin: 0 0 16px; padding-left: 20px; }
.dx-body-text li { margin: 6px 0; }
.dx-body-text a { color: #9cc6f0; text-decoration: underline; text-decoration-color: rgba(156, 198, 240, 0.35); text-underline-offset: 3px; }
.dx-body-text a:hover { text-decoration-color: #9cc6f0; }

/* Key facts: a definition table */
.dx-facts { margin: 0 0 20px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; overflow: hidden; }
.dx-facts div { display: grid; grid-template-columns: minmax(140px, 0.9fr) 2fr; gap: 20px; padding: 13px 18px; }
.dx-facts div + div { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.dx-facts dt { font-size: 14.5px; font-weight: 500; color: #f4f1ea; }
.dx-facts dd { margin: 0; font-size: 14.5px; color: rgba(244, 241, 234, 0.72); }

.dx-table { width: 100%; margin: 0 0 20px; border-collapse: separate; border-spacing: 0; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; overflow: hidden; font-size: 14.5px; }
.dx-table th, .dx-table td { text-align: left; padding: 12px 18px; }
.dx-table thead th { font-size: 13px; font-weight: 600; color: rgba(244, 241, 234, 0.45); background: rgba(255, 255, 255, 0.02); }
.dx-table tbody tr th, .dx-table tbody tr td { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.dx-table tbody th { font-weight: 500; color: #f4f1ea; }
.dx-table td { color: rgba(244, 241, 234, 0.72); font-variant-numeric: tabular-nums; }
.dx-table i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; background: var(--c); vertical-align: 1px; }

.dx-callout { margin: 24px 0; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(66, 130, 198, 0.35); background: rgba(66, 130, 198, 0.08); }
.dx-callout.dx-tip { border-color: rgba(111, 207, 127, 0.3); background: rgba(111, 207, 127, 0.06); }
.dx-callout b { display: block; font-size: 13px; font-weight: 600; color: #9cc6f0; margin-bottom: 4px; }
.dx-callout.dx-tip b { color: #8fd694; }
.dx-callout p { margin: 0; font-size: 15px; }

.dx-steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: dx; }
.dx-steps li { counter-increment: dx; position: relative; padding: 0 0 22px 48px; }
.dx-steps li::before { content: counter(dx); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #f4f1ea; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.dx-steps li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, 0.08); }
.dx-steps li:last-child::after { display: none; }
.dx-steps b { display: block; color: #f4f1ea; font-weight: 600; }
.dx-steps p { margin: 4px 0 0; }

.dx-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.dx-pager a { display: block; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.08); color: #f4f1ea; font-weight: 500; transition: border-color 0.2s, background 0.2s; }
.dx-pager a:hover { border-color: rgba(156, 198, 240, 0.45); background: rgba(255, 255, 255, 0.02); }
.dx-pager small { display: block; font-size: 13px; font-weight: 400; color: rgba(244, 241, 234, 0.45); margin-bottom: 4px; }
.dx-pager .next { text-align: right; }

.dx-body .wbc { margin-top: 120px; }

@media (max-width: 900px) {
  .dx { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 12px; }
  .dx-side { top: 74px; z-index: 20; max-height: none; margin: 0 -24px; padding: 10px 24px; display: flex; gap: 6px; overflow-x: auto; background: rgba(8, 10, 9, 0.94); border-bottom: 1px solid rgba(255, 255, 255, 0.06); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .dx-home, .dx-group p { display: none; }
  .dx-group + .dx-group { margin-top: 0; }
  .dx-group ul { display: flex; gap: 6px; border: 0; }
  .dx-group a { margin: 0; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 999px; white-space: nowrap; font-size: 14px; }
  .dx-group a[aria-current="page"] { border-color: #4282C6; background: rgba(66, 130, 198, 0.14); }
  .dx-main { padding-top: 28px; }
  .dx-facts div { grid-template-columns: 1fr; gap: 2px; }
}
