.dx-container { max-width: 90rem; margin-inline: auto; }
a { color: inherit; }
.text-gradient {
  background: linear-gradient(120deg, hsl(var(--brand)), hsl(var(--brand-2)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.btn-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.05rem; border-radius: .65rem; font-weight: 600; font-size: .875rem;
  color: hsl(var(--brand-foreground)); text-decoration: none; white-space: nowrap;
  background: linear-gradient(135deg, hsl(var(--brand)), hsl(var(--brand-2)));
  box-shadow: 0 6px 18px hsl(var(--brand) / .30); transition: filter .15s, transform .15s;
}
.btn-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.05rem;
  border-radius: .65rem; font-weight: 600; font-size: .875rem; text-decoration: none;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  color: hsl(var(--foreground)); transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: hsl(var(--brand) / .45); }
.dx-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--muted-foreground));
}
.dx-eyebrow::before {
  content: ""; width: .45rem; height: .45rem; border-radius: 9999px;
  background: linear-gradient(135deg, hsl(var(--brand)), hsl(var(--brand-2)));
}
.dx-glow {
  position: absolute; inset: auto; top: -40%; left: 50%; transform: translateX(-50%);
  width: 760px; height: 520px; pointer-events: none; filter: blur(70px); opacity: .5; z-index: 0;
  background: radial-gradient(closest-side, hsl(var(--brand) / .32), transparent 70%);
}
.dx-dot-grid {
  background-image: radial-gradient(hsl(var(--foreground) / .07) 1px, transparent 1px);
  background-size: 18px 18px;
}

.lucide { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }

.dark-only { display: none; } .dark .dark-only { display: revert; } .dark .light-only { display: none; }

.dx-nav {
  position: sticky; top: 0; z-index: 40; height: 4.5rem;
  background: hsl(var(--background) / .85); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid hsl(var(--border) / .8);
}

.dx-nav-inner { height: 100%; display: flex; align-items: center; gap: 1.25rem;
  padding-inline: 1.25rem; }
.dx-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.dx-logo-img { height: 50px; width: auto; display: block; }

.dx-logo-img.light-only { display: block; }
.dx-logo-img.dark-only { display: none; }
.dark .dx-logo-img.light-only { display: none; }
.dark .dx-logo-img.dark-only { display: block; }
.dx-logo-sub { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: hsl(var(--brand)); padding: .16rem .45rem; border-radius: .4rem; line-height: 1;
  background: hsl(var(--brand) / .1); border: 1px solid hsl(var(--brand) / .18); align-self: center; }
.dx-tabs { display: none; align-items: center; gap: .1rem; margin-left: .75rem; }
.dx-tab { position: relative; padding: .5rem .75rem; font-size: .9rem; font-weight: 500;
  color: hsl(var(--muted-foreground)); text-decoration: none; border-radius: .5rem;
  transition: color .15s, background .15s; white-space: nowrap; }
.dx-tab:hover { color: hsl(var(--foreground)); background: hsl(var(--muted) / .6); }
.dx-tab.is-active { color: hsl(var(--foreground)); font-weight: 600; }
.dx-tab.is-active::after { content: ""; position: absolute; left: .75rem; right: .75rem;
  bottom: -1.05rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, hsl(var(--brand)), hsl(var(--brand-2))); }

.dx-nav-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }

.dx-search {
  display: inline-flex; align-items: center; gap: .55rem; height: 2.5rem;
  width: clamp(2.75rem, 15vw, 15rem); min-width: 2.75rem;
  padding: 0 .6rem 0 .85rem; border-radius: .7rem; border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / .5); color: hsl(var(--muted-foreground)); font-size: .875rem;
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.dx-search:hover { border-color: hsl(var(--brand) / .4); background: hsl(var(--card)); }
.dx-search .dx-search-ico { width: 1.05rem; height: 1.05rem; flex: none; opacity: .8; }
.dx-search-label { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dx-kbd { font-family: var(--font-mono); font-size: .68rem; padding: .12rem .4rem; flex: none;
  border-radius: .4rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  color: hsl(var(--muted-foreground)); line-height: 1; }

@media (max-width: 1199px) { .dx-search { width: 2.75rem; padding: 0; justify-content: center; }
  .dx-search-label, .dx-search .dx-kbd { display: none; } }
@media (max-width: 640px) {
  .dx-nav-inner { gap: .55rem; padding-inline: .85rem; }
  .dx-nav-actions { gap: .35rem; }
  .dx-logo-img { height: 38px; }
  .dx-logo { gap: .4rem; }
}

.dx-side-foot { padding: .85rem .9rem 1rem; border-top: 1px solid hsl(var(--border));
  display: flex; flex-direction: column; gap: .5rem; }
.dx-theme-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .2rem; padding: .2rem;
  border: 1px solid hsl(var(--border)); border-radius: .6rem; background: hsl(var(--muted) / .5);
  margin-bottom: .15rem; }
.dx-seg-btn { display: inline-grid; place-items: center; height: 1.9rem; border: 0; border-radius: .45rem;
  background: transparent; color: hsl(var(--muted-foreground)); cursor: pointer;
  transition: background .15s, color .15s; }
.dx-seg-btn svg { width: 1rem; height: 1rem; }
.dx-seg-btn:hover { color: hsl(var(--foreground)); }
.dx-seg-btn.is-active { background: hsl(var(--card)); color: hsl(var(--brand)); }
.dx-foot-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  height: 2.3rem; border-radius: .6rem; font-size: .85rem; font-weight: 600; text-decoration: none;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card)); color: hsl(var(--foreground));
  transition: border-color .15s, background .15s; }
.dx-foot-btn:hover { border-color: hsl(var(--brand) / .4); background: hsl(var(--muted) / .5); }
.dx-foot-btn svg { width: .95rem; height: .95rem; opacity: .85; }
.dx-foot-cta { color: hsl(var(--brand-foreground)); border-color: transparent;
  background: linear-gradient(135deg, hsl(var(--brand)), hsl(var(--brand-2))); }
.dx-foot-cta:hover { filter: brightness(1.06); border-color: transparent;
  background: linear-gradient(135deg, hsl(var(--brand)), hsl(var(--brand-2))); }
.dx-foot-cta svg { opacity: .95; }

.dx-iconbtn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: .7rem; border: 1px solid transparent; color: hsl(var(--muted-foreground));
  background: transparent; cursor: pointer; flex: none; transition: background .15s, color .15s; }
.dx-iconbtn:hover { background: hsl(var(--muted) / .7); color: hsl(var(--foreground)); }
.dx-iconbtn svg { width: 1.2rem; height: 1.2rem; }

.dx-shell { display: block; }
.dx-sidebar { display: none; }
.dx-main { min-height: calc(100vh - 4.5rem); padding: 2.25rem 1.25rem 4rem; }
.dx-article { max-width: 46rem; margin-inline: auto; }
.dx-toc { display: none; }

@media (min-width: 1024px) {
  .dx-tabs { display: flex; margin-left: 0; }
  
  .dx-logo { width: calc(18rem - 1.25rem); }
  .dx-shell { display: flex; align-items: flex-start; }
  .dx-sidebar {
    display: flex; flex-direction: column; flex: none; width: 18rem; align-self: flex-start;
    position: sticky; top: 4.5rem; height: calc(100vh - 4.5rem); overflow: hidden; padding: 0;
    background: hsl(var(--sidebar-background) / .5);
    border-right: 1px solid hsl(var(--border)); overscroll-behavior: contain;
  }
  .dx-sidebar-nav { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain;
    padding: 1.75rem 1.25rem 1rem; }
  .dx-main { flex: 1 1 0%; min-width: 0; margin-left: 0; padding: 2.5rem 3rem 5rem 3.25rem; }
  .dx-layout { display: grid; grid-template-columns: minmax(0,1fr) 15rem; gap: 3rem;
    max-width: 64rem; margin-inline: auto; }
  .dx-article { max-width: none; margin: 0; }
  .dx-toc { display: block; position: sticky; top: 6rem; align-self: start;
    max-height: calc(100vh - 7.5rem); overflow-y: auto; }
}

.dx-side-group { margin-bottom: 1.5rem; }
.dx-side-title { display: flex; align-items: center; gap: .5rem; font-size: .82rem;
  font-weight: 600; color: hsl(var(--sidebar-foreground)); margin-bottom: .5rem; padding-left: .1rem; }
.dx-side-title svg { width: .95rem; height: .95rem; color: hsl(var(--muted-foreground)); }
.dx-side-item { display: flex; align-items: center; gap: .6rem; padding: .34rem .5rem;
  margin-left: .1rem; border-radius: .45rem; font-size: .85rem; line-height: 1.3;
  color: hsl(var(--sidebar-foreground)); text-decoration: none; transition: color .12s, background .12s; }
.dx-side-item svg { width: 1rem; height: 1rem; color: hsl(var(--muted-foreground)); }
.dx-side-item:hover { color: hsl(var(--foreground)); background: hsl(var(--sidebar-accent) / .6); }
.dx-side-item.is-active { color: hsl(var(--brand)); font-weight: 600;
  background: hsl(var(--brand) / .08); }
.dx-side-item.is-active svg { color: hsl(var(--brand)); }
.dx-side-pill { margin-left: auto; font-size: .6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; padding: .05rem .35rem; border-radius: 9999px;
  color: hsl(var(--docs-warn)); background: hsl(var(--docs-warn) / .12); }

.dx-toc-title { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: hsl(var(--muted-foreground)); margin-bottom: .75rem; }
.dx-toc a { display: block; padding: .28rem 0 .28rem .8rem; margin-left: -1px; font-size: .82rem;
  border-left: 2px solid hsl(var(--border)); color: hsl(var(--muted-foreground));
  text-decoration: none; transition: color .12s, border-color .12s; }
.dx-toc a:hover { color: hsl(var(--foreground)); }
.dx-toc a.lvl-3 { padding-left: 1.6rem; }
.dx-toc a.is-active { color: hsl(var(--brand)); border-color: hsl(var(--brand)); font-weight: 500; }

.dx-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .8rem;
  color: hsl(var(--muted-foreground)); margin-bottom: .9rem; }
.dx-crumb a { text-decoration: none; } .dx-crumb a:hover { color: hsl(var(--foreground)); }
.dx-h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.1;
  color: hsl(var(--foreground)); }
.dx-lede { margin-top: .7rem; font-size: 1.075rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.dx-updated { margin-top: .6rem; font-size: .78rem; color: hsl(var(--muted-foreground)); }
.dx-pager { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid hsl(var(--border)); }
.dx-pager-card { display: block; padding: .9rem 1.1rem; border: 1px solid hsl(var(--border));
  border-radius: .75rem; background: hsl(var(--card)); text-decoration: none; transition: border-color .15s; }
.dx-pager-card:hover { border-color: hsl(var(--brand) / .4); }
.dx-pager-card .k { font-size: .72rem; color: hsl(var(--muted-foreground)); }
.dx-pager-card .t { margin-top: .15rem; font-weight: 600; color: hsl(var(--foreground)); }
.dx-pager-card.next { text-align: right; }
.dx-feedback { display: flex; align-items: center; gap: .75rem; margin-top: 2.25rem;
  font-size: .85rem; color: hsl(var(--muted-foreground)); }
.dx-feedback button { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem;
  border-radius: .5rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card));
  color: hsl(var(--muted-foreground)); cursor: pointer; transition: border-color .15s, color .15s; }
.dx-feedback button:hover { border-color: hsl(var(--brand) / .4); color: hsl(var(--foreground)); }
.dx-feedback button svg, .dx-fb-ico { width: .95rem; height: .95rem; }

.dx-footer { border-top: 1px solid hsl(var(--border)); background: hsl(var(--sidebar-background) / .4); }
.dx-footer-inner { max-width: 100rem; margin-inline: auto; padding: 1.1rem 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
  font-size: .8rem; color: hsl(var(--muted-foreground)); }
.dx-foot-links { display: flex; gap: 1.1rem; }
.dx-footer a { text-decoration: none; color: hsl(var(--muted-foreground)); transition: color .12s; }
.dx-footer a:hover { color: hsl(var(--foreground)); }

.dx-hamburger { display: inline-grid; }
@media (min-width: 1024px) { .dx-hamburger { display: none; } }
.dx-scrim { position: fixed; inset: 0; z-index: 45; background: hsl(240 10% 4% / .5);
  backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .2s; }
.dx-scrim.open { opacity: 1; visibility: visible; }
.dx-drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 46; width: 20rem; max-width: 86vw;
  background: hsl(var(--sidebar-background)); border-right: 1px solid hsl(var(--border));
  overflow-y: auto; padding: 1.1rem 1.25rem 2rem; transform: translateX(-100%); transition: transform .22s ease; }
.dx-drawer.open { transform: translateX(0); }
.dx-drawer .dx-logo-img { height: 34px; }
.dx-drawer-head { display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid hsl(var(--border)); }
.dx-drawer-tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.dx-drawer-tabs .dx-tab { padding: .4rem .7rem; border: 1px solid hsl(var(--border)); border-radius: .5rem; }
.dx-drawer-tabs .dx-tab.is-active { color: hsl(var(--brand)); border-color: hsl(var(--brand) / .4);
  background: hsl(var(--brand) / .08); }
.dx-drawer-tabs .dx-tab.is-active::after { display: none; }
.dx-drawer .dx-side-foot { margin-top: .75rem; padding-left: 0; padding-right: 0; }

.opt-prose { font-size: 1rem; line-height: 1.75; color: hsl(var(--foreground)); }
.opt-prose > * + * { margin-top: 1.15rem; }
.opt-prose h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3;
  margin-top: 2.4rem; margin-bottom: .2rem; scroll-margin-top: 6.5rem; }

.opt-prose h2#next-steps { margin-top: 3.25rem; padding-top: 1.75rem;
  border-top: 1px solid hsl(var(--border)); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.opt-prose h3 { font-size: 1.1rem; font-weight: 650; margin-top: 1.9rem; scroll-margin-top: 6.5rem;
  display: flex; align-items: center; gap: .5rem; }
.opt-prose h3::before { content: ""; width: .3rem; height: 1.05rem; border-radius: 2px;
  background: linear-gradient(180deg, hsl(var(--brand)), hsl(var(--brand-2))); }
.opt-prose h4 { font-size: 1rem; font-weight: 650; margin-top: 1.5rem; }
.opt-prose p { color: hsl(var(--foreground) / .9); }
.opt-prose a:not([class]) { color: hsl(var(--brand)); text-decoration: none;
  border-bottom: 1px solid hsl(var(--brand) / .3); transition: border-color .15s; }
.opt-prose a:not([class]):hover { border-color: hsl(var(--brand)); }
.opt-prose strong { color: hsl(var(--foreground)); font-weight: 650; }
.opt-prose ul, .opt-prose ol { padding-left: 1.3rem; }
.opt-prose ul > li { list-style: disc; } .opt-prose ol > li { list-style: decimal; }
.opt-prose li { margin-top: .4rem; padding-left: .2rem; }
.opt-prose li::marker { color: hsl(var(--brand)); }
.opt-prose blockquote { border-left: 3px solid hsl(var(--brand) / .5); padding-left: 1rem;
  color: hsl(var(--muted-foreground)); font-style: italic; }
.opt-prose :not(pre) > code { font-family: var(--font-mono); font-size: .84em;
  background: hsl(var(--muted)); padding: .12em .4em; border-radius: .35rem;
  border: 1px solid hsl(var(--border)); }
.opt-prose img { border-radius: .6rem; max-width: 100%; height: auto; }
.opt-prose hr { border: 0; height: 1px; margin: 2.25rem 0;
  background: linear-gradient(90deg, transparent, hsl(var(--border)), transparent); }
.opt-prose table { width: 100%; font-size: .9rem; border-collapse: collapse; }
.opt-prose thead th { text-align: left; font-weight: 650; padding: .55rem .75rem;
  border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--muted) / .5); }
.opt-prose tbody td { padding: .55rem .75rem; border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground)); vertical-align: top; }

.docs-callout { display: flex; gap: .75rem; margin: 1.4rem 0; padding: 1rem 1.15rem;
  border: 1px solid hsl(var(--docs-info) / .25); background: hsl(var(--docs-info) / .07);
  border-radius: .8rem; font-size: .95rem; line-height: 1.6; }
.docs-callout > svg { width: 1.05rem; height: 1.05rem; margin-top: .18rem; flex: none;
  color: hsl(var(--docs-info)); }
.docs-callout > div > :first-child { margin-top: 0; } .docs-callout > div > :last-child { margin-bottom: 0; }
.docs-callout--tip, .docs-callout--check { border-color: hsl(var(--docs-tip) / .28);
  background: hsl(var(--docs-tip) / .09); } .docs-callout--tip > svg, .docs-callout--check > svg { color: hsl(var(--docs-tip)); }
.docs-callout--warning { border-color: hsl(var(--docs-warn) / .3);
  background: hsl(var(--docs-warn) / .1); } .docs-callout--warning > svg { color: hsl(var(--docs-warn)); }
.docs-callout--danger { border-color: hsl(var(--docs-danger) / .3);
  background: hsl(var(--docs-danger) / .08); } .docs-callout--danger > svg { color: hsl(var(--docs-danger)); }
.docs-callout--note { border-color: hsl(var(--border)); background: hsl(var(--muted) / .6); }
.docs-callout--note > svg { color: hsl(var(--muted-foreground)); }

.docs-cardgrid { display: grid; gap: 1rem; margin: 1.5rem 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .docs-cardgrid.cols-2, .docs-cardgrid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .docs-cardgrid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.docs-cardgrid > :only-child { grid-column: 1 / -1; }
.docs-card { display: block; padding: 1.25rem; border: 1px solid hsl(var(--border));
  border-radius: .8rem; background: hsl(var(--card)); text-decoration: none;
  box-shadow: 0 2px 12px hsl(240 30% 12% / .04); transition: transform .15s, border-color .15s, box-shadow .15s; }
.docs-card:hover { transform: translateY(-2px); border-color: hsl(var(--brand) / .4);
  box-shadow: 0 10px 28px hsl(var(--brand) / .12); }
.docs-card-icon { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem;
  margin-bottom: .8rem; border-radius: .6rem; color: hsl(var(--brand)); background: hsl(var(--brand) / .1); }
.docs-card-icon svg { width: 1.1rem; height: 1.1rem; }
.docs-card-title { font-weight: 650; color: hsl(var(--foreground)); }
.docs-card-desc { margin-top: .3rem; font-size: .875rem; color: hsl(var(--muted-foreground)); line-height: 1.5; }

.docs-steps { margin: 1.5rem 0 1.5rem .9rem; }
.docs-step { position: relative; padding-left: 2rem; padding-bottom: 1.6rem; }
.docs-step::before { content: ""; position: absolute; left: .87rem; top: 2rem; bottom: -.2rem;
  width: 1px; background: hsl(var(--border)); }
.docs-step:last-child { padding-bottom: 0; } .docs-step:last-child::before { display: none; }
.docs-step::after { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 9999px;
  font-size: .78rem; font-weight: 700; color: hsl(var(--brand)); background: hsl(var(--brand) / .12); }
.docs-steps { counter-reset: step; }
.docs-step-title { font-weight: 650; color: hsl(var(--foreground)); }
.docs-step > :first-child { margin-top: .1rem; }

.docs-tabs { margin: 1.4rem 0; }
.docs-tablist { display: flex; gap: 1.5rem; border-bottom: 1px solid hsl(var(--border)); }
.docs-tab-btn { position: relative; padding: .55rem 0; margin-bottom: -1px; font-size: .875rem;
  font-weight: 500; color: hsl(var(--muted-foreground)); background: none; border: 0;
  border-bottom: 2px solid transparent; cursor: pointer; }
.docs-tab-btn:hover { color: hsl(var(--foreground)); }
.docs-tab-btn.is-active { color: hsl(var(--foreground)); border-bottom-color: hsl(var(--brand)); }
.docs-tabpanel { padding-top: 1rem; } .docs-tabpanel[hidden] { display: none; }

.docs-accordion { margin: .6rem 0; border: 1px solid hsl(var(--border)); border-radius: .8rem;
  background: hsl(var(--card)); overflow: hidden; }
.docs-accordion > summary { display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .9rem 1.15rem; font-size: .92rem; font-weight: 600; cursor: pointer;
  list-style: none; color: hsl(var(--foreground)); }
.docs-accordion > summary::-webkit-details-marker { display: none; }
.docs-accordion > summary::after { content: ""; width: .7rem; height: .7rem; flex: none;
  border-right: 2px solid hsl(var(--muted-foreground)); border-bottom: 2px solid hsl(var(--muted-foreground));
  transform: rotate(45deg); transition: transform .18s; margin-right: .2rem; }
.docs-accordion[open] > summary::after { transform: rotate(-135deg); }
.docs-accordion > summary:hover { background: hsl(var(--muted) / .5); }
.docs-accordion > div { padding: 0 1.15rem 1rem; font-size: .92rem; color: hsl(var(--muted-foreground));
  border-top: 1px solid hsl(var(--border)); padding-top: .9rem; }

.docs-code { position: relative; margin: 1.4rem 0; border: 1px solid hsl(var(--border));
  border-radius: .8rem; overflow: hidden; background: hsl(240 10% 4%); }
.docs-code-head { display: flex; align-items: center; justify-content: space-between;
  padding: .5rem .9rem; border-bottom: 1px solid hsl(0 0% 100% / .08);
  font-size: .72rem; color: hsl(0 0% 100% / .5); }
.docs-code-copy { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem;
  color: hsl(0 0% 100% / .55); background: none; border: 0; cursor: pointer; }
.docs-code-copy:hover { color: hsl(0 0% 100% / .9); }
.docs-code pre { margin: 0; padding: 1rem 1.1rem; overflow-x: auto; }
.docs-code code { font-family: var(--font-mono); font-size: .82rem; line-height: 1.6;
  color: hsl(0 0% 92%); }

.docs-frame { margin: 1.6rem 0; }
.docs-frame > div { padding: .5rem; border: 1px solid hsl(var(--border)); border-radius: .85rem;
  background: hsl(var(--card)); box-shadow: 0 2px 12px hsl(240 30% 12% / .04); }
.docs-frame img, .docs-frame video { display: block; width: 100%; border-radius: .55rem; }
.docs-frame figcaption { margin-top: .55rem; text-align: center; font-size: .82rem;
  color: hsl(var(--muted-foreground)); }

.docs-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .5rem;
  border-radius: 9999px; font-size: .72rem; font-weight: 600; border: 1px solid hsl(var(--brand) / .25);
  background: hsl(var(--brand) / .1); color: hsl(var(--brand)); }
.docs-badge--beta { border-color: hsl(var(--docs-warn) / .3); background: hsl(var(--docs-warn) / .12);
  color: hsl(var(--docs-warn)); }
.docs-badge--soon { border-color: hsl(var(--border)); background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); }

.docs-param { padding: .75rem 0; border-bottom: 1px solid hsl(var(--border)); }
.docs-param-head { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.docs-param code { font-family: var(--font-mono); font-size: .82rem; background: hsl(var(--muted));
  border: 1px solid hsl(var(--border)); padding: .1rem .4rem; border-radius: .35rem; }
.docs-param .type { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.docs-param .req { font-size: .72rem; font-weight: 600; color: hsl(var(--docs-danger)); }
.docs-param-desc { margin-top: .35rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }

.docs-hero { position: relative; overflow: hidden; border: 1px solid hsl(var(--border));
  border-radius: 1.25rem; background: hsl(var(--card)); padding: 3rem 2rem; text-align: center; }
.docs-hero > * { position: relative; z-index: 1; }
.docs-hero h1 { margin-top: 1rem; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.08; }
.docs-hero p { margin: .85rem auto 0; max-width: 34rem; color: hsl(var(--muted-foreground)); font-size: 1.05rem; }
.docs-hero .actions { margin-top: 1.5rem; display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
