/* Mobile entrance refresh, scoped to the two pages that include this file. */
.mobile-brand, .mobile-hero-eyebrow, .hero-mobile-title,
.mobile-hero-description, .mobile-hero-photo { display: none; }

@media (max-width: 767px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 12px 20px;
    border-bottom: 1px solid #e0e9e5;
    background: #fff;
  }
  .site-header .site-logo { display: none; }
  .mobile-brand { display: flex; flex-direction: column; gap: 3px; color: #173e32; text-decoration: none; }
  .mobile-brand__insurer { font-size: 11px; line-height: 1.3; font-weight: 500; letter-spacing: .04em; color: #52645b; }
  .mobile-brand__name { font-size: 22px; line-height: 1.25; font-weight: 750; letter-spacing: .04em; }
  .site-header .menu-toggle { position: relative; inset: auto; transform: none; width: 44px; height: 44px; padding: 10px; border: 1px solid #e0e9e5; border-radius: 10px; background: #fff; }
  .menu-toggle img { visibility: hidden; }
  .menu-toggle::before { content: ""; position: absolute; top: 13px; left: 10px; width: 22px; height: 2px; background: #173e32; box-shadow: 0 7px #173e32, 0 14px #173e32; }
  .hero.hero--refreshed { display: flex; flex-direction: column; height: auto; aspect-ratio: auto; background: #fff; padding: 0 20px 24px; overflow: visible; }
  .hero--refreshed .hero-box { display: flex; align-items: flex-start; max-width: none; width: 100%; max-height: none; padding: 28px 0 20px; margin: 0; gap: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; text-align: left; }
  .hero--refreshed .mobile-hero-eyebrow { display: block; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #376754; }
  .hero-desktop-title { display: none; }
  .hero--refreshed h1 { margin: 0; color: #163e30; text-shadow: none; -webkit-text-stroke: 0; line-height: 1.45; }
  .hero-mobile-title { display: block; font-size: clamp(25px, 7.1vw, 36px); font-weight: 750; letter-spacing: -.035em; text-shadow: none; -webkit-text-stroke: 0; }
  .hero--refreshed .mobile-hero-description { display: block; margin: 16px 0 22px; font-size: 15px; line-height: 1.8; color: #55645d; }
  .hero--refreshed a.btn-primary { align-self: stretch; width: 100%; min-height: 52px; padding: 14px 10px; margin: 0; border-radius: 10px; background: #126347; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.5; box-shadow: none; }
  .mobile-hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 2.5; object-fit: cover; object-position: center; border-radius: 12px; }
  .about { padding-top: 12px; }
  .about .section-title { border-left: 0; padding-left: 0; font-size: 22px; color: #173e32; }
  .about .p-midsize { font-size: 16px; line-height: 1.9; }
  body:not(:has(main form)) .floating-cta:has(.mobile-next-copy) .apply-btn { background: #126347; color: #fff; font-size: 15px; }
  body:not(:has(main form)) .floating-cta .fee-btn { background: #edf4f0; color: #234d3c; font-size: 15px; }
  .floating-cta .menu-btn { position: relative; }
  .floating-cta .menu-btn img { visibility: hidden; }
  .floating-cta .menu-btn::before { content: ""; position: absolute; left: calc(50% - 11px); top: 16px; width: 22px; height: 2px; background: #173e32; box-shadow: 0 7px #173e32, 0 14px #173e32; }
  .mobile-next .mobile-next__action, .cta-apply { background: #126347; color: #fff; }
  .request-hero { background: #fff; padding: 26px 0 22px; text-align: left; border-bottom: 1px solid #e5ece8; }
  .request-hero::before, .request-hero::after, .request-hero .page-title::after { display: none; }
  .request-hero .container { padding-inline: 20px; }
  .request-hero .page-title { text-align: left; color: #173e32; font-size: 27px; line-height: 1.4; letter-spacing: -.02em; margin: 0; }
  .request-hero .note--lead { font-size: 15px; line-height: 1.7; color: #55645d; margin: 10px 0 0; }
  .request-hero .form-steps { display: flex; justify-content: flex-start; gap: 16px; max-width: none; margin: 20px 0 0; }
  .request-hero .form-steps li { display: flex; flex-direction: row; gap: 5px; color: #52645b; font-size: 12px; font-weight: 500; white-space: nowrap; }
  .request-hero .form-steps .step-num { width: 20px; height: 20px; margin: 0; background: #edf4f0; color: #376754; box-shadow: none; font-size: 11px; font-weight: 700; }
  .request-section { background: #f5f8f6; }
  .request-section .container { padding-inline: 16px; }
  .request-section .form-wrapper { padding-top: 24px; }
  .request-section .form-fieldset { padding: 18px 16px; border-radius: 12px; box-shadow: 0 1px 3px #173e3208; border: 1px solid #e3ebe6; }
  .request-section .form-fieldset legend { font-size: 18px; color: #234d3c; }
  .request-section .btn-testmail { background: #126347; box-shadow: none; border-radius: 8px; }
  .request-section #sendBtn:not(:disabled) { background: #126347; }
  .request-section .testmail-note { background: #f2f6f3; border: 1px solid #e0e9e3; color: #52645b; font-size: 13px; line-height: 1.7; }
  .hero--refreshed a.btn-primary:hover, .request-section .btn-testmail:hover { background: #0c5038; }
}
