/* /data-acquisition. Built from the site's own pieces: the Contact hero, the Home "What We Do" cards and
   teal band, the Who We Serve bracket label, paper cards with stone borders, and the type presets and fbtn
   buttons from about.css (loaded first). Breakpoints: desktop >= 1440px, tablet 810–1439px, phone < 810px. */

.dq-hero, .dq-sec { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: 40px; }
.dq-sec { padding-block: 80px; }
.dq-muted { color: var(--teal-mid); }

/* ── hero ── */
.dq-hero { padding-top: 80px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.dq-h1 { max-width: 1040px; text-wrap: balance; }
.dq-lede { max-width: 640px; color: var(--teal-mid); }
.dq-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* section heading block: eyebrow, h2, intro */
.dq-head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 760px; margin-bottom: 48px; }
.dq-head .h2 { text-wrap: balance; }
.dq-head .body { max-width: 620px; text-wrap: balance; }

/* ── what we do: heading left, the three steps right, as on Home ── */
.dq-what { display: flex; align-items: flex-start; gap: 102px; }
.dq-what-left { flex: 1 1 0; min-width: 0; position: sticky; top: 100px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.dq-what-left .h2 { max-width: 609px; text-wrap: balance; }
.dq-what-left .body { max-width: 436px; text-wrap: balance; }
.dq-steps { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dq-step { display: flex; align-items: flex-start; gap: 24px; min-height: 220px; padding: 20px 24px 24px; background: #ced9d0; }
.dq-step > div { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; align-self: stretch; }
.dq-step .body { max-width: 440px; text-wrap: balance; }
.dq-idx {
  flex: none; display: flex; align-items: center; gap: 6px; padding-top: 5px;
  font-family: var(--mono); font-size: 12px; line-height: 14.4px; letter-spacing: .6px; color: var(--muted);
}
.dq-idx::before { content: ""; width: 2px; height: 14px; background: var(--red); }

/* ── what we're looking for: the teal band ── */
.dq-band { background: var(--teal); color: var(--paper); }
.dq-band-in { max-width: 1440px; margin: 0 auto; padding: 100px 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.dq-band .h2 { max-width: 820px; color: var(--paper); text-wrap: balance; }
.dq-band-p { max-width: 640px; color: rgba(247, 244, 237, .75); text-wrap: balance; }
.dq-merge { width: 100%; max-width: 960px; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.dq-merge-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: left; }
.dq-merge-row .small { color: rgba(247, 244, 237, .7); max-width: 380px; }
.dq-merge-row > :last-child { justify-self: end; text-align: right; }
.dq-bracket { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 300; font-size: 20.8px; line-height: 1.1; letter-spacing: -.01em; color: var(--paper); }
.dq-bracket .brk { font-size: 32px; line-height: 1; }
.dq-dots { aspect-ratio: 3.4; box-shadow: inset 0 0 0 1px rgba(247, 244, 237, .25); background: rgba(247, 244, 237, .03); }
.dq-dots svg { width: 100%; height: 100%; }

/* ── what we work from: tabs on a paper card ── */
.dq-sources { --bw: 1px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--paper); }
.dq-source-tabs { display: flex; flex-direction: column; box-shadow: inset -1px 0 0 var(--stone); }
.dq-source-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; text-align: left;
  font-family: var(--serif); font-weight: 300; font-size: 20.8px; line-height: 1.1; letter-spacing: -.01em; color: var(--teal-mid);
  box-shadow: inset 0 -1px 0 var(--stone); transition: background-color .2s ease, color .2s ease;
}
.dq-source-tab:last-child { box-shadow: none; }
.dq-source-tab:hover { background: rgba(188, 204, 200, .3); color: var(--teal); }
.dq-source-tab[aria-selected="true"] { background: var(--cream); color: var(--teal); box-shadow: inset 3px 0 0 var(--red), inset 0 -1px 0 var(--stone); }
.dq-source-tab:last-child[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--red); }
.dq-source-tab.is-out { color: #c2361f; }
.dq-n { flex: none; font-family: var(--mono); font-size: 12px; letter-spacing: .6px; color: var(--muted); }
.dq-source-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px; }
.dq-source-panel[hidden] { display: none; }
.dq-source-panel .body { max-width: 520px; }

/* small mono status label: teal for in scope, red for excluded */
.dq-status {
  display: inline-flex; padding: 9px 8px 8px;
  box-shadow: inset 0 0 0 1px var(--teal-mid);
  font-family: var(--mono); font-size: 12px; line-height: 12px; letter-spacing: .6px; color: var(--teal);
}
.dq-status.is-out { box-shadow: inset 0 0 0 1px var(--red); color: #c2361f; }
.dq-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.dq-tools li {
  padding: 9px 8px 8px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--stone);
  font-family: var(--mono); font-size: 12px; line-height: 12px; letter-spacing: .6px; color: var(--muted);
}

/* ── data & privacy ── */
.dq-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: -16px 0 32px; }
.dq-trust li { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .6px; color: var(--teal); }
.dq-trust li::before { content: ""; width: 5px; height: 5px; background: var(--red); flex: none; }
.dq-scope { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.dq-scope-card { --bw: 1px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px; background: var(--paper); }
.dq-scope-card.is-out { background: var(--teal); color: var(--paper); }
.dq-scope-card.is-out .dq-status { box-shadow: inset 0 0 0 1px #f48470; color: #f48470; }
.dq-list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.4; }
.dq-list li { display: flex; gap: 12px; }
.dq-list li::before { content: ""; flex: none; width: 6px; height: 1px; margin-top: 11px; background: currentColor; opacity: .6; }

/* ── referrals: centred, with the bracket label from Who We Serve ── */
.dq-partners { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.dq-partners .h2 { text-wrap: balance; }
.dq-partners .body { max-width: 620px; text-wrap: balance; }
.dq-aud { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--serif); font-weight: 300; font-size: 20.8px; line-height: 1.1; letter-spacing: -.01em; color: var(--teal); }
.dq-aud span:not(.brk) { padding-top: 4px; }
.dq-aud .brk { font-size: 32px; line-height: 1; letter-spacing: -.02em; }
.dq-partners .fbtn { margin-top: 8px; }

/* ── questions ── */
.dq-faq { border-top: 1px solid var(--stone); max-width: 1000px; }
.dq-faq details { border-bottom: 1px solid var(--stone); }
.dq-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 300; font-size: 23.68px; line-height: 1.1; letter-spacing: -.03em; color: var(--teal);
}
.dq-faq summary::-webkit-details-marker { display: none; }
.dq-faq summary:hover { color: var(--teal-mid); }
.dq-chev { position: relative; flex: none; width: 14px; height: 14px; }
.dq-chev::before, .dq-chev::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor; transition: transform .2s ease; }
.dq-chev::after { transform: rotate(90deg); }
.dq-faq details[open] .dq-chev::after { transform: rotate(0); }
.dq-faq details > p { max-width: 760px; padding: 0 0 24px; }

/* ── get in touch: heading left, form card right, as on Home ── */
.dq-apply { display: flex; align-items: flex-start; gap: 48px; padding-bottom: 96px; }
.dq-apply-head { flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.dq-apply-head .h2 { max-width: 468px; text-wrap: balance; }
.dq-apply-card { --bw: 1px; flex: 2 0 0; min-width: 0; background: var(--paper); padding: 32px; display: flex; flex-direction: column; gap: 32px; }
.dq-form-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.dq-form-tab {
  padding: 9px 8px 8px; box-shadow: inset 0 0 0 1px var(--muted);
  font-family: var(--mono); font-size: 12px; line-height: 12px; letter-spacing: .6px; color: var(--muted);
  transition: background-color .2s ease;
}
.dq-form-tab:hover { background: rgba(188, 204, 200, .3); }
.dq-form-tab[aria-selected="true"] { background: rgba(188, 204, 200, .7); box-shadow: inset 0 0 0 1px var(--teal-mid); color: var(--teal); }

.dq-form { display: flex; flex-direction: column; gap: 20px; }
.dq-form[hidden] { display: none; }
.dq-apply-card[hidden] { display: none; }
.dq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dq-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.dq-field > label, .dq-field > legend { padding: 0; font-family: var(--mono); font-size: 12px; line-height: 14.4px; letter-spacing: .6px; color: var(--muted); }
.dq-field > legend { margin-bottom: 8px; }
.dq-form input:not([type="checkbox"]), .dq-form select, .dq-form textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 0;
  background: var(--cream); box-shadow: inset 0 0 0 1px var(--stone);
  font-family: var(--sans); font-size: 15px; line-height: 1.4; color: var(--teal);
  transition: box-shadow .2s ease;
}
.dq-form textarea { min-height: 120px; resize: vertical; }
.dq-form select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.dq-form input::placeholder, .dq-form textarea::placeholder { color: rgba(68, 107, 110, .6); }
.dq-form input:not([type="checkbox"]):focus, .dq-form select:focus, .dq-form textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--teal); }
.dq-form .is-invalid { box-shadow: inset 0 0 0 1.5px var(--red) !important; }
.dq-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.dq-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--teal); cursor: pointer; }
.dq-check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--teal); }
.dq-confirm { color: var(--teal-mid); }
.dq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dq-submit { display: flex; }
.dq-submit .fbtn { cursor: pointer; border: 0; }
.dq-submit .fbtn:disabled { opacity: .6; cursor: default; }
.dq-notice { padding: 14px 16px; font-size: 15px; line-height: 1.4; color: var(--teal); background: #ced9d0; box-shadow: inset 3px 0 0 var(--teal); }
.dq-notice.is-error { background: rgba(244, 64, 41, .08); box-shadow: inset 3px 0 0 var(--red); }
.dq-notice[hidden] { display: none; }

/* ── tablet ── */
@media (max-width: 1439px) {
  .dq-hero, .dq-sec { padding-inline: 32px; }
  .dq-sec { padding-block: 64px; }
  .dq-band-in { padding: 80px 32px; }
  .dq-what { gap: 48px; }
  .dq-step { min-height: 0; }
  .dq-source-tab { font-size: 18px; padding: 16px 20px; }
  .dq-scope { gap: 24px; }
  .dq-apply { flex-direction: column; gap: 32px; }
  .dq-apply-head .h2 { max-width: 640px; }
  .dq-apply-card { flex: none; width: 100%; }
}
@media (max-width: 1023px) {
  .dq-what { flex-direction: column; }
  .dq-what-left { position: static; }
  .dq-steps { width: 100%; }
  .dq-sources { grid-template-columns: 1fr; }
  .dq-source-tabs { box-shadow: inset 0 -1px 0 var(--stone); }
}

/* ── phone: the 200px nav box already sits above, so the hero starts close (as on Contact) ── */
@media (max-width: 809px) {
  .dq-hero, .dq-sec { padding-inline: 16px; }
  .dq-hero { padding-top: 24px; padding-bottom: 48px; }
  .dq-sec { padding-block: 48px; }
  .dq-band-in { padding: 56px 16px; }
  .dq-head { margin-bottom: 32px; }
  .dq-step { flex-direction: column; gap: 16px; padding: 20px; }
  .dq-merge-row { gap: 16px; }
  .dq-bracket { font-size: 16px; }
  .dq-bracket .brk { font-size: 24px; }
  .dq-source-tab { font-size: 16px; padding: 14px 16px; }
  .dq-source-panel { padding: 24px 20px; }
  .dq-scope { grid-template-columns: 1fr; gap: 16px; }
  .dq-scope-card { padding: 24px 20px; }
  .dq-aud { font-size: 16px; white-space: normal; }
  .dq-aud .brk { font-size: 24px; }
  .dq-faq summary { font-size: 19px; padding: 18px 0; }
  .dq-apply { padding-bottom: 64px; }
  .dq-apply-card { padding: 24px 20px; }
  .dq-row { grid-template-columns: 1fr; }
}
