/* The Developers hub and its pages, on ground B in its light grounds for everyone: paper and stone bands in turn, the ink
   closing. Their own taste is the picture: the device seen from above on lavender (the hub, the doors, the map's top); the
   four pages keep today's dark floor under their tops until their pictures are made again on lavender. Loaded after sections.css (.s-arrow), text.css (.tx-top) and prism_trmnl.css. Code sits
   on the shared sage plate (.ds-code). */
.dv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- The top: the words, and the page's picture behind them (below) ---------- */
.dv-top .tx-head { padding-top: 96px; padding-bottom: 80px; }
.dv-top .tx-title { grid-column: 1 / span 8; }
.dv-top .label { font-size: var(--t-label); }
.dv-top .dv-crumb { font-size: 13px; color: var(--ink-2); }
.dv-crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.dv-crumb li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.dv-crumb a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.dv-crumb a:hover { text-decoration-color: var(--ink); }
.dv-top h1 { margin-top: 16px; font-size: var(--t-hero-sub); line-height: 1.04; max-width: 14em; }
.dv-top .tx-lede { margin-top: 22px; font-size: var(--t-lede); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.dv-top .tx-lede + .tx-lede { margin-top: 12px; }
.dv-top .tx-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.dv-top .dv-links { margin-top: 16px; }

/* The words' measure on a wide window: the picture keeps right of it, so the text is capped there. */
@media (min-width: 761px) {
  .dv-top { --dv-text: 656px; position: relative; }
  .dv-top-partners { --dv-text: 720px; }
  .dv-top .tx-head { position: relative; z-index: 1; }
  .dv-top .tx-title { max-width: var(--dv-text); }
}

/* The typed word swap of today's heading: the visible text is drawn by the script; readers get the whole title once. */
.dv-typed { position: relative; }
.dv-typed-text { display: block; }
.dv-typed-text span { display: inline-block; }
.dv-typed-text .sp { display: inline; }
.dv-typed-cursor { position: absolute; left: 0; top: 0; width: 6px; height: 1.04em; background: var(--orange); opacity: 0; }

/* ---------- Bands and sections ---------- */
.dv-sec { padding: 120px 0; }
.dv-sec .s-lede p + p { margin-top: 12px; }
.dv-sec .s-lede a:not(.s-arrow) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.dv-sec .s-lede a:not(.s-arrow):hover { text-decoration-color: var(--ink); }
.dv-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.dv .s-arrow { padding: 3px 0; }
.dv-links .s-arrow { margin-top: 17px; }
.dv-k { font-size: var(--t-kicker); font-weight: var(--w-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
/* A label inside a section's paragraph rules keeps the label size. */
.dv-sec p.dv-k, .dv-sec :is(.dv-cell, .dv-rcp, .dv-hw) p.dv-k { font-size: var(--t-kicker); line-height: 1.4; }
.dv-two { display: grid; grid-template-columns: 5fr 7fr; column-gap: calc(var(--g) * 3); align-items: start; }
.dv-two > * { min-width: 0; }

.dv-cell { border-top: 1px solid var(--hair); padding-top: 16px; }
.dv-sec :is(.dv-cell, .dv-rcp, .dv-hw) h3 { font-size: 20px; line-height: 1.2; font-weight: 420; letter-spacing: -0.01em; }
.dv-sec :is(.dv-cell, .dv-rcp, .dv-hw) p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* Code on the shared sage plate (system.css wins over prism_trmnl.css there); this page wraps long lines in some blocks. */
.dv-code .dv-k { display: block; margin-bottom: 8px; }
.dv-wrap-code pre.ds-code { white-space: pre-wrap; word-break: break-all; }
.dv code.ds-code-in { font-size: 12.5px; white-space: nowrap; }

/* A ruled line with a button: the partners' one call to action */
.dv-banner { margin-top: 64px; display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--hair); }
.dv-sec .dv-banner p { font-size: 14.5px; color: var(--ink-2); }
.dv-banner b { color: var(--ink); font-weight: 480; margin-right: 14px; }
.dv-banner .s-arrow { margin: 0 0 0 auto; }

/* The framework's components: four across */
.dv-grid4 { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--g); row-gap: 40px; }
.dv-cell { display: flex; flex-direction: column; }
.dv-more { align-self: flex-start; margin-top: auto; font-size: 13.5px; font-weight: 540; color: var(--ink);
  padding-bottom: 3px; border-bottom: 1px solid color-mix(in srgb, currentColor 34%, transparent); }
.dv-cell > p { padding-bottom: 16px; }
.dv-cell:hover .dv-more { border-color: currentColor; }
.dv-cell:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.dv-cell:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
/* The servers and the offerings: tables that scroll inside their own box on a phone (the table: sections.css) */
.dv-setup code + code { margin-top: 6px; }
.dv-setup { display: grid; justify-items: start; }
.dv-bar { display: inline-block; vertical-align: middle; width: 72px; height: 4px; background: var(--hair); border-radius: 2px; overflow: hidden; margin-right: 8px; }
.dv-bar i { display: block; height: 100%; background: var(--ink); }
.dv-pct { font-size: 13px; color: var(--ink-2); font-feature-settings: "tnum" 1; }
.dv-terms { font-weight: 560; }
.dv-terms a, .dv-banner p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.dv-terms a:hover, .dv-banner p a:hover { text-decoration-color: var(--ink); }
/* The offerings: the table on its side. Icons (96-unit drawings, at 48 px, never smaller) in a row of five over their
   columns, the labels once in the first column. Titles and descriptions are rows of their own: a title on two lines keeps
   every description on one line. Each cell draws its own rule, so the first column keeps its rules while it stays in view. */
.dv-pcols { table-layout: fixed; border-collapse: separate; border-spacing: 0; --dv-rail: 112px; --dv-col: 200px;
  min-width: calc(var(--dv-rail) + 5 * var(--dv-col)); }
.dv-pcols .it-ic > svg { width: 48px; height: 48px; }
.dv-pcols tr > :first-child { width: var(--dv-rail); }
.dv-pcols tr > :is(td, th) { padding: 18px 16px 20px 0; vertical-align: baseline; }
.dv-pcols .dv-pics td { padding: 0 16px 22px 0; border-top: 0; vertical-align: bottom; }
.dv-sec .dv-pcols .dv-ptitles th { padding: 20px 16px 0 0; border-top: 1px solid var(--hair); }
.dv-pcols .dv-ptitles th[scope="col"] { letter-spacing: 0; text-transform: none; color: var(--ink); }
.dv-pcols th[scope="row"] { font-size: var(--t-kicker); font-weight: var(--w-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.dv-sec .dv-pcols b { display: block; font-size: 20px; line-height: 1.2; font-weight: 420; letter-spacing: -0.01em; }
.dv-pcols .dv-pwords td { padding-top: 8px; border-top: 0; vertical-align: top; }
.dv-sec .dv-pcols p { font-size: 14px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.dv-pcols .dv-check li { border-top: 0; padding: 0 0 6px; }
/* Below 1240 px it scrolls inside its box out to the window's edge, as the site's rows do; a column comes to rest just
   right of the labels. */
@media (max-width: 1239px) {
  .dv-tablewrap:has(.dv-pcols) { scroll-snap-type: x proximity; scroll-padding-left: var(--dv-rail); --dv-rail: 112px;
    margin-right: calc(-1 * var(--m)); padding-right: var(--m); }
  .dv-pcols tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--band-paper); }
  .dv-pcols .dv-ptitles th[scope="col"] { scroll-snap-align: start; }
}
/* On a phone the labels take a narrower column and each column most of the width, so a slice of the next one always shows.
   One column is seen at a time, so the titles stand on their last line: a title on two lines out of view leaves no gap. */
@media (max-width: 760px) {
  .dv-tablewrap:has(.dv-pcols) { scroll-snap-type: x mandatory; --dv-rail: 88px; }
  .dv-pcols { --dv-rail: 88px; --dv-col: calc((100vw - var(--m) - var(--dv-rail)) * .8); }
  .dv-pcols .dv-ptitles > * { vertical-align: bottom; }
  .dv-pcols .dv-ptitles th[scope="row"] { padding-bottom: 1px; }
}

/* DIY hardware: three across (the grid: sections.css), each card with its features as a checklist */
.dv-hw { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--hair); min-width: 0; }
.dv-hw h3 { margin-top: 4px; }
.dv-sec .dv-hw .dv-price { font-size: 15px; font-weight: 560; color: var(--ink); }
.dv-hw .dv-code { margin: 6px 0; }
.dv-hw > .s-arrow { margin-top: auto; padding-top: 12px; }
/* A list of facts as ruled rows, as the product pages set them (no tick marks). */
.dv-check { list-style: none; margin: 8px 0 12px; border-bottom: 1px solid var(--hair); }
.dv-check li { padding: 7px 0; font-size: 14px; line-height: 1.45; border-top: 1px solid var(--hair); }
.dv-ptable .dv-check { margin: 0; border-bottom: 0; }
.dv-ptable .dv-check li:first-child { border-top: 0; padding-top: 0; }

/* The closing's right side: the Developers pages, as Brand's closing lists its downloads */
.dv-pages { padding: 120px var(--m) 120px 24px; align-self: center; color: var(--on-blk); }
.dv-pages .s-k { color: var(--dark-ink-2); }
.dv-pages ul { list-style: none; margin-top: 16px; border-bottom: 1px solid var(--blk-hair); }
.dv-pages li a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px; padding: 18px 0; border-top: 1px solid var(--blk-hair); }
.dv-pages .nm { font: var(--w-display) 30px/1.1 var(--display); letter-spacing: -0.02em; }
.dv-pages .tg { font-size: 13px; color: var(--dark-ink-2); text-align: right; }
.dv-pages a:hover .nm, .dv-pages a[aria-current] .nm { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- The hub ---------- */
/* Why build here: the four facts in one row under the words. */
.dv-sec .dv-ledger.ds-ledger-row { max-width: none; margin-top: 72px; }

/* Where to start: five doors drawn as the homepage draws its destinations, flat pictures with words under or beside them,
   no frames. Plugins is the main door, as the homepage's paths row (picture left, words right); the other four sit two by two
   as its lineup tiles. Each door is one link; its words end in the homepage's underlined link. */
.dv-doors { list-style: none; margin-top: 88px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); row-gap: 72px; }
.dv-door > a { display: block; color: var(--ink); }
.dv-door > a:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
.dv-door-pic { display: block; aspect-ratio: 16 / 10; background: var(--sec-lavender); overflow: hidden; }
.dv-door-pic img, .dv-door-pic svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.dv-door-txt { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; margin-top: 24px; }
.dv-door-txt > :not(.dv-door-go) { grid-column: 1; }
.dv-door h3 { margin-top: 10px; font: 400 28px/1.15 var(--display); letter-spacing: -0.02em; }
.dv-sec .dv-door-d { margin-top: 8px; font-size: var(--t-body-s); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
/* The door's facts as one quiet line, the way the homepage sets a caption. */
.dv-chips { list-style: none; display: flex; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; letter-spacing: .02em; color: var(--ink-3); }
.dv-chips li + li::before { content: "\00b7"; margin: 0 8px; }
.dv-door-go { grid-column: 2; grid-row: 1 / span 4; align-self: end; justify-self: end; margin-bottom: 4px; white-space: nowrap; font-size: 14px; font-weight: 540;
  padding-bottom: 3px; border-bottom: 1px solid color-mix(in srgb, currentColor 34%, transparent); }
.dv-door > a:hover .dv-door-go { border-color: currentColor; }
.dv-door > a:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.dv-door-main { grid-column: 1 / -1; }
.dv-door-main > a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: center; }
.dv-door-main .dv-door-pic { grid-column: 1 / span 7; }
.dv-door-main .dv-door-txt { grid-column: 9 / span 4; display: block; margin-top: 0; }
.dv-door-main h3 { margin-top: 14px; font-size: 40px; line-height: 1.08; letter-spacing: -0.03em; font-weight: var(--w-display); }
.dv-sec .dv-door-main .dv-door-d { margin-top: 18px; font-size: var(--t-body); max-width: 34ch; }
.dv-door-main .dv-door-go { display: inline-block; margin: 32px 0 0; }

/* ---------- Resources: the one desk of developer links, in three groups ---------- */
.dv-res-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: start; }
.dv-res-head { grid-column: 1 / span 4; }
.dv-res-head h2 { margin-top: 14px; font-size: var(--t-h2-split); line-height: 1.1; letter-spacing: -0.03em; font-weight: var(--w-display); }
.dv-sec .dv-res-head p { margin-top: 18px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 32ch; }
/* The three groups one under the other, each with its links in two columns (filled down, --rows set by the partial). */
.dv-res-body { grid-column: 5 / -1; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
.dv-res-g ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), auto); grid-auto-flow: column; column-gap: var(--g); }
.dv-res-g .dv-k { margin-bottom: 12px; }
.dv-res-g ul { list-style: none; border-bottom: 1px solid var(--hair); }
.dv-res-g li { border-top: 1px solid var(--hair); }
.dv-res-a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0; color: var(--ink); }
.dv-res-a .it-ic > svg { width: 22px; height: 22px; }
.dv-res-a .nm { font-size: 16px; font-weight: 450; }
.dv-res-a .hs { margin-left: auto; color: var(--ink-3); white-space: nowrap; }
.dv-res-a:hover .nm { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dv-res-a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
/* The Discord channels, one quiet line under the group's rows, across both columns. */
.dv-sec .dv-res-chan { margin-top: 14px; font: 400 12.5px/1.7 var(--mono); color: var(--ink-3); }
.dv-res-chan > span:first-child { font-family: var(--sans); margin-right: 4px; color: var(--ink-2); }

/* ---------- The Plugins page ---------- */
/* Three ways to build a plugin: three equal doors, each with its large icon on a plate of the same size (the icons are
   480 x 384, drawn for about 420 px), a few facts and one link. The Liquid sample stands under them, beside one line. */
.dv-ways { list-style: none; margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); row-gap: 56px; }
.dv-way { min-width: 0; display: flex; flex-direction: column; }
.dv-way-ic { display: block; width: 128px; height: 128px; margin: 0 0 28px; color: var(--ink); }
.dv-way-ic svg { display: block; width: 100%; height: 100%; }
.dv-way > .dv-k { padding-top: 24px; border-top: 1px solid var(--hair); }
.dv-sec .dv-way h3 { margin-top: 6px; font-size: 20px; line-height: 1.2; font-weight: 420; letter-spacing: -0.01em; }
.dv-way .dv-check { margin: 18px 0 22px; }
.dv-way > .s-arrow { margin-top: auto; }
.dv-sample { margin-top: 72px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: start; }
.dv-sec .dv-sample > p { grid-column: 1 / span 4; padding-top: 26px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 32ch; }
.dv-sample > .dv-code { grid-column: 5 / -1; margin: 0; min-width: 0; }
.dv-sec .dv-ways-note { margin-top: 48px; padding: 16px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: var(--t-body-s); color: var(--ink-2); }
/* MCP: its facts as ruled rows, a name and its words. */
.dv-facts { border-top: 1px solid var(--hair); }
.dv-facts > div { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: 15px; line-height: 1.55; }
/* Each row's icon (28 px) beside its name; the name sits on the text's first line. */
.dv-facts dt { display: flex; align-items: flex-start; gap: 12px; font-weight: 560; color: var(--ink); }
.dv-facts dt .it-ic { margin-top: -2px; }
.dv-facts dt .it-ic > svg { width: 28px; height: 28px; }
.dv-facts dd { color: var(--ink-2); }
.dv-facts a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.dv-facts a:hover { text-decoration-color: var(--ink); }
/* One quiet line under a grid or a table, with a link in it. */
.dv-sec .dv-note { margin-top: 40px; max-width: 72ch; font-size: var(--t-body-s); line-height: 1.55; color: var(--ink-2); }
.dv-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.dv-note + .dv-foot { margin-top: 20px; }
/* Install and Fork, said once in the recipes' intro. */
.dv-acts2 { margin-top: 20px; border-top: 1px solid var(--hair); }
.dv-acts2 > div { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 15px; line-height: 1.45; }
.dv-acts2 dt { flex: none; width: 6.5em; display: flex; align-items: center; gap: 10px; font-weight: 560; color: var(--ink); }
.dv-acts2 dt .it-ic > svg { width: 22px; height: 22px; }
.dv-acts2 dd { color: var(--ink-2); }
/* A recipe: one link; its screen on an empty TRMNL OG (og-device-card, numbers in its hand-in). The picture's canvas keeps a
   180 px margin for the shadow, so it is drawn wider than the card and pulled out by that margin: the device lines up with the words. */
.dv-rcps-sec { overflow-x: clip; }
.dv-rcps { list-style: none; margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); row-gap: 56px; }
.dv-rcp { min-width: 0; }
.dv-rcp > a { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.dv-rcp h3 { margin-top: 20px; }
.dv-sec .dv-rcp .dv-meta { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.dv-view { align-self: flex-start; margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 540; opacity: 0; transition: opacity .2s ease;
  padding-bottom: 3px; border-bottom: 1px solid color-mix(in srgb, currentColor 34%, transparent); }
.dv-rcp > a:hover .dv-view { border-color: currentColor; }
.dv-rcp > a:is(:hover, :focus-visible) .dv-view { opacity: 1; }
.dv-rcp > a:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.dv-rcp > a:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
@media (hover: none) { .dv-view { opacity: 1; } }
.dv-foot { margin-top: 40px; }

/* ---------- The hub's top is top.css's (dv-plan-top); its buttons are shared with the pages' plan tops below ---------- */
/* The pictures run under the bar as on every top; under the bar they fade to the ground, so its words keep 4.5 : 1. */
.dv { --dv-under-bar: linear-gradient(rgba(0, 0, 0, .15) 30px, #000 120px); }
.dv-top-plan :is(.ds-btn-primary, .ds-btn-primary:hover) { background: var(--icon-ink); color: var(--band-paper); }
.dv-top-plan .ds-btn-primary:hover { background: #000; }
.dv-top-plan .ds-btn-secondary { border-color: color-mix(in srgb, var(--ink) 40%, transparent); color: var(--ink); }
.dv-top-plan .ds-btn-secondary:hover { border-color: var(--ink); }
.dv-plan-top .dv-typed-cursor { background: var(--ink); }
/* The map's lines on a door: its gray line in ink, as the Ecosystem map draws it on paper. */
.dv .dv-door-pic [data-c="gray"] { color: var(--ink); }
/* What a machine reads is set in mono: the resources' hosts, as the Discord channels. */
.dv .dv-res-a .hs { font-family: var(--mono); font-size: 12px; letter-spacing: 0; }

/* ---------- The other tops: the four pages' and the map's, on lavender ---------- */
.dv .brand .lg-w { display: none; }
:root.dark body.dv .brand .lg-k { display: none; }
:root.dark body.dv .brand .lg-w { display: block; }
body.dv :is(.dv-top-ecosystem, .dv-top-plan) { background: var(--sec-lavender); --hair: rgba(43, 42, 41, .2); }
/* The four pages' tops: the picture behind the bar and the words, as on every top, cover-fit from its right edge; ink words. */
body.dv .dv-top-plan { --ink: #2b2a29; --ink-2: rgba(43, 42, 41, .84); --ink-3: rgba(43, 42, 41, .7); position: relative; color: var(--ink); }
.dv-top-plan .dv-plan-sub { margin: 0; }
/* The lede in full ink: shadow dots may fall under it, and at 84 % it would miss 4.5 : 1 on a dot's full shade. */
body.dv .dv-top-plan .tx-lede { color: var(--ink); }
.dv-top-plan .dv-plan-sub img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
/* From 1240 px (the hub's rule) the picture lies behind the words; below that its phone frame is a block under them, so no
   subject ever falls under the words on a tablet. */
@media (min-width: 1240px) {
  .dv-top-plan .dv-plan-sub { position: absolute; inset: 0; overflow: hidden; container-type: size; }
  .dv-top-plan .tx-head { position: relative; z-index: 1; }
  .dv-top-partners .dv-plan-sub img { --dv-subject: .53; } /* its stacks are wide: a little closer to the words, whole */
  /* The master at band height, right-anchored, slid right until its subject (from 50 % of its width) starts 56 px past the
     words' eight columns (at most --dv-text); it never scales. Its left edge is empty ground: no seam on wide windows. */
  .dv-top-plan .dv-plan-sub img { position: absolute; top: 0; height: 100%; width: auto; max-width: none;
    --dv-free: calc(max(var(--m), (100cqw - 1440px) / 2 + var(--m)) + min(var(--dv-text), (min(100cqw, 1440px) - 2 * var(--m) - 11 * var(--g)) * 8 / 12 + 7 * var(--g)) + 56px);
    left: max(100cqw - 240cqh, var(--dv-free) - 240cqh * var(--dv-subject, .5));
    mask-image: linear-gradient(to right, transparent, #000 6%), var(--dv-under-bar); mask-composite: intersect; }
}
@media (max-width: 1239px) {
  .dv-top-plan .dv-plan-sub { order: 3; aspect-ratio: 1560 / 780; }
}
/* The lavender tops carry the full-frame top's cream Buy (top.css). */
body.dv :is(.dv-top-ecosystem, .dv-top-plan) :is(.btn-go, .btn-go:hover) { background: var(--cream); color: #211e1b; }
:root.dark body.dv { color: var(--ink); }

@media (max-width: 1100px) {
  .dv-grid4, .dv-rcps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dv-door-main .dv-door-pic { grid-column: 1 / span 6; }
  .dv-door-main .dv-door-txt { grid-column: 7 / span 6; }
  .dv-door-main h3 { font-size: 32px; }
  .dv-door-txt { grid-template-columns: 1fr; }
  .dv-door-go { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 18px; }
  .dv-res-head { grid-column: 1 / -1; margin-bottom: 48px; }
  .dv-res-body { grid-column: 1 / -1; }
  .dv-ways { grid-template-columns: 1fr; }
  .dv-sample > .dv-code, .dv-sec .dv-sample > p { grid-column: 1 / -1; }
  .dv-sec .dv-sample > p { padding: 0 0 20px; max-width: 60ch; }
}
@media (max-width: 760px) {
  .dv-top .tx-head { padding-top: 48px; padding-bottom: 56px; }
  .dv-top .tx-title { grid-column: 1 / -1; }
  .dv-top h1 { font-size: var(--t-hero-sub-phone); }
  .dv-top .tx-lede { font-size: 16.5px; }
  .dv-sec { padding: 80px 0; }
  .dv-two { grid-template-columns: 1fr; row-gap: 32px; }
  .dv-grid4 { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .dv-doors, .dv-rcps { grid-template-columns: 1fr; }
  .dv-doors { margin-top: 48px; row-gap: 56px; }
  .dv-door-main > a { display: block; }
  .dv-door-main .dv-door-txt { margin-top: 24px; }
  .dv-rcps { row-gap: 40px; }
  .dv-door-main h3 { font-size: 28px; }
  .dv-sec .dv-ledger.ds-ledger-row { margin-top: 48px; }
  .dv-res-head h2 { font-size: var(--t-h2-phone); }
  .dv-res-g ul { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .dv-way-ic { width: 96px; height: 96px; margin: 0 0 20px; }
  .dv-sample pre.ds-code { white-space: pre-wrap; overflow-wrap: anywhere; }
  .dv-facts > div { grid-template-columns: 1fr; gap: 6px; }
  .dv-facts dd { padding-left: 40px; }
  .dv-banner { display: block; }
  .dv-banner .s-arrow { margin-top: 12px; }
  .dv pre.ds-code { font-size: 12.5px; padding: 16px 18px; }
  .dv-pages { padding: 0 var(--m) 72px; }
  .dv-pages .nm { font-size: 24px; }
  .dv-pages li a { grid-template-columns: 1fr; gap: 4px; }
  .dv-pages .tg { text-align: left; }
}

/* ---------- Icons: the user's own, in ink; an item without one keeps an empty, hidden slot (no stand-ins) ---------- */
.it-ic { display: inline-flex; flex: none; color: var(--ink); }
.it-ic[hidden] { display: none; }
/* Sized here, not by class: some icon files (Kindle) carry their own class and size. */
.it-ic > svg { display: block; width: 25px; height: 25px; }
/* On a card, 50 px: one pixel per unit of the icons' 50-unit grid. Where some cards of a grid have one, the others keep its room. */
:is(.dv-cell, .dv-hw) > .it-ic { margin-bottom: 14px; }
:is(.dv-cell, .dv-hw) > .it-ic > svg { width: 50px; height: 50px; }
.dv-ic-keep .it-ic[hidden] { display: block; visibility: hidden; width: 50px; height: 50px; }
/* The Docs icon on the closing's button. */
.dv .dv-btn-ic { display: block; flex: none; width: 16px; height: 16px; }
