/* Rental Applications feature page (feature_rental_application_page.html). Page parts on top of the shared kit in
   public-feature-page.css: the six application sections, the assistance-animal picture on the purple band,
   the screening partner row, the state finder and the full-application dialog. */
.ra2-page .ra2-band-blue { background: #F3F8FF; }
.ra2-page button.fp-btn { font-family: inherit; cursor: pointer; }

/* The six sections of the application: icon tiles, three across. */
/* The ten application steps as cards that mirror the live renter application. */
/* The rental application: a moving deck of real step screenshots. The front card sits in the middle,
   the next waits on the right and the previous steps back to the left; others wait off stage. */
.ra2-page .ra2-deck { margin: 0 0 32px; }
.ra2-page .ra2-deck-stage { position: relative; width: 100%; aspect-ratio: 1.9; overflow: hidden; isolation: isolate; touch-action: pan-y; }
.ra2-page .ra2-deck-stage figure { position: absolute; margin: 0; top: 9%; bottom: 0; left: 28%; width: 44%; overflow: hidden; background: #fff; border: 2px solid var(--fp-line, #E2E8F0); border-bottom: 0; border-radius: 6px 6px 0 0; box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 20px -6px rgba(15, 23, 42, .16); opacity: 0; z-index: 0; cursor: pointer;
  transition: left .8s cubic-bezier(.2,.8,.2,1), top .8s cubic-bezier(.2,.8,.2,1), width .8s cubic-bezier(.2,.8,.2,1), opacity .6s ease; }
.ra2-page .ra2-deck-stage figure img { display: block; width: 100%; height: auto; }
.ra2-page .ra2-deck-stage figure.is-prev { left: .5%; opacity: 1; z-index: 1; }
.ra2-page .ra2-deck-stage figure.is-next { left: 55.5%; opacity: 1; z-index: 1; }
.ra2-page .ra2-deck-stage figure.is-front { left: 25%; top: 0; width: 50%; opacity: 1; z-index: 3; cursor: default; }
.ra2-page .ra2-deck-stage figure.is-leaving { left: -46%; }
.ra2-page .ra2-deck-stage figure.is-coming { left: 102%; }
.ra2-page .ra2-deck-stage figure:is(.is-prev, .is-next)::after { content: ""; position: absolute; inset: 0; background: rgba(243, 248, 255, .35); pointer-events: none; }
.ra2-page .ra2-deck-caption { max-width: 640px; margin: 18px auto 0; text-align: center; color: var(--fp-navy, #042238); font-size: 16px; line-height: 24px; }
.ra2-page .ra2-deck-caption b { color: var(--fp-purple, #6B48E0); }
.ra2-page .ra2-deck-line { display: block; color: var(--fp-grey, #475569); }
.ra2-page .ra2-deck-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2px; margin: 6px auto 0; }
.ra2-page .ra2-deck-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.ra2-page .ra2-deck-dots button span { display: block; width: 10px; height: 10px; border-radius: 50%; background: #c8ccd4; transition: width .3s, background .3s; }
.ra2-page .ra2-deck-dots button[aria-current="true"] span { width: 28px; border-radius: 6px; background: #6b48e0; }
.ra2-page .ra2-deck-dots button:focus-visible { outline: 2px solid #6b48e0; outline-offset: -6px; border-radius: 8px; }
@media (max-width: 767px) {
  .ra2-page .ra2-deck-stage { aspect-ratio: .82; }
  .ra2-page .ra2-deck-stage figure.is-front { left: 8%; width: 84%; }
  .ra2-page .ra2-deck-stage figure.is-prev { left: -62%; width: 70%; }
  .ra2-page .ra2-deck-stage figure.is-next { left: 92%; width: 70%; }
  .ra2-page .ra2-deck-dots { max-width: 230px; }
}
@media (prefers-reduced-motion: reduce) { .ra2-page .ra2-deck-stage figure, .ra2-page .ra2-deck-dots button span { transition: none; } }
/* The last action sits at the foot of every card, so cards of one height read as finished. */

/* How it works: five steps run taller than the demo, so the demo stays in view beside them on wide screens. */
@media (min-width: 1024px) {
  .ra2-page .fp-stage { position: sticky; top: 120px; }
}

/* Assistance animals: the photo with the application's Animals card over its corner, on the purple band. */
.ra2-page .ra-assist-visual { position: relative; margin: 0; padding: 0 0 112px; }
.ra2-page .ra-assist-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; box-shadow: 0 24px 48px -20px #100321cc; }
.ra2-page .ra-form-card { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--fp-line); border-radius: 6px; background: #fff; color: var(--fp-navy); box-shadow: 0 16px 32px -18px #04223880; font-size: 13px; line-height: 1.4; }
.ra2-page .fp-band-dark .ra-form-card :is(b, strong) { color: var(--fp-navy); }
.ra2-page .ra-form-card > b { font-size: 14px; font-weight: 700; }
.ra2-page .ra-assist-card { position: absolute; right: 24px; bottom: 0; width: min(330px, 78%); }
.ra2-page .ra-animal { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 10px; align-items: center; }
.ra2-page .ra-animal img { width: 30px; height: 30px; }
.ra2-page .ra-animal > span { display: grid; }
.ra2-page .ra-animal small { color: var(--fp-grey); font-size: 12px; }
.ra2-page .ra-animal em { grid-column: 2; justify-self: start; padding: 1px 8px; border-radius: 999px; background: #2B7FFF; color: #1B1C1A; font-size: 12px; font-weight: 600; font-style: normal; }
.ra2-page .ra-check { display: flex; gap: 8px; align-items: flex-start; }
.ra2-page .ra-check::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 2px; border-radius: 3px; background: #00C434 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%231B1C1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ra2-page .ra-assist-note { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid #FCE273; border-radius: 4px; background: #FFF1B4; color: #042238; font-size: 12px; line-height: 1.45; }
.ra2-page .ra-assist-note strong { font-size: 12px; }
.ra2-page .ra2-dark-link { color: #D1F48C; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ra2-page .ra2-dark-link:is(:hover, :focus-visible) { color: #fff; }
.ra2-page .ra2-dark-link:focus-visible { outline: 2px solid #D1F48C; outline-offset: 2px; }

.ra2-page .fp-section:not(.fp-band-soft) .fp-fine { max-width: 760px; margin-inline: auto; text-align: center; }

/* State guides: heading on the left, a search box and the full list on the right. */
.ra2-page .ra2-states { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.ra2-page .ra2-states .fp-head { margin-bottom: 0; }
.ra2-page .ra2-finder { display: grid; gap: 8px; padding: 24px; background: #fff; border: 2px solid var(--fp-line); border-radius: 4px; box-shadow: var(--fp-card); }
.ra2-page .ra2-finder label { font-size: 16px; font-weight: 600; color: var(--fp-navy); }
.ra2-page .ra2-finder input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #C4C0CF; border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--fp-navy); }
.ra2-page .ra2-finder input:hover { border-color: var(--fp-purple); }
.ra2-page .ra2-finder input:focus-visible { outline: 2px solid var(--fp-purple); outline-offset: 1px; border-color: var(--fp-purple); }
.ra2-page .ra2-state-all { margin-top: 8px; border-top: 1px solid var(--fp-line); }
.ra2-page .ra2-state-all summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; font-size: 18px; line-height: 27px; font-weight: 600; color: var(--fp-navy); cursor: pointer; list-style: none; }
.ra2-page .ra2-state-all summary::-webkit-details-marker { display: none; }
.ra2-page .ra2-state-all summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; color: var(--fp-purple); }
.ra2-page .ra2-state-all[open] summary::after { content: "\2212"; }
.ra2-page .ra2-state-all summary:focus-visible { outline: 3px solid var(--fp-purple); outline-offset: 2px; }
.ra2-page .ra2-state-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; margin: 0; padding: 0 0 4px; list-style: none; }
.ra2-page .ra2-state-list li[hidden] { display: none; }
.ra2-page .ra2-state-list a { display: flex; align-items: center; min-height: 44px; color: var(--link-ink, #006CB4); font-weight: 600; text-decoration: none; }
.ra2-page .ra2-state-list a:is(:hover, :focus-visible) { color: var(--fp-purple); text-decoration: underline; text-underline-offset: 3px; }
.ra2-page .ra2-state-empty { margin: 4px 0 8px; font-size: 16px; color: var(--fp-grey); }

/* The full application, opened from "View the full application". */
.ra2-page .ra-app-dialog { width: min(720px, calc(100vw - 32px)); height: min(760px, calc(100dvh - 48px)); max-height: none; overflow: hidden; padding: 0; border: 0; border-radius: 8px; color: var(--fp-navy); }
.ra2-page .ra-app-dialog::backdrop { background: #04223899; }
.ra2-page .ra-app-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.ra2-page .ra-app-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: linear-gradient(125deg, #3B2A8C, #2A1C6E); color: #fff; }
body.public-design #main-content .ra2-page .ra-app-dialog header h2 { margin: 0; font: 600 22px/30px Poppins, "Open Sans", sans-serif; color: #fff; }
body.public-design #main-content .ra2-page .ra-app-dialog header p { margin: 2px 0 0; font-size: 14px; line-height: 20px; color: #fff; opacity: .9; }
.ra2-page .ra-app-close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 6px; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }
.ra2-page .ra-app-close:focus-visible { outline: 2px solid #D1F48C; }
.ra2-page .ra-app-dialog-body { display: flex; flex-direction: column; gap: 8px; min-height: 0; padding: 0 0 8px; overflow: hidden; }
.ra2-page .ra-app-doc-frame { flex: 1; width: 100%; min-height: 0; border: 0; background: #F4F5F7; }
body.public-design #main-content .ra2-page .ra-app-note { margin: 0; padding: 0 20px; font-size: 14px; line-height: 20px; color: var(--fp-grey); }
.ra2-page .ra-app-dialog footer { display: flex; justify-content: flex-end; padding: 12px 20px; border-top: 1px solid var(--fp-line); }

@media (max-width: 1023.98px) {
  .ra2-page .ra2-states { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 767.98px) {
  .ra2-page .ra-assist-visual { padding: 0; }
  .ra2-page .ra-assist-card { position: relative; right: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
  .ra2-page .ra2-finder { padding: 16px; }
  .ra2-page .ra2-state-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra2-page .ra-app-dialog header { padding: 12px 12px 12px 16px; }
}

/* Hero title: purple key words without the roof line above them. */
.fp-hero h1 .sig-key { padding-top: 0; }
.fp-hero h1 .sig-key::before, .fp-hero h1 .sig-key::after { content: none !important; display: none !important; }

/* Tablet and small laptop: keep the hero card on the right instead of below the text. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  /* Title and lead beside the card; buttons and checks run full width beneath, so neither column hangs empty. */
  .fp-page .fp-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "crumbs art" "title art" "lead art" "actions actions" "checks checks";
    grid-template-rows: auto auto 1fr auto auto;
    column-gap: 32px;
    row-gap: 0;
    align-items: start;
  }
  .fp-page .fp-hero-grid > div:first-child { display: contents; }
  .fp-page .fp-hero-grid .fp-crumbs { grid-area: crumbs; }
  .fp-page .fp-hero-grid h1 { grid-area: title; }
  .fp-page .fp-hero-grid .fp-lead { grid-area: lead; margin-bottom: 0; }
  .fp-page .fp-hero-grid .fp-hero-art { grid-area: art; align-self: center; }
  .fp-page .fp-hero-grid .fp-actions { grid-area: actions; margin-top: 32px; }
  .fp-page .fp-hero-grid .fp-hero-checks { grid-area: checks; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }
  .fp-page .fp-hero-grid .fp-hero-checks li { margin: 0; }
  /* Smaller title so it fits the half-width column (beats the public type standard). */
  html body.public-design #main-content#main-content#main-content .fp-hero :is(h1, h1 > span) {
    font-size: clamp(34px, 4.3vw, 42px) !important;
    line-height: 1.3 !important;
  }
}

/* Printable application link under the parts list. */
.fp-page .ra2-printable { margin: 16px auto 0; text-align: center; }
.fp-page .ra2-printable a { font-weight: 600; }

/* Screening: copy on the left, the sample screening report cards on the right; stacked on phones. */
.ra2-page .ra2-screen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.ra2-page .ra2-screen-copy .fp-actions { margin-top: 20px; }
.ra2-page .ra2-screen-report { width: 100%; max-width: 620px; justify-self: end; }
@media (max-width: 1023.98px) {
  .ra2-page .ra2-screen { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ra2-page .ra2-screen-report { justify-self: stretch; max-width: none; }
}

/* Hero title: smaller than the standard 54px h1, at the owner's request (marked data-type-preserve).
   The shared feature title rule (public-feature-reference.css) sizes it from --feature-title. */
.ra2-page .fp-hero h1.ra2-hero-title { --feature-title: 40px; }
@media (max-width: 767px) { .ra2-page .fp-hero h1.ra2-hero-title { --feature-title: 28px; } }

/* Hero picture: larger, filling the hero beside the two-line title. The title column keeps the 690px its
   first line needs; on wide screens the picture also reaches into the empty right margin. */
@media (min-width: 1240px) {
  .ra2-page .fp-hero-grid { grid-template-columns: minmax(0, 690px) minmax(0, 1fr); gap: 32px; }
  .ra2-page .fp-hero-art { padding-top: 0; margin-right: -40px; }
}
@media (min-width: 1360px) { .ra2-page .fp-hero-art { margin-right: -96px; } }

/* What You Get: eight compact cards, each with a title, one grey line and four check-mark items. */
.ra2-page .ra2-asks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ra2-page .ra2-ask { margin: 0; padding: 20px 20px 22px; }
.ra2-page .ra2-ask h3 { margin: 0; }
.ra2-page .ra2-ask .ra2-ask-line { margin: 2px 0 14px; color: var(--fp-grey, #475569); font-size: 14px; line-height: 20px; }
.ra2-page .ra2-ask .fp-checks { gap: 10px; }
.ra2-page .ra2-ask .fp-checks li { gap: 10px; line-height: 1.45; }
@media (max-width: 1023.98px) { .ra2-page .ra2-asks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .ra2-page .ra2-asks { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* Screening block as one card: soft lavender fill, square corners and a lavender edge; report cards stay white. */
.ra2-page .ra2-screen { padding: 48px; background: #F5F1FF; border: 2px solid #DCD3FB; border-radius: 0; }
@media (max-width: 1023.98px) { .ra2-page .ra2-screen { padding: 32px 24px; } }
@media (max-width: 599.98px) { .ra2-page .ra2-screen { padding: 24px 16px; } }
/* Report cards inside the screening card: square corners to match; badges, avatar and gauge keep their shapes. */
.ra2-page .ra2-screen-report :is(.psc-card, .psc-kv > span) { border-radius: 0; }
