/* Cash For Junk Cars Allen: quote sheet + offer page */
.haulsheet { min-height: 70vh; padding: 28px 0 72px; background-image: radial-gradient(rgba(28,43,42,.08) 1px, transparent 1.3px); background-size: 22px 22px; }
.haulsheet__boot { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 80px 16px; color: var(--ink-soft); font-weight: 600; }
.spinner { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(28,43,42,.18); border-top-color: var(--pine); animation: cs-spin .8s linear infinite; vertical-align: middle; }

/* question card: centered 640 on desktop, cardless on mobile */
.ticket { max-width: 640px; margin: 0 auto; }
@media (min-width: 768px) {
  .ticket { background: var(--sheet); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 7px 7px 0 var(--pine); padding: 30px 40px 36px; }
  .haulsheet { padding-top: 48px; }
}
.ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; min-height: 44px; }
.backlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px 0 0; background: none; border: 0; color: var(--pine); font: 700 1rem/1 var(--text); cursor: pointer; }
.backlink svg { width: 18px; height: 18px; }
.backlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.ticket__car { font: 700 1.25rem/1.1 var(--hand); color: var(--pine); text-align: right; }
.meter { height: 6px; background: var(--paper-deep); border-radius: 999px; margin: 0 0 26px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--marigold); border-right: 2px solid var(--ink); border-radius: 999px; transition: width .3s ease; }
.ticket__q { font-size: clamp(1.6rem, 5.4vw, 2.15rem); font-weight: 800; line-height: 1.12; margin: 0 0 8px; outline: none; }
.ticket__help { color: var(--ink-soft); margin: 0 0 20px; font-size: 1.04rem; }
.ticket__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 18px; margin-top: 24px; }
.ticket__actions--left { justify-content: flex-start; }
@media (max-width: 767px) { .ticket__actions .btn-cta, .ticket__actions .btn-next { width: 100%; } .ticket__actions--left .linkish { width: 100%; text-align: center; } }
.ticket__oops { margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid var(--brick); background: var(--brick-wash); color: #6f2119; font-weight: 600; border-radius: 0 8px 8px 0; }
.btn-next { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 24px; background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); font: 800 1.08rem/1 var(--display); cursor: pointer; }
.btn-next:hover { background: var(--marigold-wash); }
.btn-next .btn-cta__arrow { width: 20px; height: 20px; }
.linkish--inline { min-height: 0; padding: 0; font-size: inherit; display: inline; }
.found { font-weight: 700; color: var(--pine); min-height: 1.4em; margin: 0; }
.field--short { max-width: 240px; }

/* tap answers */
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 60px; padding: 14px 16px 14px 18px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--field-edge); border-radius: 10px; text-align: left; cursor: pointer;
  font: 600 1.06rem/1.35 var(--text); transition: border-color .12s, background-color .12s, transform .12s;
}
.choice:hover { border-color: var(--ink); background: #fffcf3; }
.choice:active { transform: scale(.995); }
.choice.is-on { border: 2px solid var(--ink); background: var(--marigold-wash); box-shadow: 3px 3px 0 var(--ink); }
.choice.is-off { border-style: dashed; background: transparent; color: #6d7573; cursor: not-allowed; box-shadow: none; }
.choice em { font-style: normal; font-size: .86rem; font-weight: 700; color: #6d7573; margin-left: 6px; white-space: nowrap; }
.choice__chev { width: 20px; height: 20px; flex: none; color: var(--pine); }
.choice__tick { width: 24px; height: 24px; flex: none; color: var(--pine); }
.choice.is-off .choice__chev { color: #a5aaa6; }
.notebox { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; background: #eef4f1; border: 1.5px solid #b9cfc8; border-radius: 10px; color: var(--ink); }
.notebox svg { width: 20px; height: 20px; flex: none; color: var(--pine); margin-top: 2px; }
.notebox p { margin: 0; font-weight: 500; }
.notebox--warn { background: var(--marigold-wash); border-color: var(--marigold-deep); margin: 0 0 18px; }
.notebox--warn svg { color: var(--ink); }

/* four-corner areas (car seen from above) */
.corners { margin: 4px 0 6px; padding: 16px 16px 12px; border: 1.5px dashed var(--pencil); border-radius: 10px; background: var(--paper); }
.corners legend { font: 700 1rem/1.2 var(--text); padding: 0 6px; }
.corners__end { margin: 0; text-align: center; font: 700 .78rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.corners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px auto; max-width: 420px; }
.corner { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; background: #fff; border: 1.5px solid var(--field-edge); border-radius: 10px; cursor: pointer; font-weight: 600; }
.corner input { width: 22px; height: 22px; accent-color: var(--pine); flex: none; }
.corner:has(input:checked) { border: 2px solid var(--ink); background: var(--marigold-wash); }
.corner:has(input:focus-visible) { outline: 3px solid var(--marigold-deep); outline-offset: 2px; }

/* segmented + checkbox */
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; margin: 0 0 20px; }
.seg__btn { min-height: 46px; padding: 0 18px; border: 0; background: #fff; color: var(--ink); font: 700 .98rem/1 var(--text); cursor: pointer; }
.seg__btn + .seg__btn { border-left: 2px solid var(--ink); }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tickbox { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; }
.tickbox input { width: 22px; height: 22px; accent-color: var(--pine); }

/* pricing / loading */
.pricing { text-align: center; padding: 18px 0 8px; }
.pricing__dial { display: block; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; border: 5px solid var(--paper-deep); border-top-color: var(--marigold); border-right-color: var(--pine); animation: cs-spin 1s linear infinite; }
.pricing__list { list-style: none; display: inline-flex; flex-direction: column; gap: 10px; padding: 0; margin: 16px 0 0; text-align: left; }
.pricing__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-soft); }
.pricing__list li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px dashed var(--pencil); flex: none; }
.pricing__list li.is-done { color: var(--ink); }
.pricing__list li.is-done::before { border: 2px solid var(--pine); background: var(--pine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.8c1.7 1.5 3 3.2 4.4 5C12 12.6 15 8.6 19.4 5.6' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.pricing__slow { margin-top: 16px; color: var(--ink-soft); }

/* offer page */
.offerwrap { display: grid; gap: 28px; }
@media (min-width: 1024px) { .offerwrap { grid-template-columns: minmax(0, 660px) 330px; justify-content: center; gap: 44px; align-items: start; } }
.offermain { min-width: 0; }
.offer__kicker { font: 700 1.5rem/1 var(--hand); color: var(--pine); margin: 6px 0 4px; }
.offer__h { font-size: clamp(1.75rem, 5.6vw, 2.5rem); font-weight: 800; line-height: 1.1; margin: 0 0 10px; outline: none; }
.amt { background: linear-gradient(transparent 60%, var(--marigold) 60%, var(--marigold) 92%, transparent 92%); padding: 0 .08em; white-space: nowrap; }
.offer__sub { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 22px; }
.acceptform { display: flex; flex-direction: column; gap: 18px; }
.blk { background: var(--sheet); border: 1.5px solid var(--rule); border-radius: 12px; padding: 22px 18px 10px; }
@media (min-width: 768px) { .blk { padding: 26px 26px 14px; } }
.blk__h { font-size: 1.32rem; font-weight: 800; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; outline: none; }
.blk__h::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--marigold); border: 2px solid var(--ink); transform: rotate(-8deg); flex: none; }
.blk__opt { font: 600 .82rem/1 var(--text); color: var(--ink-soft); border: 1.5px solid var(--rule); border-radius: 999px; padding: 4px 9px; letter-spacing: .02em; }
.pair { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .pair { grid-template-columns: 1fr 1fr; } }
.donecard { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 0 0 14px; background: #eef4f1; border: 1.5px solid #b9cfc8; border-radius: 10px; }
.donecard > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.donecard span { color: var(--ink-soft); font-size: .96rem; overflow-wrap: anywhere; }
.donecard__tick { width: 34px; height: 34px; border-radius: 50%; background: var(--pine); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.donecard__tick svg { width: 20px; height: 20px; color: #fff; }
.donecard .donecard__tick { color: #fff; }
.donecard__lock { font-size: .85rem !important; font-weight: 700; white-space: nowrap; }
.donecard--big { margin: 18px 0 8px; align-items: flex-start; }
.fineprint { font-size: .93rem; color: var(--ink-soft); line-height: 1.55; margin: 6px 0 4px; }
.upnext { margin: 14px 0 6px; padding-top: 12px; border-top: 1.5px dashed var(--rule); color: var(--ink-soft); font-size: .95rem; }
.errsum { padding: 12px 14px; border: 2px solid var(--brick); border-radius: 10px; background: var(--brick-wash); color: #6f2119; margin: 6px 0 12px; }
.errsum p { margin: 0; }
.errsum .linkish { color: #6f2119; }
.finish { padding: 6px 0 0; }
.btn-cta--big { min-height: 64px; font-size: 1.3rem; }
.finish__note { margin: 14px 0 6px; font-weight: 600; text-align: center; }
.finish .fineprint { text-align: center; }

.rail { min-width: 0; }
@media (min-width: 1024px) { .rail { position: sticky; top: 24px; } }
@media (max-width: 1023px) { .rail { order: 2; } }
.railcard { background: var(--sheet); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--pine); padding: 22px 22px 18px; }
.railcard__k { margin: 0; font: 700 1.3rem/1 var(--hand); color: var(--pine); }
.railcard__amt { margin: 2px 0 0; font: 800 2.7rem/1 var(--display); letter-spacing: -.02em; }
.railcard__car { margin: 6px 0 0; font-weight: 600; color: var(--ink-soft); }
.railcard__speed { margin: 12px 0 0; padding: 8px 12px; background: var(--marigold-wash); border-radius: 8px; font-weight: 700; }
.railcard__h { font: 800 1.06rem/1.2 var(--display); margin: 20px 0 10px; padding-top: 16px; border-top: 1.5px dashed var(--rule); }
.wrapup { list-style: none; counter-reset: wrap; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wrapup li { counter-increment: wrap; display: flex; gap: 10px; align-items: baseline; }
.wrapup li::before { content: counter(wrap); font: 700 1.35rem/1 var(--hand); color: var(--pine); width: 22px; height: 26px; border-bottom: 2.5px solid var(--marigold); text-align: center; flex: none; }

/* pickup */
.pk-wait { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-weight: 600; margin: 0; padding: 4px 4px; }
.pk-lede { color: var(--ink-soft); margin: -6px 0 14px; }
.pk-soon, .pk-win { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 14px; margin: 0 0 6px; background: #fff; border: 1.5px solid var(--field-edge); border-radius: 10px; color: var(--ink); text-align: left; cursor: pointer; font: 600 1.02rem/1.3 var(--text); }
.pk-soon > span:not(.pk-dot) { flex: 1; display: flex; flex-direction: column; }
.pk-soon small { font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.pk-soon em { font-style: normal; font-weight: 800; color: var(--pine); font-size: .9rem; border: 1.5px solid var(--pine); border-radius: 999px; padding: 3px 9px; }
.pk-soon.is-on, .pk-win.is-on { border: 2px solid var(--ink); background: var(--marigold-wash); box-shadow: 3px 3px 0 var(--ink); }
.pk-soon svg, .pk-win svg { width: 22px; height: 22px; color: var(--pine); flex: none; }
.pk-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--field-edge); flex: none; }
.pk-cal { margin: 8px 0 6px; }
.pk-pager { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; font-weight: 700; }
.pk-arrow { width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 8px; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pk-arrow[disabled] { opacity: .35; cursor: default; }
.pk-days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; -webkit-overflow-scrolling: touch; }
.pk-days--grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; }
.pk-day { scroll-snap-align: start; flex: 0 0 64px; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #fff; border: 1.5px solid var(--field-edge); border-radius: 10px; color: var(--ink); cursor: pointer; font: 600 .82rem/1.1 var(--text); }
.pk-day strong { font-size: .95rem; }
.pk-day.is-weekend { background: #f3eee3; }
.pk-day.is-on { border: 2px solid var(--ink); background: var(--marigold); }
.pk-wins { min-height: 64px; }
.pk-wins__h { font-weight: 700; margin: 6px 0 8px; }
.pk-hint { color: var(--ink-soft); font-size: .95rem; margin: 6px 0; }
.pk-set { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 8px; padding: 10px 12px; background: #eef4f1; border-radius: 8px; font-weight: 700; }
.pk-set svg { width: 20px; height: 20px; color: var(--pine); }
.pk-set span { flex: 1; }

/* changed-offer dialog */
.changed__nums { margin: 14px 0; padding: 16px; border: 1.5px dashed var(--pencil); border-radius: 10px; background: var(--paper); text-align: center; }
.changed__new { margin: 0; font: 800 2.6rem/1 var(--display); }
.changed__new span { display: block; font: 700 .82rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.changed__car { margin: 6px 0 0; font-weight: 600; }
.changed__old { margin: 8px 0 0; color: #6d7573; font-size: .95rem; }
.changed__pick { color: var(--ink-soft); }
.sheet .field--pick .pick__list { position: static; box-shadow: none; }

/* end screens */
.ticket--end { text-align: left; }
.ticket--win .ticket__q { font-size: clamp(1.8rem, 6vw, 2.5rem); }
.ticket--win .ticket__q::before { content: ""; display: block; width: 64px; height: 64px; margin: 0 0 14px; border-radius: 50%; background: var(--marigold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12.8c1.9 1.7 3.4 3.5 4.8 5.4C12 12.6 15.4 8.2 19.8 5' fill='none' stroke='%231c2b2a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/34px no-repeat; border: 2px solid var(--ink); }
.end__h { font-size: 1.2rem; font-weight: 800; margin: 22px 0 10px; }
.end__call { margin-top: 18px; font-weight: 600; }

/* step motion */
.slide-fwd .ticket, .slide-fwd .offerwrap { animation: hs-in-r .22s ease-out; }
.slide-back .ticket, .slide-back .offerwrap { animation: hs-in-l .22s ease-out; }
@keyframes hs-in-r { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes hs-in-l { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .slide-fwd .ticket, .slide-back .ticket, .slide-fwd .offerwrap, .slide-back .offerwrap { animation: none; } }
.topbar--flow .topbar__in { min-height: 70px; }
