/* ============================================================
   First Mile — static mirror
   Only the interaction states that were not present in the
   captured Emotion sheet are defined here.
   ============================================================ */

/* ---------- FAQ accordion ---------- */
.MuiAccordionSummary-expandIconWrapper {
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}
.MuiAccordionSummary-expandIconWrapper.Mui-expanded {
  transform: rotate(180deg);
}
.MuiCollapse-root {
  will-change: height;
}

/* ---------- text fields: floating label ---------- */
.MuiInputLabel-outlined.MuiInputLabel-shrink {
  transform: translate(14px, -9px) scale(0.75);
  max-width: calc(133% - 32px);
}
.fm-shrunk .MuiOutlinedInput-notchedOutline legend {
  max-width: 100%;
}
.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-width: 2px;
}
.MuiInputLabel-root.Mui-focused {
  color: #150f32;
}
.fm-form-done {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #150f32;
  margin: 0;
}
.fm-form-error {
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #b3261e;
  margin: 12px 0 0;
}

/* ---------- mobile drawer ---------- */
.fm-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1300;
}
.fm-drawer.is-open {
  display: block;
}
.fm-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);
}
.fm-drawer.is-open .fm-drawer-backdrop {
  opacity: 1;
}
.fm-drawer-paper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(325px, 84vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  transform: translateX(100%);
  transition: transform 225ms cubic-bezier(0, 0, 0.2, 1);
  box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14),
    0 6px 30px 5px rgba(0, 0, 0, 0.12);
}
.fm-drawer.is-open .fm-drawer-paper {
  transform: translateX(0);
}
.fm-drawer-top {
  width: 100%;
}
.fm-drawer-close-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 40px;
  padding: 8px 16px;
  box-sizing: border-box;
}
.fm-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 4px;
  margin: -4px;
  border: 0;
  background: none;
  color: rgba(0, 0, 0, 0.54);
  cursor: pointer;
}
.fm-drawer-title {
  display: block;
  width: 216px;
  margin: 0 auto;
  padding: 3.2px 5.6px 0;
  box-sizing: content-box;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #150f32;
  text-align: center;
  text-decoration: none;
}
.fm-drawer-bottom {
  width: 220px;
  box-sizing: border-box;
  padding: 0 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.fm-drawer-divider {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  margin: 0 0 8px;
}
.fm-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 16px;
  box-sizing: border-box;
  background: #c2a676;
  color: rgba(0, 0, 0, 0.87);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  text-decoration: none;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.fm-drawer-cta:hover {
  background: #b09466;
}
body.fm-locked {
  overflow: hidden;
}

/* hero spacer — the live site only renders this below 768px */
.fm-spacer {
  display: none;
  width: 100%;
  height: 0;
  background: transparent;
  position: relative;
}
@media (max-width: 768px) {
  .fm-spacer {
    display: block;
    height: 35px;
  }
}
