/* Keep the calculator and its status rail inside the same responsive grid. */
body.home-light-air { min-width: 0; }
body.home-light-air.hero-proposal .quiet-layout {
  width: min(1320px, calc(100% - 48px));
  padding: 36px 0 48px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 490px);
  --hero-gap: clamp(28px, 4vw, 68px);
  gap: var(--hero-gap);
}
body.home-light-air.hero-proposal .calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  width: 100%;
  min-width: 0;
  padding-right: 0;
  transform: none;
}
body.home-light-air.hero-proposal .calculator {
  width: 100%;
  min-width: 0;
  padding: 26px 24px;
  border-radius: 22px;
}
body.home-light-air .calculator-shell .terminal-rail {
  position: relative;
  z-index: 1;
  top: auto;
  right: auto;
  align-self: start;
  width: auto;
  margin-top: 48px;
  padding: 12px 8px;
}
body.home-light-air .copy h1 {
  font-size: clamp(36px, 4.1vw, 64px);
  line-height: 1.08;
  overflow-wrap: normal;
}
/* Reserve clear space beside the mascot; its feet follow the calculator bottom. */
body.home-light-air .copy .trust-row {
  max-width: min(590px, calc(100% + var(--hero-gap) - 285px));
}
body.home-light-air .calculator-shell .mascot-five-stage {
  --mascot-width: 245px;
  position: absolute;
  z-index: 1;
  left: auto;
  right: calc(100% + 24px);
  bottom: calc(var(--mascot-width) * -.03668123);
  width: var(--mascot-width);
  margin: 0;
  opacity: 1;
}
body.home-light-air .payment-with-icon { margin-top: 12px; }
body.home-light-air .payment-copy strong { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.calculator .loan-controls { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.calculator .loan-controls .field:first-child { margin-top: 0; }
.calculator .loan-controls:disabled { opacity: .45; filter: grayscale(1); }
.calculator .loan-controls:disabled input { cursor: not-allowed; }
.calculator .calc-disclaimer { overflow-wrap: anywhere; }
body.home-light-air .vehicle-value-control input { padding-left: 9px; font-size: 14px; }

@media (max-width: 1180px) {
  body.home-light-air.hero-proposal .quiet-layout {
    width: min(720px, calc(100% - 32px));
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  body.home-light-air .copy .trust-row { max-width: 590px; }
  body.home-light-air.hero-proposal .calculator-shell {
    max-width: 720px;
    grid-template-columns: 205px minmax(0, 1fr) 80px;
    gap: 16px;
    justify-self: center;
  }
  body.home-light-air.hero-proposal .calculator { grid-column: 2; grid-row: 1; }
  body.home-light-air .calculator-shell::before { left: 240px; }
  body.home-light-air .calculator-shell .terminal-rail { grid-column: 3; grid-row: 1; }
  body.home-light-air .calculator-shell .mascot-five-stage {
    --mascot-width: 205px;
    position: relative;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    right: auto;
    bottom: auto;
    margin-bottom: calc(var(--mascot-width) * -.03668123);
  }
}
@media (max-width: 760px) {
  body.home-light-air.hero-proposal .calculator-shell { grid-template-columns: 205px minmax(0, 1fr); }
  body.home-light-air .calculator-shell .terminal-rail { display: none; }
}
@media (max-width: 580px) {
  body.home-light-air.hero-proposal .quiet-layout { width: calc(100% - 32px); padding: 30px 0; }
  body.home-light-air.hero-proposal .calculator-shell { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.home-light-air .calculator-shell .terminal-rail { display: none; }
  body.home-light-air.hero-proposal .calculator { grid-column: 1; padding: 24px 20px; }
  body.home-light-air .calculator-shell::before { left: 19px; }
  body.home-light-air .calculator-shell .mascot-five-stage { display: none; }
  body.home-light-air .copy h1 { font-size: clamp(32px, 8vw, 44px); }
  body.home-light-air .trust-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.home-light-air .trust-item { padding: 14px 16px; }
  body.home-light-air .payment-copy strong { font-size: 29px; }
}
@media (max-width: 380px) {
  body.home-light-air .fm-site-header__inner { width: calc(100% - 32px); }
  body.home-light-air .vehicle-value-controls { grid-template-columns: minmax(0, 1fr); }
  body.home-light-air .payment-copy strong { font-size: 25px; }
}
