/* RSP Care Calculator v1.0.0 */

.rspcc,
.rspcc-teaser,
.rspcc-modal {
  --rspcc-violet: #7d6ab0;
  --rspcc-violet-deep: #5c4a8c;
  --rspcc-violet-soft: #f0ecf8;
  --rspcc-gold: #f2aa46;
  --rspcc-gold-soft: #fdf3e3;
  --rspcc-cream: #fdfcfa;
  --rspcc-ink: #35304a;
  --rspcc-muted: #7a7390;
  --rspcc-line: #e7e2f0;
  --rspcc-r-lg: 24px;
  --rspcc-r-md: 16px;
  --rspcc-r-sm: 12px;
  --rspcc-shadow: 0 18px 48px rgba(80, 62, 130, 0.14);
  --rspcc-shadow-sm: 0 4px 16px rgba(80, 62, 130, 0.08);
}

/* ---------- Inline teaser ---------- */

.rspcc-teaser {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto 48px;
  padding: 34px 38px;
  background: linear-gradient(135deg, var(--rspcc-cream) 0%, var(--rspcc-violet-soft) 100%);
  border: 1px solid var(--rspcc-line);
  border-radius: var(--rspcc-r-lg);
  box-shadow: var(--rspcc-shadow-sm);
  box-sizing: border-box;
}

.rspcc-teaser__text { flex: 1 1 380px; min-width: 0; }
.rspcc-teaser__action { flex: 0 1 260px; text-align: center; }

.rspcc__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rspcc-gold);
}

.rspcc-teaser__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.22;
  color: var(--rspcc-ink);
}

.rspcc-teaser__sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rspcc-muted);
}

.rspcc-teaser__from {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--rspcc-muted);
}

.rspcc-teaser__from strong { color: var(--rspcc-violet-deep); }

.rspcc-btn {
  display: inline-block;
  width: 100%;
  padding: 16px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--rspcc-violet);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(125, 106, 176, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rspcc-btn:hover,
.rspcc-btn:focus-visible {
  background: var(--rspcc-violet-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(125, 106, 176, 0.4);
}

/* ---------- Modal ---------- */

.rspcc-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  box-sizing: border-box;
}

.rspcc-modal[hidden] { display: none; }

.rspcc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 34, 74, 0.55);
  backdrop-filter: blur(3px);
  animation: rspcc-fade 0.25s ease;
}

.rspcc-modal__panel {
  position: relative;
  width: 100%;
  max-width: 1020px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--rspcc-cream);
  border-radius: var(--rspcc-r-lg);
  box-shadow: var(--rspcc-shadow);
  animation: rspcc-rise 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes rspcc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rspcc-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.rspcc-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(125, 106, 176, 0.1);
  color: var(--rspcc-violet-deep);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease;
}

.rspcc-modal__close:hover { background: rgba(125, 106, 176, 0.22); }

body.rspcc-locked { overflow: hidden; }

/* ---------- Calculator shell ---------- */

.rspcc {
  padding: 40px 40px 34px;
  color: var(--rspcc-ink);
  box-sizing: border-box;
}

.rspcc__head { max-width: 620px; margin-bottom: 26px; }

.rspcc__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.2;
  color: var(--rspcc-ink);
}

.rspcc__sub { margin: 0; font-size: 16px; line-height: 1.6; color: var(--rspcc-muted); }

.rspcc__body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* ---------- Bit Form field styling ---------- */

.rspcc__form .bf-form-wrapper { background: transparent; }

.rspcc__form .btcd-fld-itm { margin: 0 0 18px; }

/* Bit Form ships its own base CSS only when a form has generated styles, which this one does not.
   Hide the framework's plumbing inputs so they do not consume grid cells. */
.rspcc__form .d-none,
.rspcc__form .bf-form > *:not(.btcd-fld-itm):not(.rspcc__ready):not(.rspcc-addchild):not(.rspcc-section):not(.rspcc-doors):not(.rspcc-kids),
.rspcc__form .btcd-fld-itm.bf1-9,
.rspcc__form .btcd-fld-itm.bf1-10,
.rspcc__form .btcd-fld-itm.bf1-11,
.rspcc__form .bf-live-region {
  display: none !important;
}

/* Child tier dropdowns sit in a responsive row */
.rspcc__form .bf-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 16px;
}

.rspcc__form .btcd-fld-itm { grid-column: 1 / -1; }
.rspcc__form .btcd-fld-itm.bf1-1,
.rspcc__form .btcd-fld-itm.bf1-2,
.rspcc__form .btcd-fld-itm.bf1-3 { grid-column: span 1; }
.rspcc__form .btcd-fld-itm.bf1-6,
.rspcc__form .btcd-fld-itm.bf1-7 { grid-column: span 3; }

.rspcc__form .bf-label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--rspcc-ink);
}

.rspcc__form select.bf-field,
.rspcc__form input.bf-field {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--rspcc-line);
  border-radius: var(--rspcc-r-sm);
  background-color: #fff;
  color: var(--rspcc-ink);
  font-size: 15px;
  line-height: 1.35;
  box-sizing: border-box;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  appearance: none;
  -webkit-appearance: none;
}

.rspcc__form select.bf-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%237d6ab0' d='M1.4 1.6 6 6.2l4.6-4.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}

.rspcc__form select.bf-field:focus,
.rspcc__form input.bf-field:focus {
  outline: none;
  border-color: var(--rspcc-violet);
  box-shadow: 0 0 0 3px rgba(125, 106, 176, 0.16);
}

/* Add-on switches */
.rspcc__form .btcd-fld-itm.bf1-4,
.rspcc__form .btcd-fld-itm.bf1-5 {
  padding: 14px 16px;
  border: 1.5px solid var(--rspcc-line);
  border-radius: var(--rspcc-r-md);
  background: #fff;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.rspcc__form .btcd-fld-itm.bf1-4.rspcc-on,
.rspcc__form .btcd-fld-itm.bf1-5.rspcc-on {
  border-color: var(--rspcc-gold);
  background: var(--rspcc-gold-soft);
}

.rspcc__form .bf-cw { display: flex; align-items: center; }

.rspcc__form .bf-cl {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--rspcc-ink);
  cursor: pointer;
}

.rspcc__form .bf-ci {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--rspcc-violet);
  cursor: pointer;
  flex: 0 0 auto;
}

.rspcc__form .bf-cks,
.rspcc__form .bf-box { display: none; }

/* Submit button */
.rspcc__form .bf-button {
  width: 100%;
  padding: 17px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rspcc-violet) 0%, var(--rspcc-violet-deep) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(125, 106, 176, 0.34);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rspcc__form .bf-button:hover,
.rspcc__form .bf-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(125, 106, 176, 0.44);
}

.rspcc__form .bf-error-text { font-size: 13px; color: #c0392b; }

/* ---------- Readout ---------- */

.rspcc__readout {
  position: sticky;
  top: 18px;
  padding: 26px 24px;
  border: 1px solid var(--rspcc-line);
  border-radius: var(--rspcc-r-lg);
  background: #fff;
  box-shadow: var(--rspcc-shadow-sm);
  box-sizing: border-box;
}

.rspcc__figure { text-align: center; }

.rspcc__figure-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rspcc-muted);
}

.rspcc__figure-value {
  display: block;
  margin: 6px 0 3px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--rspcc-violet-deep);
  font-variant-numeric: tabular-nums;
}

.rspcc__figure-note { display: block; font-size: 13px; color: var(--rspcc-muted); }

.rspcc__figure--accent {
  margin-top: 20px;
  padding: 20px 16px 18px;
  border-radius: var(--rspcc-r-md);
  background: linear-gradient(135deg, var(--rspcc-violet-soft) 0%, var(--rspcc-gold-soft) 100%);
}

.rspcc__figure--accent .rspcc__figure-value { color: var(--rspcc-ink); }

.rspcc__lines { margin: 22px 0 4px; }

.rspcc__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--rspcc-line);
  font-size: 14px;
}

.rspcc__line:last-child { border-bottom: 0; }
.rspcc__line-label { color: var(--rspcc-ink); }
.rspcc__line-value { font-weight: 700; color: var(--rspcc-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rspcc__line--credit .rspcc__line-label,
.rspcc__line--credit .rspcc__line-value { color: #2f8f6b; }
.rspcc__line--muted .rspcc__line-label,
.rspcc__line--muted .rspcc__line-value { color: var(--rspcc-muted); }
.rspcc__line-sub { display: block; margin-top: 2px; font-size: 12px; color: var(--rspcc-muted); }

.rspcc__empty { margin: 0; padding: 14px 0; font-size: 14px; color: var(--rspcc-muted); text-align: center; }

.rspcc__fineprint { margin: 18px 0 0; font-size: 12px; line-height: 1.55; color: var(--rspcc-muted); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .rspcc__body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rspcc__readout { position: static; order: -1; }
  .rspcc { padding: 32px 26px 28px; }
}

@media (max-width: 640px) {
  .rspcc-modal { padding: 0; align-items: flex-end; }
  .rspcc-modal__panel {
    max-width: none;
    max-height: 94vh;
    border-radius: var(--rspcc-r-lg) var(--rspcc-r-lg) 0 0;
  }
  .rspcc { padding: 30px 20px 26px; }
  .rspcc__form .bf-form { grid-template-columns: minmax(0, 1fr); }
  .rspcc__form .btcd-fld-itm.bf1-1,
  .rspcc__form .btcd-fld-itm.bf1-2,
  .rspcc__form .btcd-fld-itm.bf1-3,
  .rspcc__form .btcd-fld-itm.bf1-6,
  .rspcc__form .btcd-fld-itm.bf1-7 { grid-column: 1 / -1; }
  .rspcc__figure-value { font-size: 36px; }
  .rspcc-teaser { padding: 26px 22px; gap: 20px; }
  .rspcc-teaser__action { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rspcc-modal__panel,
  .rspcc-modal__backdrop { animation: none; }
  .rspcc-btn,
  .rspcc__form .bf-button { transition: none; }
}

/* ---------- Tooltips on the add-on rows ---------- */

.rspcc__form .btcd-fld-itm.bf1-4,
.rspcc__form .btcd-fld-itm.bf1-5 { position: relative; }

.rspcc__form .bf-cw { position: relative; }

.rspcc-tip {
  flex: 0 0 auto;
  margin-left: auto;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1.5px solid var(--rspcc-violet);
  border-radius: 50%;
  background: transparent;
  color: var(--rspcc-violet);
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.rspcc-tip:hover,
.rspcc-tip:focus-visible,
.rspcc-tip[aria-expanded="true"] {
  background: var(--rspcc-violet);
  color: #fff;
  outline: none;
}

.rspcc-tip__bubble {
  position: absolute;
  z-index: 5;
  top: calc(100% + 10px);
  right: 0;
  width: min(300px, calc(100vw - 56px));
  padding: 14px 16px;
  border-radius: var(--rspcc-r-md);
  background: #2f2748;
  color: #f3f0fa;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
  box-shadow: 0 12px 30px rgba(45, 34, 74, 0.32);
}

.rspcc-tip__bubble[hidden] { display: none; }

.rspcc-tip__bubble::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 8px;
  width: 12px;
  height: 12px;
  background: #2f2748;
  transform: rotate(45deg);
}

/* ---------- "This is an estimate" reassurance ---------- */

.rspcc__ready {
  grid-column: 1 / -1;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(125, 106, 176, 0.28);
  border-radius: var(--rspcc-r-md);
  background: var(--rspcc-violet-soft);
  font-size: 14px;
  line-height: 1.55;
  color: var(--rspcc-ink);
  animation: rspcc-note 0.32s ease;
}

.rspcc__ready[hidden] { display: none; }
.rspcc__ready-icon { flex: 0 0 auto; font-size: 18px; line-height: 1.35; }
.rspcc__ready strong { display: block; margin-bottom: 3px; color: var(--rspcc-violet-deep); }
.rspcc__ready span { color: var(--rspcc-muted); }

@keyframes rspcc-note {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Floating total (mobile only) ---------- */

.rspcc__sticky { display: none; }

@media (max-width: 900px) {
  .rspcc__sticky:not([hidden]) {
    position: sticky;
    bottom: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    margin: 16px -20px -26px;
    padding: 13px 18px calc(13px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--rspcc-line);
    background: rgba(253, 252, 250, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 -6px 22px rgba(80, 62, 130, 0.13);
  }

  .rspcc__sticky-item { text-align: center; }

  .rspcc__sticky-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--rspcc-muted);
  }

  .rspcc__sticky-value {
    display: block;
    margin-top: 1px;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--rspcc-violet-deep);
    font-variant-numeric: tabular-nums;
  }

  .rspcc__sticky-item--accent .rspcc__sticky-value { color: var(--rspcc-ink); }

  .rspcc__sticky-rule {
    width: 1px;
    height: 30px;
    background: var(--rspcc-line);
  }

  /* The full readout keeps the line-item detail; the bar carries the running numbers. */
  .rspcc__readout { order: 1; }
}

@media (max-width: 640px) {
  .rspcc__sticky:not([hidden]) { margin: 16px -20px -26px; }
  .rspcc-tip__bubble { width: min(280px, calc(100vw - 48px)); }
}

@media (prefers-reduced-motion: reduce) {
  .rspcc__ready { animation: none; }
}

/* ================================================================
   v1.3.0 - Variant B: tap-to-pick tier cards, progressive children
   ================================================================ */

/* The Bit Form select stays in the DOM as the submitted source of truth.
   Clipped rather than display:none so validation focus still lands somewhere. */
.rspcc__form .rspcc-has-cards select.bf-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cards need the full row, so the three child blocks stop sharing columns. */
.rspcc__form .rspcc-has-cards.btcd-fld-itm.bf1-1,
.rspcc__form .rspcc-has-cards.btcd-fld-itm.bf1-2,
.rspcc__form .rspcc-has-cards.btcd-fld-itm.bf1-3 {
  grid-column: 1 / -1;
}

.rspcc__form .rspcc-slot-hidden { display: none !important; }

.rspcc-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.rspcc-tier {
  position: relative;
  padding: 14px 12px 13px;
  border: 1.5px solid var(--rspcc-line);
  border-radius: var(--rspcc-r-md);
  background: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.rspcc-tier:hover { border-color: var(--rspcc-violet); transform: translateY(-1px); }

.rspcc-tier:focus-visible {
  outline: none;
  border-color: var(--rspcc-violet);
  box-shadow: 0 0 0 3px rgba(125, 106, 176, 0.22);
}

.rspcc-tier[aria-checked="true"] {
  border-color: var(--rspcc-violet);
  background: var(--rspcc-violet-soft);
  box-shadow: 0 0 0 2.5px rgba(125, 106, 176, 0.2);
}

.rspcc-tier__icon { font-size: 20px; line-height: 1; }
.rspcc-tier__name { display: block; margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--rspcc-ink); }
.rspcc-tier__ages { display: block; font-size: 12px; color: var(--rspcc-muted); }

.rspcc-tier__price {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--rspcc-violet-deep);
  font-variant-numeric: tabular-nums;
}

.rspcc-tier__price small { font-size: 11px; font-weight: 600; }

.rspcc-tier__tick {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--rspcc-violet);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.rspcc-tier[aria-checked="true"] .rspcc-tier__tick { opacity: 1; transform: scale(1); }

/* Add / remove another child */

.rspcc-addchild {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 18px;
  padding: 13px;
  border: 1.5px dashed var(--rspcc-line);
  border-radius: var(--rspcc-r-sm);
  background: transparent;
  color: var(--rspcc-violet-deep);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rspcc-addchild:hover,
.rspcc-addchild:focus-visible {
  outline: none;
  border-color: var(--rspcc-violet);
  background: var(--rspcc-violet-soft);
}

.rspcc-addchild[hidden] { display: none; }

.rspcc-removechild {
  margin-left: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--rspcc-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.rspcc-removechild:hover { color: var(--rspcc-violet-deep); }

@media (max-width: 900px) {
  .rspcc-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
}

@media (max-width: 380px) {
  .rspcc-tiers { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .rspcc-tier, .rspcc-tier__tick { transition: none; }
  .rspcc-tier:hover { transform: none; }
}


/* ================================================================
   v1.4.0 - Four column mobile total bar
   ================================================================ */

@media (max-width: 900px) {
  .rspcc__sticky:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    justify-content: initial;
    padding: 11px 10px calc(11px + env(safe-area-inset-bottom, 0px));
  }

  .rspcc__sticky-item {
    padding: 0 4px;
    border-left: 1px solid var(--rspcc-line);
  }

  .rspcc__sticky-item:first-child { border-left: 0; }

  .rspcc__sticky-label {
    font-size: 9px;
    letter-spacing: 0.06em;
    line-height: 1.3;
  }

  .rspcc__sticky-value {
    font-size: 19px;
    letter-spacing: -0.01em;
  }

  /* A waived activation fee is good news, so it reads as a credit rather than a zero. */
  .rspcc__sticky-item--covered .rspcc__sticky-value { color: #2f8f6b; }
}

@media (max-width: 360px) {
  .rspcc__sticky-value { font-size: 17px; }
  .rspcc__sticky-label { font-size: 8.5px; }
}


/* ================================================================
   v1.5.0 - Site wide estimator floater
   ================================================================ */

.rspcc-fab {
  --rspcc-violet: #7d6ab0;
  --rspcc-violet-deep: #5c4a8c;

  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 99990;

  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;

  background: linear-gradient(135deg, #7d6ab0 0%, #5c4a8c 100%);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;

  box-shadow: 0 10px 28px rgba(80, 62, 130, 0.36), 0 2px 6px rgba(80, 62, 130, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  animation: rspcc-fab-in 0.4s 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.rspcc-fab:hover,
.rspcc-fab:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(80, 62, 130, 0.46), 0 2px 6px rgba(80, 62, 130, 0.24);
}

.rspcc-fab:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(125, 106, 176, 0.6); }

.rspcc-fab__icon { display: inline-flex; flex: 0 0 auto; }
.rspcc-fab__text { white-space: nowrap; }

@keyframes rspcc-fab-in {
  from { opacity: 0; transform: translateY(14px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

/* The floater is the way in, so it gets out of the way once you are in. */
body.rspcc-locked .rspcc-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

@media (max-width: 640px) {
  .rspcc-fab {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    padding: 12px 17px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .rspcc-fab { padding: 12px 15px; font-size: 13.5px; gap: 7px; }
}

@media print {
  .rspcc-fab, .rspcc-modal { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .rspcc-fab { animation: none; transition: none; }
  .rspcc-fab:hover, .rspcc-fab:focus-visible { transform: none; }
}


/* ================================================================
   v1.7.0 - Contact details moved to the contact page
   ================================================================ */

/* Nothing to submit until a tier is chosen, and the only required field is now
   a clipped select, so an inline validation error would land somewhere invisible. */
.rspcc__form .bf-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.rspcc__form .bf-button:disabled:hover { transform: none; box-shadow: none; }

/* Handoff banner on the contact page */
.rspcc-handoff {
  margin: 0 0 20px;
  padding: 14px 17px;
  border: 1px solid rgba(125, 106, 176, 0.3);
  border-left: 3px solid #7d6ab0;
  border-radius: 0 16px 16px 0;
  background: #f0ecf8;
  color: #5c4a8c;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}


/* ================================================================
   v1.8.0 - Two line call to action
   ================================================================ */

.rspcc__form .bf-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 15px 22px;
  line-height: 1.25;
  text-align: center;
}

.rspcc-cta__step {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.72;
}

.rspcc-cta__main {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.005em;
}

@media (max-width: 400px) {
  .rspcc-cta__main { font-size: 15px; }
  .rspcc-cta__step { font-size: 10px; }
  .rspcc__form .bf-button { padding: 14px 16px; }
}


/* ================================================================
   v1.9.0 - Recurring vs one time section headers
   ================================================================ */

.rspcc-section {
  grid-column: 1 / -1;
  margin: 0 0 12px;
}

.rspcc-section--onetime {
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--rspcc-line);
}

.rspcc-section__title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--rspcc-ink);
}

.rspcc-section__title::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: 2px;
  background: var(--rspcc-violet);
}

.rspcc-section--onetime .rspcc-section__title::before { background: var(--rspcc-gold); }

.rspcc-section__sub {
  display: block;
  margin-top: 2px;
  padding-left: 15px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--rspcc-muted);
}

/* The per child label is redundant for a one child family, so it steps back
   and lets the section header lead. */
.rspcc__form .rspcc-has-cards .bf-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--rspcc-muted);
  letter-spacing: 0.03em;
}

@media (max-width: 640px) {
  .rspcc-section__title { font-size: 15px; }
  .rspcc-section__sub { font-size: 12.5px; }
}


/* ================================================================
   v2.0.0 - Flow B: intent first, then children, then tiers
   ================================================================ */

/* Step heading shared by the doors and the children question */
.rspcc-step {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 11px;
}

.rspcc-step__num {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rspcc-violet);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}

.rspcc-step__txt { font-size: 15px; font-weight: 800; color: var(--rspcc-ink); }

.rspcc-step__hint {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--rspcc-muted);
}

/* Step 1: the two doors */
.rspcc-doors { grid-column: 1 / -1; margin-bottom: 22px; }
.rspcc-doors[hidden] { display: none; }

.rspcc-doors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

.rspcc-door {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 17px 16px;
  border: 1.5px solid var(--rspcc-line);
  border-radius: var(--rspcc-r-md);
  background: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.rspcc-door:hover { border-color: var(--rspcc-violet); transform: translateY(-1px); }
.rspcc-door:focus-visible { outline: none; border-color: var(--rspcc-violet); box-shadow: 0 0 0 3px rgba(125,106,176,.22); }

.rspcc-door--on {
  border-color: var(--rspcc-violet);
  background: var(--rspcc-violet-soft);
  box-shadow: 0 0 0 2.5px rgba(125, 106, 176, 0.2);
}

.rspcc-door__icon { flex: 0 0 auto; font-size: 23px; line-height: 1.1; }
.rspcc-door__title { display: block; font-size: 14.5px; font-weight: 800; color: var(--rspcc-ink); }
.rspcc-door__sub { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--rspcc-muted); }

/* Step 2: how many children */
.rspcc-kids { grid-column: 1 / -1; margin-bottom: 20px; }
.rspcc-kids[hidden] { display: none; }

.rspcc-kids__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.rspcc-kid {
  padding: 14px 10px;
  border: 1.5px solid var(--rspcc-line);
  border-radius: var(--rspcc-r-md);
  background: #fff;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.rspcc-kid:hover { border-color: var(--rspcc-violet); transform: translateY(-1px); }
.rspcc-kid:focus-visible { outline: none; border-color: var(--rspcc-violet); box-shadow: 0 0 0 3px rgba(125,106,176,.22); }

.rspcc-kid--on {
  border-color: var(--rspcc-violet);
  background: var(--rspcc-violet-soft);
  box-shadow: 0 0 0 2.5px rgba(125, 106, 176, 0.2);
}

.rspcc-kid__n { display: block; font-size: 23px; font-weight: 800; line-height: 1.1; color: var(--rspcc-violet-deep); }
.rspcc-kid__l { display: block; font-size: 11.5px; color: var(--rspcc-muted); }

/* Section headers now carry a step number, so the leading dot goes and the
   recurring / one time colour coding moves to a left rule. */
.rspcc-section__title::before { display: none; }

.rspcc-section {
  padding-left: 12px;
  border-left: 3px solid var(--rspcc-violet);
}

.rspcc-section--onetime {
  border-left-color: var(--rspcc-gold);
}

.rspcc-section__sub { padding-left: 0; }
.rspcc-section[hidden] { display: none; }

@media (max-width: 560px) {
  .rspcc-doors__grid { grid-template-columns: minmax(0, 1fr); }
}
