/* The Developers area (/developers/, /quickstart/, /api/, /sdks/, /security/), rendered by tools/developers-render.mjs from assets/data/developers.mjs. Layout only: type sizes come from the shared tokens.
   Shared parts reused: the roadmap frame (.rm-bg aurora and dot grid, .rm-shell, the sticky .rm-rail, .rm-num big gradient numbers, .rm-arcs), the investors section frame (.iv-sec, .iv-hd, .iv-cards grids, loaded from investors.css),
   .cap / .cap--hd / .tile cards with the pointer spotlight, .framed strips, .diagram-frame with the roadmap diagram parts, .code with its Copy button, .badge, .btn (34px), .seg tabs, the blue .connector and the .m-rise reveal.
   Motion is gated by prefers-reduced-motion (roadmap.css, system.css); nothing here moves on its own. */

/* ============ hero: breadcrumb, title, subtitle, facts and buttons in about 200px ============ */
.dv-hero { position: relative; isolation: isolate; display: grid; gap: var(--hero-gap); justify-items: start; padding-block: var(--hero-pt) clamp(.25rem, .8vw, .5rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.dv-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; margin: 0; padding: 0; list-style: none; font: 500 .75rem/1.4 var(--mono); letter-spacing: .08em; color: var(--text-faint); }
.dv-crumb li + li::before { content: '/'; margin-inline-end: .5rem; opacity: .55; }
.dv-crumb a { color: inherit; text-decoration: none; border-radius: 4px; }
.dv-crumb a:hover { color: var(--text); }
.dv-crumb a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dv-crumb [aria-current] { color: var(--text-dim); }
.dv-hero h1 { max-width: none; text-wrap: balance; }
.dv-hero .dv-sub { margin: 0; max-width: 62ch; width: auto; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text-dim); font: 400 1rem/1.6 var(--font); letter-spacing: 0; text-wrap: pretty; }
.dv-herobar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; width: 100%; margin-top: .25rem; }
.dv-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.dv-badges .badge b { font-weight: 500; color: var(--text); }
.dv-badges .badge span { color: var(--text-faint); }
@media (max-width: 40rem) { .dv-herobar { align-items: flex-start; flex-direction: column; } }

.dv-hero + .connector { margin-top: 2.9rem; } /* the first connector starts below the hero badges, not through them */

/* ============ shared small parts ============ */
.dv-sec .lede { max-width: 70ch; }
.dv-note { color: var(--text-dim); font: var(--text-body); max-width: 80ch; text-wrap: pretty; }
.dv-note a { color: var(--text); }
.dv-code { min-width: 0; }
.dv-code pre { margin: 0; overflow-x: auto; scrollbar-width: thin; }
.dv-code pre code { white-space: pre; }
.dv-code pre:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.dv-lab { font: var(--text-small); font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.dv-out { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .15rem .75rem; align-items: baseline; padding: .55rem .85rem; border: 1px solid color-mix(in srgb, var(--valid) 30%, var(--border)); border-radius: var(--r-control); background: color-mix(in srgb, var(--valid) 6%, var(--surface-1)); }
.dv-out p { color: var(--text-dim); font: var(--text-body); min-width: 0; overflow-wrap: anywhere; }
.dv-out code { color: var(--text); }
.dv-proof { color: var(--text-dim); font: var(--text-body); }
.dv-proof .dv-lab { margin-inline-end: .5rem; }
@media (max-width: 40rem) { .dv-out { grid-template-columns: minmax(0, 1fr); } }
.dv-fig { margin: 0; container-type: inline-size; min-width: 0; }
.dv-fig .rd--w { max-width: 780px; }
@container (max-width: 560px) { .dv-fig .rd--w { display: none; } .dv-fig .rd--n { display: block; max-width: 340px; } }
.dv-dg .dv-n { fill: var(--text-faint); font-family: var(--mono); }
.dv-bound { fill: none; stroke: var(--border-hover); stroke-width: 1; stroke-dasharray: 4 4; }
.dv-key rect { stroke: var(--brand-amber); }
.dv-links { display: flex; flex-wrap: wrap; gap: var(--btn-row); align-items: center; }
.dv-quiet { border-style: dashed; background: transparent; }
.dv-quiet > .c-ico { color: var(--text-dim); }
.c-ico .ghm { margin: 0; width: 18px; height: 18px; }
.dv-no { font: var(--text-small); font-style: normal; letter-spacing: .06em; color: var(--text-faint); margin-inline-end: .35rem; }
.dv-kv { display: grid; gap: 6px; margin: 0; }
.dv-kv > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 8px; align-items: baseline; }
.dv-kv dt { font: var(--text-small); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.dv-kv dd { margin: 0; color: var(--text-dim); font: var(--text-body); min-width: 0; overflow-wrap: anywhere; }
.dv-kv dd code { color: var(--text); }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.dv-status { text-transform: none; }

/* ============ hub: the path row, the quiet GitHub card, the facts ============ */
.dv-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-head); }
.dv-path > li { height: 100%; }
.dv-path > :nth-child(5n + 2) { --m-i: 1; } .dv-path > :nth-child(5n + 3) { --m-i: 2; } .dv-path > :nth-child(5n + 4) { --m-i: 3; } .dv-path > :nth-child(5n) { --m-i: 4; }
.dv-path > :nth-child(-n + 4) > .c-ico { color: var(--brand-orange); } .dv-path > :nth-child(2) > .c-ico { color: var(--brand-magenta); } .dv-path > :nth-child(3) > .c-ico { color: var(--brand-indigo); } .dv-path > :nth-child(4) > .c-ico { color: var(--brand-blue); }
@media (max-width: 74.99rem) {
  .dv-path { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dv-path > li { grid-column: span 2; } .dv-path > li:nth-child(n + 4) { grid-column: span 3; }
  .dv-path > li { --m-i: 0 !important; }
}
@media (max-width: 47.99rem) { .dv-path { grid-template-columns: minmax(0, 1fr); } .dv-path > li, .dv-path > li:nth-child(n + 4) { grid-column: auto; } }
.dv-path + .dv-fig { margin-top: var(--space-head); }

/* ============ SDK cards: four in a row, equal heights per row through the shared subgrid rows ============ */
.dv-sdk .dv-meta { display: grid; gap: 10px; }
.dv-sdk .dv-code .code__bar { padding-inline: 12px; }
.dv-compat { list-style: none; margin: var(--space-head) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-head); }
.dv-compat li { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r-control); background: var(--surface-1); }
.dv-compat b { font-weight: 500; } .dv-compat span { color: var(--text-dim); font-size: var(--text-body-size); }
@media (max-width: 74.99rem) { .dv-compat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .dv-compat { grid-template-columns: minmax(0, 1fr); } }
.dv-own .dv-links { gap: 4px 20px; }

/* ============ closing strips (.framed): quickstart next steps, the API try-it strip ============ */
.qs-close, .dv-try { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 16px; border-radius: var(--r-panel); --fx: 100%; --fy: 0%; --fc1: var(--framed-orange); --fc2: var(--framed-blue); }
.qs-close p, .dv-try p { margin: 0; max-width: 62ch; color: var(--text-dim); font: var(--text-body); }
