/* Jsonify design system (see ../design/jsonify.design.md). Scoped to body.ds pages. */

.ds {
  --ds-primary: #653DE9;
  --ds-accent: #7553FF;
  --ds-pressed: #4E2FBE;
  --ds-primary-soft: #F1ECFD;
  --ds-primary-tint: #F7F4FE;
  --ds-ink: #17151F;
  --ds-body: #4D4959;
  --ds-muted: #6E6A7B;
  --ds-canvas: #FFFFFF;
  --ds-surface: #FCFBFE;
  --ds-surface-alt: #F7F7F9;
  --ds-border: #E8E7EE;
  --ds-border-strong: #DDD5F7;
  --ds-success: #0F8F69;
  --ds-success-soft: #EDF9EE;
  --ds-alert: #FF3B30;
  --ds-alert-soft: #FFF0EE;
  --ds-dark-bg: #15121F;
  --ds-dark: #1C172B;
  --ds-dark-raised: #241E36;
  --ds-dark-ink: #ECE8F6;
  --ds-dark-muted: #A59FB8;
  --ds-dark-line: rgba(236, 232, 246, .12);
  --ds-r-xs: 3px; --ds-r-sm: 6px; --ds-r-md: 10px; --ds-r-lg: 14px;
  --ds-max: 1240px;
  --ds-gutter: clamp(20px, 5vw, 56px);
  --ds-section: clamp(64px, 9vw, 112px);
  --ds-mono: 'Fragment Mono', ui-monospace, monospace;
  --brand: var(--ds-primary);
  color: var(--ds-ink);
  font-size: 17px;
}

/* ---------- primitives ---------- */
.ds .ds-wrap { width: min(var(--ds-max), 100% - 2 * var(--ds-gutter)); margin-inline: auto; }
.ds .ds-section { padding-block: var(--ds-section) 0; }
.ds .ds-eyebrow { font-family: var(--ds-mono); font-size: 12px; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-muted); }
.ds .ds-accent { color: var(--ds-primary); }
.ds .ds-link { color: var(--ds-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ds .ds-link:hover { color: var(--ds-pressed); }
.ds .ds-head { max-width: 52rem; margin-bottom: clamp(32px, 4vw, 48px); }
.ds .ds-head h2, .ds .ds-split-copy h2, .ds .ds-pricing-copy h2, .ds .ds-band h2 {
  margin-top: 14px; font-weight: 400; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance;
}
.ds .ds-head > p:not(.ds-eyebrow) { margin-top: 16px; color: var(--ds-body); font-size: 18px; line-height: 1.55; max-width: 40rem; }
.ds .ds-plate { background: var(--ds-canvas); border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); }
.ds .ds-tag { display: inline-block; padding: 3px 7px; border-radius: var(--ds-r-xs); background: var(--ds-primary-soft); color: var(--ds-primary); font-family: var(--ds-mono); font-size: 11px; line-height: 1.2; letter-spacing: .02em; }
.ds .ds-status { display: inline-block; padding: 3px 7px; border-radius: var(--ds-r-xs); background: var(--ds-success-soft); color: var(--ds-success); font-family: var(--ds-mono); font-size: 11px; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
.ds .ds-tick { width: 16px; height: 16px; flex: none; color: var(--ds-success); }
.ds .ds-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--ds-border); border-radius: 999px; background: var(--ds-surface-alt); color: var(--ds-body); font-size: 14px; line-height: 1.3; }
.ds .ds-chip img { width: 16px; height: 16px; }
.ds .ds-chip-link { margin-top: 24px; transition: border-color .15s, background .15s; }
.ds .ds-chip-link:hover { border-color: var(--ds-border-strong); background: var(--ds-primary-tint); color: var(--ds-ink); }
.ds .ds-figcap { display: flex; align-items: baseline; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--ds-border); color: var(--ds-body); font-size: 14px; }

/* buttons */
.ds .ds-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ds .ds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 18px; border-radius: var(--ds-r-md); border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: -.005em; transition: background .15s, border-color .15s, color .15s; }
.ds .ds-btn-primary { background: var(--ds-primary); color: #fff; }
.ds .ds-btn-primary:hover { background: var(--ds-accent); }
.ds .ds-btn-primary:active { background: var(--ds-pressed); }
.ds .ds-btn-secondary { background: var(--ds-canvas); color: var(--ds-ink); border-color: var(--ds-border); }
.ds .ds-btn-secondary:hover { border-color: #CFCBDA; background: var(--ds-surface-alt); }
.ds .ds-btn-light { background: #FAF8FF; color: var(--ds-ink); }
.ds .ds-btn-light:hover { background: #fff; }
.ds .ds-btn-dark-outline { color: var(--ds-dark-ink); border-color: var(--ds-dark-line); }
.ds .ds-btn-dark-outline:hover { border-color: rgba(236, 232, 246, .35); }

/* shared site pills restyled as system buttons */
.ds .pill { border-radius: var(--ds-r-md); font-weight: 700; font-size: 15px; letter-spacing: -.005em; }
.ds .pill-brand { background: var(--ds-primary); }
.ds .pill-brand:hover { background: var(--ds-accent); }
.ds .pill-grey { background: var(--ds-canvas); border: 1px solid var(--ds-border); }

/* ---------- nav & launch bar ---------- */
.ds .nav { background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent; padding-block: 14px; transition: border-color .2s; }
.ds .nav.is-scrolled { border-bottom-color: var(--ds-border); }
.ds .nav-logo img { height: 32px; }
.ds .nav-links a { color: var(--ds-body); font-size: 15px; }
.ds .nav-links a[aria-current="page"] { color: var(--ds-ink); background: none; }
.ds .nav .nav-start { background: var(--ds-primary); color: #fff; border: 0; border-radius: var(--ds-r-md); font-weight: 700; padding: 10px 16px; }
.ds .nav .nav-start:hover { background: var(--ds-accent); }
.ds .launch-banner { margin-top: -14px; margin-bottom: 14px; background: var(--ds-primary); color: #fff; font-size: 13px; }
.ds .launch-banner > a { border-radius: var(--ds-r-sm); }

/* ---------- hero ---------- */
.ds .ds-hero { padding-top: clamp(150px, 16vw, 190px); }
.ds .ds-hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ds .ds-hero h1 { margin-top: 0; max-width: none; font-weight: 400; font-size: clamp(44px, 6.4vw, 76px); line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
.ds .ds-hl { white-space: nowrap; padding: .02em .12em .06em; border-radius: .08em; background: var(--ds-primary); color: #fff; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ds .ds-hl-alert { background: var(--ds-alert-soft); color: var(--ds-alert); box-shadow: inset 0 0 0 3px var(--ds-alert); }
.ds .ds-hero-sub { margin-top: 32px; max-width: 40rem; color: var(--ds-body); font-size: 18px; line-height: 1.55; }
.ds .hero-ask { margin-top: 44px; width: min(40rem, 100%); padding: 8px 8px 8px 20px; border: 1px solid var(--ds-border-strong); border-radius: var(--ds-r-lg); box-shadow: 0 1px 0 rgba(23, 21, 31, .04), 0 14px 36px -22px rgba(101, 61, 233, .45); }
.ds .hero-ask:focus-within { border-color: var(--ds-primary); box-shadow: 0 0 0 3px var(--ds-primary-soft), 0 14px 36px -22px rgba(101, 61, 233, .45); }
.ds .hero-ask .pill { border-radius: var(--ds-r-md); min-height: 44px; padding: 10px 18px; }
.ds .hero-usecases { margin-top: 22px; max-width: 52rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 0; }
.ds .ds-try { margin-right: 14px; font-family: var(--ds-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-primary); }
.ds .hero-usecase { position: relative; display: inline-flex; padding: 2px 14px; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: pointer; }
.ds .hero-usecase:not(.is-line-start)::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; translate: 0 -50%; background: var(--ds-border); }
.ds .hero-usecase-icon { display: none; }
.ds .hero-usecase strong { font-weight: 400; font-size: 15px; color: var(--ds-body); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .15s, text-decoration-color .15s; }
.ds .hero-usecase:hover, .ds .hero-usecase:focus-visible { background: none; transform: none; }
.ds .hero-usecase:hover strong, .ds .hero-usecase:focus-visible strong { color: var(--ds-primary); text-decoration-color: currentColor; }
.ds .hero-sample-note { margin-top: 22px; color: var(--ds-muted); font-size: 14px; }
.ds .hero-connect { color: var(--ds-primary); }

/* pipeline diagram */
.ds .ds-diagram { position: relative; margin: clamp(48px, 6vw, 72px) 0 0; display: grid; grid-template-columns: 1fr 1.15fr 1.35fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--ds-border); border-radius: var(--ds-r-lg); background: var(--ds-surface-alt); background-image: radial-gradient(circle, #DEDBE6 1px, transparent 1.2px); background-size: 20px 20px; }
.ds .ds-diagram-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ds .ds-diagram-wires .ds-wire { fill: none; stroke: var(--ds-border-strong); stroke-width: 1.5; }
.ds .ds-diagram-wires .ds-beam { fill: none; stroke: var(--ds-primary); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 10 190; animation: ds-beam 2.8s linear infinite; }
.ds .ds-diagram-wires .ds-joint { fill: var(--ds-canvas); stroke: var(--ds-primary); stroke-width: 1.5; }
@keyframes ds-beam { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
.ds .ds-diagram-col { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ds .ds-diagram-col > .ds-eyebrow { margin-bottom: 4px; }
.ds .ds-node { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--ds-canvas); border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); font-size: 14px; line-height: 1.25; }
.ds .ds-node b { display: block; font-weight: 700; color: var(--ds-ink); }
.ds .ds-node small { display: block; color: var(--ds-muted); font-size: 12px; }
.ds .ds-node-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: var(--ds-r-xs); background: var(--ds-surface-alt); border: 1px solid var(--ds-border); color: var(--ds-body); }
.ds .ds-node-icon .icon, .ds .ds-node-icon svg { width: 16px; height: 16px; }
.ds .ds-node-icon img { width: 16px; height: 16px; }
.ds .ds-diagram-more { font-family: var(--ds-mono); font-size: 12px; color: var(--ds-muted); padding-left: 2px; }
.ds .ds-pipeline { border-color: var(--ds-border-strong); box-shadow: 0 0 0 4px var(--ds-primary-tint); }
.ds .ds-pipeline-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--ds-border); font-size: 14px; }
.ds .ds-pipeline-head img { width: 22px; height: 22px; border-radius: 5px; }
.ds .ds-pipeline-head b { font-family: var(--ds-mono); font-weight: 400; font-size: 13px; }
.ds .ds-pipeline-head .ds-tag { margin-left: auto; }
.ds .ds-steps { list-style: none; margin: 0; padding: 6px 0; }
.ds .ds-steps li { display: flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 13.5px; color: var(--ds-body); }
.ds .ds-pipeline-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--ds-border); font-family: var(--ds-mono); font-size: 11px; color: var(--ds-muted); }
.ds .ds-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ds .ds-table th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ds-border); font-family: var(--ds-mono); font-weight: 400; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-muted); }
.ds .ds-table td { padding: 9px 12px; border-bottom: 1px solid var(--ds-border); color: var(--ds-body); white-space: nowrap; }
.ds .ds-table td:nth-child(3) { font-family: var(--ds-mono); color: var(--ds-ink); }
.ds .ds-table td:last-child, .ds .ds-table th:last-child { width: 1%; padding-left: 0; }
.ds .ds-table tr:last-child td { border-bottom: 0; }
.ds .ds-table-foot { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--ds-border); background: var(--ds-surface); font-size: 12px; color: var(--ds-muted); }
.ds .ds-table-foot b { font-family: var(--ds-mono); font-weight: 400; color: var(--ds-ink); }

/* ---------- customers ---------- */
.ds .ds-lede-center { text-align: center; color: var(--ds-muted); font-size: 15px; }
.ds .ds-logo-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: var(--ds-canvas); overflow: hidden; }
.ds .ds-logo-grid li { display: grid; place-items: center; height: 96px; padding: 0 24px; border-left: 1px solid var(--ds-border); }
.ds .ds-logo-grid li:first-child { border-left: 0; }
.ds .ds-logo-grid img { max-height: 30px; max-width: 120px; filter: grayscale(1); opacity: .7; transition: opacity .2s, filter .2s; }
.ds .ds-logo-grid li:hover img { filter: none; opacity: 1; }
.ds .ds-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.ds .ds-quote { margin: 0; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.ds .ds-quote blockquote { font-size: 20px; line-height: 1.45; letter-spacing: -.01em; color: var(--ds-ink); }
.ds .ds-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.ds .ds-quote figcaption img { width: 40px; height: 40px; border-radius: var(--ds-r-sm); object-fit: cover; }
.ds .ds-quote b { display: block; }
.ds .ds-quote small { color: var(--ds-muted); font-size: 13px; }

/* ---------- ruled grids ---------- */
.ds .ds-ruled { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: var(--ds-canvas); overflow: hidden; }
.ds .ds-ruled > li { padding: 24px; border-left: 1px solid var(--ds-border); }
.ds .ds-ruled-4 { grid-template-columns: repeat(4, 1fr); }
.ds .ds-ruled-4 > li:first-child { border-left: 0; }
.ds .ds-ruled h3 { margin-top: 28px; font-weight: 400; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.ds .ds-ruled p { margin-top: 8px; color: var(--ds-body); font-size: 15px; line-height: 1.6; }
.ds .ds-index { font-family: var(--ds-mono); font-size: 12px; color: var(--ds-primary); }
.ds .ds-healing { margin-top: 16px; overflow: hidden; }
.ds .ds-healing .healing-demo { margin: 0; border: 0; border-radius: 0; box-shadow: none; }

/* ---------- product tour ---------- */
.ds .ds-head-center { margin-inline: auto; text-align: center; }
.ds .ds-tour-head .ds-head { margin-bottom: 0; }
.ds #how { margin-top: clamp(28px, 3vw, 40px); }

/* ---------- split sections ---------- */
.ds .ds-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ds .ds-split-flip .ds-split-copy { order: 0; }
.ds .ds-split-copy > p:not(.ds-eyebrow) { margin-top: 18px; color: var(--ds-body); font-size: 17px; line-height: 1.6; max-width: 34rem; }
.ds .ds-evidence-stack { display: grid; gap: 12px; }
.ds .ds-chat { padding: 20px 22px; background: var(--ds-surface); position: relative; max-height: 230px; overflow: hidden; }
.ds .ds-chat::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent, var(--ds-surface)); }
.ds .ds-chat-user { margin: 14px 0 0 auto; width: fit-content; max-width: 80%; padding: 8px 12px; border-radius: var(--ds-r-md); background: var(--ds-surface-alt); border: 1px solid var(--ds-border); font-size: 14px; }
.ds .ds-chat-bot { margin-top: 12px; color: var(--ds-muted); font-size: 14px; line-height: 1.6; }
.ds .ds-evidence { padding: 20px 22px; border-color: var(--ds-border-strong); }
.ds .ds-evidence-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); }
.ds .ds-evidence-row b { display: block; font-weight: 700; }
.ds .ds-evidence-row small { color: var(--ds-muted); font-size: 13px; }
.ds .ds-evidence-row strong { font-family: var(--ds-mono); font-weight: 400; font-size: 20px; }
.ds .ds-evidence-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); }
.ds .ds-evidence-meta div { padding: 10px 14px; border-left: 1px solid var(--ds-border); min-width: 0; }
.ds .ds-evidence-meta div:first-child { border-left: 0; }
.ds .ds-evidence-meta dt { font-family: var(--ds-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-muted); }
.ds .ds-evidence-meta dd { margin: 4px 0 0; font-family: var(--ds-mono); font-size: 13px; color: var(--ds-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds .ds-evidence-repeat { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; color: var(--ds-body); }

/* delivery grid */
.ds .ds-ruled-grid { grid-template-columns: repeat(4, 1fr); }
.ds .ds-ruled-grid > li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; border-top: 1px solid var(--ds-border); }
.ds .ds-ruled-grid > li:nth-child(4n+1) { border-left: 0; }
.ds .ds-ruled-grid > li:nth-child(-n+4) { border-top: 0; }
.ds .ds-dest-grid img, .ds .ds-dest-grid .icon, .ds .ds-dest-grid svg { width: 24px; height: 24px; color: var(--ds-body); }
.ds .ds-dest-grid span { font-size: 14px; color: var(--ds-ink); }

/* ---------- reused home sections ---------- */
.ds .site-main > .section { margin-top: var(--ds-section); }
.ds .pipeline-showcase > .section-head { max-width: var(--ds-max); text-align: left; }
.ds .pipeline-showcase > .section-head h2 { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -.035em; }
.ds .pipeline-showcase > .section-head::before { content: "Pipelines"; display: block; margin-bottom: 14px; font-family: var(--ds-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-muted); }
.ds .pipeline-workspace { border-color: var(--ds-border); border-radius: 0 0 var(--ds-r-sm) var(--ds-r-sm); background: var(--ds-surface); }
.ds .pipeline-workspace .pipeline-usecase-tabs { justify-content: flex-start; }
.ds .pipeline-workspace .pipeline-usecase-tabs button { border-color: var(--ds-border); border-radius: var(--ds-r-sm) var(--ds-r-sm) 0 0; background: var(--ds-surface-alt); }
.ds .pipeline-workspace .pipeline-usecase-tabs button[aria-selected="true"] { background: var(--ds-surface); border-bottom-color: var(--ds-surface); box-shadow: inset 0 2px 0 var(--ds-primary); }
.ds .pipeline-workspace .pipeline-usecase-tabs button[aria-selected="true"]::after { background: var(--ds-surface); }
.ds .pipeline-action-card { border-color: var(--ds-border); border-radius: var(--ds-r-sm); }
.ds .section-head .heading-accent { color: var(--ds-primary); background: none; padding: 0; }
.ds .faq { max-width: 52rem; }
.ds .faq details { border-color: var(--ds-border); }
.ds .faq summary { font-size: 19px; letter-spacing: -.01em; }
.ds .faq summary::after { font-family: var(--ds-mono); color: var(--ds-primary); }

/* ---------- dark proof band ---------- */
.ds .ds-band-wrap { width: min(calc(var(--ds-max) + 80px), 100% - 2 * clamp(12px, 2vw, 24px)); margin-inline: auto; }
.ds .ds-band { padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 64px); border-radius: var(--ds-r-lg); background: var(--ds-dark); color: var(--ds-dark-ink); }
.ds .ds-band .ds-eyebrow { color: var(--ds-dark-muted); }
.ds .ds-band .ds-accent { color: #B9A6FF; }
.ds .ds-band .ds-head > p:not(.ds-eyebrow) { color: var(--ds-dark-muted); }
.ds .ds-map { margin: 0; padding: 24px; border: 1px solid var(--ds-dark-line); border-radius: var(--ds-r-sm); background: var(--ds-dark-raised); }
.ds .ds-map svg { display: block; width: 100%; max-width: 920px; max-height: 440px; height: auto; margin-inline: auto; }
.ds .ds-map figcaption { margin-top: 12px; font-family: var(--ds-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-dark-muted); }
.ds .ds-stats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ds-dark-line); border-radius: var(--ds-r-sm); }
.ds .ds-stats li { padding: 28px 24px; border-left: 1px solid var(--ds-dark-line); }
.ds .ds-stats li:first-child { border-left: 0; }
.ds .ds-stats strong { display: block; font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -.04em; color: #FAF8FF; }
.ds .ds-stats sup { margin-left: 4px; font-family: var(--ds-mono); font-size: 12px; letter-spacing: 0; vertical-align: top; }
.ds .ds-stats sup a { color: #B9A6FF; }
.ds .ds-stats span { display: block; margin-top: 12px; color: var(--ds-dark-muted); font-size: 15px; }
.ds .ds-notes { margin-top: 16px; display: grid; gap: 4px; font-size: 12.5px; line-height: 1.5; color: var(--ds-dark-muted); }
.ds .ds-notes a { color: var(--ds-dark-ink); text-decoration: underline; text-underline-offset: 2px; }
.ds .ds-security { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--ds-dark-line); }
.ds .ds-security h3 { font-weight: 400; font-size: 28px; letter-spacing: -.025em; color: #FAF8FF; }
.ds .ds-security p { margin-top: 12px; color: var(--ds-dark-muted); font-size: 15px; line-height: 1.6; }
.ds .ds-security p a { color: #B9A6FF; }
.ds .ds-security-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ds-dark-line); border-radius: var(--ds-r-sm); }
.ds .ds-security-grid li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--ds-dark-line); }
.ds .ds-security-grid li:nth-child(-n+2) { border-top: 0; }
.ds .ds-security-grid li:nth-child(even) { border-left: 1px solid var(--ds-dark-line); }
.ds .ds-security-grid img { width: 36px; height: 36px; }
.ds .ds-security-grid b { display: block; font-size: 15px; color: #FAF8FF; }
.ds .ds-security-grid small { color: var(--ds-dark-muted); font-size: 13px; }

/* ---------- pricing ---------- */
.ds .ds-pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ds .ds-pricing-copy > p:not(.ds-eyebrow) { margin-top: 18px; color: var(--ds-body); font-size: 17px; line-height: 1.6; max-width: 34rem; }
.ds .ds-price-card { padding: 28px; }
.ds .ds-price { margin-top: 12px; font-size: 64px; line-height: 1; letter-spacing: -.04em; }
.ds .ds-price span { margin-left: 8px; font-size: 18px; letter-spacing: 0; color: var(--ds-muted); }
.ds .ds-price-note { margin-top: 12px; color: var(--ds-body); font-size: 15px; line-height: 1.55; }
.ds .ds-price-list { list-style: none; margin: 20px 0 24px; padding: 16px 0 0; border-top: 1px solid var(--ds-border); display: grid; gap: 10px; font-size: 15px; }
.ds .ds-price-list li { display: flex; align-items: center; gap: 8px; }

/* ---------- final ---------- */
.ds .ds-band-final { text-align: center; }
.ds .ds-band-final h2 { max-width: 18ch; margin-inline: auto; }
.ds .ds-band-final > p:not(.ds-eyebrow) { margin: 16px auto 0; max-width: 32rem; color: var(--ds-dark-muted); font-size: 17px; }
.ds .ds-band-final .ds-actions { justify-content: center; margin-top: 32px; }

/* ---------- footer ---------- */
.ds > footer { margin-top: var(--ds-section); }
.ds footer { background: var(--ds-canvas); color: var(--ds-muted); border-top: 1px solid var(--ds-border); border-bottom: 0; padding-block: 48px; }
.ds footer a:hover { color: var(--ds-ink); }
.ds footer .f-brand img { opacity: 1; height: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ds .ds-diagram { grid-template-columns: 1fr 1fr; }
  .ds .ds-diagram-wires { display: none; }
  .ds .ds-ruled-4 { grid-template-columns: 1fr 1fr; }
  .ds .ds-ruled-4 > li:nth-child(3) { border-left: 0; }
  .ds .ds-ruled-4 > li:nth-child(n+3) { border-top: 1px solid var(--ds-border); }
}
@media (max-width: 860px) {
  .ds .ds-split, .ds .ds-pricing, .ds .ds-security, .ds .ds-quotes { grid-template-columns: 1fr; }
  .ds .ds-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .ds .ds-logo-grid li:nth-child(4) { border-left: 0; }
  .ds .ds-logo-grid li:nth-child(n+4) { border-top: 1px solid var(--ds-border); }
  .ds .ds-stats { grid-template-columns: 1fr; }
  .ds .ds-stats li { border-left: 0; border-top: 1px solid var(--ds-dark-line); }
  .ds .ds-stats li:first-child { border-top: 0; }
  .ds .ds-ruled-grid { grid-template-columns: repeat(3, 1fr); }
  .ds .ds-ruled-grid > li { border-left: 1px solid var(--ds-border); border-top: 1px solid var(--ds-border); }
  .ds .ds-ruled-grid > li:nth-child(3n+1) { border-left: 0; }
  .ds .ds-ruled-grid > li:nth-child(-n+3) { border-top: 0; }
}
@media (max-width: 640px) {
  .ds .ds-diagram { grid-template-columns: 1fr; }
  .ds .ds-diagram-wires { display: none; }
  .ds .ds-ruled-4 { grid-template-columns: 1fr; }
  .ds .ds-ruled-4 > li { border-left: 0; border-top: 1px solid var(--ds-border); }
  .ds .ds-ruled-4 > li:first-child { border-top: 0; }
  .ds .ds-evidence-meta { grid-template-columns: 1fr; }
  .ds .ds-evidence-meta div { border-left: 0; border-top: 1px solid var(--ds-border); }
  .ds .ds-evidence-meta div:first-child { border-top: 0; }
  .ds .ds-security-grid { grid-template-columns: 1fr; }
  .ds .ds-security-grid li { border-left: 0 !important; border-top: 1px solid var(--ds-dark-line); }
  .ds .ds-security-grid li:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ds .ds-diagram-wires .ds-beam { animation: none; stroke-dasharray: none; opacity: .5; }
}
.ds .pipeline-tabs-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ds .ds-examples { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ds-dark-line); }
.ds .ds-examples .hero-usecases { margin: 0 auto; max-width: 56rem; }
.ds .ds-examples .ds-try { color: #B9A6FF; }
.ds .ds-examples .hero-usecase strong { color: var(--ds-dark-muted); }
.ds .ds-examples .hero-usecase:hover strong, .ds .ds-examples .hero-usecase:focus-visible strong { color: #FAF8FF; }
.ds .ds-examples .hero-usecase:not(.is-line-start)::before { background: var(--ds-dark-line); }
.ds .ds-band h2 { color: #FAF8FF; }

/* launch announcement lives in a hero pill instead of the top bar */
.ds .launch-banner { display: none; }
.ds .ds-hero { padding-top: clamp(128px, 13vw, 168px); }
.ds .ds-announce { display: inline-flex; align-items: center; gap: 10px; height: 36px; margin-bottom: 40px; padding: 0 5px 0 12px; border: 1px solid var(--ds-border); border-radius: 999px; background: var(--ds-canvas); color: var(--ds-body); font-size: 14px; line-height: 1; white-space: nowrap; transition: border-color .15s; }
.ds .ds-announce:hover { border-color: var(--ds-border-strong); }
.ds .ds-announce img { width: 16px; height: 16px; flex: none; margin-right: -4px; }
.ds .ds-announce-text b { font-weight: 400; color: var(--ds-ink); }
.ds .ds-announce-short { display: none; }
.ds .ds-announce-cta { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--ds-primary-soft); color: var(--ds-primary); font-weight: 700; font-size: 13px; transition: background .15s, color .15s; }
.ds .ds-announce-cta svg { width: 13px; height: 13px; }
.ds .ds-announce:hover .ds-announce-cta { background: var(--ds-primary); color: #fff; }
@media (max-width: 640px) {
  .ds .ds-announce { gap: 8px; height: 34px; font-size: 13px; }
  .ds .ds-announce-long, .ds .ds-announce-cta-text { display: none; }
  .ds .ds-announce-short { display: inline; }
  .ds .ds-announce-cta { width: 26px; padding: 0; justify-content: center; }
}
@media (max-width: 1280px) {
  .ds .nav-logo, .ds .nav-toggle, .ds .nav-right { grid-row: 1; }
  .ds .nav-links { grid-row: 2; }
}

/* ---------- interactive Factory demo (hero) ---------- */
.ds .fx-stage { position: relative; margin-top: clamp(64px, 8vw, 104px); padding: clamp(28px, 5vw, 72px) clamp(16px, 5vw, 72px) clamp(72px, 9vw, 120px); border-radius: var(--ds-r-lg); overflow: hidden; isolation: isolate; background: #E9E3FA; }
.ds .fx-stage::before { content: ""; position: absolute; inset: -20%; z-index: -1; filter: blur(60px);
  background:
    radial-gradient(40% 45% at 18% 20%, #C8B8FF 0%, transparent 70%),
    radial-gradient(35% 40% at 82% 18%, #F3D6F0 0%, transparent 70%),
    radial-gradient(45% 50% at 70% 85%, #9C84F2 0%, transparent 70%),
    radial-gradient(40% 45% at 15% 90%, #B6C6F7 0%, transparent 70%),
    linear-gradient(180deg, #E4DCFB, #D6CCF6); }
.ds .fx { position: relative; max-width: 1180px; margin-inline: auto; background: var(--ds-canvas); border: 1px solid rgba(23, 21, 31, .08); border-radius: var(--ds-r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(49, 26, 130, .45), 0 1px 0 rgba(255,255,255,.6) inset; font-size: 14px; text-align: left; }
.ds .fx-chrome { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 14px; background: #F6F5F8; border-bottom: 1px solid var(--ds-border); }
.ds .fx-dots { position: absolute; left: 14px; display: flex; gap: 7px; }
.ds .fx-dots i { width: 11px; height: 11px; border-radius: 50%; background: #DAD8E0; }
.ds .fx-title { color: var(--ds-body); font-size: 13.5px; }
.ds .fx-badge { position: absolute; right: 12px; padding: 3px 8px; border-radius: 999px; background: var(--ds-primary-soft); color: var(--ds-primary); font-family: var(--ds-mono); font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; }
.ds .fx-app { display: grid; grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1.35fr); height: 600px; }

/* work list */
.ds .fx-list { padding: 18px 12px; background: #FAFAFC; border-right: 1px solid var(--ds-border); overflow-y: auto; }
.ds .fx-list-label { padding: 0 10px 10px; font-family: var(--ds-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-muted); }
.ds .fx-item { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; width: 100%; padding: 11px 10px; border: 0; border-radius: var(--ds-r-md); background: none; text-align: left; font: inherit; color: var(--ds-ink); cursor: pointer; transition: background .15s; }
.ds .fx-item + .fx-item { margin-top: 2px; }
.ds .fx-item:hover { background: #F1EFF5; }
.ds .fx-item.is-active { background: #EEEBF6; }
.ds .fx-item-icon { color: var(--ds-muted); padding-top: 1px; }
.ds .fx-item-icon svg { width: 18px; height: 18px; }
.ds .fx-item.is-waiting .fx-item-icon { color: var(--ds-primary); }
.ds .fx-item-copy { min-width: 0; }
.ds .fx-item-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.ds .fx-item-sub { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--ds-muted); }
.ds .fx-item-sub b { font-weight: 400; }
.ds .fx-item-when { font-size: 12px; color: var(--ds-muted); padding-top: 2px; }

/* conversation */
.ds .fx-chat { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--ds-border); }
.ds .fx-chat-log { flex: 1; overflow-y: auto; padding: 20px 22px; }
.ds .fx-chat-title { font-weight: 700; font-size: 15px; }
.ds .fx-brief { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--ds-border-strong); border-radius: var(--ds-r-md); background: var(--ds-primary-tint); line-height: 1.5; }
.ds .fx-file { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--ds-body); font-size: 13px; }
.ds .fx-file svg { width: 15px; height: 15px; color: var(--ds-success); }
.ds .fx-activity { margin: 12px 0 0; display: grid; gap: 6px; font-size: 13px; }
.ds .fx-activity div { display: flex; gap: 8px; }
.ds .fx-activity dt { color: var(--ds-body); }
.ds .fx-activity dd { margin: 0; color: var(--ds-muted); }
.ds .fx-msg { margin-top: 12px; line-height: 1.55; color: var(--ds-ink); }
.ds .fx-msg b { font-weight: 700; }
.ds .fx-you { margin: 10px 0 0 auto; width: fit-content; padding: 7px 12px; border-radius: var(--ds-r-md); background: var(--ds-primary); color: #fff; }
.ds .fx-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ds .fx-option { padding: 8px 12px; border: 1px solid var(--ds-border-strong); border-radius: var(--ds-r-md); background: var(--ds-canvas); color: var(--ds-primary); font: inherit; font-weight: 700; cursor: pointer; }
.ds .fx-option:hover { background: var(--ds-primary-tint); }
.ds .fx-artifact { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); background: var(--ds-canvas); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.ds .fx-artifact:hover { border-color: var(--ds-border-strong); background: var(--ds-primary-tint); }
.ds .fx-artifact b { font-weight: 400; color: var(--ds-ink); }
.ds .fx-artifact-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--ds-r-sm); background: var(--ds-primary-soft); color: var(--ds-primary); }
.ds .fx-artifact-icon svg { width: 15px; height: 15px; }
.ds .fx-composer { margin: 0 16px 16px; padding: 10px 12px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); }
.ds .fx-composer input { width: 100%; border: 0; background: none; font: inherit; color: var(--ds-muted); }
.ds .fx-composer-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.ds .fx-composer-jason { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: var(--ds-primary-soft); color: var(--ds-primary); font-size: 13px; }
.ds .fx-composer-jason img { width: 14px; height: 14px; border-radius: 3px; }
.ds .fx-composer-note { font-size: 12px; color: var(--ds-muted); }

/* dataset */
.ds .fx-data { position: relative; display: flex; flex-direction: column; min-width: 0; }
.ds .fx-data-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--ds-border); }
.ds .fx-crumbs { color: var(--ds-muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds .fx-crumbs span { margin: 0 4px; color: #C8C5D1; }
.ds .fx-crumbs b { font-weight: 400; color: var(--ds-ink); }
.ds .fx-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ds-success-soft); color: var(--ds-success); font-size: 13px; }
.ds .fx-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ds .fx-live-draft { background: var(--ds-surface-alt); color: var(--ds-muted); }
.ds .fx-data-meta { padding: 12px 18px 4px; color: var(--ds-muted); font-size: 13px; }
.ds .fx-table-wrap { flex: 1; overflow: auto; }
.ds .fx-table { width: 100%; border-collapse: collapse; }
.ds .fx-table th { position: sticky; top: 0; z-index: 1; padding: 10px 12px; background: var(--ds-canvas); border-bottom: 1px solid var(--ds-border); text-align: left; font-family: var(--ds-mono); font-weight: 400; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-muted); white-space: nowrap; }
.ds .fx-table td { padding: 11px 12px; border-bottom: 1px solid var(--ds-border); color: var(--ds-ink); white-space: nowrap; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.ds .fx-table td.fx-num { font-family: var(--ds-mono); font-size: 13px; }
.ds .fx-table tbody tr { cursor: pointer; transition: background .12s; }
.ds .fx-table tbody tr:hover, .ds .fx-table tbody tr:focus-visible { background: var(--ds-primary-tint); outline: none; }
.ds .fx-stock { padding: 2px 7px; border-radius: var(--ds-r-xs); font-size: 12.5px; }
.ds .fx-stock-in { background: var(--ds-success-soft); color: var(--ds-success); }
.ds .fx-stock-low { background: #FDF3DC; color: #9A6412; }
.ds .fx-stock-out { background: var(--ds-alert-soft); color: #C4320A; }
.ds .fx-change { font-family: var(--ds-mono); font-size: 13px; }
.ds .fx-up { color: var(--ds-success); }
.ds .fx-down { color: #C4320A; }
.ds .fx-muted { color: var(--ds-muted); }
.ds .fx-data-foot { padding: 10px 18px; border-top: 1px solid var(--ds-border); color: var(--ds-muted); font-size: 12.5px; }
.ds .fx-empty { flex: 1; display: grid; place-items: center; padding: 24px; color: var(--ds-muted); text-align: center; }
.ds .fx-detail { position: absolute; inset: 0 0 0 auto; width: min(360px, 100%); z-index: 2; overflow-y: auto; padding: 16px 18px; background: var(--ds-canvas); border-left: 1px solid var(--ds-border); box-shadow: -16px 0 32px -24px rgba(23,21,31,.3); animation: fx-slide .22s ease-out; }
@keyframes fx-slide { from { transform: translateX(24px); opacity: 0; } }
.ds .fx-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ds-border); font-size: 15px; }
.ds .fx-detail-head button { border: 0; background: none; font-size: 20px; line-height: 1; color: var(--ds-muted); cursor: pointer; }
.ds .fx-detail-fields { margin: 0; }
.ds .fx-detail-fields div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ds-border); font-size: 13px; }
.ds .fx-detail-fields dt { color: var(--ds-muted); }
.ds .fx-detail-fields dd { margin: 0; color: var(--ds-ink); overflow-wrap: anywhere; }
.ds .fx-detail-fields.fx-mono dd { font-family: var(--ds-mono); font-size: 12px; }
.ds .fx-detail-label { margin-top: 16px; font-family: var(--ds-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-primary); }
.ds .fx-tag { padding: 2px 6px; border-radius: var(--ds-r-xs); background: var(--ds-primary-soft); color: var(--ds-primary); }

/* floating run window */
.ds .fx-run { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); width: min(560px, calc(100% - 32px)); background: rgba(255,255,255,.96); border: 1px solid rgba(23, 21, 31, .08); border-radius: var(--ds-r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(49, 26, 130, .5); text-align: left; }
.ds .fx-run-body { padding: 14px 18px 16px; font-family: var(--ds-mono); font-size: 13px; line-height: 1.5; min-height: 250px; }
.ds .fx-line { display: grid; grid-template-columns: 18px 110px 1fr auto; gap: 10px; padding: 3px 0; animation: fx-line .25s ease-out; }
@keyframes fx-line { from { opacity: 0; transform: translateY(4px); } }
.ds .fx-mark { color: var(--ds-success); }
.ds .fx-line-warn .fx-mark { color: #C27A0E; font-weight: 700; }
.ds .fx-line-fix .fx-mark { color: var(--ds-primary); }
.ds .fx-step { color: var(--ds-ink); }
.ds .fx-detail-text { color: var(--ds-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds .fx-time { color: var(--ds-muted); }
.ds .fx-next { margin-top: 10px; padding: 9px 12px; border: 1px solid var(--ds-ink); border-radius: var(--ds-r-sm); color: var(--ds-ink); }
.ds .fx-cursor { display: inline-block; width: 8px; height: 15px; margin-left: 4px; vertical-align: -2px; background: var(--ds-ink); animation: fx-blink 1s steps(1) infinite; }
@keyframes fx-blink { 50% { opacity: 0; } }
.ds .is-flash { animation: fx-flash .7s ease-out; }
@keyframes fx-flash { 0% { box-shadow: 0 0 0 3px var(--ds-primary); } 100% { box-shadow: 0 0 0 3px transparent; } }

@media (max-width: 1100px) {
  .ds .fx-app { grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: 520px 400px; height: auto; }
  .ds .fx-chat { border-right: 0; }
  .ds .fx-data { grid-column: 1 / -1; border-top: 1px solid var(--ds-border); }
  .ds .fx-run { position: relative; right: auto; bottom: auto; width: 100%; max-width: 1180px; margin: 16px auto 0; }
}
@media (max-width: 760px) {
  .ds .fx-stage { padding: 16px 12px 24px; }
  .ds .fx-app { grid-template-columns: 1fr; grid-template-rows: auto auto 420px; height: auto; }
  .ds .fx-data { grid-column: auto; }
  .ds .fx-list { display: flex; gap: 6px; overflow-x: auto; padding: 10px; border-right: 0; border-bottom: 1px solid var(--ds-border); }
  .ds .fx-list-label { display: none; }
  .ds .fx-list [data-fx-items] { display: flex; gap: 6px; }
  .ds .fx-item { width: auto; min-width: 220px; margin: 0 !important; }
  .ds .fx-chat { border-right: 0; }
  .ds .fx-chat-log { max-height: 520px; }
  .ds .fx-badge { display: none; }
  .ds .fx-run { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; }
  .ds .fx-line { grid-template-columns: 16px 80px 1fr; }
  .ds .fx-time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ds .fx-detail, .ds .fx-line, .ds .is-flash { animation: none; }
  .ds .fx-cursor { animation: none; }
}
.ds .fx-table th, .ds .fx-table td { padding-inline: 10px; }
.ds .fx-table th:first-child, .ds .fx-table td:first-child { padding-left: 18px; max-width: 160px; }
.ds .fx-table td:nth-child(2) { max-width: 120px; }

/* ---------- motion: hero entrance + scroll fade-ins ---------- */
@keyframes ds-rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
@media (prefers-reduced-motion: no-preference) {
  .ds .ds-announce { animation: ds-rise .9s cubic-bezier(.16, 1, .3, 1) both; }
  .ds .ds-hero h1 { animation: ds-rise 1.1s cubic-bezier(.16, 1, .3, 1) .08s both; }
  .ds .ds-hero-sub { animation: ds-rise 1s cubic-bezier(.16, 1, .3, 1) .2s both; }
  .ds .fm-stage { animation: ds-rise 1.4s cubic-bezier(.16, 1, .3, 1) .45s both; }
  .ds .ds-aos { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1), filter .9s ease; transition-delay: var(--aos-delay, 0ms); }
  .ds .ds-aos.is-in { opacity: 1; transform: none; filter: none; }
}

/* =====================================================================
   Site-wide sweep: pulls every shared page component onto the system.
   ===================================================================== */

/* type */
.ds .page-intro { padding-top: clamp(9rem, 14vw, 11.5rem); }
.ds .page-intro h1 { font-size: clamp(2.75rem, 5.2vw, 4.5rem); line-height: 1.05; letter-spacing: -.04em; }
.ds .intro-summary { color: var(--ds-body); font-size: clamp(1.0625rem, 1.2vw, 1.25rem); line-height: 1.55; }
.ds h1 .heading-accent { border-radius: .08em; }
.ds .section-head h2, .ds.inner-page .section-head h2, .ds .story-grid h2, .ds .final-cta h2, .ds .enterprise-review-head h2, .ds .enterprise-security-side h2, .ds .about-card-cta h2 { letter-spacing: -.035em; line-height: 1.08; }
.ds .section-head p { color: var(--ds-body); }
.ds :is(.about-eyebrow, .enterprise-eyebrow, .rc-eyebrow, .product-tour-label) { font-family: var(--ds-mono); font-weight: 400; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-muted); }

/* buttons */
.ds .pill { min-height: 44px; padding: 10px 18px; }
.ds .pill-grey { color: var(--ds-ink); }
.ds .pill-grey:hover { background: var(--ds-surface-alt); border-color: #CFCBDA; }

/* bands: light bands become flat plates, dark bands the violet-black band */
.ds .band { border: 1px solid var(--ds-border); background: var(--ds-surface-alt); border-radius: var(--ds-r-lg); box-shadow: none; }
.ds :is(.markets-band, .learn-band, .final-cta, .enterprise-band, .enterprise-closing-cta, .plan-dark) { background: var(--ds-dark); border-color: var(--ds-dark); border-radius: var(--ds-r-lg); color: var(--ds-dark-ink); }
.ds .final-cta h2, .ds .learn-band h2, .ds .markets-band h2 { color: #FAF8FF; }
.ds .final-cta p { color: var(--ds-dark-muted); }
.ds .final-cta .pill-brand { background: #FAF8FF; color: var(--ds-ink); }
.ds .final-cta .pill-brand:hover { background: #fff; }
.ds .final-cta .pill-grey { background: transparent; color: var(--ds-dark-ink); border: 1px solid var(--ds-dark-line); }
.ds .final-cta .pill-grey:hover { border-color: rgba(236, 232, 246, .35); }

/* plates: every card-like container gets small corners, a hairline and no drop shadow */
.ds :is(.mini-card, .quote-card, .deploy, .tquote, .comp, .connect-pane, .menu-pipeline-head, .rc-card, .why-options article, .product-tour-index, .provenance-comparison .provenance-dataset,
  .dataset-preview, .native-pipeline, .benefit-grid > div, .plan, .story-photo, .contact-option, .request-form,
  .legal-directory > a, .blog-empty, .comparison-run-history, .comparison-price-grid, .comparison-directory-grid > a,
  .comparison-conversation, .pipeline-action-card, .insights-dashboard, .insights-address, .enterprise-assurance,
  .product-screenshot-placeholder, .product-modes article, .industry-card, .compliance-badge, .why-options article,
  .why-answer, .enterprise-scope-grid article, .enterprise-resilience-grid article, .enterprise-continuity-visual,
  .provenance-comparison article, .about-mosaic figure, .team-photo, .about-card, .enterprise-scope-list li,
  .enterprise-steps li, .enterprise-resilience-features .healing-demo, .collection-demo, .solution-list .solution-link.industry-card) {
  border-radius: var(--ds-r-sm); box-shadow: none;
}
.ds :is(.solution-scene, .section.enterprise-review-card, .connect-dialog, #how .film-player .player) { border-radius: var(--ds-r-lg); }
.ds :is(.industry-icon, .sku-icon-large, .enterprise-assurance-icon, .scene-map, .dests span) { border-radius: var(--ds-r-sm); }
.ds :is(.about-strip img, .team-person img, .story-photo img) { border-radius: var(--ds-r-sm); }
.ds .consent-banner { border-radius: var(--ds-r-md); }
.ds .jason-panel { border-radius: var(--ds-r-lg); }
.ds :is(.industry-card, .plan, .contact-option, .legal-directory > a, .comparison-directory-grid > a, .why-options article, .product-modes article):hover { box-shadow: none; }
.ds :is(.industry-card, .legal-directory > a, .comparison-directory-grid > a, .contact-option):hover { border-color: var(--ds-border-strong); background: var(--ds-primary-tint); }

/* tags, chips and small labels */
.ds :is(.enterprise-only, .plan-popular) { border-radius: var(--ds-r-xs); font-family: var(--ds-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }

/* prose, tables and docs */
.ds :is(.prose, .docs-prose) table th { font-family: var(--ds-mono); font-weight: 400; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-muted); }
.ds :is(.prose, .docs-prose) a { color: var(--ds-primary); }
.ds :is(.prose, .docs-prose) :not(pre) > code { border-radius: var(--ds-r-xs); }
.ds :is(.prose, .docs-prose) pre { border-radius: var(--ds-r-sm); }
.ds .rc-tabs button { border-radius: var(--ds-r-sm) var(--ds-r-sm) 0 0; }
.ds .rc-card { border-radius: 0 var(--ds-r-sm) var(--ds-r-sm) var(--ds-r-sm); }
.ds .rc-quote { border-radius: var(--ds-r-sm); }
.ds .docs-shot-frame { border-radius: var(--ds-r-md); box-shadow: 0 1px 2px rgba(23, 21, 31, .06); }
.ds :is(.learn-band, .markets-band, .final-cta, .enterprise-band, .enterprise-closing-cta, .plan-dark) :is(.section-head p, p) { color: var(--ds-dark-muted); }
.ds :is(.learn-band, .markets-band, .enterprise-band) :is(.section-head p a, p a) { color: #B9A6FF; }

/* product tour step bar */
.ds .product-tour-index { gap: 0; padding: 0; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: rgba(255, 255, 255, .96); box-shadow: none; }
.ds .product-tour-index.is-floating { box-shadow: 0 1px 2px rgba(23, 21, 31, .06); border-color: #DCDAE3; }
.ds .product-tour-thumb { top: auto; bottom: 0; height: 2px; border-radius: 0; background: var(--ds-primary); }
.ds .product-tour-track > a { min-height: 48px; padding: 0 16px; gap: 8px; border-radius: 0; color: var(--ds-body); font-size: 14.5px; }
.ds .product-tour-track > a + a { border-left: 1px solid var(--ds-border); }
.ds .product-tour-track > a i { width: auto; height: auto; border: 0; border-radius: 0; background: none; font: 400 12px var(--ds-mono); letter-spacing: .02em; color: var(--ds-muted); }
.ds .product-tour-track > a:hover { color: var(--ds-ink); background: var(--ds-surface-alt); }
.ds .product-tour-track > a:hover i { color: var(--ds-primary); }
.ds .product-tour-track > a[aria-current="step"] { color: var(--ds-ink); }
.ds .product-tour-track > a[aria-current="step"] i { background: none; color: var(--ds-primary); }
.ds .product-tour-track > a.is-done i { background: none; color: var(--ds-primary); }
.ds .product-tour-products { gap: 0; padding-left: 0; border-left: 1px solid var(--ds-border); }
.ds .product-tour-products a { min-height: 48px; padding: 0 16px; border-radius: 0; color: var(--ds-body); font-size: 14.5px; }
.ds .product-tour-products a + a { border-left: 1px solid var(--ds-border); }
.ds .product-tour-products a:hover { background: var(--ds-surface-alt); color: var(--ds-ink); }
.ds .product-tour-products .sku-icon { color: var(--ds-primary); }
.ds :is(.available-badge, .enterprise-only-badge) { padding: 3px 6px; border: 0; border-radius: var(--ds-r-xs); font-family: var(--ds-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.ds .available-badge { background: var(--ds-success-soft); color: var(--ds-success); }
@media (max-width: 650px) { .ds .product-tour-track > a, .ds .product-tour-products a { min-height: 44px; padding: 0 12px; } }

/* inner-page intros enter with the same soft blur rise as the homepage */
@media (prefers-reduced-motion: no-preference) {
  .ds.inner-page .page-intro > :not(.intro-copy), .ds.inner-page .page-intro .intro-copy > *, .ds.inner-page .prose-page > h1 { animation-name: ds-rise; animation-duration: 1s; }
}

/* ---------- about page ---------- */
.ds .ab-places { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--ds-muted); font-size: 14px; }
.ds .ab-places > span { display: inline-flex; align-items: center; gap: 6px; }
.ds .ab-story { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ds .ab-story-copy h2, .ds .ab-facts-side h2 { margin-top: 14px; font-weight: 400; font-size: clamp(32px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.ds .ab-story-copy > p:not(.ds-eyebrow) { margin-top: 16px; color: var(--ds-body); line-height: 1.65; }
.ds .ab-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ds .ab-mosaic figure { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: var(--ds-surface-alt); aspect-ratio: 1.25; }
.ds .ab-mosaic .ab-mosaic-main { grid-column: 1 / -1; aspect-ratio: 1.6; }
.ds .ab-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ds .ab-mosaic figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: var(--ds-r-xs); background: rgba(23, 21, 31, .72); color: #fff; font-family: var(--ds-mono); font-size: 11px; letter-spacing: .02em; }
.ds .ab-facts-row { margin-top: clamp(40px, 5vw, 64px); }
.ds .ab-facts-row li { padding: 24px; }
.ds .ab-facts-row strong { display: block; font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; letter-spacing: -.035em; color: var(--ds-ink); }
.ds .ab-facts-row span { display: block; margin-top: 10px; color: var(--ds-muted); font-size: 14px; }

.ds .ab-offer li { display: flex; flex-direction: column; }
.ds .ab-offer h3 { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ds .ab-offer p { flex: 1; }
.ds .ab-offer .ds-link { margin-top: 16px; font-size: 14px; }
.ds .ab-offer-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--ds-r-sm); background: var(--ds-primary-soft); color: var(--ds-primary); }
.ds .ab-offer-icon .icon, .ds .ab-offer-icon svg { width: 18px; height: 18px; }
.ds .ab-lane-radar { background: var(--ds-success-soft); color: var(--ds-success); }
.ds .ab-lane-benchmark { background: #EAF1FB; color: #37689D; }

.ds .ab-diff { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ds-dark-line); border-radius: var(--ds-r-sm); }
.ds .ab-diff li { padding: 28px 24px; border-left: 1px solid var(--ds-dark-line); border-top: 1px solid var(--ds-dark-line); }
.ds .ab-diff li:nth-child(3n+1) { border-left: 0; }
.ds .ab-diff li:nth-child(-n+3) { border-top: 0; }
.ds .ab-diff .ds-index { color: #B9A6FF; }
.ds .ab-diff h3 { margin-top: 18px; font-weight: 400; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; color: #FAF8FF; }
.ds .ab-diff p { margin-top: 8px; color: var(--ds-dark-muted); font-size: 15px; line-height: 1.6; }
.ds .ds-band .ds-head a { color: #B9A6FF; }

.ds .ab-industries { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); overflow: hidden; background: var(--ds-canvas); }
.ds .ab-industries li { border-right: 1px solid var(--ds-border); border-bottom: 1px solid var(--ds-border); margin: 0 -1px -1px 0; }
.ds .ab-industries a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; height: 100%; padding: 20px; color: inherit; transition: background .15s; }
.ds .ab-industries a:hover { background: var(--ds-primary-tint); }
.ds .ab-industries b { display: block; font-weight: 700; font-size: 15px; }
.ds .ab-industries small { display: block; margin-top: 4px; color: var(--ds-muted); font-size: 13.5px; line-height: 1.5; }
.ds .ab-industries a > .icon:last-child { width: 16px; height: 16px; margin-top: 3px; color: var(--ds-muted); transition: transform .15s, color .15s; }
.ds .ab-industries a:hover > .icon:last-child { color: var(--ds-primary); transform: translateX(3px); }
.ds .ab-industry-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--ds-r-sm); background: var(--ds-surface-alt); border: 1px solid var(--ds-border); color: var(--ds-body); }
.ds .ab-industry-icon .icon, .ds .ab-industry-icon svg { width: 16px; height: 16px; }

.ds .ab-leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ds .ab-leader { overflow: hidden; display: flex; flex-direction: column; }
.ds .ab-leader > img { display: block; width: 100%; aspect-ratio: 1.15; object-fit: cover; filter: grayscale(1); transition: filter .35s; border-bottom: 1px solid var(--ds-border); }
.ds .ab-leader:hover > img { filter: none; }
.ds .ab-leader-body { padding: 20px 22px 24px; }
.ds .ab-leader-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ds .ab-leader h3 { font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.ds .ab-leader-head .ds-eyebrow { margin-top: 6px; }
.ds .ab-leader-body > p { margin-top: 14px; color: var(--ds-body); font-size: 15px; line-height: 1.65; }
.ds .ab-linkedin { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); color: var(--ds-muted); transition: color .15s, border-color .15s; }
.ds .ab-linkedin:hover { color: var(--ds-primary); border-color: var(--ds-border-strong); }
.ds .ab-linkedin svg { width: 14px; height: 14px; }
.ds .ab-crew { margin-top: 16px; grid-template-columns: repeat(3, 1fr); }
.ds .ab-crew li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.ds .ab-crew li:first-child { border-left: 0; }
.ds .ab-crew img { width: 48px; height: 48px; border-radius: var(--ds-r-sm); object-fit: cover; filter: grayscale(1); }
.ds .ab-crew b, .ds .ab-hiring b { display: block; font-weight: 700; font-size: 15px; }
.ds .ab-crew small, .ds .ab-hiring small { display: block; margin-top: 2px; color: var(--ds-muted); font-size: 13.5px; }
.ds .ab-hiring { display: flex; align-items: center; gap: 14px; color: inherit; }
.ds .ab-hiring small { color: var(--ds-primary); }
.ds .ab-hiring-plus { display: grid; place-items: center; width: 48px; height: 48px; border: 1px dashed var(--ds-border-strong); border-radius: var(--ds-r-sm); color: var(--ds-primary); font-size: 22px; }

.ds .ab-strip { margin-top: clamp(48px, 6vw, 72px); overflow: hidden; }
.ds .ab-strip-track { display: flex; gap: 12px; width: max-content; animation: about-strip 60s linear infinite; }
.ds .ab-strip:hover .ab-strip-track { animation-play-state: paused; }
.ds .ab-strip img { width: 300px; height: 200px; object-fit: cover; flex: none; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); }

.ds .ab-how-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.ds .ab-how-head .ds-head { margin-bottom: 0; }
.ds .ab-backers { grid-template-columns: repeat(7, 1fr); }
.ds .ab-backers img { max-height: 28px; max-width: 110px; }

.ds .ab-facts { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.ds .ab-facts-side { position: sticky; top: 110px; }
.ds .ab-facts-side > p:not(.ds-eyebrow) { margin-top: 16px; color: var(--ds-body); line-height: 1.6; }
.ds .ab-facts-side .ds-actions { margin-top: 24px; }
.ds .ab-facts-list { margin: 0; }
.ds .ab-facts-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 20px; border-top: 1px solid var(--ds-border); }
.ds .ab-facts-list > div:first-child { border-top: 0; }
.ds .ab-facts-list dt { font-family: var(--ds-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-muted); padding-top: 2px; }
.ds .ab-facts-list dd { margin: 0; color: var(--ds-ink); font-size: 15px; line-height: 1.5; }
.ds #faq .section-head .ds-eyebrow { margin-bottom: 12px; }

@media (max-width: 1100px) {
  .ds .ab-backers { grid-template-columns: repeat(4, 1fr); }
  .ds .ab-backers li:nth-child(5) { border-left: 0; }
  .ds .ab-backers li:nth-child(n+5) { border-top: 1px solid var(--ds-border); }
}
@media (max-width: 900px) {
  .ds .ab-story, .ds .ab-facts { grid-template-columns: 1fr; }
  .ds .ab-facts-side { position: static; }
  .ds .ab-leaders { grid-template-columns: 1fr; max-width: 480px; }
  .ds .ab-diff { grid-template-columns: 1fr 1fr; }
  .ds .ab-diff li { border-left: 1px solid var(--ds-dark-line) !important; border-top: 1px solid var(--ds-dark-line) !important; }
  .ds .ab-diff li:nth-child(odd) { border-left: 0 !important; }
  .ds .ab-diff li:nth-child(-n+2) { border-top: 0 !important; }
  .ds .ab-crew { grid-template-columns: 1fr; }
  .ds .ab-crew li { border-left: 0; border-top: 1px solid var(--ds-border); }
  .ds .ab-crew li:first-child { border-top: 0; }
}
@media (max-width: 640px) {
  .ds .ab-diff { grid-template-columns: 1fr; }
  .ds .ab-diff li { border-left: 0 !important; border-top: 1px solid var(--ds-dark-line) !important; }
  .ds .ab-diff li:first-child { border-top: 0 !important; }
  .ds .ab-facts-list > div { grid-template-columns: 1fr; gap: 4px; }
  .ds .ab-strip img { width: 220px; height: 150px; }
  .ds .ab-backers { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .ds .ab-strip-track { animation: none; } .ds .ab-strip { overflow-x: auto; } }
.ds .ab-industries .ab-all { grid-template-columns: 1fr auto; background: var(--ds-surface-alt); }
.ds .ab-industries .ab-all b { color: var(--ds-primary); }

/* ---------- product walkthrough (sticky Factory window) ---------- */
.ds .pd { padding-top: clamp(40px, 5vw, 72px); }
.ds .pd-grid { width: min(1280px, 100% - 2 * var(--ds-gutter)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); }
.ds .pd-chapter { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; padding-top: 40px; scroll-margin-top: 80px; }
.ds .pd-chapter h2 { margin-top: 14px; font-weight: 400; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.ds .pd-chapter > p:not(.ds-eyebrow) { margin-top: 16px; color: var(--ds-body); font-size: 16.5px; line-height: 1.65; }
.ds .pd-num { color: var(--ds-primary); }
.ds .pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ds .pd-chips .ds-chip { background: var(--ds-canvas); font-size: 13px; padding: 5px 11px; }
.ds .pd-stage { position: sticky; top: 96px; align-self: start; height: calc(100vh - 136px); min-height: 560px; }

.ds .pd-app { position: relative; display: grid; grid-template-columns: 196px minmax(0, 1fr); height: 100%; overflow: hidden; background: var(--ds-canvas); border: 1px solid #DEDCE5; border-radius: var(--ds-r-lg); box-shadow: 0 40px 80px -48px rgba(40, 26, 100, .35); font-size: 13px; line-height: 1.4; color: var(--ds-ink); }
.ds .pd-app .icon, .ds .pd-app svg.pd-i { width: 15px; height: 15px; flex: none; }
.ds .pd-side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; background: #FAFAFC; border-right: 1px solid var(--ds-border); min-width: 0; }
.ds .pd-brand img { height: 22px; margin: 2px 6px 12px; }
.ds .pd-nav { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--ds-r-sm); color: var(--ds-body); white-space: nowrap; overflow: hidden; transition: background .25s, color .25s; }
.ds .pd-nav span { overflow: hidden; text-overflow: ellipsis; }
.ds .pd-nav.is-active { background: #EEEBF6; color: var(--ds-primary); }
.ds .pd-badge { margin-left: auto; padding: 0 6px; border-radius: 999px; background: #E6EEFF; color: #3A62D6; font-style: normal; font-size: 11px; }
.ds .pd-side-label { margin: 12px 8px 4px; font-family: var(--ds-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-muted); }
.ds .pd-meter { margin-top: auto; padding: 10px 8px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: var(--ds-canvas); font-size: 12px; }
.ds .pd-meter i { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: var(--ds-border); overflow: hidden; }
.ds .pd-meter b { display: block; width: 62%; height: 100%; background: var(--ds-primary); }
.ds .pd-user { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0 6px; color: var(--ds-primary); }
.ds .pd-user span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ds-primary-soft); font-size: 11px; }
.ds .pd-main { display: flex; flex-direction: column; min-width: 0; }
.ds .pd-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--ds-border); flex: none; }
.ds .pd-crumbs { color: var(--ds-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds .pd-crumbs span { margin: 0 4px; color: #C8C5D1; }
.ds .pd-crumbs b { font-weight: 400; color: var(--ds-ink); }
.ds .pd-ws { display: inline-flex; align-items: center; gap: 6px; color: var(--ds-body); white-space: nowrap; }
.ds .pd-ws img { width: 16px; height: 16px; border-radius: 4px; }
.ds .pd-view { flex: 1; overflow-y: auto; padding: 18px 20px 60px; scrollbar-width: none; }
.ds .pd-view::-webkit-scrollbar { display: none; }

@keyframes pd-in { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } }
.ds .pd-in { animation: pd-in .55s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
.ds .pd-hidden { opacity: 0; }
@keyframes pd-spin { to { transform: rotate(360deg); } }
.ds .pd-spin { animation: pd-spin 1s linear infinite; color: var(--ds-primary); }
.ds .pd-ok, .ds .pd-up { color: var(--ds-success); }
.ds .pd-down, .ds .pd-bad { color: #C4320A; }
.ds .pd-fix { color: var(--ds-primary); }
.ds .pd-muted { color: var(--ds-muted); }
.ds .pd-mono { font-family: var(--ds-mono); font-size: 12px; }
.ds .pd-btn { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: var(--ds-r-sm); background: var(--ds-primary); color: #fff; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.ds .pd-btn.is-ready { box-shadow: 0 0 0 4px var(--ds-primary-soft); }
.ds .pd-card { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); background: var(--ds-canvas); }
.ds .pd-card-title { font-weight: 700; margin-bottom: 8px; }
.ds .pd-tag { display: inline-flex; align-items: center; gap: 5px; margin: 0 5px 5px 0; padding: 2px 8px; border: 1px solid var(--ds-border); border-radius: 999px; background: var(--ds-surface-alt); font-size: 12px; white-space: nowrap; }
.ds .pd-tag svg { width: 12px !important; height: 12px !important; }
.ds .pd-tag-brand { border-color: transparent; background: var(--ds-primary-soft); color: var(--ds-primary); font-family: var(--ds-mono); }
.ds .pd-bar { display: block; height: 5px; border-radius: 3px; background: var(--ds-border); overflow: hidden; }
.ds .pd-bar b { display: block; width: 0; height: 100%; background: var(--ds-primary); transition: width 1.2s cubic-bezier(.4, 0, .2, 1); }

/* describe */
.ds .pd-setup { display: grid; place-items: center; min-height: 100%; }
.ds .pd-setup-card { width: min(460px, 100%); padding: 22px; border: 1px solid var(--ds-border-strong); border-radius: var(--ds-r-lg); box-shadow: 0 20px 40px -30px rgba(101, 61, 233, .45); }
.ds .pd-setup-mark img { width: 34px; height: 34px; border-radius: 9px; }
.ds .pd-setup-card h4 { margin-top: 14px; font-weight: 700; font-size: 17px; }
.ds .pd-setup-card > p { margin-top: 4px; font-size: 12.5px; }
.ds .pd-setup-card label { display: block; margin-top: 16px; font-weight: 700; font-size: 12.5px; }
.ds .pd-textarea { min-height: 92px; margin-top: 6px; padding: 10px 12px; border: 1.5px solid var(--ds-primary); border-radius: var(--ds-r-md); box-shadow: 0 0 0 3px var(--ds-primary-soft); line-height: 1.5; }
.ds .pd-caret { display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; vertical-align: -3px; background: var(--ds-ink); animation: fx-blink 1s steps(1) infinite; }
.ds .pd-attach { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 10px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); animation: pd-in .45s ease both; }
.ds .pd-attach svg { color: var(--ds-success); }
.ds .pd-attach b { font-weight: 400; }
.ds .pd-setup-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ds-border); }

/* build */
.ds .pd-user-msg { margin-left: auto; max-width: 86%; padding: 10px 12px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); background: var(--ds-surface-alt); line-height: 1.5; }
.ds .pd-file-chip { display: flex; align-items: center; gap: 5px; margin-top: 8px; color: var(--ds-body); font-size: 12px; }
.ds .pd-file-chip svg { color: var(--ds-success); width: 13px !important; height: 13px !important; }
.ds .pd-activity { margin-top: 14px; display: grid; gap: 7px; }
.ds .pd-step-line { display: flex; align-items: center; gap: 7px; color: var(--ds-body); }
.ds .pd-step-line b { font-weight: 400; color: var(--ds-ink); }
.ds .pd-jason-msg { margin-top: 14px; line-height: 1.55; }
.ds .pd-proposal dl { margin: 0; }
.ds .pd-proposal dl > div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid var(--ds-border); }
.ds .pd-proposal dt { color: var(--ds-muted); font-size: 12px; }
.ds .pd-proposal dd { margin: 0; }
.ds .pd-proposal-foot { display: flex; justify-content: flex-end; padding-top: 8px; border-top: 1px solid var(--ds-border); }
.ds .pd-progress { display: grid; gap: 8px; }
.ds .pd-progress > span { display: flex; align-items: center; gap: 7px; }
.ds .pd-progress.is-done { border-color: #CDE9D6; background: var(--ds-success-soft); }

/* pipeline */
.ds .pd-page h4 { font-weight: 700; font-size: 16px; }
.ds .pd-head { display: flex; align-items: flex-start; gap: 12px; }
.ds .pd-head > div { flex: 1; min-width: 0; }
.ds .pd-head p { margin-top: 3px; font-size: 12.5px; }
.ds .pd-head-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: var(--ds-r-md); background: var(--ds-primary-soft); color: var(--ds-primary); }
.ds .pd-meta { display: flex; align-items: center; gap: 5px; color: var(--ds-muted); }
.ds .pd-tabs { display: flex; gap: 18px; margin-top: 14px; border-bottom: 1px solid var(--ds-border); color: var(--ds-muted); white-space: nowrap; overflow: hidden; }
.ds .pd-tabs > * { padding: 8px 0; }
.ds .pd-tabs b { font-weight: 400; color: var(--ds-primary); box-shadow: inset 0 -2px 0 var(--ds-primary); }
.ds .pd-tabs i { margin-left: 3px; padding: 0 5px; border-radius: 999px; background: var(--ds-surface-alt); font-style: normal; font-size: 11px; }
.ds .pd-dag { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.ds .pd-dag-col { display: grid; align-content: start; gap: 8px; padding: 10px; border-radius: var(--ds-r-sm); background: var(--ds-surface-alt); }
.ds .pd-dag-label { font-family: var(--ds-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-muted); }
.ds .pd-node { padding: 8px 9px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: var(--ds-canvas); }
.ds .pd-node b { display: block; font-weight: 700; font-size: 12px; }
.ds .pd-node span { display: block; margin-top: 2px; color: var(--ds-muted); font-size: 11.5px; }
.ds .pd-versions { margin-top: 16px; display: grid; gap: 8px; }
.ds .pd-versions p:not(.pd-dag-label) { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--ds-border); }
.ds .pd-versions .pd-tag { margin: 0; }
.ds .pd-versions .pd-muted { margin-left: auto; white-space: nowrap; }

/* run */
.ds .pd-active { margin-top: 12px; border-color: var(--ds-border-strong); }
.ds .pd-active-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ds .pd-active-head .pd-mono { margin-left: auto; }
.ds .pd-stage-row { display: grid; grid-template-columns: 64px 1fr 116px; align-items: center; gap: 10px; padding: 5px 0; }
.ds .pd-stage-row .pd-bar b { transition: none; }
.ds .pd-stage-row .pd-mono { text-align: right; }
.ds .pd-list-label { margin: 16px 0 6px; color: var(--ds-muted); font-size: 12px; }
.ds .pd-run-row { display: grid; grid-template-columns: 18px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ds-border); }
.ds .pd-run-row b { display: block; font-weight: 700; }
.ds .pd-run-row small { color: var(--ds-muted); font-size: 12px; }

/* verify */
.ds .pd-status { padding: 3px 8px; border-radius: var(--ds-r-xs); background: var(--ds-surface-alt); color: var(--ds-muted); font-family: var(--ds-mono); font-size: 11px; white-space: nowrap; }
.ds .pd-status.is-ok { background: var(--ds-success-soft); color: var(--ds-success); }
.ds .pd-checks { margin-top: 14px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); }
.ds .pd-check { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--ds-border); opacity: .55; transition: opacity .3s; }
.ds .pd-check:first-child { border-top: 0; }
.ds .pd-check.is-done { opacity: 1; }
.ds .pd-check b { display: block; font-weight: 700; }
.ds .pd-check small { color: var(--ds-muted); font-size: 12px; }
.ds .pd-flag { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #FDF3DC; color: #9A6412; font-weight: 700; font-size: 11px; }
.ds .pd-trace dl { margin: 0; }
.ds .pd-trace dl > div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding: 5px 0; border-top: 1px solid var(--ds-border); }
.ds .pd-trace dt { color: var(--ds-muted); }
.ds .pd-trace dd { margin: 0; }

/* deliver */
.ds .pd-live { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--ds-success-soft); color: var(--ds-success); font-weight: 400; font-size: 12px; vertical-align: 2px; }
.ds .pd-table-wrap { margin-top: 12px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); overflow: hidden; }
.ds .pd-table { width: 100%; border-collapse: collapse; }
.ds .pd-table th { padding: 8px 10px; background: var(--ds-surface); border-bottom: 1px solid var(--ds-border); text-align: left; font-family: var(--ds-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-muted); }
.ds .pd-table td { padding: 8px 10px; border-bottom: 1px solid var(--ds-border); white-space: nowrap; }
.ds .pd-table tr:last-child td { border-bottom: 0; }
.ds .pd-stock { padding: 1px 6px; border-radius: var(--ds-r-xs); font-size: 11.5px; }
.ds .pd-stock-in { background: var(--ds-success-soft); color: var(--ds-success); }
.ds .pd-stock-low { background: #FDF3DC; color: #9A6412; }
.ds .pd-stock-out { background: var(--ds-alert-soft); color: #C4320A; }
.ds .pd-dests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ds .pd-dests span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--ds-border); border-radius: 999px; font-size: 12px; }
.ds .pd-dests img { width: 14px; height: 14px; }
.ds .pd-overlay { position: absolute; inset: 0; pointer-events: none; background: rgba(21, 18, 31, 0); transition: background .4s; }
.ds .pd-app.has-overlay .pd-overlay { background: rgba(21, 18, 31, .22); }
.ds .pd-sheet { position: absolute; right: 18px; bottom: 60px; width: min(430px, 78%); overflow: hidden; border: 1px solid #DDDBE3; border-radius: var(--ds-r-md); background: #fff; box-shadow: 0 30px 60px -30px rgba(21, 18, 31, .5); animation: pd-sheet .6s cubic-bezier(.16, 1, .3, 1) .9s both; }
@keyframes pd-sheet { from { opacity: 0; transform: translate(24px, 24px) scale(.97); } }
.ds .pd-sheet-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #E3E3E3; background: #F8F9FA; }
.ds .pd-sheet-bar .pd-muted { margin-left: auto; font-size: 11.5px; }
.ds .pd-sheet table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ds .pd-sheet th, .ds .pd-sheet td { padding: 5px 8px; border: 1px solid #E6E6E6; text-align: left; white-space: nowrap; }
.ds .pd-sheet th, .ds .pd-sheet td:first-child { background: #F8F9FA; color: #777; font-weight: 400; text-align: center; width: 26px; }

/* repair */
.ds .pd-timeline { list-style: none; margin: 14px 0 0; padding: 0; }
.ds .pd-timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding-bottom: 16px; }
.ds .pd-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 1.5px; background: var(--ds-border); }
.ds .pd-tl-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ds-border); background: var(--ds-canvas); }
.ds .pd-tl-bad .pd-tl-icon { border-color: #F6C9BE; background: var(--ds-alert-soft); }
.ds .pd-tl-fix .pd-tl-icon { border-color: var(--ds-border-strong); background: var(--ds-primary-soft); }
.ds .pd-tl-ok .pd-tl-icon { border-color: #CDE9D6; background: var(--ds-success-soft); }
.ds .pd-timeline b { display: block; font-weight: 700; padding-top: 4px; }
.ds .pd-tl-bad b { color: #C4320A; }
.ds .pd-timeline p { margin-top: 3px; color: var(--ds-body); line-height: 1.5; }

/* scale */
.ds .pd-grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.ds .pd-mini { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); }
.ds .pd-mini-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 4px; border-radius: var(--ds-r-sm); background: var(--ds-primary-soft); color: var(--ds-primary); }
.ds .pd-mini b { font-weight: 700; font-size: 12.5px; }
.ds .pd-mini small { color: var(--ds-muted); font-size: 11.5px; }
.ds .pd-mini-ok { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--ds-success); font-size: 11.5px; }

@media (max-width: 1100px) { .ds .pd-app { grid-template-columns: 0 minmax(0, 1fr); } .ds .pd-side { visibility: hidden; padding: 0; } .ds .pd-dag { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .ds .pd-grid { grid-template-columns: 1fr; gap: 0; }
  .ds .pd-stage { order: -1; top: 70px; z-index: 3; height: 56vh; min-height: 0; }
  .ds .pd-chapters { position: relative; z-index: 1; }
  .ds .pd-chapter { min-height: 64vh; justify-content: flex-start; padding-top: 32px; }
  .ds .pd-grid-cards { grid-template-columns: 1fr 1fr; }
  .ds .pd-sheet { width: 88%; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .ds .pd-in, .ds .pd-sheet, .ds .pd-attach { animation: none; } .ds .pd-spin { animation: none; } .ds .pd-caret { animation: none; } }
.ds .pd-attach[hidden] { display: none; }

/* full-width variant: the app fills the stage and chapter cards float over it */
@media (min-width: 901px) {
  .ds .pd-full .pd-grid { width: min(1440px, 100% - 2 * clamp(16px, 2.5vw, 40px)); grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ds .pd-full .pd-stage, .ds .pd-full .pd-chapters { grid-area: 1 / 1; }
  .ds .pd-full .pd-stage { top: 88px; height: calc(100vh - 112px); min-height: 600px; }
  .ds .pd-full .pd-app { zoom: var(--z, 1.12); height: 100%; grid-template-columns: 210px minmax(0, 1fr); }
  .ds .pd-full .pd-view > * { max-width: 760px; }
  .ds .pd-full .pd-chapters { position: relative; z-index: 4; pointer-events: none; }
  .ds .pd-full .pd-chapter { max-width: none; min-height: 100vh; padding: 0 28px 9vh 0; justify-content: flex-end; align-items: flex-end; }
  .ds .pd-full .pd-copy { pointer-events: auto; width: min(420px, 40%); padding: 26px 28px 28px; border: 1px solid rgba(23, 21, 31, .08); border-radius: var(--ds-r-lg); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 30px 60px -28px rgba(40, 26, 100, .35), 0 1px 0 rgba(255, 255, 255, .8) inset; }
  .ds .pd-full .pd-copy h2 { font-size: clamp(26px, 2.2vw, 34px); }
  .ds .pd-full .pd-copy > p:not(.ds-eyebrow) { font-size: 15.5px; }
  .ds .pd-full .pd-chapter:last-child { min-height: 100vh; }
}
@media (min-width: 901px) { .ds .pd-full .pd-sheet { right: auto; left: 236px; bottom: 44px; width: min(430px, 44%); } }
@media (min-width: 901px) and (max-width: 1600px) {
  .ds .pd-full .pd-copy { width: min(380px, 38%); padding: 22px 24px 24px; }
}

/* pipeline flow diagram inside the product window */
.ds .pd-app .pd-flow { margin-top: 14px; grid-template-columns: 1fr 1.25fr 1.05fr 1fr; gap: 26px; padding: 18px; border-radius: var(--ds-r-md); }
.ds .pd-app .pd-flow .ds-node { padding: 7px 8px; gap: 7px; font-size: 12px; }
.ds .pd-app .pd-flow .ds-node small { font-size: 11px; }
.ds .pd-app .pd-flow .ds-node-icon { width: 24px; height: 24px; }
.ds .pd-app .pd-flow .ds-node-icon svg, .ds .pd-app .pd-flow .ds-node-icon img { width: 13px !important; height: 13px !important; }
.ds .pd-app .pd-flow .ds-steps li { padding: 4px 10px; font-size: 12px; }
.ds .pd-app .pd-flow .ds-pipeline-head { padding: 8px 10px; }
.ds .pd-app .pd-flow .ds-pipeline-head b { font-size: 11.5px; }
.ds .pd-app .pd-flow .ds-pipeline-foot, .ds .pd-app .pd-flow .ds-table-foot { padding: 7px 10px; font-size: 10.5px; }
.ds .pd-app .pd-flow .ds-table th, .ds .pd-app .pd-flow .ds-table td { padding: 6px 8px; font-size: 11.5px; }
.ds .pd-app .pd-flow .ds-table td { white-space: normal; }
.ds .pd-app .pd-flow .ds-eyebrow { font-size: 10px; }
.ds .pd-app .pd-flow .ds-diagram-more { font-size: 10.5px; }
.ds .pd-app .pd-flow .ds-diagram-wires { display: block; }
@media (max-width: 1100px) { .ds .pd-app .pd-flow { grid-template-columns: 1fr 1.25fr 1.05fr 1fr; } }


/* analyze */
.ds .pd-dash-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ds .pd-dash-bar h4 { margin-right: 6px; }
.ds .pd-filter { padding: 4px 10px; border: 1px solid var(--ds-border); border-radius: 999px; color: var(--ds-muted); font-size: 12px; }
.ds .pd-filter b { font-weight: 400; color: var(--ds-ink); }
.ds .pd-share { margin-left: auto; color: var(--ds-primary); font-size: 12px; }
.ds .pd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.ds .pd-kpi { padding: 12px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); }
.ds .pd-kpi span { display: block; color: var(--ds-muted); font-size: 11.5px; }
.ds .pd-kpi strong { display: block; margin-top: 6px; font-weight: 400; font-size: 24px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ds .pd-kpi small { display: block; margin-top: 2px; color: var(--ds-muted); font-size: 11px; }
.ds .pd-charts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 10px; }
.ds .pd-chart { padding: 12px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); }
.ds .pd-chart-title { font-weight: 700; font-size: 12.5px; margin-bottom: 10px; }
.ds .pd-cols { display: flex; align-items: flex-end; gap: 5px; height: 120px; padding-bottom: 2px; border-bottom: 1px solid var(--ds-border); }
.ds .pd-cols i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: var(--ds-primary); opacity: .85; transform: scaleY(0); transform-origin: bottom; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.ds .pd-cols i:nth-child(odd) { background: #9C84F2; }
.ds .pd-cols.is-on i { transform: scaleY(1); }
.ds .pd-cols i:nth-child(n) { transition-delay: calc(var(--d, 0) * 1ms); }
.ds .pd-axis { display: flex; justify-content: space-between; margin-top: 6px; color: var(--ds-muted); font-size: 11px; }
.ds .pd-hbar { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; }
.ds .pd-hbar i { display: block; height: 10px; border-radius: 2px; background: var(--ds-surface-alt); overflow: hidden; }
.ds .pd-hbar b { display: block; width: 0; height: 100%; background: var(--ds-success); opacity: .8; transition: width 1s cubic-bezier(.16, 1, .3, 1) .2s; }
.ds .pd-chart.is-on .pd-hbar b { width: var(--w); }
@media (prefers-reduced-motion: reduce) { .ds .pd-cols i { transform: none; transition: none; } .ds .pd-hbar b { width: var(--w); transition: none; } }
.ds .pd-app .pd-flow .ds-pipeline-head .ds-tag { display: none; }
.ds .pd-app .pd-flow .ds-pipeline-foot .ds-status { font-size: 9.5px; white-space: nowrap; }
.ds .pd-full .pd-view > .pd-dash { max-width: none; }
.ds .pd-dash .pd-kpis { gap: 12px; }
.ds .pd-dash .pd-kpi { padding: 14px 16px; }
.ds .pd-dash .pd-kpi strong { font-size: 30px; }
.ds .pd-dash .pd-charts { grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 12px; }
.ds .pd-dash .pd-chart { padding: 14px 16px; }
.ds .pd-dash .pd-cols { height: 170px; gap: 7px; }
.ds .pd-dash .pd-hbar { grid-template-columns: 110px 1fr; padding: 6px 0; font-size: 12.5px; }
.ds .pd-dash .pd-hbar i { height: 12px; }
@media (min-width: 901px) {
  .ds .pd-full .pd-chapter { padding-bottom: 3.5vh; }
}
@media (min-width: 901px) and (max-height: 1000px) {
  .ds .pd-full .pd-chips { display: none; }
  .ds .pd-full .pd-copy h2 { font-size: 26px; }
  .ds .pd-full .pd-copy > p:not(.ds-eyebrow) { margin-top: 10px; font-size: 14.5px; line-height: 1.55; }
}
/* describe: the setup prompt sits directly on the empty chat area, larger */
.ds .pd-full .pd-view > .pd-setup { max-width: none; }
.ds .pd-setup-card { width: min(620px, 100%); padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.ds .pd-setup-mark img { width: 44px; height: 44px; border-radius: 12px; }
.ds .pd-setup-card h4 { margin-top: 18px; font-weight: 400; font-size: 26px; letter-spacing: -.02em; }
.ds .pd-setup-card > p { margin-top: 6px; font-size: 14px; }
.ds .pd-setup-card label { margin-top: 22px; font-size: 13.5px; }
.ds .pd-textarea { min-height: 128px; padding: 14px 16px; font-size: 16px; line-height: 1.55; border-radius: var(--ds-r-lg); }
.ds .pd-caret { height: 18px; }
.ds .pd-attach { margin-top: 12px; padding: 10px 12px; font-size: 14px; }
.ds .pd-setup-foot { margin-top: 18px; padding-top: 0; border-top: 0; font-size: 14px; }
.ds .pd-setup-foot .pd-btn { padding: 10px 16px; font-size: 14px; }
.ds .pd-full .pd-setup { place-items: start center; padding-top: clamp(16px, 5vh, 64px); }
.ds .pd-dash .pd-cols { height: 130px; }
.ds .pd-dash .pd-hbar { padding: 4px 0; }
.ds .pd-charts-3 { grid-template-columns: repeat(3, 1fr) !important; }
.ds .pd-charts-3 .pd-cols { height: 96px; }
.ds .pd-cols-blue i { background: #5B8FD0 !important; }
.ds .pd-cols-blue i:nth-child(odd) { background: #86ADDF !important; }
.ds .pd-hbar-brand b { background: var(--ds-primary) !important; opacity: .75; }
.ds .pd-charts-3 .pd-hbar { grid-template-columns: 64px 1fr; }
.ds .pd-line { display: block; width: 100%; height: 96px; overflow: visible; }
.ds .pd-line-path { fill: none; stroke: var(--ds-primary); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1) .2s; }
.ds .pd-line-area { fill: var(--ds-primary-soft); opacity: 0; transition: opacity .8s ease 1s; }
.ds .pd-line.is-on .pd-line-path { stroke-dashoffset: 0; }
.ds .pd-line.is-on .pd-line-area { opacity: .8; }
.ds .pd-chart-title .pd-muted { font-weight: 400; margin-left: 6px; }
@media (prefers-reduced-motion: reduce) { .ds .pd-line-path { stroke-dashoffset: 0; transition: none; } .ds .pd-line-area { opacity: .8; transition: none; } }
.ds .pd-dash .pd-kpi { padding: 10px 14px; }
.ds .pd-dash .pd-kpi strong { margin-top: 4px; font-size: 26px; }
.ds .pd-dash .pd-kpis { margin-top: 12px; }
.ds .pd-dash .pd-chart { padding: 10px 14px; }
.ds .pd-dash .pd-chart-title { margin-bottom: 8px; }
.ds .pd-dash .pd-cols { height: 100px; }
.ds .pd-dash .pd-hbar { padding: 2px 0; }
.ds .pd-dash .pd-hbar i { height: 10px; }
.ds .pd-charts-3 .pd-cols, .ds .pd-dash .pd-line { height: 70px; }
.ds .pd-dash .pd-axis { margin-top: 4px; }

/* =====================================================================
   Purple is a frame only: it sits behind product mockups (the homepage
   demo stage and the /product window). Proof bands and CTAs stay dark.
   ===================================================================== */
@media (min-width: 901px) {
  .ds .pd-full .pd-stage { padding: clamp(14px, 1.6vw, 26px); border-radius: var(--ds-r-lg); overflow: hidden; isolation: isolate; background: #E9E3FA; }
  .ds .pd-full .pd-stage::before {
    content: ""; position: absolute; inset: -20%; z-index: -1; filter: blur(60px); pointer-events: none;
    background:
      radial-gradient(40% 45% at 18% 20%, #C8B8FF 0%, transparent 70%),
      radial-gradient(35% 40% at 82% 18%, #F3D6F0 0%, transparent 70%),
      radial-gradient(45% 50% at 70% 85%, #9C84F2 0%, transparent 70%),
      radial-gradient(40% 45% at 15% 90%, #B6C6F7 0%, transparent 70%),
      linear-gradient(180deg, #E4DCFB, #D6CCF6);
  }
  .ds .pd-full .pd-app { border-color: rgba(23, 21, 31, .08); box-shadow: 0 40px 80px -40px rgba(49, 26, 130, .45); }
}

/* homepage coverage band: a white card, not a dark band */
.ds #markets .ds-band { background: var(--ds-canvas); border: 1px solid var(--ds-border); color: var(--ds-ink); }
.ds #markets .ds-band :is(h2, h3, strong, b) { color: var(--ds-ink); }
.ds #markets .ds-band .ds-accent { color: var(--ds-primary); }
.ds #markets .ds-band .ds-eyebrow { color: var(--ds-muted); }
.ds #markets .ds-band .ds-head > p:not(.ds-eyebrow), .ds #markets .ds-band :is(.ds-stats span, .ds-security p, .ds-security-grid small) { color: var(--ds-body); }
.ds #markets .ds-band :is(.ds-notes, .ds-map figcaption) { color: var(--ds-muted); }
.ds #markets .ds-band :is(.ds-notes a, .ds-stats sup a, .ds-security p a) { color: var(--ds-primary); }
.ds #markets .ds-map { background: var(--ds-surface-alt); border-color: var(--ds-border); }
.ds #markets .world-country { fill: #DCD8E6; stroke: #F7F7F9; }
.ds #markets .world-country.is-active { fill: #8F70DD; }
.ds #markets :is(.ds-stats, .ds-security-grid) { background: var(--ds-canvas); border-color: var(--ds-border); }
.ds #markets :is(.ds-stats li, .ds-security-grid li, .ds-security) { border-color: var(--ds-border); }

/* /product: the app keeps its framed size; the purple frame grows out to full-bleed
   while the walkthrough fills the screen, and the site nav slides away */
@media (min-width: 901px) {
  .ds .pd-full {
    --pd-frame: clamp(14px, 1.6vw, 26px);
    --pd-ph: max(var(--pd-frame), calc((100% - min(1440px, 100% - 2 * clamp(16px, 2.5vw, 40px))) / 2 + var(--pd-frame)));
    --pd-pv: calc(56px + var(--pd-frame));
  }
  .ds .pd-full .pd-grid { width: 100%; }
  .ds .pd-full .pd-stage {
    top: 0; height: 100vh; min-height: 640px; border-radius: 0; padding: var(--pd-pv) var(--pd-ph);
    clip-path: inset(calc(var(--pd-pv) - var(--pd-frame)) calc(var(--pd-ph) - var(--pd-frame)) round var(--ds-r-lg));
    transition: clip-path .8s cubic-bezier(.16, 1, .3, 1);
  }
  .ds.pd-immersive .pd-full .pd-stage { clip-path: inset(0 round 0); }
  .ds .pd-full .pd-chapter { padding: 0 calc(var(--pd-ph) + 28px) calc(var(--pd-pv) + 72px) 0; }
  .ds .nav { transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-color .2s; }
  .ds.pd-immersive .nav { transform: translateY(-100%); }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) { .ds .pd-full .pd-stage, .ds .nav { transition: none; } }
@media (min-width: 901px) { .ds .pd.pd-full { padding-top: 0; } }

/* solutions index: a ruled list with a sample of each dataset */
.ds .sx-list { width: min(var(--ds-max), 100%); margin-inline: auto; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: var(--ds-canvas); overflow: hidden; }
.ds .sx-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.05fr) 32px; align-items: center; gap: 28px; padding: 26px 28px; color: inherit; transition: background .15s; }
.ds .sx-row + .sx-row { border-top: 1px solid var(--ds-border); }
.ds .sx-row:hover { background: var(--ds-primary-tint); }
.ds .sx-icon { align-self: start; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: var(--ds-primary-tint); color: var(--ds-primary); transition: background .15s, color .15s, border-color .15s; }
.ds .sx-icon .icon { width: 20px; height: 20px; }
.ds .sx-row:hover .sx-icon { background: var(--ds-primary); border-color: var(--ds-primary); color: #fff; }
.ds .sx-cta { font-family: var(--ds-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-primary); }
.ds .sx-copy h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; color: var(--ds-ink); }
.ds .sx-copy > p:not(.sx-topics) { margin-top: 8px; max-width: 34rem; color: var(--ds-body); font-size: 15.5px; line-height: 1.55; }
.ds .sx-topics { margin-top: 12px; font-family: var(--ds-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-muted); }
.ds .sx-preview { border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: var(--ds-surface); overflow: hidden; }
.ds .sx-dataset { padding: 8px 12px; border-bottom: 1px solid var(--ds-border); font-family: var(--ds-mono); font-size: 11px; color: var(--ds-muted); }
.ds .sx-dataset::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--ds-success); vertical-align: 1px; }
.ds .sx-preview table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ds .sx-preview th { padding: 7px 12px; text-align: left; font-family: var(--ds-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-muted); border-bottom: 1px solid var(--ds-border); }
.ds .sx-preview td { padding: 8px 12px; font-size: 13px; color: var(--ds-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds .sx-preview tr + tr td { border-top: 1px solid var(--ds-border); }
.ds .sx-arrow { justify-self: end; color: var(--ds-muted); transition: color .15s, transform .15s; }
.ds .sx-arrow .icon { width: 18px; height: 18px; }
.ds .sx-row:hover .sx-arrow { color: var(--ds-primary); transform: translateX(4px); }
.ds .product-example-usecases .sx-list { margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 900px) {
  .ds .sx-row { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 16px; padding: 22px 18px; }
  .ds .sx-preview, .ds .sx-cta { grid-column: 2 / 3; grid-row: 2; }
  .ds .sx-icon { width: 40px; height: 40px; }
  .ds .sx-arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 560px) { .ds .sx-preview th:nth-child(2), .ds .sx-preview td:nth-child(2) { display: none; } .ds .sx-preview { grid-column: 2 / 4; } }

/* Footer: one row of copyright, links and logo. Stacks left-aligned on phones. */
.ds > footer { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "copy links brand"; align-items: center; gap: 0 32px; font-size: 13px; }
.ds footer > span { grid-area: copy; }
.ds footer .f-links { grid-area: links; justify-self: center; }
.ds footer > .f-brand { grid-area: brand; justify-self: end; }
@media (max-width: 1200px) {
  .ds > footer { grid-template-columns: 1fr auto; grid-template-areas: "links links" "copy brand"; row-gap: 28px; }
  .ds footer .f-links { justify-self: start; }
}
@media (max-width: 650px) {
  .ds > footer { grid-template-columns: 1fr; grid-template-areas: "brand" "links" "copy"; row-gap: 24px; justify-items: start; }
  .ds footer > .f-brand { justify-self: start; }
  .ds footer .f-links { display: flex; flex-wrap: wrap; align-items: center; justify-self: start; gap: 12px 20px; font-size: 14px; }
  .ds footer .f-link-group { display: contents; }
  .ds footer .agent-badge { order: 9; font-size: .625rem; }
}

/* Radar / Benchmark: a small Factory window on the purple frame (replaces the old placeholder illustrations) */
.ds .sk-stage { position: relative; margin: 0; padding: clamp(18px, 3vw, 36px); border-radius: var(--ds-r-lg); overflow: hidden; isolation: isolate; background: #E9E3FA; min-width: 0; }
.ds .sk-stage::before { content: ""; position: absolute; inset: -20%; z-index: -1; filter: blur(50px);
  background: radial-gradient(45% 50% at 15% 20%, #C8B8FF 0%, transparent 70%), radial-gradient(40% 45% at 85% 15%, #F3D6F0 0%, transparent 70%),
    radial-gradient(50% 55% at 75% 90%, #9C84F2 0%, transparent 70%), linear-gradient(180deg, #E4DCFB, #D6CCF6); }
.ds .sk { background: var(--ds-canvas); border: 1px solid rgba(23, 21, 31, .08); border-radius: var(--ds-r-md); overflow: hidden; box-shadow: 0 30px 60px -34px rgba(49, 26, 130, .45); font-size: 13px; text-align: left; color: var(--ds-ink); }
.ds .sk .fx-chrome { height: 34px; }
.ds .sk .fx-dots i { width: 9px; height: 9px; }
.ds .sk .fx-title { font-size: 12.5px; }
.ds .sk-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--ds-border); }
.ds .sk-ds { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ds-mono); font-size: 12px; }
.ds .sk-ds .icon { width: 14px; height: 14px; color: var(--ds-primary); }
.ds .sk-live { padding: 2px 8px; border-radius: 999px; background: var(--ds-success-soft); color: var(--ds-success); font-size: 11px; }
.ds .sk-meta { margin-left: auto; font-family: var(--ds-mono); font-size: 11px; color: var(--ds-muted); }
.ds .sk-body { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.6fr); }
.ds .sk-side { padding: 14px 14px 16px; border-right: 1px solid var(--ds-border); background: #FAFAFC; }
.ds .sk-main { padding: 14px 16px 12px; min-width: 0; }
.ds .sk-label { margin-bottom: 8px; font-family: var(--ds-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-muted); }
.ds .sk-sources { display: grid; gap: 2px; }
.ds .sk-sources li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto; align-items: center; gap: 7px; padding: 5px 0; font-size: 12.5px; }
.ds .sk-tick { width: 14px; height: 14px; border-radius: 50%; background: var(--ds-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2 6 9.2 10 5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ds .sk-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ds .sk-kind { font-family: var(--ds-mono); font-size: 10px; color: var(--ds-muted); }
.ds .sk-n { min-width: 26px; text-align: right; font-family: var(--ds-mono); font-size: 11px; color: var(--ds-body); }
.ds .sk-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(52px, auto); align-items: center; gap: 12px; padding: 8px 0; }
.ds .sk-rows li + li { border-top: 1px solid var(--ds-border); }
.ds .sk-item { display: grid; min-width: 0; }
.ds .sk-item b { font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ds .sk-item small { font-size: 11.5px; color: var(--ds-muted); }
.ds .sk-price { font-family: var(--ds-mono); font-size: 11.5px; color: var(--ds-body); white-space: nowrap; }
.ds .sk-chg { justify-self: end; padding: 2px 7px; border-radius: var(--ds-r-xs); font-family: var(--ds-mono); font-size: 11px; white-space: nowrap; }
.ds .sk-down { background: var(--ds-success-soft); color: var(--ds-success); }
.ds .sk-up { background: var(--ds-alert-soft); color: #C4271E; }
.ds .sk-new { background: var(--ds-primary-soft); color: var(--ds-primary); }
.ds .sk-out { background: var(--ds-surface-alt); color: var(--ds-body); }
.ds .sk-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 16px; border-top: 1px solid var(--ds-border); background: #FAFAFC; font-size: 11.5px; color: var(--ds-muted); }
.ds .sk-foot span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ds-success); }
.ds .sk-foot .icon { width: 13px; height: 13px; }
/* Benchmark */
.ds .sk-scenario { display: grid; gap: 0; }
.ds .sk-scenario div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--ds-border); font-size: 12px; }
.ds .sk-scenario dt { color: var(--ds-muted); }
.ds .sk-scenario dd { margin: 0; font-family: var(--ds-mono); font-size: 11.5px; }
.ds .sk-note { margin-top: 10px; font-size: 11.5px; color: var(--ds-primary); }
.ds .sk-journeys li { grid-template-columns: minmax(0, 1fr) auto 92px; }
.ds .sk-steps { display: flex; gap: 4px; }
.ds .sk-steps i { padding: 2px 6px; border-radius: var(--ds-r-xs); background: var(--ds-success-soft); color: var(--ds-success); font-style: normal; font-family: var(--ds-mono); font-size: 10px; }
.ds .sk-quote { justify-self: end; display: inline-flex; align-items: baseline; gap: 2px; flex-wrap: wrap; justify-content: flex-end; font-size: 16px; letter-spacing: -.01em; }
.ds .sk-quote small { font-size: 11px; color: var(--ds-muted); }
.ds .sk-quote em { flex-basis: 100%; text-align: right; font-style: normal; font-family: var(--ds-mono); font-size: 10px; color: var(--ds-primary); text-transform: uppercase; letter-spacing: .05em; }

/* The run: sources tick in, then the rows land. Final state is the default. */
@keyframes sk-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes sk-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes sk-wait { 0%, 100% { opacity: .25; } 50% { opacity: .7; } }
.ds .sk-anim:not(.is-live) :is(.sk-n, .sk-rows li, .sk-foot, .sk-steps i, .sk-quote) { opacity: 0; }
.ds .sk-anim:not(.is-live) .sk-tick { background: var(--ds-border); animation: sk-wait 1.2s infinite; }
.ds .sk-anim.is-live .sk-tick, .ds .sk-anim.is-live .sk-n { animation: sk-pop .35s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(var(--i) * .28s + .2s); }
.ds .sk-anim.is-live .sk-rows li { animation: sk-in .45s ease-out both; animation-delay: calc(var(--j) * .22s + 1.9s); }
.ds .sk-anim.is-live .sk-journeys li { animation-delay: calc(var(--j) * .12s + .2s); }
.ds .sk-anim.is-live .sk-steps i { animation: sk-pop .3s ease-out both; animation-delay: calc(var(--j) * .5s + .6s); }
.ds .sk-anim.is-live .sk-steps i:nth-child(2) { animation-delay: calc(var(--j) * .5s + .85s); }
.ds .sk-anim.is-live .sk-steps i:nth-child(3) { animation-delay: calc(var(--j) * .5s + 1.1s); }
.ds .sk-anim.is-live .sk-quote { animation: sk-in .4s ease-out both; animation-delay: calc(var(--j) * .5s + 1.25s); }
.ds .sk-anim.is-live .sk-foot { animation: sk-in .5s ease-out both; animation-delay: 3.2s; }
@media (max-width: 560px) {
  .ds .sk-body { grid-template-columns: 1fr; }
  .ds .sk-side { border-right: 0; border-bottom: 1px solid var(--ds-border); }
  .ds .sk-sources { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .ds .sk-kind { display: none; }
  .ds .sk-rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .ds .sk-price { display: none; }
  .ds .sk-journeys li { grid-template-columns: minmax(0, 1fr) auto; }
  .ds .sk-steps { display: none; }
  .ds .sk-meta { display: none; }
}

/* Dataset tables: white header, mono labels, ink values (replaces the lavender header and purple values) */
.ds .dataset-preview { border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); background: var(--ds-canvas); }
.ds .dataset-bar { padding: 14px 18px; border-bottom: 1px solid var(--ds-border); color: var(--ds-ink); }
.ds .dataset-bar > span:first-child { gap: 8px; font-family: var(--ds-mono); font-size: 13px; }
.ds .dataset-bar .icon { width: 15px; height: 15px; color: var(--ds-primary); }
.ds .dataset-state { padding: 2px 8px; border-radius: 999px; background: var(--ds-success-soft); color: var(--ds-success); font-size: 11.5px; }
.ds .dataset-state i { background: var(--ds-success); }
.ds .dataset-preview table { font-size: 14px; }
.ds .dataset-preview th { padding: 11px 16px; background: var(--ds-canvas); border-bottom: 1px solid var(--ds-border); font-family: var(--ds-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-muted); }
.ds .dataset-preview td { padding: 12px 16px; border-top: 0; color: var(--ds-ink); }
.ds .dataset-preview tr + tr td { border-top: 1px solid var(--ds-border); }
.ds .dataset-preview td:nth-last-child(2) { color: var(--ds-ink); font-family: inherit; font-size: inherit; }
.ds .dataset-bottom { padding: 11px 18px; border-top: 1px solid var(--ds-border); background: var(--ds-surface); color: var(--ds-muted); font-size: 12px; }
.ds .dataset-bottom > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ds-success); }

/* Dataset notes: what each column is for, numbered to match the table */
.ds .dx-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: clamp(28px, 4vw, 44px) 0 20px; border-top: 1px solid var(--ds-border); }
.ds .dx-notes li { position: relative; display: grid; grid-template-columns: 28px 1fr; align-content: start; column-gap: 12px; padding: 22px 28px 6px 0; cursor: default; }
.ds .dx-notes li + li { padding-left: 28px; border-left: 1px solid var(--ds-border); }
.ds .dx-notes li::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--ds-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.ds .dx-notes li.is-on::before { transform: scaleX(1); }
.ds .dx-notes h3 { grid-column: 2; font-weight: 400; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; color: var(--ds-ink); }
.ds .dx-notes p { grid-column: 2; margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ds-body); }
.ds .dx-col { grid-column: 2; justify-self: start; margin-top: 12px; font-family: var(--ds-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-primary); }
.ds .dx-col::before { content: "Column · "; color: var(--ds-muted); }
.ds .dx-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ds-primary-soft); color: var(--ds-primary); font-family: var(--ds-mono); font-size: 11px; font-weight: 400; letter-spacing: 0; line-height: 1; }
.ds .dx-notes > li > .dx-mark { grid-row: 1 / span 4; margin-top: 2px; }
.ds .dataset-preview th.dx-hit { color: var(--ds-primary); }
.ds .dataset-preview th .dx-mark { width: 16px; height: 16px; margin-left: 6px; font-size: 9.5px; vertical-align: 1px; }
.ds .dataset-preview .dx-hit { background: var(--ds-primary-tint); transition: background .2s; }
.ds .dataset-preview .dx-hit.is-on { background: var(--ds-primary-soft); }
@media (max-width: 900px) {
  .ds .dx-notes { grid-template-columns: 1fr; }
  .ds .dx-notes li, .ds .dx-notes li + li { padding: 18px 0 16px; border-left: 0; }
  .ds .dx-notes li + li { border-top: 1px solid var(--ds-border); }
}

/* Ruled index: the list pattern used by /solutions, applied to legal, compare, contact and blog */
.ds .rl { width: min(var(--ds-max), 100%); margin-inline: auto; border-top: 1px solid var(--ds-ink); }
.ds .rl-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto 24px; align-items: center; gap: 28px; padding: 26px 8px; border-bottom: 1px solid var(--ds-border); color: inherit; transition: background .15s; }
.ds a.rl-row:hover { background: var(--ds-primary-tint); }
.ds .rl-row > .rl-main:first-child { grid-column: 1 / 3; }
.ds .rl-lead { align-self: start; padding-top: 5px; font-family: var(--ds-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-muted); }
.ds .rl-main h2, .ds .rl-main h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 400; font-size: 22px; line-height: 1.25; letter-spacing: -.015em; color: var(--ds-ink); }
.ds .rl-main p { margin-top: 6px; max-width: 40rem; font-size: 15px; line-height: 1.55; color: var(--ds-body); }
.ds .rl-aside { display: grid; justify-items: end; gap: 2px; text-align: right; font-family: var(--ds-mono); font-size: 12px; color: var(--ds-muted); white-space: nowrap; }
.ds .rl-aside small { font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; }
.ds .rl-aside b { font-family: var(--sans); font-weight: 400; font-size: 17px; color: var(--ds-ink); }
.ds .rl-arrow { justify-self: end; color: var(--ds-muted); transition: color .15s, transform .15s; }
.ds .rl-arrow .icon { width: 18px; height: 18px; }
.ds a.rl-row:hover .rl-arrow { color: var(--ds-primary); transform: translateX(4px); }
.ds .rl-action { grid-column: 3 / 5; justify-self: end; }
.ds .rl-group { width: min(var(--ds-max), 100%); margin: 48px auto 12px; font-family: var(--ds-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-primary); }
.ds .rl-group:first-child { margin-top: 0; }
.ds .rl-compare .rl-row { grid-template-columns: 44px minmax(0, 1fr) auto 24px; }
.ds .rl-logo { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-sm); background: var(--ds-canvas); }
.ds .rl-logo img { width: 24px; height: 24px; object-fit: contain; }
.ds .comparison-directory .rl { margin-top: clamp(24px, 3vw, 36px); }
.ds .rl-feed .rl-main h2 { font-size: 18px; }
@media (max-width: 760px) {
  .ds .rl-row, .ds .rl-compare .rl-row { grid-template-columns: minmax(0, 1fr) 24px; gap: 8px 16px; padding: 22px 4px; }
  .ds .rl-lead, .ds .rl-logo { grid-column: 1 / -1; padding-top: 0; }
  .ds .rl-logo { width: 36px; height: 36px; }
  .ds .rl-row > .rl-main:first-child, .ds .rl-main { grid-column: 1; }
  .ds .rl-aside { grid-column: 1; grid-row: auto; justify-items: start; text-align: left; }
  .ds .rl-arrow { grid-column: 2; grid-row: 2; }
  .ds .rl-action { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .ds .rl-main h2, .ds .rl-main h3 { font-size: 20px; }
}
/* Compact solutions list (About): two columns, no dataset samples */
.ds .sx-compact { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(28px, 4vw, 44px); }
.ds .sx-compact .sx-row { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 18px; padding: 22px 24px; border-top: 1px solid var(--ds-border); }
.ds .sx-compact .sx-row:nth-child(-n+2) { border-top: 0; }
.ds .sx-compact .sx-row:nth-child(even) { border-left: 1px solid var(--ds-border); }
.ds .sx-compact .sx-row + .sx-row { border-top: 1px solid var(--ds-border); }
.ds .sx-compact .sx-row:nth-child(2) { border-top: 0; }
.ds .sx-compact .sx-icon { width: 40px; height: 40px; }
.ds .sx-compact .sx-copy h3 { font-size: 19px; }
.ds .sx-compact .sx-copy > p:not(.sx-topics) { font-size: 14.5px; }
.ds .sx-compact .sx-topics { display: none; }
@media (max-width: 760px) {
  .ds .sx-compact { grid-template-columns: 1fr; }
  .ds .sx-compact .sx-row:nth-child(even) { border-left: 0; }
  .ds .sx-compact .sx-row:nth-child(2) { border-top: 1px solid var(--ds-border); }
  .ds .sx-compact .sx-row { grid-template-columns: 40px minmax(0, 1fr) 24px; padding: 18px 16px; }
}
/* In the Radar / Benchmark cards the purple frame fills the card and the window sits centred in it */
.ds .product-mode-demo { align-items: stretch; }
.ds .product-mode-demo .sk-stage { flex: 1; display: grid; place-items: center; }
.ds .product-mode-demo .sk { width: 100%; }
.ds .sk { container-type: inline-size; }
@container (max-width: 600px) {
  .ds .sk-kind { display: none; }
  .ds .sk-sources li { grid-template-columns: 14px minmax(0, 1fr) auto; }
  .ds .sk-steps i { padding: 2px 4px; }
}
/* Radar / Benchmark card header: plain icon + name, badge on the right */
.ds .product-mode-heading { gap: 10px; margin-bottom: 20px; }
.ds .product-mode-heading .sku-icon-large { width: 22px; height: 22px; padding: 0; border: 0; background: none; margin: 0; }
.ds .product-mode-heading strong { font-weight: 400; font-size: 18px; letter-spacing: -.01em; color: var(--ds-ink); }

/* Provenance: a Claude-coloured assistant rambling behind, the Jsonify row overlapping it with its evidence */
.ds .pv { position: relative; display: block; padding: 14px 0 0; }
.ds .pv-tab { position: absolute; top: -13px; left: 18px; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px 0 4px; border-radius: 8px; font-size: 13px; line-height: 1; }
.ds .pv-tab svg { width: 20px; height: 20px; }
.ds .pv-chat { position: relative; margin-right: 12%; padding: 26px 26px 0; border: 1px solid #E6E1D6; border-radius: var(--ds-r-lg); background: #F8F7F3; }
.ds .pv-chat .pv-tab { border: 1px solid #E6E1D6; background: #F8F7F3; color: #3D3929; }
.ds .pv-reply { max-height: 250px; overflow: hidden; }
.ds .pv-ask { width: fit-content; max-width: 85%; margin: 4px 0 18px auto; padding: 11px 15px; border-radius: 16px 16px 4px 16px; background: #E9E5DB; color: #29261B; font-size: 15px; }
.ds .pv-reply p { margin: 0; font-family: Georgia, 'Times New Roman', serif; color: #3D3929; line-height: 1.55; }
.ds .pv-reply p:nth-child(1) { font-size: 17px; }
.ds .pv-reply p:nth-child(2) { margin-top: 12px; font-size: 15px; }
.ds .pv-reply p:nth-child(3) { margin-top: 10px; font-size: 13px; opacity: .85; }
.ds .pv-reply p:nth-child(4) { margin-top: 8px; font-size: 11px; opacity: .7; }
.ds .pv-chat::after { content: ""; position: absolute; inset: auto 1px 1px; height: 120px; border-radius: 0 0 var(--ds-r-lg) var(--ds-r-lg); background: linear-gradient(transparent, #F8F7F3 80%); }
.ds .pv-data { position: relative; z-index: 1; margin: -92px 0 0 14%; padding: 30px 22px 18px; border: 1px solid var(--ds-border); border-radius: var(--ds-r-lg); background: var(--ds-canvas); box-shadow: 0 30px 60px -30px rgba(49, 26, 130, .35), 0 2px 6px rgba(23, 21, 31, .04); }
.ds .pv-tab-jsonify { gap: 10px; padding: 0 10px; border: 1px solid var(--ds-border); background: var(--ds-canvas); }
.ds .pv-tab-jsonify img { width: 72px; height: 20px; object-fit: contain; }
.ds .pv-tab-jsonify span { padding-left: 10px; border-left: 1px solid var(--ds-border); font-family: var(--ds-mono); font-size: 11.5px; color: var(--ds-muted); }
.ds .pv-record { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--ds-r-md); background: var(--ds-success-soft); }
.ds .pv-record b { display: block; font-weight: 400; font-size: 17px; color: var(--ds-ink); }
.ds .pv-record small { display: block; margin-top: 3px; font-size: 12.5px; color: #3F6B55; }
.ds .pv-record strong { font-family: var(--sans); font-weight: 400; font-size: 28px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ds-ink); }
.ds .pv-meta { display: grid; grid-template-columns: 1.3fr 1fr .8fr; margin: 14px 0 0; border: 1px solid var(--ds-border); border-radius: var(--ds-r-md); }
.ds .pv-meta div { min-width: 0; padding: 10px 14px; }
.ds .pv-meta div + div { border-left: 1px solid var(--ds-border); }
.ds .pv-meta dt { font-family: var(--ds-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-muted); }
.ds .pv-meta dd { margin: 4px 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--ds-mono); font-size: 12.5px; color: var(--ds-ink); }
.ds .pv-repeat { display: grid; grid-template-columns: 18px 1fr; gap: 4px 10px; margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--ds-body); }
.ds .pv-repeat svg { width: 18px; height: 18px; margin-top: 1px; color: var(--ds-success); }
.ds .pv-repeat b { font-weight: 500; color: var(--ds-ink); }
.ds .pv-repeat a { grid-column: 2; justify-self: start; font-size: 12.5px; color: var(--ds-primary); text-decoration: underline; text-underline-offset: 3px; pointer-events: none; }
@media (max-width: 640px) {
  .ds .pv-chat { margin-right: 0; padding: 26px 18px 0; }
  .ds .pv-reply { max-height: 230px; }
  .ds .pv-data { margin: -96px 0 0 6%; padding: 28px 16px 16px; }
  .ds .pv-meta { grid-template-columns: 1fr 1fr; }
  .ds .pv-meta div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ds-border); }
}
.ds .ds-explore .fx-stage { margin-top: clamp(32px, 4vw, 48px); }
/* Mobile menu button: a plain icon, no ring */
.ds .nav-toggle { border: 0; border-radius: var(--ds-r-sm); background: transparent; box-shadow: none; color: var(--ds-ink); }
.ds .nav-toggle:hover { background: var(--ds-surface-alt); }

/* Nothing may widen the page on phones: clip horizontal overflow at the root, and
   hard-clip the wide animated layers (Safari can let composited children escape
   overflow: hidden). */
html:has(body.ds), body.ds { overflow-x: clip; }
.ds :is(.fm-canvas, .fm-stage, .fx-stage, .sk-stage, .ab-strip) { contain: paint; }
@media (max-width: 560px) {
  .ds .rc-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .ds .rc-tabs button { min-width: 0; padding: .65rem .7rem .7rem; column-gap: .45rem; }
  .ds .rc-tabs button > span { flex-wrap: wrap; font-size: .875rem; }
  .ds .rc-tabs button > small, .ds .rc-tabs button > span + span { font-size: .72rem; }
}
