/* Cash For Cars Boston: offer flow styles (hero card, questionnaire, offer and acceptance). */
:root {
  --bc-red: #d0143e;          /* passes 4.5:1 with white text */
  --bc-red-deep: #a80f31;
  --bc-grad: linear-gradient(90deg, #ed2151, #f6663f);
  --bc-sun: #fbb03b;
  --bc-sun-soft: #fff4dc;
  --bc-ink: #222222;
  --bc-muted: #555555;
  --bc-line: #cfc8c5;
  --bc-soft: #fff7f3;
  --bc-ok: #17804a;
  --bc-bad: #b0001c;
  --bc-radius: 14px;
  --bc-font: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- header phone actions become outlined so the offer button is the one solid action */
.boston-nav-btn button,
.boston-heading-mobile button {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  min-height: 44px;
}
.boston-heading-mobile button { color: var(--bc-red) !important; border-color: var(--bc-red) !important; }
.boston-heading-text button {
  background: #fff !important;
  background-image: none !important;
  color: var(--bc-red) !important;
  border: 3px solid var(--bc-red) !important;
}
.boston-nav-btn button:hover, .boston-nav-btn button:focus-visible { background: rgba(255, 255, 255, .15) !important; }

/* ---------- shared bits */
.bc-trip [hidden], .bc-hero [hidden], .bc-dlg [hidden] { display: none !important; }
.bc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 28px; border-radius: 999px; border: 2px solid transparent;
  font: 800 17px/1.2 var(--bc-font); letter-spacing: .2px; cursor: pointer; text-decoration: none;
  transition: background-color .15s, transform .1s, box-shadow .15s;
}
.bc-btn:active { transform: translateY(1px); }
.bc-btn-go { background: var(--bc-red); color: #fff; box-shadow: 0 6px 16px rgba(208, 20, 62, .25); }
.bc-btn-go:hover { background: var(--bc-red-deep); color: #fff; }
.bc-btn-line { background: #fff; color: var(--bc-red); border-color: var(--bc-red); }
.bc-btn-line:hover { background: var(--bc-soft); color: var(--bc-red-deep); text-decoration: none; }
.bc-btn-quiet { background: transparent; color: var(--bc-ink); border-color: var(--bc-line); }
.bc-btn-big { width: 100%; min-height: 58px; font-size: 19px; }
.bc-btn[disabled] { opacity: .75; cursor: progress; }
.bc-btn.is-busy::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: bc-spin .8s linear infinite;
}
.bc-btn-line.is-busy::before { border-color: rgba(208, 20, 62, .3); border-top-color: var(--bc-red); }
.bc-btn:focus-visible, .bc-choice:focus-visible, .bc-link:focus-visible, .bc-slot:focus-visible, .bc-day:focus-visible,
.bc-hero-mode:focus-visible, .bc-back:focus-visible { outline: 3px solid var(--bc-sun); outline-offset: 2px; }
.bc-link {
  background: none; border: 0; padding: 4px 0; min-height: 32px; color: var(--bc-red); font: 700 15px var(--bc-font);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.bc-link:hover { color: var(--bc-red-deep); }

.bc-field { position: relative; margin-bottom: 14px; }
.bc-field label { display: block; margin: 0 0 6px; font: 700 15px var(--bc-font); color: var(--bc-ink); }
.bc-field input {
  width: 100%; min-height: 50px; padding: 11px 14px; border: 2px solid var(--bc-line); border-radius: 12px;
  background: #fff; color: var(--bc-ink); font: 600 16px var(--bc-font); box-shadow: none; -webkit-appearance: none; appearance: none;
}
.bc-field input::placeholder { color: #8a8280; font-weight: 400; }
.bc-field input:focus { outline: none; border-color: var(--bc-red); box-shadow: 0 0 0 3px rgba(237, 33, 81, .18); }
.bc-field input[disabled] { background: #f3f1f0; color: #8a8280; cursor: not-allowed; }
.bc-field.is-off label { color: #8a8280; }
.bc-field.is-bad input, .bc-field input[aria-invalid="true"] { border-color: var(--bc-bad); }
.bc-field-pick input, .bc-pick-host input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23d0143e' stroke-width='2.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
#bc-h-year, #bc-h-make, #bc-h-model, #bc-v-year, #bc-v-make, #bc-v-model {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23d0143e' stroke-width='2.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.bc-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bc-label-row label { margin-bottom: 6px; }
.bc-ferr { margin: 6px 0 0; color: var(--bc-bad); font: 700 14px/1.35 var(--bc-font); }
.bc-ferr:empty { display: none; }
.bc-err, .bc-op-msg, .bc-sum { color: var(--bc-bad); font: 700 15px/1.4 var(--bc-font); margin: 6px 0 12px; }
.bc-err:empty, .bc-op-msg:empty, .bc-sum:empty { display: none; }
.bc-sum { background: #fff1f2; border-left: 4px solid var(--bc-bad); padding: 10px 12px; border-radius: 8px; }

/* searchable list */
.bc-pick-list {
  position: absolute; z-index: 60; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px; list-style: none;
  max-height: 260px; overflow-y: auto; background: #fff; border: 2px solid var(--bc-ink); border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}
.bc-pick-opt { padding: 11px 12px; border-radius: 8px; cursor: pointer; font: 600 16px var(--bc-font); color: var(--bc-ink); }
.bc-pick-opt:hover, .bc-pick-opt.is-active { background: var(--bc-sun-soft); }
.bc-pick-opt[aria-selected="true"] { background: var(--bc-red); color: #fff; }
.bc-pick-none { padding: 11px 12px; color: var(--bc-muted); font: 600 15px var(--bc-font); }

/* ---------- hero card (all marketing pages) */
.bc-hero {
  position: relative; margin-top: 70px; padding: 26px 24px 22px; background: #fff; border-radius: 20px;
  border: 1px solid #f0e4e0; box-shadow: 0 18px 40px rgba(237, 33, 81, .14), 0 2px 6px rgba(0, 0, 0, .06);
  font-family: var(--bc-font);
}
.bc-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: 20px 20px 0 0; background: var(--bc-grad); }
.bc-hero-title { margin: 6px 0 4px; font: 800 24px/1.2 var(--bc-font); color: var(--bc-ink); text-align: left; }
.bc-hero-sub { margin: 0 0 14px; font: 400 15px/1.45 var(--bc-font); color: var(--bc-muted); }
.bc-hero-modes { display: flex; gap: 6px; padding: 4px; margin-bottom: 14px; background: #f6efec; border-radius: 999px; }
.bc-hero-mode {
  flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--bc-muted);
  font: 700 14px var(--bc-font); cursor: pointer;
}
.bc-hero-mode.is-on { background: #fff; color: var(--bc-red); box-shadow: 0 2px 6px rgba(0, 0, 0, .1); }
.bc-hero-note { min-height: 0; margin: 2px 0 10px; color: var(--bc-bad); font: 700 14px/1.35 var(--bc-font); }
.bc-hero-note:empty { display: none; }
.bc-hero-go { width: 100%; min-height: 54px; font-size: 18px; }

/* ---------- quote flow page */
.bc-flow-page { background: #fbf8f7; }
.bc-flow-top { background: var(--bc-grad); padding: 14px 20px; display: flex; justify-content: center; }
.bc-flow-logo img { display: block; height: 56px; width: auto; max-width: 100%; }
.bc-trip { position: relative; min-height: 62vh; padding: 0 0 70px; font-family: var(--bc-font); color: var(--bc-ink); }
.bc-meter { height: 5px; background: #f0e2dd; }
.bc-meter-fill { display: block; height: 100%; width: 0; background: var(--bc-grad); transition: width .3s ease; }
.bc-stage { outline: none; overflow: hidden; }
.bc-boot { text-align: center; padding: 80px 20px; font: 600 17px var(--bc-font); color: var(--bc-muted); }
.bc-step {
  max-width: 640px; margin: 36px auto 0; padding: 30px 36px 34px; background: #fff; border-radius: 20px;
  border: 1px solid #efe5e1; box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}
.bc-back {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin: -8px 0 6px -4px; background: none; border: 0;
  color: var(--bc-muted); font: 700 15px var(--bc-font); cursor: pointer;
}
.bc-back:hover { color: var(--bc-red); }
.bc-q { margin: 0 0 8px; font: 800 28px/1.22 var(--bc-font); color: var(--bc-ink); outline: none; }
.bc-q-help { margin: 0 0 18px; font: 400 17px/1.5 var(--bc-font); color: var(--bc-muted); }
.bc-note { margin: 0 0 14px; padding: 10px 14px; background: var(--bc-sun-soft); border-radius: 10px; font: 600 15px/1.45 var(--bc-font); color: #5a3d00; }
.bc-tip { display: inline-block; margin: -8px 0 14px; }
.bc-car-chip { display: inline-block; margin: 2px 0 16px; padding: 6px 14px; background: var(--bc-soft); border-radius: 999px; font: 700 14px var(--bc-font); color: var(--bc-red-deep); }
.bc-acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 22px; }
.bc-acts .bc-btn { min-width: 180px; }
.bc-field-zip input, .bc-field-miles input { font-size: 22px; letter-spacing: 1px; max-width: 280px; }
.bc-found { margin: 4px 0 0; color: var(--bc-ok); font: 700 15px var(--bc-font); }
.bc-ymm .bc-field, .bc-vinpane .bc-field { max-width: 460px; }

.bc-choices { display: grid; gap: 12px; }
.bc-choice {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 14px 18px; text-align: left;
  background: #fff; border: 2px solid var(--bc-line); border-radius: var(--bc-radius); cursor: pointer;
  font: 700 17px/1.35 var(--bc-font); color: var(--bc-ink); transition: border-color .15s, background-color .15s;
}
.bc-choice:hover:not([disabled]) { border-color: var(--bc-red); }
.bc-choice.is-on { border-color: var(--bc-red); background: var(--bc-soft); }
.bc-choice[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.bc-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #9a918e; background: #fff; position: relative; }
.is-on > .bc-dot { border-color: var(--bc-red); background: var(--bc-red); box-shadow: inset 0 0 0 4px #fff; }

.bc-detail:empty { display: none; }
.bc-corners { margin: 18px 0 0; padding: 16px; border: 2px dashed #e7cfc8; border-radius: var(--bc-radius); }
.bc-corners legend { width: auto; margin: 0; padding: 0 6px; border: 0; font: 800 17px var(--bc-font); color: var(--bc-ink); }
.bc-corner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bc-corner {
  display: flex; align-items: center; gap: 10px; min-height: 56px; margin: 0; padding: 10px 12px; border: 2px solid var(--bc-line); border-radius: 12px;
  font: 700 15px/1.3 var(--bc-font); cursor: pointer; background: #fff;
}
.bc-corner input { width: 22px; height: 22px; margin: 0; accent-color: var(--bc-red); }
.bc-corner:has(input:checked) { border-color: var(--bc-red); background: var(--bc-soft); }
.bc-check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 0; font: 600 16px/1.4 var(--bc-font); color: var(--bc-ink); cursor: pointer; }
.bc-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--bc-red); }

/* loading */
.bc-loading { text-align: center; }
.bc-pulse { display: block; width: 64px; height: 64px; margin: 6px auto 16px; border-radius: 50%; background: var(--bc-grad); animation: bc-pulse 1.4s ease-in-out infinite; }
.bc-checks { list-style: none; padding: 0; margin: 10px auto 0; max-width: 360px; text-align: left; }
.bc-checks li { position: relative; padding: 10px 0 10px 36px; font: 600 16px var(--bc-font); color: #9a918e; transition: color .3s; }
.bc-checks li::before { content: ''; position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #ddd3d0; }
.bc-checks li.is-done { color: var(--bc-ink); }
.bc-checks li.is-done::before { border-color: var(--bc-ok); background: var(--bc-ok); }
.bc-checks li.is-done::after { content: ''; position: absolute; left: 8px; top: 14px; width: 8px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.bc-slow { margin-top: 16px; color: var(--bc-muted); font: 600 15px var(--bc-font); }
.bc-spin { display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; border-radius: 50%; border: 3px solid #f0d6cf; border-top-color: var(--bc-red); animation: bc-spin .8s linear infinite; }

/* ---------- offer / accept page */
.bc-offer { max-width: 1100px; margin: 30px auto 0; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: start; }
.bc-offer-main { background: #fff; border: 1px solid #efe5e1; border-radius: 20px; padding: 28px 34px 34px; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.bc-eyebrow { margin: 0 0 2px; font: 800 14px var(--bc-font); letter-spacing: .6px; text-transform: uppercase; color: var(--bc-red-deep); }
.bc-offer-h { margin: 0 0 6px; font: 800 36px/1.15 var(--bc-font); outline: none; }
.bc-amt { color: var(--bc-red); white-space: nowrap; }
.bc-offer-sub { margin: 0 0 10px; font: 400 17px/1.5 var(--bc-font); color: var(--bc-muted); }
.bc-speed { display: inline-block; margin: 0 0 6px; padding: 6px 12px; border-radius: 999px; background: #e8f6ee; color: #0f5e35; font: 700 14px var(--bc-font); }
.bc-sec { margin-top: 26px; padding-top: 22px; border-top: 1px solid #f0e6e2; }
.bc-sec-h { margin: 0 0 14px; font: 800 20px var(--bc-font); color: var(--bc-ink); }
.bc-opt { font-weight: 600; color: var(--bc-muted); font-size: 15px; }
.bc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bc-grid .bc-wide { grid-column: 1 / -1; }
.bc-summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #f5fbf7; border: 1px solid #cfe9da; border-radius: 12px; font: 600 16px/1.4 var(--bc-font); }
.bc-summary-t { flex: 1; word-break: break-word; }
.bc-tick { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bc-ok); color: #fff; font-size: 15px; }
.bc-disclose { margin: 14px 0 0; padding: 12px 14px; background: #f7f4f3; border-radius: 10px; font: 400 14px/1.5 var(--bc-font); color: #4a4442; }
.bc-gate { margin-top: 18px; }
.bc-gate .bc-btn { width: 100%; min-height: 56px; font-size: 18px; }
.bc-gate-note { margin: 10px 0 0; font: 400 14px var(--bc-font); color: var(--bc-muted); text-align: center; }
.bc-rest[hidden] { display: none; }
.bc-finish { margin-top: 26px; padding-top: 20px; border-top: 1px solid #f0e6e2; }
.bc-finish .bc-disclose { margin: 0 0 14px; }
.bc-after { margin: 12px 0 0; font: 600 15px/1.45 var(--bc-font); color: var(--bc-muted); text-align: center; }
.bc-terms { margin: 6px 0 0; text-align: center; font: 400 14px var(--bc-font); color: var(--bc-muted); }
.bc-terms .bc-link { font-size: 14px; }

/* pickup */
.bc-pick-wait { font: 600 15px var(--bc-font); color: var(--bc-muted); }
.bc-slot {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 12px 16px; margin: 0 0 10px; text-align: left;
  background: #fff; border: 2px solid var(--bc-line); border-radius: 12px; font: 600 16px/1.35 var(--bc-font); color: var(--bc-ink); cursor: pointer;
}
.bc-slot.is-on { border-color: var(--bc-red); background: var(--bc-soft); }
.bc-slot-first { border-style: solid; }
.bc-more { margin: 2px 0 10px; }
.bc-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 4px 0 14px; }
.bc-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 62px; padding: 6px 4px;
  background: #fff; border: 2px solid var(--bc-line); border-radius: 12px; cursor: pointer; font-family: var(--bc-font); color: var(--bc-ink);
}
.bc-day.is-wkend { background: #f7f4f3; }
.bc-day.is-on { border-color: var(--bc-red); background: var(--bc-soft); }
.bc-day-w { font: 800 13px var(--bc-font); text-transform: uppercase; }
.bc-day-d { font: 600 14px var(--bc-font); }
.bc-wins { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.bc-picked { margin: 8px 0 0; padding: 10px 14px; background: #e8f6ee; border-radius: 10px; font: 600 15px/1.5 var(--bc-font); color: #0f5e35; }
.bc-picked .bc-link { font-size: 14px; margin-left: 4px; }
.bc-tz { margin: 8px 0 0; font: 400 13px var(--bc-font); color: var(--bc-muted); }

/* rail */
.bc-rail { position: sticky; top: 24px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid #efe5e1; box-shadow: 0 10px 30px rgba(0, 0, 0, .06); font-family: var(--bc-font); overflow: hidden; }
.bc-rail::before { content: ''; display: block; height: 6px; margin: -24px -24px 18px; background: var(--bc-grad); }
.bc-rail-k { margin: 0; font: 800 13px var(--bc-font); letter-spacing: .6px; text-transform: uppercase; color: var(--bc-muted); }
.bc-rail-amt { margin: 2px 0 0; font: 900 44px/1.1 var(--bc-font); color: var(--bc-red); }
.bc-rail-car { margin: 2px 0 12px; font: 700 16px var(--bc-font); }
.bc-rail-h { margin: 16px 0 10px; font: 800 17px var(--bc-font); }
.bc-howto { margin: 0; padding: 0; list-style: none; counter-reset: bc; }
.bc-howto li { position: relative; padding: 0 0 14px 40px; counter-increment: bc; font: 400 14px/1.45 var(--bc-font); color: var(--bc-muted); }
.bc-howto li::before {
  content: counter(bc); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bc-sun); color: var(--bc-ink); font: 900 14px/28px var(--bc-font); text-align: center;
}
.bc-howto strong { display: block; color: var(--bc-ink); font-size: 15px; }
.bc-rail-free { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid #f0e6e2; font: 600 14px/1.45 var(--bc-font); color: var(--bc-ink); }

/* ---------- results */
.bc-end { text-align: left; }
.bc-end-h { margin: 0 0 10px; font: 800 28px/1.25 var(--bc-font); outline: none; }
.bc-win { text-align: center; }
.bc-win .bc-acts { justify-content: center; }
.bc-win-mark { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 12px; border-radius: 50%; background: var(--bc-ok); color: #fff; font-size: 36px; }
.bc-recap { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 18px auto; padding: 16px 18px; max-width: 480px; text-align: left; background: #f7f4f3; border-radius: 12px; }
.bc-recap dt { font: 800 14px var(--bc-font); color: var(--bc-muted); }
.bc-recap dd { margin: 0; font: 700 15px var(--bc-font); }
.bc-callline { margin: 16px 0 0; font: 600 16px var(--bc-font); }
.bc-callline a { color: var(--bc-red); font-weight: 800; }

/* ---------- dialogs: sheet on phones, centered on desktop */
.bc-locked { overflow: hidden; }
.bc-dlg { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 12, 10, .55); animation: bc-fade .18s ease; }
.bc-dlg-panel {
  position: relative; width: 100%; max-height: 88vh; overflow-y: auto; padding: 26px 22px 22px; background: #fff;
  border-radius: 20px 20px 0 0; font-family: var(--bc-font); color: var(--bc-ink); outline: none; animation: bc-rise .22s ease;
}
.bc-dlg-title { margin: 0 34px 10px 0; font: 800 22px/1.25 var(--bc-font); }
.bc-dlg-body p { font: 400 16px/1.5 var(--bc-font); color: #3d3836; }
.bc-dlg-body h3 { margin: 4px 0 6px; font: 800 15px var(--bc-font); }
.bc-dlg-body ul { margin: 0 0 8px; padding-left: 18px; font: 400 15px/1.5 var(--bc-font); }
.bc-dlg-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--bc-muted); cursor: pointer; }
.bc-dlg-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.bc-dlg-acts .bc-btn { width: 100%; }
.bc-vin-sample { display: inline-block; padding: 8px 12px; background: #f7f4f3; border-radius: 8px; font: 700 17px/1 'Courier New', monospace !important; letter-spacing: 1.5px; }
.bc-vin-where { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bc-changed { text-align: center; }
.bc-was { margin: 0; font: 600 15px var(--bc-font); color: #8a8280 !important; }
.bc-now { margin: 4px 0 10px; font: 900 46px/1.1 var(--bc-font) !important; color: var(--bc-red) !important; }
.bc-quiet { font-size: 14px !important; color: var(--bc-muted) !important; }
.bc-dlg-news .bc-dlg-title { text-align: center; margin-right: 0; }

/* ---------- motion */
@keyframes bc-spin { to { transform: rotate(360deg); } }
@keyframes bc-pulse { 0%, 100% { transform: scale(.9); opacity: .75; } 50% { transform: scale(1); opacity: 1; } }
@keyframes bc-fade { from { opacity: 0; } }
@keyframes bc-rise { from { transform: translateY(30px); opacity: .4; } }
@keyframes bc-in-r { from { transform: translateX(36px); opacity: 0; } }
@keyframes bc-in-l { from { transform: translateX(-36px); opacity: 0; } }
.bc-in-fwd { animation: bc-in-r .22s ease-out; }
.bc-in-back { animation: bc-in-l .22s ease-out; }
.bc-in-fade { animation: bc-fade .15s linear; }
@media (prefers-reduced-motion: reduce) {
  .bc-in-fwd, .bc-in-back, .bc-dlg, .bc-dlg-panel, .bc-pulse { animation: none !important; }
  .bc-meter-fill, .bc-btn, .bc-choice { transition: none !important; }
}

/* ---------- desktop dialogs */
@media (min-width: 768px) {
  .bc-dlg { align-items: center; padding: 20px; }
  .bc-dlg-panel { max-width: 520px; border-radius: 20px; padding: 30px 30px 26px; }
  .bc-dlg-acts { flex-direction: row-reverse; }
  .bc-dlg-acts .bc-btn { width: auto; flex: 1; }
}

/* ---------- tablet */
@media (max-width: 1023px) {
  .bc-offer { grid-template-columns: 1fr; }
  .bc-rail { position: static; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .bc-hero { margin-top: 30px; }
}

/* ---------- phones */
@media (max-width: 767px) {
  .bc-hero { margin: 14px 0 26px; padding: 22px 16px 18px; border-radius: 16px; }
  .bc-hero-title { font-size: 21px; }
  .bc-flow-top { padding: 10px 12px; }
  .bc-flow-logo img { height: 44px; }
  .bc-flow-page { background: #fff; }
  .bc-step { margin: 0; padding: 18px 16px 28px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .bc-q { font-size: 23px; }
  .bc-q-help { font-size: 16px; }
  .bc-acts { justify-content: stretch; }
  .bc-acts .bc-btn { flex: 1 1 100%; }
  .bc-offer { margin-top: 0; padding: 0; gap: 0; }
  .bc-offer-main { border: 0; border-radius: 0; box-shadow: none; padding: 16px 16px 26px; }
  .bc-offer-h { font-size: 29px; }
  .bc-grid { grid-template-columns: 1fr; }
  .bc-rail { margin: 0 16px 20px; border-radius: 16px; }
  .bc-rail-amt { font-size: 36px; }
  .bc-days { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .bc-day { flex: 0 0 74px; scroll-snap-align: start; }
  .bc-wins { grid-template-columns: 1fr; }
  .bc-vin-where { grid-template-columns: 1fr; }
  .bc-corner-grid { grid-template-columns: 1fr 1fr; }
  .bc-recap { grid-template-columns: 1fr; gap: 2px; }
  .bc-recap dd { margin-bottom: 8px; }
}
