/* Nov 17 2026 d: strategy-call "What brings you here?" radios. Draft only.
   Legend uses the same eyebrow treatment as other field labels
   (uppercase via text-transform only; DOM text stays the §17 string).
   Fieldset keeps space-y-5's 1.25rem gap above YOUR NAME.
   Vendor thank-you: no visible focus outline (tabindex=-1 still receives focus;
   aria-live announcement unchanged), normal form-text styling, no border.
   Container min-height is set in JS from the form's measured height before swap.
   Error colour is #B42318 on .bmw-reason-error only (>=4.5:1 on the form
   background and on white). Other red tokens are unchanged.
   Thank-you container uses scroll-margin-top (header height + 8px gap;
   JS measures the sticky header and overwrites the fallback). */
.bmw-reason{
  border:0;
  margin-inline:0;
  margin-block-start:0;
  margin-block-end:calc(var(--spacing) * 5);
  padding:0;
  min-width:0;
}
.bmw-reason legend{
  padding:0;
  margin:0 0 calc(var(--spacing) * 2);
  float:none;
  width:100%;
  font-family:inherit;
  font-size:var(--text-xs);
  line-height:var(--tw-leading,var(--text-xs--line-height));
  font-weight:var(--font-weight-medium);
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--color-fg-muted);
}
.bmw-reason-error{
  display:flex;
  align-items:flex-start;
  gap:.4rem;
  margin:0 0 .5rem;
  font-size:.875rem;
  line-height:1.4;
  color:#B42318;
}
.bmw-reason-error svg{
  flex:0 0 1rem;
  width:1rem;
  height:1rem;
  margin-top:.15rem;
}
.bmw-reason-option{
  display:flex;
  align-items:center;
  gap:.75rem;
  box-sizing:border-box;
  width:100%;
  min-height:48px;
  margin:0;
  padding:.5rem 0;
  font-size:1rem;
  line-height:1.4;
  color:var(--color-fg);
  cursor:pointer;
}
.bmw-reason-option + .bmw-reason-option{
  margin-top:8px;
}
.bmw-reason-option input[type=radio]{
  appearance:auto;
  -webkit-appearance:auto;
  flex:0 0 20px;
  width:20px;
  height:20px;
  margin:0;
  accent-color:var(--color-ring);
}
.bmw-reason-option input[type=radio]:focus{
  outline:none;
}
.bmw-reason-option input[type=radio]:focus-visible{
  outline:none;
  box-shadow:0 0 0 2px var(--color-bg),0 0 0 4px var(--color-ring);
}
.bmw-reason-thanks{
  box-sizing:border-box;
  display:block;
  /* min-height is applied inline from the form's measured height */
  /* 65px sticky header (h-16 + border) + 8px gap; JS overwrites from measure */
  scroll-margin-top:73px;
}
#bmw-reason-thanks{
  scroll-margin-top:73px;
}
.bmw-reason-thanks p,
#bmw-reason-thanks{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  font-size:1rem;
  line-height:1.625;
  color:var(--color-fg);
}
#bmw-reason-thanks:focus,
#bmw-reason-thanks:focus-visible{
  outline:none;
  box-shadow:none;
}
