/* Eight deliberate questions, one live measure. All values use Takta's tokens. */
#estimate{scroll-margin-top:110px}
#estimate-form{display:block;max-width:none;margin-top:40px}
#estimate-form[hidden],#estimate-result[hidden],#estimate-form [hidden]{display:none!important}
.estimate-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.42fr);border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.estimate-step-column{padding:28px 40px 32px 0;min-width:0}
.estimate-progress-row{display:flex;align-items:center;gap:24px;margin-bottom:40px}
#estimate-progress{font:600 14px/1.4 var(--sans);min-width:70px;margin:0;font-variant-numeric:tabular-nums}
.estimate-progress-track{height:3px;flex:1;background:var(--cream);border-bottom:1px solid var(--ink)}
#estimate-progress-fill{display:block;height:3px;background:var(--ink);transform-origin:left;transition:transform 240ms cubic-bezier(0.23,1,0.32,1)}
#estimate-questions{position:relative;min-height:344px}
#estimate-form fieldset{min-width:0;margin:0;border:0;padding:0;width:100%}
#estimate-form .estimate-outgoing{position:absolute;top:0;left:0;pointer-events:none}
#estimate-form legend{font:600 clamp(26px,2.5vw,38px)/1.12 var(--bricolage);letter-spacing:-.035em;max-width:23ch;margin:0 0 28px;padding:0}
#estimate-form legend:focus-visible,#estimate-range:focus-visible{outline:2px solid var(--ink);outline-offset:6px}
.estimate-chips{display:flex;flex-wrap:wrap;gap:10px}
.estimate-chip{display:flex;align-items:center;gap:12px;min-height:52px;padding:13px 16px;border:1px solid var(--ink);border-radius:0;cursor:pointer;background:var(--cream);color:var(--ink);font:400 16px/1.4 var(--sans)}
.estimate-chip:has(:checked){background:var(--sun);font-weight:600}
.estimate-chip:hover{background:var(--sun)}
.estimate-chip:has(:focus-visible){outline:3px solid var(--ink);outline-offset:3px}
.estimate-chip input{flex:none;accent-color:var(--ink);width:20px;height:20px;margin:0}
#estimate-form .estimate-chip input:focus-visible{outline:none}
#estimate-form .field-error{margin:16px 0 0!important;font:500 16px/1.4 var(--sans);text-decoration:underline;text-underline-offset:3px}
.estimate-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:32px}
#estimate-form button{box-shadow:none;min-height:48px;cursor:pointer}
#estimate-form .btn,#estimate-result .btn{background:var(--coral);color:var(--ink);border:1px solid var(--ink);border-radius:0;box-shadow:none}
#estimate-form .estimate-back,#estimate-restart{border:0;border-bottom:1px solid var(--ink);border-radius:0;background:transparent;color:var(--ink);font:600 16px/1.2 var(--sans);padding:12px 0;min-width:48px;min-height:48px;cursor:pointer}
#estimate-form .estimate-back:disabled{opacity:.45;cursor:default}
#estimate-form button:focus-visible,#estimate-restart:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.estimate-meter{background:var(--sun);border-left:1px solid var(--ink);padding:32px 24px;display:flex;flex-direction:column;justify-content:space-between;gap:32px;min-width:0}
.estimate-meter-caption{font:600 13px/1.4 var(--sans);margin:0;max-width:14ch}
#estimate-meter-label{font:600 clamp(30px,3vw,42px)/1.04 var(--bricolage);letter-spacing:-.04em;margin:0;max-width:12ch}
.estimate-meter-track{display:flex;align-items:flex-end;gap:7px;height:80px}
.estimate-meter-track i{flex:1;height:32%;border:1px solid var(--ink);background:var(--sun);position:relative}
.estimate-meter-track i:nth-child(2){height:49%}.estimate-meter-track i:nth-child(3){height:66%}.estimate-meter-track i:nth-child(4){height:83%}.estimate-meter-track i:nth-child(5){height:100%}
.estimate-meter-track i[data-active=true]{background:var(--ink)}
.estimate-meter-track i[data-current=true]::after{content:'';position:absolute;width:8px;height:8px;left:50%;bottom:-16px;background:var(--ink);transform:translateX(-50%) rotate(45deg)}
#estimate .estimate-local-note{font:400 16px/1.5 var(--sans);max-width:60ch;margin:16px 0 0}
#estimate-result{padding:32px 0 0;border-top:1px solid var(--ink);scroll-margin-top:110px;color:var(--ink);background:var(--cream)}
.estimate-result-kicker{font:600 14px/1.4 var(--sans);margin:0 0 24px}
#estimate-range{font:600 clamp(38px,5.4vw,76px)/1.03 var(--bricolage);letter-spacing:-.055em;margin:0;max-width:19ch;text-wrap:balance}
#estimate-setup-caption{font:400 clamp(18px,2vw,24px)/1.4 var(--sans);margin:16px 0 48px;max-width:42ch}
.estimate-options-caption{font:500 16px/1.4 var(--sans);margin:0 0 16px}
#estimate-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.estimate-option{border:1px solid var(--ink);padding:24px 20px;min-width:0}
.estimate-option[data-selected=true]{background:var(--sun);border:2px solid var(--ink);padding:23px 19px}
.estimate-option h4{font:600 clamp(22px,2vw,28px)/1.15 var(--bricolage);letter-spacing:-.025em;margin:0 0 28px;display:flex;justify-content:space-between;gap:12px}
.estimate-option p{font:400 16px/1.5 var(--sans);margin:0}
.estimate-option-check{font:600 20px/1 var(--sans)}
#estimate-disclaimer{font:400 14px/1.6 var(--sans);max-width:78ch;margin:28px 0}
#estimate-result .preview-chrome{margin:24px 0 16px;max-width:80ch}
#estimate-restart{margin-top:8px;display:block}
.after-options{display:grid;gap:24px;margin:0}
.after-options dt{font:700 22px/1.4 var(--bricolage);margin-bottom:8px}
.after-options dd{font-size:18px;line-height:1.65;margin:0}
@media(max-width:900px){
 .estimate-workspace{grid-template-columns:minmax(0,1fr) 220px}
 .estimate-step-column{padding-right:24px}
 .estimate-chips{flex-direction:column;align-items:stretch}
 #estimate-questions{min-height:420px}
 #estimate-options{grid-template-columns:1fr}
 .estimate-option h4{margin-bottom:16px}
}
@media(max-width:640px){
 #estimate-form{margin-top:28px}
 .estimate-workspace{grid-template-columns:1fr}
 .estimate-step-column{padding:24px 0}
 .estimate-progress-row{margin-bottom:32px;gap:16px}
 #estimate-questions{min-height:450px}
 #estimate-form legend{font-size:28px;margin-bottom:24px}
 .estimate-chip{width:100%;min-height:52px;padding:12px}
 .estimate-navigation{padding-top:24px}
 .estimate-meter{border-left:0;border-top:1px solid var(--ink);padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
 .estimate-meter-caption{max-width:16ch;grid-column:1/-1}
 #estimate-meter-label{font-size:30px;align-self:center}
 .estimate-meter-track{height:70px;align-self:center;margin-bottom:16px}
 #estimate-setup-caption{margin-bottom:32px}
 #estimate-range{font-size:42px}
 .after-options dd{font-size:16px}
}
@media(prefers-reduced-motion:reduce){#estimate-progress-fill{transition:none}}
/* Scope the new presentation above legacy pricing rules. */
body:has(#view-pricing:not([hidden]))::before{background:none}
#estimate{background:var(--cream)}
#estimate-result{border:0;border-top:1px solid var(--ink);border-radius:0;margin-top:0;padding:32px 0 0;overflow:visible}
#estimate-result #estimate-range{font:600 clamp(38px,5.4vw,76px)/1.03 var(--bricolage);letter-spacing:-.055em;margin:0;overflow-wrap:normal}
#estimate-result .estimate-option h4{font:600 clamp(22px,2vw,28px)/1.15 var(--bricolage);margin:0 0 28px}
#estimate .estimate-meter-caption{font:600 13px/1.4 var(--sans);margin:0}
#estimate .estimate-result-kicker{font:600 14px/1.4 var(--sans);margin:0 0 24px}
#estimate .estimate-options-caption{font:500 16px/1.4 var(--sans);margin:0 0 16px}
@media(max-width:900px){#estimate-result .estimate-option h4{margin-bottom:16px}}
@media(max-width:640px){#estimate-result #estimate-range{font-size:42px}}

/* Draft copy stays visibly marked wherever the after-launch choices appear. */
.copy-placeholder{display:none;width:fit-content;max-width:100%;border:1px dashed currentColor;padding:7px 10px;font:500 12px/1.5 var(--sans);letter-spacing:0;color:var(--ink);margin:0 0 20px;background:var(--cream)}
#pricing-after h2{max-width:24ch;margin-bottom:36px}
#pricing-after .after-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.after-options>div{border:1px solid var(--ink);padding:24px 20px;min-width:0}
#pricing-after .after-options dt{font:600 30px/1.1 var(--bricolage);letter-spacing:-.035em;margin:0 0 16px}
#pricing-after .after-options dd{font:400 16px/1.6 var(--sans);margin:0}
#pricing-after .after-options .after-price{font:600 17px/1.4 var(--sans);margin-bottom:28px;min-height:48px}
#pricing-after .after-terms{font:400 16px/1.6 var(--sans);max-width:74ch;margin:28px 0 0}
.faq .after-launch-faq>summary{display:grid;grid-template-columns:24px minmax(0,1fr) 20px;column-gap:12px;row-gap:16px}
.after-launch-faq .faq-question{grid-column:2}
.after-launch-faq summary>.copy-placeholder{grid-column:2/-1;margin:0}
#pricing-faq .faq{max-width:none}
#pricing-faq summary,#pricing-faq .faq details p{color:var(--ink)}
#pricing-faq .n,#pricing-faq .plus{color:var(--ink)}
#pricing-faq details::details-content,.after-launch-faq::details-content{transition:none}
#pricing-faq details[open]>p,.after-launch-faq[open]>p{animation:none}
@media(max-width:900px){#pricing-after .after-options{grid-template-columns:1fr}.after-options>div{padding:24px}#pricing-after .after-options .after-price{min-height:0;margin-bottom:16px}}
@media(max-width:640px){.after-launch-faq summary>.copy-placeholder{margin-left:0}}
