/* Life Fit, scenarios, simulator, move tools */
.life-fit-panel,
.tradeoff-panel,
.why-not-panel,
.reality-check-panel {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border, #d7dee8);
  border-radius: 16px;
  background: var(--elevated, #fff);
}

.life-fit-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.life-fit-cat__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
}

.life-fit-cat__weight {
  font-size: 0.8rem;
  color: var(--muted, #5b6b7c);
}

.life-fit-bar {
  height: 8px;
  background: #e7eef6;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.4rem;
}

.life-fit-bar > span {
  display: block;
  height: 100%;
  background: #2f4f6f;
}

.tradeoff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.reality-check-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.reality-check-table th,
.reality-check-table td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--border, #d7dee8);
  vertical-align: top;
  font-size: 0.95rem;
}

.product-tool-page {
  padding: 2rem 1.25rem 4rem;
}

.product-tool-page .lead {
  max-width: 42rem;
  color: var(--muted, #5b6b7c);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.scenario-card {
  border: 1px solid var(--border, #d7dee8);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  background: #fff;
}

.scenario-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.sim-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem 1rem;
  margin: 1.25rem 0;
}

.sim-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.sim-form input,
.sim-form select,
.sim-form textarea {
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border, #d7dee8);
  border-radius: 10px;
  font: inherit;
}

.sim-rank-list {
  line-height: 1.55;
}

.tool-section {
  margin: 2rem 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border, #d7dee8);
}

.readiness-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border, #e7eef6);
}

.readiness-row select {
  min-height: 44px;
  min-width: 10rem;
}

.plan-period {
  margin-bottom: 1.25rem;
}

.option.selected {
  outline: 2px solid #2f4f6f;
}

.optional-refine {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
}

.optional-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2f4f6f;
  border: 1px solid #c5d2e0;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-right: 0.35rem;
}

.optional-q {
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}

.optional-q legend {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.optional-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.optional-option {
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border: 1px solid #c5d2e0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.optional-option.selected {
  outline: 2px solid #2f4f6f;
  background: #eef3f8;
}

.city-related-why {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted, #5b6b7c);
  line-height: 1.45;
}

.city-meta-panel {
  margin: 1.25rem 0;
  padding: 1.15rem 1.25rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer-social-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  background: #2f4f6f;
  color: #fff !important;
  text-decoration: none;
  text-transform: capitalize;
}

/* Move Plan compact editorial corrections */
body.move-page .main-narrow {
  padding-top: 28px !important;
}

body.move-page .move-hero {
  margin-bottom: 34px !important;
  padding-bottom: 24px !important;
  gap: 40px !important;
}

body.move-page .move-hero h1 {
  max-width: 11ch !important;
  font-size: clamp(3.4rem, 5.5vw, 5.6rem) !important;
  line-height: 0.94 !important;
}

body.move-page .move-section {
  margin-top: 46px !important;
  padding-top: 24px !important;
}

body.move-page .move-section__heading {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr) !important;
  align-items: center !important;
  gap: 36px !important;
  margin-bottom: 22px !important;
}

body.move-page .move-section__heading > div:first-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  column-gap: 24px !important;
}

body.move-page .move-section__heading .move-kicker {
  grid-column: 1 / -1 !important;
  margin-bottom: 8px !important;
}

body.move-page .move-section__heading h2 {
  max-width: 12ch !important;
  font-size: clamp(2.5rem, 3.6vw, 4rem) !important;
  line-height: 0.98 !important;
}

body.move-page .readiness-summary {
  justify-self: end !important;
  align-self: end !important;
  margin: 0 0 4px !important;
  padding-left: 20px !important;
  border-left: 1px solid rgba(28, 40, 52, 0.16) !important;
}

body.move-page .readiness-summary strong {
  font-size: 2rem !important;
}

body.move-page #readiness-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  border-top: 1px solid rgba(28, 40, 52, 0.14) !important;
  border-left: 1px solid rgba(28, 40, 52, 0.14) !important;
}

body.move-page .readiness-row {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  min-height: 0 !important;
  padding: 20px !important;
  border-right: 1px solid rgba(28, 40, 52, 0.14) !important;
  border-bottom: 1px solid rgba(28, 40, 52, 0.14) !important;
  background: #fff !important;
}

body.move-page .readiness-row strong {
  margin-bottom: 4px !important;
}

body.move-page .readiness-row select {
  min-height: 42px !important;
}

body.move-page .move-form {
  margin-top: 0 !important;
}

body.move-page .move-footnote {
  margin-top: 48px !important;
}

@media (max-width: 850px) {
  body.move-page .main-narrow {
    padding-top: 24px !important;
  }

  body.move-page .move-section__heading > div:first-child {
    grid-template-columns: 1fr !important;
  }

  body.move-page .readiness-summary {
    justify-self: start !important;
    margin-top: 12px !important;
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  body.move-page #readiness-list {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .readiness-row {
    flex-direction: column;
    align-items: stretch;
  }

  body.move-page .move-hero h1 {
    font-size: clamp(3.1rem, 15vw, 4.5rem) !important;
  }

  body.move-page .move-section {
    margin-top: 38px !important;
  }

  body.move-page .move-section__heading h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem) !important;
  }

  body.move-page .readiness-row {
    padding: 18px !important;
  }
}

/* Move Plan visual refresh */
body.move-page {
  background: #f3eee7 !important;
}

body.move-page .product-tool-page {
  background: transparent !important;
}

body.move-page .move-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr) !important;
  min-height: 430px !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid rgba(28, 40, 52, 0.12) !important;
  background: #fffaf4 !important;
}

body.move-page .move-hero::after {
  content: "" !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-height: 430px !important;
  background-image: linear-gradient(90deg, rgba(29, 44, 59, 0.08), rgba(29, 44, 59, 0)), url("../images/Austin.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}

body.move-page .move-hero > div:first-child {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
  padding: 48px 46px 56px !important;
  z-index: 1 !important;
}

body.move-page .move-hero__copy {
  position: absolute !important;
  right: 28px !important;
  bottom: 28px !important;
  z-index: 2 !important;
  max-width: 360px !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  background: rgba(29, 44, 59, 0.9) !important;
  color: #fff !important;
  font-size: 0.96rem !important;
  line-height: 1.55 !important;
}

body.move-page .move-hero h1 {
  color: #1c2834 !important;
}

body.move-page .move-kicker {
  color: #8a5f4a !important;
}

body.move-page .move-gate {
  border-left-color: #8a5f4a !important;
  background: #eadfd3 !important;
  color: #3c4a55 !important;
}

body.move-page .move-section {
  margin-top: 34px !important;
  padding: 30px !important;
  border-top: 0 !important;
  background: #fffaf4 !important;
}

body.move-page .move-section:nth-of-type(2n) {
  background: #e9e1d7 !important;
}

body.move-page .move-section__heading {
  padding-bottom: 22px !important;
  border-bottom: 1px solid rgba(28, 40, 52, 0.12) !important;
}

body.move-page #readiness-list {
  border-color: rgba(28, 40, 52, 0.12) !important;
}

body.move-page .readiness-row {
  background: #fff !important;
  border-color: rgba(28, 40, 52, 0.12) !important;
}

body.move-page .readiness-row:nth-child(4n + 2),
body.move-page .readiness-row:nth-child(4n + 3) {
  background: #f6f1eb !important;
}

body.move-page .move-form,
body.move-page .plan-period,
body.move-page .reality-check-table {
  background: #fff !important;
  border-color: rgba(28, 40, 52, 0.14) !important;
}

body.move-page .reality-check-table thead th {
  background: #26384a !important;
}

body.move-page .reality-check-table tbody th {
  background: #efe5da !important;
}

body.move-page .budget-total {
  background: #d9c9b9 !important;
}

body.move-page .move-section .btn-primary {
  background: #26384a !important;
  border-color: #26384a !important;
}

@media (max-width: 850px) {
  body.move-page .move-hero {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  body.move-page .move-hero::after {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 320px !important;
  }

  body.move-page .move-hero > div:first-child {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding: 34px 28px 90px !important;
  }

  body.move-page .move-hero__copy {
    right: 18px !important;
    left: 18px !important;
    bottom: 18px !important;
    max-width: none !important;
  }

  body.move-page .move-section {
    padding: 24px !important;
  }
}

@media (max-width: 640px) {
  body.move-page .move-hero::after {
    min-height: 240px !important;
  }

  body.move-page .move-hero > div:first-child {
    padding: 28px 20px 108px !important;
  }

  body.move-page .move-section {
    padding: 20px !important;
  }
}
