.docs-page {
  background: radial-gradient(circle at 88% 0, rgba(115, 199, 253, .28), transparent 30rem), var(--canvas);
}

.docs-page code,
.docs-page pre {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.docs-nav {
  position: relative;
  z-index: 10;
}

.docs-nav .nav-links .is-active {
  color: var(--blue);
  font-weight: 800;
}

.docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  align-items: center;
  gap: 72px;
  padding-block: 72px 54px;
}

.docs-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.docs-kicker span,
.docs-kicker b {
  padding: 7px 10px;
  border-radius: 999px;
}

.docs-kicker span {
  color: #fff;
  background: var(--blue);
}

.docs-kicker b {
  border: 1px solid var(--line);
  background: var(--surface);
}

.docs-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 5vw, 64px);
}

.docs-hero__copy > p:last-of-type {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.docs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.endpoint-summary {
  overflow: hidden;
  border: 1px solid rgba(1, 102, 253, .28);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.endpoint-summary__head {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding-inline: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.endpoint-summary__head small {
  margin-inline-start: auto;
  color: var(--muted);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a36a;
  box-shadow: 0 0 0 5px rgba(22, 163, 106, .12);
}

.base-url {
  position: relative;
  padding: 21px 20px 18px;
  background: color-mix(in srgb, var(--surface-soft) 58%, transparent);
}

.base-url span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.base-url code {
  display: block;
  padding-inline-end: 64px;
  overflow: hidden;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-copy,
.copy-button,
.code-card__head button {
  cursor: pointer;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-size: 11px;
  font-weight: 800;
}

.icon-copy {
  position: absolute;
  right: 20px;
  bottom: 14px;
  min-height: 32px;
  padding-inline: 10px;
}

.endpoint-summary ul {
  padding: 8px 20px 14px;
  margin: 0;
  list-style: none;
}

.endpoint-summary li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.endpoint-summary li:last-child { border-bottom: 0; }
.endpoint-summary li span { color: var(--muted); }
.endpoint-summary li code { margin-inline-start: auto; color: var(--ink); font-weight: 700; }

.docs-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid rgba(1, 102, 253, .25);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(1, 102, 253, .08), rgba(149, 239, 253, .18));
}

.docs-alert svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.docs-alert strong { font-size: 14px; }
.docs-alert p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-block: 50px 80px;
}

.docs-sidebar {
  position: sticky;
  top: 24px;
  min-width: 0;
}

.toc-toggle { display: none; }

.toc {
  display: grid;
  padding-inline-start: 13px;
  border-inline-start: 1px solid var(--line);
}

.toc p {
  margin: 18px 0 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.toc p:first-child { margin-top: 0; }

.toc a {
  position: relative;
  padding: 7px 10px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 13px;
  transition: color .2s ease, background .2s ease;
}

.toc a:hover,
.toc a.is-active {
  color: var(--blue);
  background: rgba(1, 102, 253, .08);
}

.toc a.is-active::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -15px;
  width: 3px;
  border-radius: 5px;
  content: "";
  background: var(--blue);
}

.toc-help {
  display: grid;
  gap: 5px;
  padding: 15px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 11px;
}

.toc-help span { color: var(--muted); }
.toc-help a { color: var(--blue); font-weight: 800; }

.docs-content {
  min-width: 0;
}

.docs-promo-slot {
  margin: -30px 0 64px;
}

.docs-page .dcshop-promo--embedded {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  max-width: none;
  margin: 0;
}

.docs-page .dcshop-promo--embedded .dcshop-promo__inner {
  padding: 20px;
}

.doc-section,
.table-scroll,
.code-card,
.query-list {
  min-width: 0;
  max-width: 100%;
}

.doc-section {
  scroll-margin-top: 28px;
  padding: 0 0 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.doc-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.section-heading > span {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--blue);
  border: 1px solid rgba(1, 102, 253, .18);
  border-radius: 13px;
  background: rgba(149, 239, 253, .2);
  font-size: 12px;
  font-weight: 900;
}

.section-heading p {
  margin: 0 0 3px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
}

.section-lead {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.section-lead a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.doc-section > h3 { margin: 30px 0 14px; font-size: 18px; }
.doc-section p code, .doc-section li code { padding: 2px 5px; color: var(--blue); border-radius: 5px; background: rgba(1, 102, 253, .08); font-size: .92em; }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.flow-grid li {
  display: flex;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.flow-grid li > b {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  border-radius: 9px;
  background: var(--blue);
  font-size: 12px;
}

.flow-grid strong { display: block; margin-bottom: 5px; font-size: 14px; }
.flow-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.callout {
  padding: 18px 20px;
  margin-block: 20px;
  border: 1px solid var(--line);
  border-inline-start-width: 4px;
  border-radius: 12px;
  background: var(--surface);
}

.callout strong { display: block; margin-bottom: 7px; font-size: 14px; }
.callout p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }
.callout ul { display: flex; flex-wrap: wrap; gap: 7px 22px; padding: 0; margin: 0; color: var(--muted); font-size: 12px; list-style-position: inside; }
.callout-info { border-inline-start-color: var(--blue); background: color-mix(in srgb, var(--surface-soft) 48%, var(--surface)); }
.callout-warning { border-inline-start-color: #e79208; background: color-mix(in srgb, #fff6d9 36%, var(--surface)); }
.callout-danger { border-inline-start-color: #e04444; background: color-mix(in srgb, #fff0f0 30%, var(--surface)); }

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.credential-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.credential-grid article > code { display: inline-block; padding: 4px 8px; color: var(--blue); border-radius: 6px; background: rgba(1, 102, 253, .08); font-size: 12px; }
.credential-grid strong { display: block; margin: 13px 0 7px; font-size: 16px; }
.credential-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.signature-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: sign-step;
}

.signature-steps li {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.signature-steps b { display: block; margin-bottom: 7px; color: var(--blue); font-size: 14px; }
.signature-steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.formula {
  padding: 19px 20px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(1, 102, 253, .22);
  border-radius: 14px;
  background: #061a2b;
  color: #edf8ff;
}

.formula span,
.formula small { display: block; }
.formula span { margin-bottom: 10px; color: #95effd; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.formula code { display: block; overflow-x: auto; padding-bottom: 4px; color: #fff; font-size: 13px; white-space: nowrap; }
.formula small { margin-top: 10px; color: #a9c8df; font-size: 11px; }

.endpoint-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.endpoint-card > code {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding-inline: 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
}

.method-post { color: #fff; background: var(--blue); }
.method-get { color: #086d4a; background: #d8f8eb; }
:root[data-theme="dark"] .method-get { color: #9af0cf; background: rgba(22, 163, 106, .2); }

.copy-button {
  min-height: 30px;
  padding-inline: 10px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.param-table {
  width: 100%;
  min-width: 670px;
  border-collapse: collapse;
  font-size: 12px;
}

.param-table.compact { min-width: 540px; }
.param-table th, .param-table td { padding: 13px 15px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
.param-table tr:last-child td { border-bottom: 0; }
.param-table th { color: var(--muted); background: color-mix(in srgb, var(--surface-soft) 60%, var(--surface)); font-size: 11px; }
.param-table td:first-child code { color: var(--blue); font-weight: 800; }
.required, .optional { display: inline-flex; padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.required { color: #c63c3c; background: rgba(224, 68, 68, .1); }
.optional { color: var(--muted); background: var(--surface-soft); }

.code-card {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(115, 199, 253, .25);
  border-radius: 14px;
  background: #061a2b;
  box-shadow: 0 15px 30px rgba(0, 20, 48, .08);
}

.code-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding-inline: 16px;
  color: #a9c8df;
  border-bottom: 1px solid rgba(149, 239, 253, .12);
  background: #0b263b;
  font-size: 11px;
  font-weight: 700;
}

.code-card__head button { min-height: 28px; padding-inline: 9px; color: #95effd; border-color: rgba(149, 239, 253, .18); background: rgba(149, 239, 253, .06); }
.code-card pre { margin: 0; overflow: auto; }
.code-card code { display: block; min-width: max-content; padding: 18px; color: #e3f5ff; font-size: 12px; line-height: 1.75; tab-size: 2; }
.ai-prompt-card code { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.response-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.response-grid .code-card { min-width: 0; }

.callback-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.callback-rules article {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.callback-rules article > span { display: grid; flex: 0 0 auto; width: 27px; height: 27px; place-items: center; color: #fff; border-radius: 8px; background: var(--blue); font-size: 11px; font-weight: 900; }
.callback-rules strong { font-size: 13px; }
.callback-rules p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.query-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.query-list article {
  min-width: 0;
}

.query-list article {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.query-list article > div { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.query-list strong { font-size: 14px; }
.query-list article > code { display: block; padding: 11px 12px; overflow-x: auto; color: var(--blue); border-radius: 8px; background: var(--surface-soft); font-size: 11px; white-space: nowrap; }
.query-list p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.status-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.status-table div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 12px; }
.status-table b { color: var(--blue); }
.status-table span { color: var(--muted); }

.error-list {
  display: grid;
  gap: 10px;
}

.error-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.error-list summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  cursor: pointer;
  list-style: none;
}

.error-list summary::-webkit-details-marker { display: none; }
.error-list summary::after { margin-inline-start: auto; color: var(--blue); content: "+"; font-size: 19px; }
.error-list details[open] summary::after { content: "−"; }
.error-list summary code { color: var(--ink); font-weight: 800; }
.error-list summary span { padding: 3px 7px; color: #c2410c; border-radius: 999px; background: rgba(234, 88, 12, .1); font-size: 9px; font-weight: 800; }
.error-list details p { padding: 0 17px 16px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.retry-policy {
  padding: 18px 20px;
  margin-top: 16px;
  border-radius: 14px;
  background: linear-gradient(110deg, #0142fd, #0166fd 60%, #57c2fd);
  color: #fff;
}

.retry-policy strong { font-size: 14px; }
.retry-policy ol { padding-inline-start: 18px; margin: 10px 0 0; color: rgba(255, 255, 255, .85); font-size: 12px; line-height: 1.85; }

.demo-download-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px;
  margin: 24px 0 18px;
  scroll-margin-top: 92px;
  border: 1px solid rgba(1, 102, 253, .3);
  border-radius: 17px;
  background: linear-gradient(118deg, rgba(1, 102, 253, .1), rgba(87, 194, 253, .08) 52%, var(--surface));
  box-shadow: 0 16px 38px rgba(0, 61, 153, .09);
}

.demo-download__badge {
  display: grid;
  width: 64px;
  height: 72px;
  place-content: center;
  text-align: center;
  color: #fff;
  border-radius: 13px;
  background: linear-gradient(150deg, #0142fd, #0166fd 62%, #57c2fd);
  box-shadow: 0 10px 22px rgba(1, 66, 253, .24);
}

.demo-download__badge span { font-size: 16px; font-weight: 900; letter-spacing: .08em; }
.demo-download__badge b { margin-top: 3px; color: rgba(255, 255, 255, .76); font-size: 9px; letter-spacing: .1em; }
.demo-download__content { min-width: 0; }
.demo-download__eyebrow { margin: 0 0 5px; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.demo-download__content h3 { margin: 0; font-size: 17px; line-height: 1.45; }
.demo-download__content > p:not(.demo-download__eyebrow) { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.demo-download__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.demo-download__meta span {
  padding: 4px 8px;
  color: var(--blue);
  border: 1px solid rgba(1, 102, 253, .16);
  border-radius: 999px;
  background: rgba(1, 102, 253, .06);
  font-size: 9px;
  font-weight: 800;
}

.demo-download__hash { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 9px; }
.demo-download__hash span { flex: 0 0 auto; font-weight: 800; }
.demo-download__hash code { min-width: 0; overflow-wrap: anywhere; color: var(--muted); line-height: 1.45; }
.demo-download__actions { display: grid; justify-items: stretch; gap: 7px; min-width: 182px; text-align: center; }
.demo-download__actions small { color: var(--muted); font-size: 9px; }

.code-tabs {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.code-tabs__nav {
  display: flex;
  gap: 4px;
  padding: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.code-tabs__nav button {
  min-height: 34px;
  padding-inline: 14px;
  cursor: pointer;
  color: var(--muted);
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.code-tabs__nav button[aria-selected="true"] { color: var(--blue); background: rgba(1, 102, 253, .1); }
.code-tab-panel .code-card { margin: 0; border: 0; border-radius: 0; box-shadow: none; }

.checklist {
  display: grid;
  gap: 10px;
}

.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.checklist input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); }
.checklist label:has(input:checked) { color: var(--ink); border-color: rgba(1, 102, 253, .35); background: rgba(1, 102, 253, .05); }
.checklist label:has(input:checked) span { text-decoration: line-through; text-decoration-color: var(--muted); }

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  margin-top: 20px;
  border: 1px solid rgba(1, 102, 253, .2);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(1, 102, 253, .08), rgba(149, 239, 253, .18));
}

.final-cta span { display: block; margin-bottom: 5px; color: var(--blue); font-size: 11px; font-weight: 800; }
.final-cta strong { font-size: 14px; line-height: 1.55; }
.final-cta .button { flex: 0 0 auto; }

.docs-footer { border-top: 1px solid var(--line); }
.docs-footer a { color: var(--blue); }

@media (max-width: 960px) {
  .docs-hero { grid-template-columns: 1fr; gap: 32px; }
  .endpoint-summary { max-width: 620px; }
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .docs-sidebar { position: sticky; z-index: 20; top: 8px; }
  .toc-toggle { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; padding-inline: 15px; cursor: pointer; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 9px 24px rgba(0, 28, 70, .08); backdrop-filter: blur(14px); font-size: 13px; font-weight: 800; }
  .toc-toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
  .toc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .toc { position: absolute; top: 55px; right: 0; left: 0; max-height: min(70vh, 560px); padding: 14px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
  .toc[hidden] { display: none; }
  .toc a.is-active::before { display: none; }
  .toc-help { display: none; }
}

@media (max-width: 760px) {
  .docs-hero { padding-block: 50px 40px; }
  .docs-hero h1 { font-size: 42px; }
  .docs-alert { margin-top: 0; }
  .docs-layout { padding-block-start: 28px; }
  .signature-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .response-grid { grid-template-columns: 1fr; }
  .demo-download-card { grid-template-columns: auto minmax(0, 1fr); }
  .demo-download__actions { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .docs-page .brand-logo { width: min(150px, 42vw); }
  .docs-page .button-small { font-size: 12px; }
  .docs-hero { gap: 25px; }
  .docs-hero h1 { font-size: 36px; }
  .docs-hero__copy > p:last-of-type { font-size: 14px; }
  .docs-kicker b { display: none; }
  .endpoint-summary { min-width: 0; }
  .docs-alert { padding: 17px; }
  .flow-grid, .credential-grid, .signature-steps, .callback-rules, .status-table { grid-template-columns: 1fr; }
  .doc-section { padding-bottom: 46px; margin-bottom: 46px; }
  .section-heading { align-items: flex-start; }
  .endpoint-card { grid-template-columns: auto minmax(0, 1fr); }
  .endpoint-card .copy-button { grid-column: 1 / -1; }
  .formula { padding: 16px; }
  .code-card code { padding: 15px; font-size: 11px; }
  .demo-download-card { grid-template-columns: 1fr; gap: 15px; padding: 18px; }
  .demo-download__badge { width: 58px; height: 58px; }
  .demo-download__actions { grid-column: auto; min-width: 0; }
  .demo-download__actions .button { width: 100%; }
  .query-list article { padding: 15px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .final-cta .button { width: 100%; }
  .docs-footer { gap: 10px; }
  .docs-promo-slot { margin-top: -20px; margin-bottom: 46px; }
  .docs-page .dcshop-promo--embedded { right: auto; bottom: auto; left: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .toc-toggle svg { transition: none; }
}
