/* Prism estimator: a soft spectrum, clear controls and a quiet, dark estimate. */
.Prism #estimator {
  --est-ink: #25202e;
  --est-muted: #655d70;
  --est-purple: #7041df;
  --est-line: #dcd6e5;
  color: var(--est-ink);
  border: 0;
  padding-block: 104px 112px;
  background:
    linear-gradient(90deg, #8854eb, #d95bba 35%, #f5b290 52%, #709ffa 75%, #92e4d6) left bottom / 100% 3px no-repeat,
    radial-gradient(ellipse 62% 38% at 0% 12%, #e3d9fb 0%, transparent 100%),
    radial-gradient(ellipse 48% 40% at 100% 5%, #dceafb 0%, transparent 100%),
    radial-gradient(ellipse 48% 36% at 88% 55%, #f7dce8 0%, transparent 100%),
    radial-gradient(ellipse 65% 28% at 15% 95%, #e0ede7 0%, transparent 100%),
    radial-gradient(ellipse 55% 30% at 95% 100%, #f6e9d5 0%, transparent 100%),
    #f6f4fa;
}

#estimator .Est__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  column-gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}

#estimator .Eyebrow { grid-column: 1 / -1; color: #655575; margin-bottom: 24px; }
#estimator .Section__title { margin: 0; color: var(--est-ink); font-size: clamp(2.8rem, 4.7vw, 4.8rem); }
#estimator .Section__title em {
  display: inline-block;
  padding-inline-end: .14em;
  margin-inline-end: -.14em;
  color: #7041b6;
  background: linear-gradient(100deg, #6341b5 6%, #9b458a 48%, #3e68a0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#estimator .Section__lead { margin: 0 0 5px; color: var(--est-muted); max-width: 33ch; font-size: 1rem; line-height: 1.8; }
#estimator .Est__layout { gap: 64px; }
#estimator .Est__step { border-color: #d6d0e0; padding-top: 32px; }
#estimator .Est__step:first-of-type { border: 0; padding-top: 0; }
#estimator .Est__step + .Est__step { margin-top: 36px; }
#estimator .Est__legend { margin-bottom: 20px; }
#estimator .Est__legend-row { align-items: center; gap: 12px; }
#estimator .Est__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #cec5dd;
  border-radius: 50%;
  color: #655575;
  font: 500 .6875rem/1 var(--font-future);
  letter-spacing: 0;
}
#estimator .Est__step-title { color: var(--est-ink); font-size: 1.1875rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.4; }
#estimator .Est__step-hint { margin: 8px 0 0 40px; color: var(--est-muted); font-weight: 400; max-width: 48ch; }
#estimator .Opts { gap: 10px; }
#estimator .Opts--cards { gap: 12px; }
#estimator .Opt__card {
  min-height: 102px;
  gap: 12px;
  padding: 20px 18px;
  border: 1px solid #d3cbdc;
  border-radius: 14px;
  background: #ffffffb8;
  box-shadow: 0 2px 3px #30204703;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
#estimator .Opt:hover .Opt__card { background: #fff; border-color: #aa97c6; box-shadow: 0 4px 16px #36234608; }
#estimator .Opt input:checked ~ .Opt__card {
  border-color: var(--est-purple);
  background: #faf7ff;
  box-shadow: inset 0 0 0 1px var(--est-purple), 0 3px 12px #7041df08;
}
#estimator .Ic { width: 28px; height: 28px; color: #70647f; background: transparent; flex-shrink: 0; }
#estimator .Ic .Icon { width: 24px; height: 24px; }
#estimator .Opt input:checked ~ .Opt__card .Ic { color: var(--est-purple); background: transparent; }
#estimator .Opt__body { flex: 1; gap: 7px; }
#estimator .Opt__name { color: var(--est-ink); font-size: .9375rem; line-height: 1.35; font-weight: 500; letter-spacing: -.02em; }
#estimator .Opt__price,
#estimator .Opt__card .Opt__price {
  color: #716779;
  font: 400 .8125rem/1.45 var(--font-future);
  font-variant-numeric: tabular-nums;
  opacity: 1;
  letter-spacing: -.015em;
}
#estimator .Opt input:checked ~ .Opt__card .Opt__price,
#estimator .Opt input:checked ~ .Opt__chip .Opt__price { color: #6a479e; opacity: 1; }

/* Radio dots and checkbox ticks give selected options more than a color cue. */
#estimator .Opt input[type="radio"] ~ .Opt__card::after {
  content: '';
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid #b5a9c4;
  border-radius: 50%;
  background: #fff;
}
#estimator .Opt input[type="radio"]:checked ~ .Opt__card::after {
  background: var(--est-purple);
  border-color: var(--est-purple);
  box-shadow: inset 0 0 0 4px #faf7ff;
}
#estimator .Opt__tick { width: 18px; height: 18px; border-color: #b5a9c4; background: #fff; border-radius: 5px; }
#estimator .Opt input:checked ~ .Opt__card .Opt__tick { border-color: var(--est-purple); background: var(--est-purple); }
#estimator .Opt__tick::after { background: #fff; inset: 1px; }
#estimator .Opt__chip {
  min-height: 48px;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid #cfc5db;
  border-radius: 10px;
  background: #ffffffa6;
  color: #51465f;
  font-size: .875rem;
}
#estimator .Opt:hover .Opt__chip { border-color: #aa97c6; background: #fff; color: #40285e; }
#estimator .Opt input:checked ~ .Opt__chip { background: #f5efff; border-color: var(--est-purple); color: #583193; box-shadow: inset 0 0 0 1px var(--est-purple); }
#estimator .Opt input[type="checkbox"] ~ .Opt__chip::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 1px solid #b5a9c4;
  border-radius: 4px;
  background: #fff;
  flex: 0 0 16px;
  margin-right: 2px;
}
#estimator .Opt input[type="checkbox"]:checked ~ .Opt__chip::before { background: var(--est-purple); border-color: var(--est-purple); box-shadow: inset 0 0 0 3px #f5efff; }
#estimator .Opt input:focus-visible ~ .Opt__card,
#estimator .Opt input:focus-visible ~ .Opt__chip,
#estimator .Stepper__btn:focus-visible { outline: 2px solid #5926bd; outline-offset: 4px; }
#estimator .Stepper { border-color: #cfc5db; border-radius: 12px; background: #ffffffb8; padding: 6px; gap: 9px; }
#estimator .Stepper__btn { width: 44px; height: 44px; border: 0; border-radius: 8px; background: #f0ebf7; color: #65458a; }
#estimator .Stepper__btn:hover:not(:disabled) { background: #e5d9f7; color: #512393; }
#estimator .Stepper__value { color: var(--est-ink); font: 500 1.125rem/1 var(--font-future); }
#estimator .Stepper__total { color: #705786; padding: 0 12px 0 7px; font: 400 .8125rem/1.4 var(--font-future); letter-spacing: 0; }

/* Do not create a containing block here: the mobile summary is viewport-fixed. */
#estimator .Est__summary {
  color: #fff;
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(145deg, #2b2437, #1b1921 62%) padding-box,
    linear-gradient(145deg, #b6a2ef, #efbaca 30%, #e6d8b6 50%, #add8cc 70%, #a8bdf1) border-box;
  box-shadow: 0 20px 55px -25px #39274652, 0 3px 8px #3927460a;
}
#estimator .Est__panel { padding: 28px; }
#estimator .Est__sum-head { gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
#estimator .Est__sum-title { color: #ddd3ea; font: 500 .875rem/1.4 var(--font-future); letter-spacing: 0; text-transform: none; }
#estimator .Est__weeks { color: #d7c9e9; background: #ffffff08; border: 1px solid #655473; border-radius: 20px; padding: 5px 9px; font: 400 .75rem/1.4 var(--font-future); letter-spacing: 0; }
#estimator .Est__total { display: block; }
#estimator .Est__total-k { display: block; padding: 0; margin-bottom: 12px; color: #b8acc7; font: 400 .8125rem/1.4 var(--font-future); letter-spacing: 0; text-transform: none; }
#estimator .Est__figure { display: block; text-align: left; }
#estimator .Est__from { color: #bba6d6; font: 400 .75rem/1.4 var(--font-future); letter-spacing: 0; text-transform: none; margin-bottom: 4px; }
#estimator .Est__amount { display: block; color: #fcfaff; font: 500 3.5rem/1.15 var(--font-future); letter-spacing: -.065em; font-variant-numeric: tabular-nums; overflow-wrap: normal; }
#estimator .Est__from:empty + .Est__amount { font-size: 2.05rem; letter-spacing: -.055em; }
#estimator .Est__bandnote { text-align: left; color: #b8acc7; font: 400 .75rem/1.5 var(--font-future); letter-spacing: 0; }
#estimator .Est__rule { border-color: #ffffff21; margin: 26px 0 12px; }
#estimator .Est__line { gap: 16px; padding: 10px 0; border: 0; }
#estimator .Est__line-k { color: #c9c1d3; font-size: .875rem; font-weight: 400; line-height: 1.5; }
#estimator .Est__line-v { color: #f3ecfc; font: 400 .875rem/1.5 var(--font-future); font-variant-numeric: tabular-nums; text-align: right; }
#estimator .Est__line--incl .Est__line-v { max-width: 48%; flex: 0 1 auto; white-space: normal; color: #b9d4c6; font-size: .75rem; line-height: 1.65; letter-spacing: 0; text-transform: none; }
#estimator .Est__monthly { border-color: #ffffff24; padding-top: 16px; margin-top: 12px; color: #c9c1d3; font-weight: 400; }
#estimator .Est__monthly b { color: #f3ecfc; font: 500 .875rem/1.5 var(--font-future); }
#estimator .Est__upsell { border-color: #726087; border-radius: 12px; background: #b092e410; padding: 14px; gap: 10px; }
#estimator .Est__upsell-ic { width: 24px; height: 24px; border-radius: 6px; background: #bda1ed; }
#estimator .Est__upsell-ic .Icon { color: #2f1d46; }
#estimator .Est__upsell-tag { color: #cbb3ef; font: 500 .75rem/1.4 var(--font-future); letter-spacing: 0; text-transform: none; margin-bottom: 6px; }
#estimator .Est__upsell-text { color: #d3c9e0; font-weight: 400; }
#estimator .Est__upsell-text b { color: #ead9ff; }
#estimator .Est__note { color: #b1a6be; font-size: .75rem; font-weight: 400; line-height: 1.75; margin-top: 22px; }
#estimator .Est__actions { flex-direction: column; gap: 6px; margin-top: 24px; }
#estimator .Est__actions .Pill { width: 100%; min-height: 50px; padding: 13px 18px; border-radius: 10px; }
#estimator .Est__actions .Pill--accent { background: #e9dfff; border-color: #e9dfff; color: #302041; box-shadow: none; }
#estimator .Est__actions .Pill--accent:hover { background: #f7f1ff; border-color: #f7f1ff; color: #302041; }
#estimator .Est__actions .Pill--outline { background: transparent; border-color: transparent; color: #c8b9dc; min-height: 42px; }
#estimator .Est__actions .Pill--outline:hover { color: #fff; background: #ffffff08; }
#estimator .Est__summary :focus-visible { outline: 2px solid #e9dfff; outline-offset: 3px; }

@media (min-width: 1024px) {
  #estimator .Est__layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  #estimator .Est__layout, #estimator .Est__intro { column-gap: 40px; grid-template-columns: minmax(0, 1fr) 340px; }
  #estimator .Opt__card { padding: 18px 14px; gap: 10px; }
  #estimator .Est__panel { padding: 24px; }
}
@media (max-width: 1023px) {
  .Prism #estimator { padding-block: 80px 68px; }
  #estimator .Est__intro { grid-template-columns: 1fr 300px; column-gap: 36px; margin-bottom: 48px; }
  #estimator .Est__layout { gap: 0; }
  #estimator .Est__summary { border-radius: 20px 20px 0 0; border-bottom: 0; max-height: 84vh; max-height: 84dvh; box-shadow: 0 -8px 40px #20133024; }
  #estimator .Est__bar { padding: 17px 24px calc(17px + env(safe-area-inset-bottom, 0px)); gap: 14px; min-height: 68px; }
  #estimator .Est__bar-k { color: #d5c7e5; font: 400 .8125rem/1.4 var(--font-future); text-transform: none; letter-spacing: 0; }
  #estimator .Est__bar-v { color: #fff; font-weight: 500; font-size: 1.25rem; min-width: 0; }
  #estimator .Est__bar-chev { background: #d7c5ef; }
  #estimator .Est__panel { padding: 24px 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-color: #ffffff21; }
  #estimator .Est__summary[data-open="true"] .Est__bar { padding-bottom: 17px; }
  #estimator .Est__sum-head { margin-bottom: 24px; }
  #estimator .Est__amount { font-size: 3rem; }
  #estimator .Est__from:empty + .Est__amount { font-size: 2rem; }
  #estimator .Est__actions { margin-top: 20px; }
  html:not(.js) #estimator .Est__summary { border-radius: 20px; border: 1px solid #b6a2ef; }
}
@media (max-width: 700px) {
  .Prism #estimator { padding-block: 64px 48px; }
  #estimator .Est__intro { display: block; margin-bottom: 40px; }
  #estimator .Eyebrow { margin-bottom: 22px; }
  #estimator .Section__title { font-size: clamp(2.5rem, 8.5vw, 3.5rem); margin-bottom: 24px; line-height: 1.1; }
  #estimator .Section__lead { max-width: 38ch; font-size: .9375rem; }
  #estimator .Est__step + .Est__step { margin-top: 30px; }
  #estimator .Est__step { padding-top: 28px; }
  #estimator .Est__step-title { font-size: 1.125rem; }
  #estimator .Est__step-hint { margin-left: 0; font-size: .875rem; }
  #estimator .Est__legend { margin-bottom: 18px; }
  #estimator .Opt__card { min-height: 84px; padding: 18px; }
  #estimator .Opt__chip { padding: 12px 15px; }
}
@media (max-width: 380px) {
  #estimator .Est__bar { padding-inline: 20px; gap: 10px; }
  #estimator .Est__bar-v { font-size: 1.125rem; }
  #estimator .Est__panel { padding-inline: 20px; }
  #estimator .Est__from:empty + .Est__amount { font-size: 1.875rem; }
}
@media (forced-colors: active) {
  #estimator .Section__title em { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
  #estimator .Opt input:checked ~ .Opt__card,
  #estimator .Opt input:checked ~ .Opt__chip { outline: 2px solid Highlight; outline-offset: -2px; }
  #estimator .Opt__tick::after, #estimator .Est__bar-chev { background: CanvasText; }
}
