:root {
  --app-bg: #ffffff;
  --app-panel: #ffffff;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --app-ink: #101828;
  --app-ink-soft: #344054;
  --app-muted: #475467;
  --app-soft: #98a2b3;
  --app-line: #e8ecf2;
  --app-strong-line: #d3dbe6;
  --app-accent: #2e5bff;
  --app-accent-strong: #1e43d9;
  --app-accent-soft: #eef3ff;
  /* Lightest cobalt step: the lowest-return line in simulation charts. */
  --app-accent-light: #8da2f7;
  --chip: #f7f9fc;
  --chip-strong: #eef1f6;
  --app-wash-read: #f4f5f7;
  --match-ink: #0e8a5f;
  --match-soft: #e9f7f0;
  --card-lift: 0 1px 2px rgba(16, 24, 40, 0.05);
  --scrim: rgba(16, 24, 40, 0.18);
  --scrim-strong: rgba(16, 24, 40, 0.45);
  --focus-ring: 0 0 0 3px rgba(46, 91, 255, 0.18);
  --drawer-shadow: 0 16px 48px rgba(16, 24, 40, 0.18);
  --drawer-shadow-mobile: 0 -8px 32px rgba(16, 24, 40, 0.16);
  --modal-shadow: 0 24px 64px rgba(16, 24, 40, 0.28);
  --success-soft: #e9f7f0;
  --success-ink: #0e8a5f;
  --warning-soft: #fff4dc;
  --warning-ink: #9a6700;
  --danger-soft: #fcebeb;
  --danger-ink: #c8333b;

  --background: #ffffff;
  --foreground: var(--app-ink);
  --card: #ffffff;
  --card-foreground: var(--app-ink);
  --popover: #ffffff;
  --popover-foreground: var(--app-ink);
  --primary: var(--app-accent);
  --primary-foreground: #ffffff;
  --secondary: var(--chip);
  --secondary-foreground: var(--app-ink);
  --muted: var(--chip);
  --muted-foreground: var(--app-muted);
  --accent: var(--chip);
  --accent-foreground: var(--app-ink);
  --destructive: var(--danger-ink);
  --destructive-foreground: #ffffff;
  --border: var(--app-line);
  --input: var(--app-line);
  --ring: rgba(46, 91, 255, 0.25);
  --radius: 0.5rem;
}
@font-face {
  font-family: 'Sora Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/docs-assets/c163c536f68befd99a83.woff2')
    format('woff2-variations');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/docs-assets/fa26406eeda9a3c6ec3d.woff2')
    format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/*
 * Sitewide footer (add-public-site-footer). Imported by app/styles.css and
 * appended to the static content site's CSS by content-build, so both
 * pipelines render the same rules. Ink surface, app tokens only.
 */
.site-footer {
  margin-top: auto;
  background: var(--app-ink);
  border-top: 1px solid var(--app-ink-soft);
  color: var(--app-soft);
}

.site-footer__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    'brand'
    'nav'
    'base';
  row-gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px 0;
}

.site-footer__brand {
  grid-area: brand;
}

.site-footer__logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--app-bg);
  text-decoration: none;
}

.site-footer__tagline {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--app-soft);
}

.site-footer__nav {
  grid-area: nav;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
  align-content: start;
}

.site-footer__title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-soft);
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--app-strong-line);
  text-decoration: none;
}

.site-footer__list a:hover,
.site-footer__legal:hover,
.site-footer__logo:hover {
  color: var(--app-bg);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--app-accent-light);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-footer__base {
  grid-area: base;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  padding: 8px 0 24px;
  border-top: 1px solid var(--app-ink-soft);
}

.site-footer__copy {
  margin: 0;
  font-size: 12px;
  color: var(--app-soft);
}

.site-footer__legal {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: var(--app-strong-line);
  text-decoration: none;
}

@media (max-width: 359px) {
  .site-footer__nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Tablet: brand block (with the copyright) above a two-column grid. */
@media (min-width: 640px) {
  .site-footer__in {
    grid-template-areas:
      'brand'
      'base'
      'nav';
    row-gap: 12px;
    padding: 48px 32px 40px;
  }

  .site-footer__nav {
    margin-top: 20px;
  }

  .site-footer__base {
    justify-content: flex-start;
    padding: 0;
    border-top: 0;
  }
}

/* Desktop: brand block and all columns in one row. */
@media (min-width: 1024px) {
  .site-footer__in {
    grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      'brand nav'
      'base nav';
    column-gap: 48px;
    padding: 56px 48px 48px;
  }

  .site-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  .site-footer__base {
    align-self: end;
  }

  .site-footer__list a,
  .site-footer__legal {
    min-height: 0;
    padding: 4px 0;
  }
}

/*
 * Static content site styles (docs, blog, use cases). Visual spec: design
 * decision 16 and the PageContent design-system page. The build prepends the
 * `:root` tokens from app/styles.css and the Sora @font-face rules, so only
 * app tokens and the fixed 6/8/10/12px radius scale are used here.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--app-bg);
  color: var(--app-ink);
  font-family: 'Sora Variable', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

.dc-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-soft);
}

/* ── Header and footer ── */
.dc-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid var(--app-line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
}

.dc-nav__left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.dc-wordmark {
  font-size: 26.4px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--app-ink);
}

.dc-nav__links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--app-muted);
}

.dc-nav__links a:hover {
  color: var(--app-ink);
}

.dc-nav__links a.is-active {
  color: var(--app-accent-strong);
  font-weight: 600;
}

.dc-nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font:
    500 14px/1 'Sora Variable',
    ui-sans-serif,
    system-ui,
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.dc-btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.dc-btn--primary {
  background: var(--app-accent);
  color: #fff;
}

.dc-btn--primary:hover {
  background: var(--app-accent-strong);
}

.dc-btn--outline {
  background: var(--app-bg);
  border-color: var(--app-line);
  color: var(--app-ink);
}

.dc-btn--outline:hover {
  border-color: var(--app-strong-line);
}

/* ── Preview bar ── */
.dc-preview-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px 32px;
  background: var(--warning-soft);
  border-bottom: 1px solid var(--app-line);
  font-size: 12px;
  color: var(--warning-ink);
}

.dc-preview-bar b {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dc-preview-bar i {
  font-style: normal;
  opacity: 0.5;
}

/* ── Docs shell ── */
.dc-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 208px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.dc-shell--hub {
  grid-template-columns: 240px minmax(0, 1fr);
}

.dc-side {
  position: sticky;
  top: 64px;
  align-self: start;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 16px 40px 24px;
  border-right: 1px solid var(--app-line);
}

.dc-side__group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dc-side a,
.dc-side__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--app-muted);
}

.dc-side a:hover {
  color: var(--app-ink);
}

.dc-side .dc-side__label {
  padding-bottom: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-soft);
}

.dc-side a.is-active {
  background: var(--app-accent-soft);
  color: var(--app-accent-strong);
  font-weight: 600;
}

.dc-side__foot {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--app-line);
}

.dc-side__foot a {
  justify-content: flex-start;
  color: var(--app-soft);
}

.dc-main {
  min-width: 0;
  padding: 32px 56px 72px;
}

.dc-col {
  max-width: 680px;
}

.dc-menubar {
  display: none;
}

.dc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--app-soft);
}

.dc-crumbs a:hover {
  color: var(--app-ink);
}

.dc-crumbs__sep {
  color: var(--app-strong-line);
}

.dc-crumbs__here {
  color: var(--app-muted);
}

.dc-eyebrow {
  display: block;
  margin-top: 28px;
  font-size: 10.9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-accent);
}

.dc-eyebrow + .dc-h1 {
  margin-top: 14px;
}

.dc-h1 {
  margin-top: 28px;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--app-ink);
}

.dc-h1 .dc-pill {
  vertical-align: middle;
}

.dc-lede {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--app-muted);
}

.dc-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--app-line);
  border-bottom: 1px solid var(--app-line);
  font-size: 12.5px;
  color: var(--app-soft);
}

.dc-byline i,
.dc-meta i {
  font-style: normal;
  color: var(--app-strong-line);
}

.dc-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--chip-strong);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--app-muted);
}

.dc-byline__who {
  font-size: 13px;
  font-weight: 500;
  color: var(--app-ink);
}

.dc-byline__val {
  color: var(--app-muted);
}

/* ── Prose ── */
.dc-prose {
  margin-top: 28px;
}

.dc-prose > :first-child {
  margin-top: 0;
}

.dc-prose p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--app-ink-soft);
}

.dc-prose h2 {
  position: relative;
  margin: 44px 0 14px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--app-ink);
  scroll-margin-top: 88px;
}

.dc-prose h3 {
  margin: 28px 0 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--app-ink);
  scroll-margin-top: 88px;
}

.dc-prose h4 {
  margin: 20px 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--app-ink);
}

.dc-anchor {
  position: absolute;
  left: -22px;
  font-weight: 400;
  color: var(--app-strong-line);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.dc-prose h2:hover .dc-anchor {
  opacity: 1;
}

.dc-prose a:not([class]) {
  color: var(--app-accent);
  border-bottom: 1px solid rgba(46, 91, 255, 0.25);
  transition: border-color 0.15s ease;
}

.dc-prose a:not([class]):hover {
  border-color: var(--app-accent);
}

.dc-prose :not(pre) > code {
  padding: 1px 6px;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  background: var(--chip);
  font:
    400 13px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: var(--app-ink);
}

.dc-prose ul,
.dc-prose ol:not([class]) {
  margin: 0 0 16px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--app-ink-soft);
}

.dc-prose li {
  margin: 2px 0;
}

.dc-prose li > p {
  margin: 0;
}

.dc-prose strong {
  font-weight: 600;
  color: var(--app-ink);
}

.dc-prose hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--app-line);
}

.dc-prose blockquote {
  margin: 0 0 16px;
  padding-left: 16px;
  border-left: 2px solid var(--app-line);
}

.dc-prose .contains-task-list {
  list-style: none;
  padding-left: 0;
}

.dc-prose .task-list-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.dc-prose .task-list-item input {
  margin-top: 7px;
  accent-color: var(--app-accent);
}

/* ── Blocks ── */
.dc-cmd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 4px 0 18px;
  padding: 14px 14px 14px 18px;
  border-radius: 12px;
  background: var(--app-ink);
}

.dc-prose .dc-cmd code,
.dc-cmd code {
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  font:
    400 13px/1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: var(--app-line);
  user-select: all;
  overflow-wrap: anywhere;
}

.dc-copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font:
    600 11.5px/1 'Sora Variable',
    ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--app-line);
  cursor: pointer;
  transition: background 0.15s ease;
}

.dc-copy:hover {
  background: rgba(255, 255, 255, 0.18);
}

.dc-copy.is-done {
  color: var(--match-soft);
}

.dc-codeblock {
  margin: 4px 0 18px;
  border-radius: 12px;
  background: var(--app-ink);
  overflow: hidden;
}

.dc-codeblock__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px 6px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-soft);
}

.dc-codeblock pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  font:
    400 13px/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: var(--app-line);
}

.dc-codeblock pre code {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
}

.dc-callout {
  margin: 4px 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--chip);
}

.dc-callout__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-muted);
}

.dc-prose .dc-callout p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--app-ink-soft);
}

.dc-callout--caution {
  background: var(--app-bg);
  border-color: var(--app-strong-line);
}

.dc-callout--caution .dc-callout__label {
  color: var(--danger-ink);
}

.dc-steps {
  list-style: none;
  margin: 4px 0 20px;
  padding: 0;
  counter-reset: dc-step;
}

.dc-step {
  position: relative;
  padding: 0 0 18px 40px;
}

.dc-step::before {
  counter-increment: dc-step;
  content: counter(dc-step);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--app-strong-line);
  border-radius: 6px;
  background: var(--app-bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--app-ink);
}

.dc-step::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 30px;
  bottom: 4px;
  width: 1px;
  background: var(--app-line);
}

.dc-step:last-child {
  padding-bottom: 0;
}

.dc-step:last-child::after {
  display: none;
}

.dc-prose .dc-step__title {
  margin: 0;
  font-size: 14.5px;
  line-height: 24px;
  font-weight: 600;
  color: var(--app-ink);
}

.dc-step__body {
  margin-top: 3px;
}

.dc-prose .dc-step__body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--app-muted);
}

.dc-step__body .dc-cmd {
  margin: 8px 0 0;
}

.dc-tabs {
  margin: 4px 0 18px;
}

.dc-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--app-bg);
}

.dc-seg__item {
  padding: 5px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  font:
    400 12.5px/1.4 'Sora Variable',
    ui-sans-serif,
    system-ui,
    sans-serif;
  color: var(--app-muted);
  cursor: pointer;
}

.dc-seg__item[aria-selected='true'] {
  background: var(--app-ink);
  color: #fff;
  font-weight: 500;
}

.dc-tab {
  margin-top: 12px;
}

.dc-prose .dc-tab__label {
  margin: 0 0 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-soft);
}

.dc-tabs.is-enhanced .dc-tab__label {
  display: none;
}

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

.dc-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: var(--app-bg);
  box-shadow: var(--card-lift);
  transition: border-color 0.15s ease;
}

.dc-card:hover {
  border-color: var(--app-strong-line);
}

.dc-card__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--app-ink);
}

.dc-card__desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--app-muted);
}

.dc-card__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--app-line);
  font-size: 12px;
  font-weight: 500;
  color: var(--app-muted);
}

.dc-card__foot span:last-child {
  color: var(--app-soft);
}

.dc-figure {
  margin: 4px 0 18px;
}

.dc-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  background: var(--chip);
}

.dc-figure figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--app-soft);
}

.dc-badge,
.dc-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border-radius: 6px;
  background: var(--chip-strong);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--app-soft);
}

.dc-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.dc-pill--archived {
  border-color: var(--app-line);
  background: var(--chip);
  color: var(--app-muted);
}

.dc-pill--draft {
  border-color: var(--warning-soft);
  background: var(--warning-soft);
  color: var(--warning-ink);
}

.dc-table-wrap {
  margin: 4px 0 18px;
  overflow-x: auto;
}

.dc-table {
  width: 100%;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 13.5px;
}

.dc-table th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--app-line);
  background: var(--chip);
  text-align: left;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-soft);
}

.dc-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--app-line);
  color: var(--app-ink-soft);
  vertical-align: top;
}

.dc-table tr:last-child td {
  border-bottom: 0;
}

.dc-table td code {
  white-space: nowrap;
}

/* ── Article end ── */
.dc-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  box-shadow: var(--card-lift);
}

.dc-cta__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--app-ink);
}

.dc-cta__desc {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--app-muted);
}

.dc-pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.dc-pn a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  transition: border-color 0.15s ease;
}

.dc-pn a:hover {
  border-color: var(--app-strong-line);
}

.dc-pn__next {
  text-align: right;
  grid-column: 2;
}

.dc-pn small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-soft);
}

.dc-pn span {
  font-size: 14px;
  font-weight: 500;
  color: var(--app-ink);
}

.dc-back {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--app-muted);
}

.dc-back:hover {
  color: var(--app-ink);
}

/* ── States ── */
.dc-archived {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--chip);
}

.dc-archived p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--app-ink-soft);
}

.dc-archived a {
  color: var(--app-accent);
  border-bottom: 1px solid rgba(46, 91, 255, 0.25);
}

.dc-empty {
  padding: 24px 56px;
  font-size: 14px;
  color: var(--app-muted);
}

/* ── TOC ── */
.dc-toc {
  position: sticky;
  top: 64px;
  align-self: start;
  padding: 36px 24px 40px 8px;
}

.dc-toc .dc-label {
  margin-bottom: 12px;
}

.dc-toc ul,
.dc-toc-inline ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--app-line);
}

.dc-toc li a,
.dc-toc-inline li a {
  position: relative;
  display: block;
  padding: 5px 0 5px 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--app-muted);
}

.dc-toc li.is-sub a,
.dc-toc-inline li.is-sub a {
  padding-left: 26px;
  font-size: 12px;
  color: var(--app-soft);
}

.dc-toc li a:hover {
  color: var(--app-ink);
}

.dc-toc li.is-active a {
  color: var(--app-accent-strong);
  font-weight: 500;
}

.dc-toc li.is-active a::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  border-radius: 2px;
  background: var(--app-accent);
}

.dc-toc-inline {
  display: none;
  margin-top: 20px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: var(--chip);
}

.dc-toc-inline summary {
  padding: 10px 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-soft);
  cursor: pointer;
}

.dc-toc-inline ul {
  margin: 0 14px 12px;
}

/* ── Lists and hubs ── */
.dc-rows {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--app-line);
}

.dc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--app-line);
}

.dc-row > span:first-child {
  display: flex;
  flex-direction: column;
}

.dc-row__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--app-ink);
}

.dc-row:hover .dc-row__title {
  color: var(--app-accent-strong);
}

.dc-row__desc {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--app-muted);
}

.dc-row__meta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--app-soft);
}

.dc-row__meta:empty {
  display: none;
}

.dc-chev {
  color: var(--app-soft);
}

.dc-archive-group {
  margin-top: 36px;
}

.dc-archive-group .dc-rows {
  margin-top: 10px;
}

/* ── Landing ── */
.dc-landing,
.dc-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.dc-hero {
  padding: 56px 56px 40px;
  border-bottom: 1px solid var(--app-line);
}

.dc-hero .dc-eyebrow {
  margin-top: 0;
}

.dc-hero .dc-h1 {
  max-width: 760px;
  font-size: 52px;
}

.dc-hero .dc-lede,
.dc-hero .dc-prose {
  max-width: 620px;
}

.dc-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 40px 56px 0;
}

.dc-sec-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  box-shadow: var(--card-lift);
  transition: border-color 0.15s ease;
}

a.dc-sec-card:hover {
  border-color: var(--app-strong-line);
}

.dc-sec-card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.dc-sec-card__desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--app-muted);
}

.dc-sec-card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--app-line);
}

.dc-sec-card li {
  padding: 9px 0;
  border-bottom: 1px solid var(--app-line);
  font-size: 13px;
  color: var(--app-ink);
}

.dc-sec-card__foot {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--app-muted);
}

.dc-landing__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 8px 56px 56px;
}

.dc-landing__cta .dc-cta {
  align-self: stretch;
}

.dc-quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--app-muted);
}

.dc-quiet-link:hover {
  color: var(--app-ink);
}

/* ── Blog ── */
.dc-index-head {
  padding: 56px 56px 32px;
}

.dc-index-head .dc-eyebrow {
  margin-top: 0;
}

.dc-index-head .dc-h1 {
  font-size: 48px;
}

.dc-index-head .dc-lede {
  max-width: 620px;
}

.dc-feature {
  display: flex;
  flex-direction: column;
  margin: 0 56px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--app-line);
  border-bottom: 1px solid var(--app-line);
}

.dc-feature__title {
  max-width: 760px;
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.dc-feature:hover .dc-feature__title {
  color: var(--app-accent-strong);
}

.dc-feature__desc {
  max-width: 620px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--app-muted);
}

.dc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--app-soft);
}

.dc-meta__who {
  font-weight: 500;
  color: var(--app-muted);
}

.dc-posts {
  list-style: none;
  margin: 0 56px 48px;
  padding: 0;
}

.dc-post {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--app-line);
}

.dc-post > span:last-child {
  display: flex;
  flex-direction: column;
}

.dc-post__date {
  padding-top: 4px;
  font-size: 12px;
  color: var(--app-soft);
}

.dc-post__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.dc-post:hover .dc-post__title {
  color: var(--app-accent-strong);
}

.dc-post__desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--app-muted);
}

.dc-article-col {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 0 72px;
}

.dc-article-col .dc-h1 {
  font-size: 46px;
  line-height: 1.06;
}

/* ── Use cases ── */
.dc-uc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 8px 56px 56px;
}

.dc-uc-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  box-shadow: var(--card-lift);
  transition: border-color 0.15s ease;
}

.dc-uc-card:hover {
  border-color: var(--app-strong-line);
}

.dc-uc-card__title {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.dc-uc-card__desc {
  flex: 1;
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--app-muted);
}

.dc-uc-card__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--app-line);
  font-size: 12px;
  font-weight: 500;
  color: var(--app-muted);
}

.dc-glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--app-line);
  border-bottom: 1px solid var(--app-line);
}

.dc-glance div {
  padding: 16px 20px 16px 0;
}

.dc-glance div + div {
  padding-left: 20px;
  border-left: 1px solid var(--app-line);
}

.dc-glance dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-soft);
}

.dc-glance dd {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--app-ink);
}

/* ── 404 ── */
.dc-nf {
  width: 100%;
  max-width: 656px;
  margin: 0 auto;
  padding: 72px 48px 64px;
}

.dc-nf__title {
  margin-top: 12px;
  font-size: 37.6px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.dc-nf > p:not(.dc-label) {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--app-muted);
}

/* ── Breakpoints: TOC rail drops below 1280px, sidebar below 1024px ── */
@media (max-width: 1279px) {
  .dc-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .dc-toc {
    display: none;
  }
}

@media (max-width: 1023px) {
  .dc-shell,
  .dc-shell--hub {
    display: block;
  }

  .dc-side {
    display: none;
    position: static;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--app-line);
    padding: 16px;
  }

  .dc-side.is-open {
    display: flex;
  }

  .dc-menubar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: -32px -56px 24px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--app-line);
    font-size: 12px;
    color: var(--app-muted);
  }

  .dc-menubar__toggle {
    padding: 4px 10px;
    border: 1px solid var(--app-line);
    border-radius: 8px;
    background: var(--app-bg);
    font:
      500 12px/1.4 'Sora Variable',
      ui-sans-serif,
      system-ui,
      sans-serif;
    color: var(--app-ink);
    cursor: pointer;
  }

  .dc-menubar__here {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dc-main {
    padding: 32px 56px 56px;
  }

  .dc-toc-inline {
    display: block;
  }

  .dc-sections,
  .dc-uc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dc-nav__links a:first-child {
    display: none;
  }
}

@media (max-width: 720px) {
  .dc-nav {
    height: 56px;
    padding: 0 16px;
  }

  .dc-nav__left {
    gap: 16px;
  }

  .dc-wordmark {
    font-size: 22px;
  }

  .dc-nav__links {
    gap: 14px;
    font-size: 12.5px;
  }

  .dc-nav__right .dc-btn--outline {
    display: none;
  }

  .dc-preview-bar {
    padding: 8px 16px;
  }

  .dc-main {
    padding: 20px 16px 40px;
  }

  .dc-menubar {
    margin: -20px -16px 20px;
  }

  .dc-h1,
  .dc-article-col .dc-h1,
  .dc-hero .dc-h1,
  .dc-index-head .dc-h1 {
    font-size: 30px;
  }

  .dc-lede {
    font-size: 15.5px;
  }

  .dc-anchor {
    display: none;
  }

  .dc-hero,
  .dc-index-head {
    padding: 32px 16px 24px;
  }

  .dc-sections,
  .dc-uc-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 16px;
    padding-right: 16px;
  }

  .dc-landing__cta {
    padding: 8px 16px 40px;
  }

  .dc-feature,
  .dc-posts {
    margin-left: 16px;
    margin-right: 16px;
  }

  .dc-post {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .dc-article-col {
    padding: 24px 16px 48px;
  }

  .dc-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .dc-cardgrid,
  .dc-pn,
  .dc-glance {
    grid-template-columns: minmax(0, 1fr);
  }

  .dc-pn__next {
    grid-column: auto;
  }

  .dc-glance div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--app-line);
  }

  .dc-cmd {
    flex-direction: column;
    align-items: stretch;
  }

  .dc-nf {
    padding: 48px 16px;
  }

  .dc-empty {
    padding: 24px 16px;
  }
}
