/* Developer access: /developers (web/developers.html). Loaded after whizply.css and home.css, and
 * like them takes every colour from the theme tokens, so light, dark, Violet and Warm all hold
 * without a rule here. Text is --ink or the heading ink; --sub and --muted are used only by the
 * form's hints and placeholders (`*hint*`, tests/test_no_grey_text.py). The form's fields, errors,
 * status line, rows and actions are the contact form's (`.ct-*` in home.css); the API checkboxes,
 * the select and the cards are new here.
 *
 * Sections: the hero (copy, and a code window on its own navy band with a match card over it),
 * the three API cards on the wash, How it works on the mint band, pricing, the FAQ (home.css
 * `.faq`, the one FAQ rule), then Contact sales on the violet band. */

/* ===== hero ===== */
.dv-hero { padding-top: 72px; padding-bottom: 96px; }
.dv-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.dv-hero__copy .hm-h1 { text-align: left; }
.dv-title { font-size: clamp(30px, 3.3vw, 44px); }
.dv-lede { margin: 22px 0 0; max-width: 56ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; font-weight: 600; color: var(--ink); }
.dv-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.dv-points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dv-points li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.dv-points li::before, .dv-ticks li::before {
  content: ""; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* The picture: a code window (a job as the Jobs API describes it) and, over its corner, a match
   card (the Recommendations API). Decorative (aria-hidden): the cards below say it in words. */
.dv-art { position: relative; padding: 0 0 150px; }
.dv-code { margin-right: 56px; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.dv-code__bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.dv-code__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bad-ink); }
.dv-code__bar i:nth-child(2) { background: var(--warn-ink); }
.dv-code__bar i:nth-child(3) { background: var(--ok-ink); }
.dv-code__bar span { margin-left: auto; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.dv-code__body { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.75; font-weight: 500; color: var(--ink); white-space: pre; tab-size: 2; }
.dv-code__body code { font: inherit; }
.dv-k { color: var(--accent-deep); }
.dv-s { color: var(--ok-ink); }
.dv-v { color: var(--warn-ink); }
.dv-match { position: absolute; right: 0; bottom: 0; width: min(310px, 62%); display: grid; gap: 10px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.dv-match__label { justify-self: start; margin: 0; padding: 4px 11px; border-radius: var(--pill); background: var(--accent-soft); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-ink); }
.dv-match__role { margin: 0; display: grid; gap: 1px; line-height: 1.3; }
.dv-match__role b { font-size: var(--fs-lg); font-weight: 800; color: var(--ink-heading, var(--ink)); }
.dv-match__role span { font-size: var(--fs-md); font-weight: 600; color: var(--ink); }
.dv-match__fit { display: flex; align-items: baseline; gap: 6px; }
.dv-match__fit b { font-size: 26px; line-height: 1; font-weight: 800; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.dv-match__fit > span:not(.dv-bar) { font-size: var(--fs-md); font-weight: 700; color: var(--ink); }
.dv-bar { flex: 1 1 auto; align-self: center; height: 8px; margin-left: 8px; border-radius: var(--pill); background: var(--band); overflow: hidden; }
.dv-bar i { display: block; width: 86%; height: 100%; border-radius: inherit; background: var(--accent); }
.dv-match__why { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dv-match__why li { position: relative; padding-left: 18px; font-size: var(--fs-sm); line-height: 1.45; font-weight: 600; color: var(--ink); }
.dv-match__why li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--ok-ink); }

/* ===== the three APIs ===== */
.dv-apis { padding-top: 88px; }
.dv-cards, .dv-prices { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dv-card, .dv-price, .dv-steps > li {
  position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .dv-card:hover, .dv-price:hover, .dv-steps > li:hover {
    transform: translateY(var(--lift, -2px)); box-shadow: var(--shadow-sm), var(--shadow); border-color: var(--accent-ring);
    background: color-mix(in srgb, var(--accent) 4%, var(--surface));
  }
}
.dv-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.dv-card__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); }
.dv-card__ic--violet { background: var(--band-violet-chip); color: var(--band-violet-chip-ink); }
.dv-card__ic--sky { background: var(--band-mint-chip); color: var(--band-mint-chip-ink); }
.dv-card__ic--rose { background: var(--bad); color: var(--bad-ink); }
.dv-card__title { margin: 4px 0 0; font-size: var(--fs-xl); line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: var(--ink-heading, var(--ink)); }
.dv-card__sum { margin: 0; font-size: var(--fs-lead); line-height: 1.55; font-weight: 600; color: var(--ink); }
.dv-ticks { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; }
.dv-ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-base); line-height: 1.5; font-weight: 500; color: var(--ink); }
.dv-ticks li::before { margin-top: 2px; }
.dv-privacy { display: flex; align-items: flex-start; gap: 12px; margin: 2px 0 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--accent-soft); font-size: var(--fs-base); line-height: 1.5; font-weight: 600; color: var(--ink); }
.dv-privacy__ic { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); color: var(--accent-deep); }
.dv-card__for { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-md); line-height: 1.5; font-weight: 500; color: var(--ink); }
.dv-card__for b { margin-right: 4px; font-weight: 800; color: var(--ink-heading, var(--ink)); }

/* ===== how it works (the mint band) ===== */
.dv-steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1080px; }
.dv-steps > li { padding: 26px; }
.dv-steps p { margin: 0; font-size: var(--fs-base); line-height: 1.6; font-weight: 500; color: var(--ink); }
.dv-steps .hm-h3 { color: var(--ink-heading, var(--ink)); font-weight: 800; }
.dv-steps__n { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 50%; background: var(--btn-accent); color: var(--btn-accent-ink); font-weight: 800; font-size: var(--fs-lead); }

/* ===== pricing ===== */
.dv-price { padding: 26px; }
.dv-price p { margin: 0; font-size: var(--fs-base); line-height: 1.6; font-weight: 500; color: var(--ink); }
.dv-price .hm-h3 { color: var(--ink-heading, var(--ink)); font-weight: 800; }
.dv-price__ic { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); }
.dv-pricing .dv-ask { max-width: 1180px; }

/* ===== FAQ: home.css `.faq` (answers fill the card, 16px, weight 500, full ink) ===== */
.dv-faq .hm-head { margin-bottom: 40px; }

/* ===== contact sales (the violet band) ===== */
.dv-sales { outline: none; }
.dv-sales__lead { margin: 22px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--ink); }
.dv-sales__ticks { margin-top: 22px; }
.dv-form { box-shadow: var(--shadow-sm), var(--shadow); }
.dv-form .ct-field textarea::placeholder { color: var(--muted); }
.dv-opt-hint { font-weight: 600; color: var(--sub); }
.dv-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dv-count-hint { font-size: var(--fs-xs); font-weight: 600; color: var(--sub); font-variant-numeric: tabular-nums; }

/* The APIs: a group of three checkboxes drawn as tiles; a ticked one takes the accent. */
.dv-pick { margin: 0; padding: 0; border: 0; min-width: 0; }
.dv-pick legend { margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.dv-pick__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.dv-pick .ct-err { margin-top: 8px; }
.dv-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px 10px 13px; border: 1px solid var(--line-control); border-radius: var(--r-sm); background: var(--surface); font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out); }
.dv-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--btn-accent); cursor: pointer; }
.dv-check:hover { border-color: var(--accent); }
.dv-check:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 65%, var(--surface)); }
.dv-check:has(input:focus-visible) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.dv-pick.is-invalid .dv-check { border-color: var(--bad-ink); }

/* The volume: a native select (its list is the system's), drawn like the text fields. */
.dv-select { position: relative; display: block; }
.dv-select select {
  -webkit-appearance: none; appearance: none; width: 100%; min-height: 44px; margin: 0; padding: 10px 42px 10px 14px;
  border: 1px solid var(--line-control); border-radius: var(--r-sm); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 15px; line-height: 1.45; cursor: pointer;
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.dv-select select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.dv-select::after { content: ""; position: absolute; right: 17px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* ===== responsive ===== */
@media (max-width: 1000px) {
  .dv-hero__in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .dv-art { max-width: 560px; }
  .dv-cards, .dv-prices, .dv-steps { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .dv-hero { padding-top: 40px; padding-bottom: 60px; }
  .dv-ctas .xbtn { width: 100%; }
  .dv-art { padding: 0; }
  .dv-code { margin-right: 0; border-radius: var(--r-lg); }
  .dv-code__body { padding: 16px 16px 20px; font-size: 12.5px; }
  .dv-match { position: relative; right: auto; width: auto; margin: -22px 14px 0; }
  .dv-apis { padding-top: 60px; }
  .dv-card { padding: 22px 20px; }
  .dv-steps > li, .dv-price { padding: 22px 20px; }
  .dv-pricing .dv-ask .xbtn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dv-card, .dv-price, .dv-steps > li, .dv-check, .dv-select select { transition: none; }
  .dv-card:hover, .dv-price:hover, .dv-steps > li:hover { transform: none; }
}
