/* The Builders Program's page (/builders; the owner approved comps builders-desktop-top, builders-desktop-form and
   builders-phone on 2 Nov 2026). It takes the program pages' own base (.qp, runtime/go/partners.css: the theme's tokens,
   the green tag, the pixel headline and the arcade keys) and the site's riveted bay (runtime/quit/deck-art/bay.webp, laid
   as a 9-slice border-image like the partner program's first screen); these rules add only what this page has of its own, scoped
   under .qb. Sizes are the comps' at 1440 and 390 px. The intro panel is a size container and its words are sized in
   its own width (cqi), so the headline and the lead break where the comps break them at every width. The body face
   draws at 72% of its font-size (body.css), so body sizes are written as the drawn size divided by .72. */

.qb{--qb-bay:url(/runtime/quit/deck-art/bay.webp) 44 50/11px 12px stretch;--qb-row:url(/runtime/quit/deck-art/bay.webp) 44 50 fill/11px 12px stretch;
 --qb-shadow:3px 3px 0 #6b2200,4px 4px 0 #000;padding:8px 4px 40px}
.qb :where(h1,h2,p,ul,li,figure,form){margin:0;padding:0}
.qb [hidden]{display:none!important}

/* the riveted panels: the bay frame over the site's black, as the partner program's page frames its first screen */
.qb-panel{position:relative;min-width:0;border:solid transparent;border-width:11px 12px;border-image:var(--qb-bay);background:var(--qp-black)}
.qb-top{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}

/* ---------------------------------------------------------------- the first screen: the words (comp builders-phone) */
.qb-intro__in{container-type:inline-size;padding:10px 8px 10px}
.qb .qb-tag{display:inline-block;margin:0;padding:.96cqi 3.07cqi;border:2px solid var(--qp-green);font-size:4.59cqi;line-height:1.3;letter-spacing:.04em}
.qb .qb-h1{margin-top:3.16cqi;font-size:13.27cqi;line-height:.824;letter-spacing:.055em;text-wrap:wrap;text-shadow:var(--qb-shadow)}
.qb-lead{margin-top:3.1cqi;color:var(--qp-ink);font:400 6.02cqi/1.044 var(--qp-body)}
.qb-go{display:flex;flex-direction:column;align-items:stretch;margin-top:5.15cqi}
.qb .qb-go__key{width:100%;min-height:15cqi;padding:.6cqi 4cqi 3.4cqi;font-size:6.52cqi;letter-spacing:.02em;border-image-width:2.4cqi 2.6cqi 3.5cqi}
.qb-go__line{margin-top:3.2cqi;color:var(--qp-ink);font:400 5.15cqi/1.2 var(--qp-body);text-align:center}

/* the doors plate, and the plan key under it on every screen */
.qb-show{display:flex;flex-direction:column}
/* on a phone the plate meets the frame's metal, as the comp draws it (the bay's inner edge is dark glass) */
.qb-art{position:relative;margin:-4px -5px 0;aspect-ratio:1.31;overflow:hidden;line-height:0;background:#000}
.qb-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.qb-plan{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:12px 8px 10px}
.qb .qb-plan__key{min-height:48px;padding:4px 16px 12px;font-size:18px;letter-spacing:.03em}
.qb-plan__line{flex:1 1 220px;color:var(--qp-ink);font:400 calc(13.5px / .72)/1.3 var(--qp-body);text-wrap:balance}

/* ---------------------------------------------------------------- the application and the plan (comp builders-desktop-form) */
.qb-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:8px}
.qb-apply,.qb-earn{padding:6px 10px 18px;scroll-margin-top:calc(var(--c-header-height,var(--t-header-phone,62px)) + 8px)}
.qb h2{color:var(--qp-orange);font:700 clamp(30px,10.4vw,66px)/1 var(--qp-pixel);letter-spacing:.05em;text-shadow:var(--qb-shadow)}

.qb-form{container-type:inline-size}
.qb-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:16px}
.qb-field{display:flex;flex-direction:column;min-width:0}
/* Every label keeps one line, as the comps draw them: each takes the comp's size where its words fit the field's width, and
   the two long ones step down to fit it (their widths in the display face: 17.1 and 19.6 times the font size). */
.qb-field{--qb-label:18px;--qb-col:100cqi}
.qb-field label{display:block;margin-bottom:8px;color:var(--qp-green);font:700 var(--qb-label)/1.3 var(--qp-display);letter-spacing:0;white-space:nowrap}
.qb-field--team label{font-size:min(var(--qb-label),calc(var(--qb-col) / 17.1))}
.qb-field--businesses label{font-size:min(var(--qb-label),calc(var(--qb-col) / 19.6))}
.qb-field input{display:block;width:100%;min-width:0;height:56px;margin:0;padding:0 14px;border:3px solid var(--qp-green);border-radius:6px;
 background:#01140c;box-shadow:0 0 0 1px #000,inset 0 2px 8px #000a;color:var(--qp-ink);font:400 calc(17px / .72)/1 var(--qp-body);
 -webkit-appearance:none;appearance:none;-moz-appearance:textfield}
.qb-field input::-webkit-inner-spin-button,.qb-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.qb-field input::placeholder{color:#6d786e;opacity:1}
.qb-field--whatsapp input::placeholder{font-size:min(calc(13px / .72),calc((var(--qb-col) - 36px) / 19.9))}
.qb-field input:focus-visible{outline:3px solid var(--qp-focus);outline-offset:2px}
.qb-field input[aria-invalid="true"]{border-color:var(--qp-red)}
/* the hidden field only a script fills: never drawn, never focused, never read aloud */
.qb-trap{display:none}
.qb .qb-send{display:flex;width:100%;min-height:64px;margin:24px auto 0;padding:6px 18px 16px;border-image-width:10px 12px 16px;font-size:clamp(20px,6.4vw,33px);letter-spacing:.03em}
.qb .qb-send[aria-busy="true"]{cursor:progress}
.qb-next{margin-top:12px;color:var(--qp-ink);font:400 calc(12.4px / .72)/1.3 var(--qp-body);text-align:center;text-wrap:balance}
/* the send's messages (owner approval, 2 Nov 2026): one at a time in the status line under the key, in the Next line's face */
.qb-say span{display:block;margin-top:12px;color:var(--qp-ink);font:400 calc(12.4px / .72)/1.3 var(--qp-body);text-align:center;text-wrap:balance}
.qb-legal{margin-top:10px;color:var(--qp-dim);font:400 calc(11.5px / .72)/1.35 var(--qp-body);text-align:center;text-wrap:balance}
.qb-legal a{color:inherit;text-underline-offset:3px}
.qb-next:focus{outline:none}
.qb-next:focus-visible{outline:3px solid var(--qp-focus);outline-offset:4px}
/* sent: the fields and the key give way to the line */
.qb-form[hidden]+.qb-next{margin-top:22px}

.qb-rows{list-style:none;display:grid;gap:12px;margin-top:16px}
.qb-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:10px;min-height:88px;
 padding:2px 6px 4px 12px;border:solid transparent;border-width:11px 12px;border-image:var(--qb-row)}
.qb-row__label{grid-column:1;align-self:end;color:var(--qp-green);font:700 clamp(17px,5.4vw,26px)/1.2 var(--qp-display);letter-spacing:.02em}
.qb-row__line{grid-column:1;align-self:start;color:var(--qp-ink);font:400 calc(12px / .72)/1.2 var(--qp-body)}
.qb-row__fig{grid-column:2;grid-row:1/span 2;color:var(--qp-orange);font:400 clamp(36px,10.4vw,63px)/1 "QUIT Figures","QUIT Figures Fallback",var(--qp-display);
 letter-spacing:.01em;text-shadow:var(--qb-shadow);white-space:nowrap}
.qb-row__fig--range{font-size:clamp(29px,8.3vw,50px)}
.qb-row__to{font-size:.62em}

/* ---------------------------------------------------------------- phones: the comp breaks the headline in four */
@media(max-width:767px){
 .qb-br{display:inline}
}
@media(min-width:768px){
 .qb-br{display:none}
 .qb{padding:16px var(--qp-pad) 40px}
 .qb-panel{border-width:14px 16px;border-image-width:14px 16px}
 .qb-top,.qb-grid{gap:18px}
 .qb-grid{margin-top:33px}
 .qb-intro__in{padding:17px 6px 0 20px}
 .qb .qb-tag{padding:.728cqi 2.0cqi;font-size:4.039cqi}
 .qb .qb-h1{margin-top:3.457cqi;font-size:min(11.645cqi,96px);line-height:.867;letter-spacing:0}
 .qb-lead{margin-top:3cqi;font-size:4.853cqi;line-height:1.226}
 .qb-go{flex-direction:row;flex-wrap:wrap;align-items:center;gap:2cqi 4.37cqi;margin:7.9cqi 0 8.4cqi}
 .qb .qb-go__key{width:auto;min-width:48.76cqi;min-height:12.2cqi;padding:.7cqi 3cqi 2cqi;font-size:5.386cqi;letter-spacing:.03em;border-image-width:1.6cqi 1.8cqi 1.8cqi}
 .qb-go__line{margin:0;font-size:4.458cqi;text-align:left}
 .qb-art{margin:0;aspect-ratio:1672/941}
 .qb-plan__line{text-wrap:wrap}
 .qb-show{padding:16px 14px 23px}
 .qb-plan{flex-wrap:nowrap;gap:12px 24px;padding:15px 0 0}
 .qb .qb-plan__key{flex:none;min-width:181px;min-height:49px;padding:3px 18px 8px;border-image-width:7px 8px 8px;font-size:21px}
 .qb-plan__line{flex:1 1 auto;font-size:calc(15.77px / .72)}
 .qb-apply,.qb-earn{padding:12px 24px 23px;scroll-margin-top:calc(var(--c-header-height,var(--t-header-desktop,70px)) + 12px)}
 .qb h2{font-size:66px}
 .qb-fields{gap:21.6px 32px;margin-top:22.5px}
 .qb-field{--qb-label:22px}
 .qb-field label{margin-bottom:9.5px}
 .qb-field input{height:63px}
 .qb .qb-send{width:min(100%,545px);min-height:71px;margin-top:36px;padding:4px 18px 10px;border-image-width:9px 11px 10px;font-size:33.3px}
 .qb-next{margin-top:9px;font-size:calc(19.9px / .72);line-height:1.226;text-wrap:wrap}
 .qb-say span{margin-top:9px;font-size:calc(19.9px / .72);line-height:1.226}
 .qb-legal{margin-top:8px;font-size:calc(14px / .72)}
 .qb-earn{padding-inline:14px}
 .qb-earn h2{margin-left:10px}
 .qb-rows{gap:13.8px;margin-top:25px}
 .qb-row{min-height:106px;padding:0 5px 8px 15.5px;border-width:12px 13px;border-image-width:12px 13px}
 .qb-row__label{font-size:25.9px}
 .qb-row__line{font-size:calc(17.3px / .72)}
 .qb-row__fig{font-size:62.7px}
 .qb-row__fig--range{font-size:50px}
}
/* the fields in two columns where the form is wide enough for the longest label (the comp's desk) */
@container (min-width:720px){
 .qb-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .qb-field{--qb-col:calc(50cqi - 16px)}
}
/* a desk: the words and the doors side by side, then the application beside the plan (comps builders-desktop-top and
   builders-desktop-form) */
@media(min-width:1000px){
 .qb{padding-top:22px}
 .qb-top{grid-template-columns:minmax(0,.79fr) minmax(0,1fr)}
 .qb-show{min-height:0}
 .qb-art{flex:1 1 auto;min-height:240px;aspect-ratio:auto}
 .qb-grid{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
}
@media(prefers-reduced-motion:reduce){.qb .qp-key{transition:none}}
