.cx-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(36px, 5vw, 68px);
  padding-bottom: clamp(28px, 3.6vw, 48px);
}
.cx-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--gx-grid-lines);
  background-size: 44px 44px;
  background-position: -1px -1px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(82% 90% at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(82% 90% at 50% 0%, #000, transparent 78%);
}
.cx-hero__glow {
  position: absolute;
  z-index: -1;
  top: -18%;
  left: 50%;
  width: min(760px, 96%);
  height: 380px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 40%, rgb(var(--gx-violet-600-rgb) / .18), transparent 72%);
}
.cx-hero__inner {
  display: grid;
  justify-items: start;
  gap: 18px;
  max-width: 62ch;
}
/* With a chip row, use a font-independent width (39em = 62ch in Inter) so the chips do not wrap under the fallback font and then unwrap. */
.cx-hero__inner:has(> .cx-hero__meta) { max-width: 39em; }
.cx-hero__title { max-width: 20ch; }
.cx-hero__lead {
  font-size: var(--gx-fs-lead);
  line-height: 1.6;
  letter-spacing: -0.006em;
  color: var(--gx-text-2);
  max-width: 58ch;
  text-wrap: pretty;
}
.cx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.cx-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  padding: 0;
  list-style: none;
}

.cx-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px 0 10px;
  border-radius: var(--gx-radius-pill);
  font-size: var(--gx-fs-xs);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--gx-text-2);
  background-color: rgb(var(--gx-ink-850-rgb) / .7);
  box-shadow: inset 0 0 0 1px var(--gx-line), var(--gx-shadow-inset);
}
.cx-chip__icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--gx-violet-300);
}
.cx-chip__icon svg { width: 15px; height: 15px; }

.cx-section { padding-block: clamp(40px, 4.8vw, 72px); }

.cx-head {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 62ch;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.cx-head--center {
  justify-items: center;
  text-align: center;
  margin-inline: auto;
}
.cx-head__lead {
  font-size: var(--gx-fs-lead);
  line-height: 1.6;
  color: var(--gx-text-2);
  max-width: 56ch;
  text-wrap: pretty;
}

.cx-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: var(--gx-fs-xs);
  color: var(--gx-text-3);
}
.cx-crumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cx-crumbs__item + .cx-crumbs__item::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-top: 1.4px solid var(--gx-line-strong);
  border-right: 1.4px solid var(--gx-line-strong);
  transform: rotate(45deg);
}
.cx-crumbs__link {
  color: var(--gx-text-3);
  text-decoration: none;
  border-radius: var(--gx-radius-xs);
  transition: color var(--gx-dur-1) var(--gx-ease);
}
.cx-crumbs__link:hover { color: var(--gx-text); }
.cx-crumbs__link:focus-visible { outline: 2px solid var(--gx-violet-300); outline-offset: 3px; }
.cx-crumbs [aria-current] { color: var(--gx-text); }
@media (max-width: 639px) {
  /* Tap targets: invisible 44px-tall hit areas (::after) over the trail's own spacing; same look and layout. */
  .cx-crumbs__link { position: relative; }
  .cx-crumbs__link::after { content: ""; position: absolute; inset: -12px -10px; }
}

.cx-prose {
  max-width: 68ch;
  color: var(--gx-text-2);
  font-size: var(--gx-fs-lg);
  line-height: 1.72;
}
.cx-prose > * + * { margin-top: 1.05em; }
.cx-prose h2 {
  margin-top: 1.9em;
  font-size: var(--gx-fs-h3);
  line-height: 1.16;
  letter-spacing: -0.018em;
  font-weight: 560;
  color: var(--gx-text);
  scroll-margin-top: calc(var(--gx-header-h) + 20px);
}
.cx-prose h3 {
  margin-top: 1.6em;
  font-size: var(--gx-fs-h4);
  line-height: 1.28;
  letter-spacing: -0.012em;
  font-weight: 560;
  color: var(--gx-text);
  scroll-margin-top: calc(var(--gx-header-h) + 20px);
}
.cx-prose h2 + p,
.cx-prose h3 + p,
.cx-prose h2 + ul,
.cx-prose h3 + ul { margin-top: .7em; }
.cx-prose p { text-wrap: pretty; }
.cx-prose strong { color: var(--gx-text); font-weight: 600; }
.cx-prose a {
  color: var(--gx-violet-200);
  text-decoration: none;
  border-bottom: 1px solid rgb(var(--gx-violet-400-rgb) / .38);
  transition: color var(--gx-dur-1) var(--gx-ease), border-color var(--gx-dur-1) var(--gx-ease);
}
.cx-prose a:hover { color: var(--gx-violet-100); border-bottom-color: rgb(var(--gx-violet-400-rgb) / .7); }
.cx-prose a:focus-visible { outline: 2px solid var(--gx-violet-300); outline-offset: 2px; border-radius: 2px; }
.cx-prose ul,
.cx-prose ol { margin-left: 0; padding-left: 1.35em; }
.cx-prose li + li { margin-top: .5em; }
.cx-prose ul li::marker { color: var(--gx-violet-400); }
@media (max-width: 639px) {
  /* Tap targets: a link that is a list item's only element gets a 3px taller hit area above and below (27px on
     a 37px pitch); running-text links on adjacent lines only touch. */
  .cx-prose li > a:only-child { position: relative; }
  .cx-prose li > a:only-child::after { content: ""; position: absolute; inset: -3px 0; }
}
.cx-prose ol li::marker { color: var(--gx-text-3); font-variant-numeric: tabular-nums; }
.cx-prose code {
  font-family: var(--gx-font-mono);
  font-size: .875em;
  padding: .12em .38em;
  border-radius: var(--gx-radius-xs);
  color: var(--gx-text);
  background-color: rgb(var(--gx-ink-800-rgb) / .8);
  box-shadow: inset 0 0 0 1px var(--gx-line);
  word-break: break-word;
}
.cx-prose blockquote {
  margin-left: 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid rgb(var(--gx-violet-400-rgb) / .5);
  color: var(--gx-text);
}
.cx-prose hr {
  border: 0;
  height: 1px;
  margin-block: 2em;
  background: var(--gx-grad-hairline);
}
.cx-prose figure { margin: 1.4em 0; }
.cx-prose img { max-width: 100%; height: auto; border-radius: var(--gx-radius-lg); }

.cx-grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.cx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cx-mt { margin-top: clamp(14px, 1.6vw, 20px); }

.cx-card {
  --gx-card-pad: clamp(20px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
a.gx-card.cx-card,
button.gx-card.cx-card { display: flex; text-align: left; }
.cx-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--gx-radius-md);
  color: var(--gx-violet-200);
  background: var(--pg-tile, linear-gradient(180deg, rgb(var(--gx-violet-rgb) / .15), rgb(var(--gx-violet-rgb) / .04)));
  box-shadow: var(--pg-tile-edge, inset 0 0 0 1px rgb(var(--gx-violet-400-rgb) / .22), inset 0 1px 0 rgb(255 255 255 / .06));
}
.cx-card__icon svg { width: 19px; height: 19px; }
.cx-card__title {
  font-size: var(--gx-fs-h4);
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--gx-text);
}
.cx-card__text {
  font-size: var(--gx-fs-sm);
  line-height: 1.58;
  color: var(--gx-text-3);
}
.cx-card__text strong { color: var(--gx-text-2); font-weight: 560; }
.cx-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.cx-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--gx-fs-sm);
  font-weight: 540;
  color: var(--gx-violet-200);
  text-decoration: none;
}
.cx-card__link svg { width: 15px; height: 15px; transition: transform var(--gx-dur-2) var(--gx-ease); }
a.gx-card:hover .cx-card__link svg,
.cx-card__link:hover svg { transform: translateX(2px); }

.cx-contact {
  --gx-card-pad: clamp(22px, 2.6vw, 32px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
}
.cx-contact__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--gx-radius-lg);
  color: var(--gx-violet-100);
  background: linear-gradient(180deg, rgb(var(--gx-violet-rgb) / .2), rgb(var(--gx-violet-rgb) / .05));
  box-shadow: inset 0 0 0 1px rgb(var(--gx-violet-400-rgb) / .28), inset 0 1px 0 rgb(255 255 255 / .08);
}
.cx-contact__icon svg { width: 26px; height: 26px; }
.cx-contact__body { display: grid; gap: 5px; min-width: 0; }
.cx-contact__label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--gx-tracking-caps);
  text-transform: uppercase;
  color: var(--gx-text-3);
}
.cx-contact__value {
  font-family: var(--gx-font-mono);
  font-size: clamp(1.0625rem, 1rem + .5vw, 1.375rem);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gx-text);
  word-break: break-all;
}
.cx-contact__note {
  font-size: var(--gx-fs-sm);
  line-height: 1.5;
  color: var(--gx-text-3);
}
.cx-contact__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 639px) {
  /* Tap targets: 44px contact buttons; card-foot links get an invisible 44px-tall hit area (::after) in the card's own padding. */
  .cx-contact__actions .gx-btn { --gx-btn-h: 44px; }
  .cx-card__foot { row-gap: 22px; } /* two wrapped foot links: their hit areas meet, never overlap */
  a.cx-card__link { position: relative; }
  a.cx-card__link::after { content: ""; position: absolute; inset: -11px 0; }
}

.cx-split {
  --cx-aside: 288px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--cx-aside);
  align-items: start;
  gap: clamp(24px, 3.4vw, 56px);
}
.cx-split--rail { grid-template-columns: var(--cx-aside) minmax(0, 1fr); }
.cx-split__main { min-width: 0; }
.cx-split__aside { min-width: 0; }

.cx-rail {
  position: sticky;
  top: calc(var(--gx-header-h) + 20px);
  display: grid;
  gap: 4px;
}
.cx-rail__title {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--gx-tracking-caps);
  text-transform: uppercase;
  color: var(--gx-text-4);
  margin-bottom: 8px;
  padding-left: 12px;
}
.cx-rail__link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--gx-radius-sm);
  font-size: var(--gx-fs-sm);
  color: var(--gx-text-3);
  text-decoration: none;
  transition: color var(--gx-dur-1) var(--gx-ease), background-color var(--gx-dur-1) var(--gx-ease);
}
.cx-rail__link:hover { color: var(--gx-text); background-color: var(--gx-surface-hover); }
.cx-rail__link:focus-visible { outline: 2px solid var(--gx-violet-300); outline-offset: 2px; }
.cx-rail__link[aria-current] {
  color: var(--gx-text);
  background-color: rgb(var(--gx-violet-rgb) / .1);
  box-shadow: inset 2px 0 0 var(--gx-violet-400);
}

.cx-aside-card {
  --gx-card-pad: clamp(18px, 2vw, 22px);
  display: grid;
  gap: 12px;
}
.cx-aside-card__title {
  font-size: var(--gx-fs-md);
  font-weight: 560;
  color: var(--gx-text);
}
.cx-aside-card__text {
  font-size: var(--gx-fs-sm);
  line-height: 1.55;
  color: var(--gx-text-3);
}

.cx-endpoint {
  overflow: hidden;
  border-radius: var(--gx-radius-lg);
  background-color: rgb(var(--gx-ink-900-rgb) / .8);
  box-shadow: inset 0 0 0 1px var(--gx-line), var(--gx-shadow-inset), var(--gx-shadow-md);
}
.cx-endpoint + .cx-endpoint { margin-top: 16px; }
.cx-endpoint__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px clamp(16px, 2vw, 20px);
  border-bottom: 1px solid var(--gx-line);
  background-color: rgb(var(--gx-ink-850-rgb) / .5);
}
.cx-method {
  display: inline-grid;
  place-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--gx-radius-xs);
  font-family: var(--gx-font-sans);
  font-size: var(--gx-fs-2xs);
  font-weight: 600;
  letter-spacing: var(--gx-tracking-caps);
  color: var(--gx-violet-100);
  background-color: rgb(var(--gx-violet-rgb) / .14);
  box-shadow: inset 0 0 0 1px rgb(var(--gx-violet-400-rgb) / .3);
}
.cx-method--get {
  color: color-mix(in srgb, var(--gx-ice) 70%, var(--gx-text));
  background-color: rgb(var(--gx-ice-rgb) / .12);
  box-shadow: inset 0 0 0 1px rgb(var(--gx-ice-rgb) / .3);
}
.cx-endpoint__path {
  font-family: var(--gx-font-mono);
  font-size: var(--gx-fs-sm);
  font-weight: 500;
  color: var(--gx-text);
  word-break: break-word;
}
.cx-endpoint__tag {
  margin-left: auto;
  font-size: var(--gx-fs-xs);
  color: var(--gx-text-3);
}
.cx-endpoint__body {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2vw, 20px);
}
.cx-endpoint__desc {
  font-size: var(--gx-fs-sm);
  line-height: 1.6;
  color: var(--gx-text-2);
}

.cx-code {
  overflow-x: auto;
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--gx-radius-md);
  background-color: rgb(var(--gx-void-rgb) / .66);
  box-shadow: inset 0 0 0 1px var(--gx-line);
  font-family: var(--gx-font-mono);
  font-size: var(--gx-fs-xs);
  line-height: 1.65;
  color: var(--gx-text-2);
  -webkit-overflow-scrolling: touch;
}
.cx-code code {
  font: inherit;
  color: inherit;
  white-space: pre;
}
.cx-code__label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--gx-tracking-caps);
  text-transform: uppercase;
  color: var(--gx-text-3);
}

/* Spec/comparison table: <div class="cx-table-wrap"><table class="cx-table">. The wrap scrolls sideways so the page never overflows. */
.cx-table-wrap {
  width: 100%;
  overflow-x: auto;
  container-type: inline-size;
  border: 1px solid var(--gx-line);
  border-radius: var(--gx-radius-lg);
  -webkit-overflow-scrolling: touch;
}
.cx-table {
  width: 100%;
  font-size: var(--gx-fs-sm);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.cx-table caption {
  position: sticky;
  left: 0;
  max-width: 100cqw;
  caption-side: top;
  padding: 10px 14px 8px;
  font-size: var(--gx-fs-xs);
  text-align: left;
  color: var(--gx-text-3);
}
.cx-table th,
.cx-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gx-line);
}
.cx-table tbody tr:last-child > * { border-bottom: 0; }
.cx-table thead th {
  font-weight: 560;
  color: var(--gx-text);
  background-color: rgb(var(--gx-line-rgb) / .06);
}
.cx-table tbody th[scope="row"] { font-weight: 560; color: var(--gx-text); }
.cx-table td { color: var(--gx-text-2); }
:where(.cx-table) :where(th, td) a:where(:not([class])) {
  color: var(--gx-violet-200);
  text-decoration: underline;
  text-decoration-color: rgb(var(--gx-neon-rgb) / .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--gx-dur-2) var(--gx-ease), text-decoration-color var(--gx-dur-2) var(--gx-ease);
}
:where(.cx-table) :where(th, td) a:where(:not([class])):hover {
  color: var(--gx-violet-100);
  text-decoration-color: currentColor;
}
@media (max-width: 639px) {
  /* Tap targets: a cell's only link reaches 6px/10px into the cell padding (8px+ from the next cell's link). */
  :where(.cx-table) :where(th, td) > a:only-child { position: relative; }
  :where(.cx-table) :where(th, td) > a:only-child::after { content: ""; position: absolute; inset: -6px -10px; }
}

.cx-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cx-list__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  font-size: var(--gx-fs-sm);
  line-height: 1.55;
  color: var(--gx-text-2);
}
.cx-list__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--gx-radius-sm);
  color: var(--gx-violet-200);
  background-color: rgb(var(--gx-violet-rgb) / .1);
  box-shadow: inset 0 0 0 1px rgb(var(--gx-violet-400-rgb) / .2);
}
.cx-list__icon svg { width: 14px; height: 14px; }
.cx-list__item strong { color: var(--gx-text); font-weight: 560; }
.cx-list--ok .cx-list__icon {
  color: var(--gx-success);
  background-color: rgb(var(--gx-success-rgb) / .1);
  box-shadow: inset 0 0 0 1px rgb(var(--gx-success-rgb) / .24);
}
.cx-list--no .cx-list__icon {
  color: var(--gx-text-3);
  background-color: rgb(var(--gx-line-rgb) / .08);
  box-shadow: inset 0 0 0 1px var(--gx-line-strong);
}
/* Definition-list variant of .cx-list: <dl class="cx-list cx-dl"><div class="cx-list__item"><dt class="cx-dl__term">icon + term</dt><dd class="cx-dl__desc">. */
.cx-dl .cx-list__item { grid-template-columns: 24px minmax(0, 1fr); row-gap: 4px; }
.cx-dl__term {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  font-weight: 560;
  color: var(--gx-text);
}
.cx-dl__desc { grid-column: 2; margin: 0; }

.cx-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--gx-radius-lg);
  font-size: var(--gx-fs-sm);
  line-height: 1.55;
  color: var(--gx-text-2);
  background-color: rgb(var(--gx-violet-rgb) / .07);
  box-shadow: inset 0 0 0 1px rgb(var(--gx-violet-400-rgb) / .2);
}
.cx-note__icon {
  display: grid;
  place-items: center;
  color: var(--gx-violet-200);
}
.cx-note__icon svg { width: 17px; height: 17px; }
.cx-note strong { color: var(--gx-text); font-weight: 560; }
.cx-note--warn {
  background-color: rgb(var(--gx-warning-rgb) / .08);
  box-shadow: inset 0 0 0 1px rgb(var(--gx-warning-rgb) / .26);
}
.cx-note--warn .cx-note__icon { color: var(--gx-warning); }

.cx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cx-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--gx-radius-pill);
  font-size: var(--gx-fs-2xs);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--gx-text-3);
  background-color: rgb(var(--gx-line-rgb) / .07);
  box-shadow: inset 0 0 0 1px var(--gx-line);
  text-decoration: none;
}
a.cx-tag { transition: color var(--gx-dur-1) var(--gx-ease), background-color var(--gx-dur-1) var(--gx-ease); }
a.cx-tag:hover { color: var(--gx-text); background-color: rgb(var(--gx-violet-rgb) / .12); }
a.cx-tag:focus-visible { outline: 2px solid var(--gx-violet-300); outline-offset: 2px; }
@media (max-width: 639px) {
  /* Tap targets: 20px row gap + invisible 44px-tall hit areas (::after); the 24px tags keep their look. */
  .cx-tags { row-gap: 20px; }
  a.cx-tag { position: relative; }
  a.cx-tag::after { content: ""; position: absolute; inset: -10px -3px; }
}

.cx-posts {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.cx-post {
  --gx-card-pad: clamp(20px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
a.gx-card.cx-post,
button.gx-card.cx-post { display: flex; text-align: left; }
.cx-post__title {
  font-size: var(--gx-fs-h4);
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--gx-text);
}
.cx-post__excerpt {
  font-size: var(--gx-fs-sm);
  line-height: 1.58;
  color: var(--gx-text-3);
}
.cx-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.cx-post__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  font-size: var(--gx-fs-sm);
  font-weight: 540;
  color: var(--gx-violet-200);
}
.cx-post__more svg { width: 15px; height: 15px; transition: transform var(--gx-dur-2) var(--gx-ease); }
a.gx-card:hover .cx-post__more svg { transform: translateX(2px); }

.cx-pair__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.cx-pair__asset {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--gx-radius-pill);
  background-color: rgb(var(--gx-ink-850-rgb) / .8);
  box-shadow: inset 0 0 0 1px var(--gx-line-strong), var(--gx-shadow-inset);
}
.cx-pair__sym {
  font-size: var(--gx-fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gx-text);
}
.cx-pair__net {
  font-family: var(--gx-font-sans);
  font-size: var(--gx-fs-2xs);
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--gx-text-3);
  padding: 3px 7px;
  border-radius: var(--gx-radius-xs);
  background-color: rgb(var(--gx-line-rgb) / .1);
  box-shadow: inset 0 0 0 1px var(--gx-line);
}
.cx-pair__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--gx-violet-200);
  background-color: rgb(var(--gx-violet-rgb) / .1);
  box-shadow: inset 0 0 0 1px rgb(var(--gx-violet-400-rgb) / .24);
}
.cx-pair__arrow svg { width: 17px; height: 17px; }

.cx-cta { padding-block: clamp(16px, 3vw, 40px); }
.cx-cta__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: clamp(28px, 4.4vw, 56px) clamp(22px, 4vw, 48px);
  border-radius: var(--gx-radius-2xl);
  background-color: rgb(var(--gx-ink-950-rgb) / .84);
  background-image:
    radial-gradient(60% 120% at 50% 0%, rgb(var(--gx-violet-700-rgb) / .16), transparent 68%),
    linear-gradient(180deg, rgb(255 255 255 / .02), rgb(255 255 255 / 0) 40%);
  box-shadow: var(--pg-edge, inset 0 0 0 1px var(--gx-line), inset 0 1px 0 rgb(255 255 255 / .04)), var(--gx-shadow-lg);
}
.cx-cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--gx-grid-lines);
  background-size: 40px 40px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent 76%);
  mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent 76%);
  pointer-events: none;
}
.cx-cta__title { max-width: 22ch; }
.cx-cta__text {
  font-size: var(--gx-fs-lead);
  line-height: 1.6;
  color: var(--gx-text-2);
  max-width: 52ch;
}
.cx-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

@media (max-width: 899px) {
  .cx-split,
  .cx-split--rail { grid-template-columns: minmax(0, 1fr); }
  .cx-rail {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
  }
  .cx-rail__title { display: none; }
  .cx-rail__link { white-space: nowrap; }
  .cx-rail__link[aria-current] { box-shadow: inset 0 -2px 0 var(--gx-violet-400); }
}

@media (max-width: 720px) {
  .cx-grid--3,
  .cx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .cx-grid--2,
  .cx-grid--3,
  .cx-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .cx-contact { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 14px; }
}

/* Exchange widget in the pair-page hero */
/* Markup: .cx-hero__inner.cx-hero__inner--swap > .cx-swap#exchange > [data-gx-widget data-from data-to] */
.cx-hero__inner.cx-hero__inner--swap { max-width: none; grid-template-columns: minmax(0, 1fr); }
.cx-hero__inner--swap > * { max-width: 39em; }
.cx-swap {
  justify-self: stretch;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  min-height: 723px; /* height of the mounted widget: reserving it keeps CLS at ~0 */
  margin: 4px 0 6px;
  scroll-margin-top: calc(var(--gx-header-h) + 16px);
}
.cx-swap > [data-gx-widget]:not(.gx-widget) { /* placeholder until widget.js mounts */
  min-height: inherit;
  border-radius: var(--gx-radius-2xl);
  background: rgb(var(--gx-ink-950-rgb) / .94);
  box-shadow: inset 0 0 0 1px var(--gx-line-strong), var(--gx-shadow-xl);
}
@media (max-width: 359px) { .cx-swap { min-height: 740px; } }
@media (min-width: 1024px) {
  .cx-hero__inner.cx-hero__inner--swap {
    grid-template-columns: minmax(0, 39em) 420px;
    grid-template-rows: repeat(6, auto) 1fr; /* 6 copy blocks; the 1fr row absorbs the taller widget */
    justify-content: space-between;
    column-gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }
  .cx-hero__inner--swap > * { grid-column: 1; }
  .cx-hero__inner--swap > .cx-swap { grid-column: 2; grid-row: 1 / -1; margin: 0; min-height: 725px; }
  /* One line at every desktop width: a flow that fits in Inter but not in the fallback font would wrap, then unwrap at font swap and move the hero (CLS). */
  .cx-hero__inner--swap > .cx-pair__flow { flex-wrap: nowrap; }
  .cx-hero__inner--swap > .cx-pair__flow > .cx-pair__arrow { flex-shrink: 0; } /* a long flow narrows the asset pills, never the round arrow */
}
