/* Service-page inline quote calculator (page-scoped, .sc-* namespace).
   Same design tokens as site.css and the already-blessed roof-scan look
   (assets/roof-scan.css). The base form field classes (.f-full, .urg,
   .consent, .micro, .hp, input/select) come from site.css and are NOT
   redefined here. This file styles the calculator; it never prices.
   Every dollar figure comes from /assets/engine.mjs via service-calc.js. */

.sc-shell{max-width:760px;margin:0 auto}
.sc-step{padding:34px 28px}
.sc-lede{margin-bottom:4px;color:rgba(255,255,255,.85)}
.sc-lede a{color:var(--gold);font-weight:700}
.sc-noscript{margin:16px 0 0;padding:16px 20px;border:1px solid rgba(199,172,103,.4);border-radius:14px;
  font-size:15px;color:rgba(255,255,255,.85)}

/* input groups. All three in-card question prompts share ONE treatment
   (17px / 700 / no tracking) so the slider question doesn't read as a small
   tracked field-label next to the tap prompts. site.css's global `label` rule
   (13px, .06em) is overridden here for the slider label only. */
.sc-q{margin-top:26px}
.sc-q > p,
.sc-q label{font-weight:700;font-size:17px;letter-spacing:normal;color:#fff}
.sc-q > p{margin-bottom:10px}
.sc-q label{display:block;margin-bottom:12px}
.sc-hint{display:inline-block;font-size:13px;line-height:1.45;letter-spacing:normal;
  color:rgba(255,255,255,.65);font-weight:400}

.sc-btns{display:flex;flex-wrap:wrap;gap:10px}
.sc-btns button{min-height:48px;padding:10px 18px;border-radius:14px;cursor:pointer;
  background:rgba(255,255,255,.06);border:1px solid rgba(199,172,103,.32);color:#fff;
  font-family:'Nunito',sans-serif;font-weight:700;font-size:15px;letter-spacing:normal;
  display:flex;align-items:center;gap:9px;transition:border-color .25s,background .25s}
.sc-btns button:hover{border-color:var(--gold)}
.sc-btns button.sel{background:rgba(199,172,103,.22);border-color:var(--gold);color:var(--gold)}

#scSlider{width:100%;accent-color:#c7ac67;min-height:34px}
#scSliderVal{font-weight:800;color:var(--gold)}

/* range card (mirrors the blessed roof-scan #rsResult). The disclaimer is
   capped to a comfortable measure so it doesn't run ~96 chars on wide screens. */
#scResult{margin-top:26px;padding:26px;border-radius:18px;text-align:center;
  background:rgba(199,172,103,.10);border:1px solid rgba(199,172,103,.45)}
.sc-range-lede{font-size:17px;color:#fff}
.sc-range{font-family:'Marcellus',serif;font-size:clamp(34px,8vw,48px);color:var(--gold);margin:6px 0 12px}
.sc-range span{font-size:.45em;color:rgba(255,255,255,.8)}
.sc-disc{font-size:13.5px;color:rgba(255,255,255,.75);margin:6px auto 0;max-width:52ch}

/* capture */
#scCapture{margin-top:22px}
/* Align the capture heading with the form fields (form padding) AND the calc
   title above it, so the module has one continuous left rail. */
#scCaptureH{padding-left:28px;padding-right:28px}
#scCapture form{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:34px 28px}
#scCapture .f-full{grid-column:1/-1}
#scCapture label{font-size:14px;font-weight:700;color:#fff;display:block;margin-bottom:6px}
#scCapture .consent{max-width:64ch}

/* Urgency pills — IDENTICAL to the stories/moss taps (same size, padding,
   border, radius, and 0 tracking) and hug-content like them, so the two pill
   rows read as one component. site.css renders a plain visible radio; this
   scoped override hides the dot and highlights the whole pill on check.
   The legend keeps the form-label scale (14px) — it belongs to the capture
   form section, not to the calculator's question prompts. */
#scCapture fieldset.urgency legend{font-size:14px;font-weight:700;color:#fff;margin-bottom:8px}
#scCapture .urgency-row{display:flex;gap:10px;flex-wrap:wrap}
#scCapture .urg{flex:0 1 auto;display:block;padding:0;border:0;background:none;margin:0;letter-spacing:normal}
#scCapture .urg input{position:absolute;opacity:0;width:0;height:0;min-height:0}
#scCapture .urg span{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;
  border-radius:14px;border:1px solid rgba(199,172,103,.32);background:rgba(255,255,255,.06);
  font-weight:700;font-size:15px;letter-spacing:normal;cursor:pointer;text-align:center;color:#fff}
#scCapture .urg input:checked+span{background:rgba(199,172,103,.22);border-color:var(--gold);color:var(--gold)}
#scCapture .urg input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}

/* a deep-link to #quote-calc must not park the heading behind the fixed header */
#quote-calc{scroll-margin-top:100px}

@media (max-width:700px){
  .sc-step{padding:26px 18px}
  #scCapture form{grid-template-columns:1fr;padding:26px 18px}
  #scCaptureH{padding-left:18px;padding-right:18px}
}
