/* Buy-intent pages (18/11/2026): what they add to the section kit of the English best hubs (best-dc.css, html.qd-bdc)
   and to hero B of the product page. Generator: buy-intent-build.mjs. Blocks: the cost calculator, the break-even bars,
   the three buying steps. Colours of the kit only (ink #0E1220, violet #4B3FD6 for the active state, green #1F7A45 for
   "ours" as in the Top pick table); the teal of the CTA is not used here. Reduced motion: everything static. */

html.qd-bdc main .bi-calc{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:22px;margin:22px 0 0;padding:22px;border-radius:20px;background:#fff;border:1px solid rgba(14,18,32,.1);box-shadow:0 1px 2px rgba(14,18,32,.04),0 14px 38px -22px rgba(14,18,32,.16)}
html.qd-bdc main .bi-ctl{display:flex;flex-direction:column;gap:10px;min-width:0}
html.qd-bdc main .bi-ctl label{font:600 14px/1.4 Inter,system-ui,sans-serif;color:#0E1220}
html.qd-bdc main .bi-ctl select{width:100%;min-height:46px;padding:10px 12px;border-radius:12px;border:1px solid rgba(14,18,32,.18);background:#F7F8FB;color:#0E1220;font:500 15px/1.4 Inter,system-ui,sans-serif}
html.qd-bdc main .bi-ctl input[type=range]{width:100%;min-height:44px;accent-color:#4B3FD6}
html.qd-bdc main .bi-ctl output{font-variant-numeric:tabular-nums;color:#4B3FD6}
html.qd-bdc main .bi-ctl .bi-hint{font-size:14px;line-height:1.55;color:#4F5870;margin:2px 0 0}
html.qd-bdc main .bi-out{min-width:0}
html.qd-bdc main .bi-big{margin:0 0 6px;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
html.qd-bdc main .bi-big b{font:700 clamp(2rem,4.2vw,2.8rem)/1.05 Inter,system-ui,sans-serif;letter-spacing:-.02em;color:#0E1220;font-variant-numeric:tabular-nums}
html.qd-bdc main .bi-big span{color:#4F5870;font-size:15px}
html.qd-bdc main .bi-facts{list-style:none;margin:8px 0 14px;padding:0;display:grid;gap:6px;font-size:15px;line-height:1.5;color:#3A4256}
html.qd-bdc main .bi-facts b{color:#0E1220;font-variant-numeric:tabular-nums}
html.qd-bdc main .bi-meter{height:12px;border-radius:999px;background:#EEF0F6;overflow:hidden}
html.qd-bdc main .bi-meter i{display:block;height:100%;width:100%;transform-origin:0 50%;transform:scaleX(var(--f,.5));background:linear-gradient(90deg,#4B3FD6,#7B70F0);border-radius:999px;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
html.qd-bdc main .bi-meter-l{font-size:14px;color:#4F5870;margin:8px 0 12px}
html.qd-bdc main .bi-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
html.qd-bdc main .bi-chip{padding:6px 10px;border-radius:10px;border:1px solid rgba(14,18,32,.1);background:#F7F8FB;color:#4F5870;font:500 13px/1.3 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;transition:background .25s,border-color .25s,color .25s}
html.qd-bdc main .bi-chip b{color:#0E1220;font-weight:600}
html.qd-bdc main .bi-chip.is-on{background:#ECEAFD;border-color:#4B3FD6;color:#2B2380}

/* break-even bars: one per offer, the width is the cost of one day; ours in green, ports in ink, a port cheaper than ours outlined */
html.qd-bdc main .bi-bars{list-style:none;margin:6px 0 10px;padding:0;display:grid;gap:9px}
html.qd-bdc main .bi-bars li{display:grid;grid-template-columns:minmax(0,11.5em) minmax(0,1fr) 4.6em;gap:10px;align-items:center;font-size:14px;color:#3A4256}
html.qd-bdc main .bi-bars li > span:first-child{overflow-wrap:anywhere}
html.qd-bdc main .bi-bars li b{font-variant-numeric:tabular-nums;color:#0E1220;text-align:right}
html.qd-bdc main .bi-bar{height:12px;border-radius:999px;background:#EEF0F6;overflow:hidden}
html.qd-bdc main .bi-bar i{display:block;height:100%;width:100%;transform-origin:0 50%;transform:scaleX(var(--w,.5));background:#3A4256;border-radius:999px;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
html.qd-bdc main .bi-bar.is-ours i{background:#1F7A45}
html.qd-bdc main .bi-bar.is-low{box-shadow:0 0 0 2px #4B3FD6}
html.qd-bdc main .bi-verdict{font-size:15px;line-height:1.55;color:#0E1220;margin:4px 0 0;min-height:3.1em}

/* the three buying steps: numbered cards, lit in sequence once, then a 90-day line that empties */
html.qd-bdc main .bi-steps{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;counter-reset:bi}
html.qd-bdc main .bi-steps li{position:relative;padding:18px 18px 16px;border-radius:18px;background:#fff;border:1px solid rgba(14,18,32,.1);box-shadow:0 10px 26px -22px rgba(14,18,32,.3);counter-increment:bi}
html.qd-bdc main .bi-steps li::before{content:counter(bi);display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#F1F3F8;color:#0E1220;font:700 14px/1 Inter,system-ui,sans-serif;margin-bottom:10px}
html.qd-bdc main .bi-steps h3{font-size:1.05rem;margin:0 0 6px;color:#0E1220}
html.qd-bdc main .bi-steps p{margin:0;font-size:15px;line-height:1.55;color:#3A4256}
html.qd-bdc main .bi-steps.is-run li{animation:bi-lit .7s ease both}
html.qd-bdc main .bi-steps.is-run li:nth-child(2){animation-delay:.35s}
html.qd-bdc main .bi-steps.is-run li:nth-child(3){animation-delay:.7s}
@keyframes bi-lit{0%{border-color:rgba(14,18,32,.1)}45%{border-color:#4B3FD6;box-shadow:0 0 0 3px #ECEAFD}100%{border-color:rgba(14,18,32,.1)}}
html.qd-bdc main .bi-term{margin:14px 0 0;padding:14px 16px;border-radius:16px;background:#F7F8FB;border:1px solid rgba(14,18,32,.08)}
html.qd-bdc main .bi-term p{margin:0 0 8px;font-size:14px;color:#4F5870}
html.qd-bdc main .bi-term .bi-meter i{transform:scaleX(1);background:#1F7A45}
html.qd-bdc main .bi-steps.is-run + .bi-term .bi-meter i{animation:bi-drain 4s 1.2s ease-in-out both}
@keyframes bi-drain{from{transform:scaleX(1)}to{transform:scaleX(.12)}}
html.qd-bdc main .bi-term ul{display:flex;justify-content:space-between;gap:8px;list-style:none;margin:6px 0 0;padding:0;font-size:13px;color:#4F5870}

@media (prefers-reduced-motion:reduce){
  html.qd-bdc main .bi-meter i,html.qd-bdc main .bi-bar i,html.qd-bdc main .bi-chip{transition:none}
  html.qd-bdc main .bi-steps.is-run li,html.qd-bdc main .bi-steps.is-run + .bi-term .bi-meter i{animation:none}
}
@media (max-width:860px){
  html.qd-bdc main .bi-calc{grid-template-columns:minmax(0,1fr);padding:18px}
  html.qd-bdc main .bi-steps{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:520px){
  html.qd-bdc main .bi-bars li{grid-template-columns:minmax(0,1fr) 4.6em;grid-template-areas:"n v" "b b";row-gap:4px}
  html.qd-bdc main .bi-bars li > span:first-child{grid-area:n}
  html.qd-bdc main .bi-bars li > .bi-bar{grid-area:b}
  html.qd-bdc main .bi-bars li > b{grid-area:v}
}
