/* Maintenance feature page (feature_maintenance_page.html). Page blocks on top of the shared feature kit in
   public-feature-page.css: media step panels, the Luna phone figure with its coverage card, the Thumbtack
   card, the bills trio and the Luna video dialog. Classes are prefixed mt2-; the coverage card keeps its
   shared mt- classes from _maintenance_phone_coverage.html. */
.mt2-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* How it works: screenshots and the Find a pro clip in the demo stage. */
.fp-page .mt2-panel { display: grid; place-items: center; align-content: center; gap: 20px; min-height: 560px; padding: 32px; background: #F6F4FD; }
.fp-page .mt2-panel[hidden] { display: none; }
.fp-page .mt2-panel :is(img, video) { display: block; width: 100%; max-width: 640px; height: auto; }
.fp-page .mt2-panel .fp-btn { max-width: 100%; white-space: normal; text-align: center; line-height: 20px; padding-block: 12px; }
.fp-page .mt2-panel .mt2-shot { background: #fff; border: 1px solid var(--fp-line); border-radius: 4px; box-shadow: var(--fp-card); }

/* Luna phone line: the photo with the coverage card over its lower edge. */
.fp-page .mt2-phone { position: relative; }
.fp-page .mt2-phone > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.fp-page .mt2-phone .mt-cov { position: relative; width: min(360px, calc(100% - 48px)); margin: -112px 24px 0 auto; padding: 20px 22px 12px; color: var(--fp-navy); background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(15,23,42,.10), 0 18px 40px -12px rgba(4,34,56,.45); }
body.public-design #main-content .fp-page .mt2-phone .mt-cov h3 { margin: 0; color: var(--fp-navy); }
.fp-page .mt2-phone .mt-cov-seg { display: inline-flex; margin: 12px 0 8px; padding: 3px; border-radius: 999px; background: #F1F4F9; }
.fp-page .mt2-phone .mt-cov-seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--fp-navy); font: 600 14px/1 "Open Sans", Arial, sans-serif; cursor: pointer; }
.fp-page .mt2-phone .mt-cov-seg [aria-pressed="true"] { background: var(--fp-purple); color: #fff; }
.fp-page .mt2-phone .mt-cov-seg button:focus-visible { outline: 3px solid var(--fp-purple); outline-offset: 2px; }
.fp-page .mt2-phone .mt-cov dl { margin: 0; }
.fp-page .mt2-phone .mt-cov dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #EEF1F5; }
.fp-page .mt2-phone .mt-cov dt b { display: block; font-size: 15px; line-height: 20px; color: var(--fp-navy); }
.fp-page .mt2-phone .mt-cov dt span { display: block; font-size: 13px; line-height: 18px; color: var(--fp-grey); }
.fp-page .mt2-phone .mt-cov dd { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--fp-purple); text-align: right; }
.fp-page .mt2-phone .mt-cov dd.is-team { color: var(--fp-navy); }

/* Vendors: the partner logo sits straight on the card. */
.fp-page .mt2-partner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.fp-page .mt2-partner img { display: block; width: auto; height: 31px; }
.fp-page .mt2-partner span { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--fp-grey); }
.fp-page .fp-card .mt2-card-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; }
.fp-page .fp-card .fp-fine { margin-top: 0; }
.fp-page #vendors > .fp-wrap > .fp-fine { text-align: center; }

/* Bills and records: three illustrated steps, continuing the vendors section. */
.fp-page .mt2-money { padding-top: 0; }
.fp-page .mt2-money > .fp-wrap { padding-top: 72px; border-top: 1px solid var(--fp-line); }
.fp-page .mt2-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.fp-page .mt2-trio article { display: grid; align-content: start; gap: 10px; }
.fp-page .mt2-trio img { display: block; width: 120px; height: 96px; object-fit: contain; margin-left: -8px; }
body.public-design #main-content .fp-page .mt2-trio h3 { margin: 6px 0 0; }
.fp-page .mt2-trio p { margin: 0; }
.fp-page .mt2-trio .fp-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
.fp-page .mt2-money .fp-fine { margin-top: 28px; }
.fp-page .fp-plan .fp-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }

/* Luna video dialog. */
.fp-page .mt2-video { width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 4px; background: #0B1220; color: #fff; overflow: hidden; }
.fp-page .mt2-video::backdrop { background: rgba(4, 34, 56, .72); }
.fp-page .mt2-video-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; }
body.public-design #main-content .fp-page .mt2-video h2 { margin: 0; color: #fff; font: 600 18px/26px Poppins, "Open Sans", sans-serif; }
.fp-page .mt2-video-close { min-height: 44px; padding: 0 16px; border: 2px solid rgba(255,255,255,.7); border-radius: 4px; background: none; color: #fff; font: 700 14px/1 "Open Sans", Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.fp-page .mt2-video-close:is(:hover, :focus-visible) { background: #fff; color: #0B1220; outline: none; }
.fp-page .mt2-video video { display: block; width: 100%; height: auto; background: #000; }

@media (max-width: 1023.98px) {
  .fp-page .mt2-trio { gap: 28px; }
}
@media (max-width: 767.98px) {
  .fp-page .mt2-panel { min-height: 300px; padding: 16px 12px; gap: 12px; }
  .fp-page .mt2-panel .fp-btn { padding-inline: 16px; }
  .fp-page .mt2-phone .mt-cov { width: auto; margin: -40px 12px 0; padding: 16px 16px 8px; }
  .fp-page .mt2-money > .fp-wrap { padding-top: 48px; }
  .fp-page .mt2-trio { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
