body.resident-page {
  --rp-navy: var(--navy);
  --rp-ink: var(--ink);
  --rp-muted: var(--muted);
  --rp-cyan: var(--blue-2);
  background: #fff;
  color: var(--rp-ink);
}

body.resident-page .rp-hero {
  position: relative;
  height: auto;
  overflow: hidden;
  isolation: isolate;
  padding: 52px 24px 0;
  background: #eef3f5 url("assets/resident-portal-lobby.webp") center 44% / cover no-repeat;
  text-align: center;
}

body.resident-page .rp-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 250, 251, 0.8) 0%, rgba(247, 250, 251, 0.58) 45%, rgba(247, 250, 251, 0.24) 100%);
  content: none;
}

body.resident-page .rp-intro {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin-inline: auto;
}

body.resident-page .rp-intro h1 {
  margin: 0;
  color: var(--rp-navy);
  font-size: 3.25rem;
  font-weight: 750;
  line-height: 1.12;
}

body.resident-page .rp-subtitle {
  margin: 0 auto 4px;
  color: var(--rp-navy);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.22;
}

body.resident-page .rp-description {
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

body.resident-page .rp-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

body.resident-page .rp-stage {
  position: relative;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(1000px, calc(100% - 40px));
  height: 415px;
  margin: 24px auto 0;
}

body.resident-page .rp-phone {
  position: absolute;
  top: 0;
  left: 50%;
  width: 360px;
  height: 560px;
  overflow: hidden;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 28px rgba(19, 37, 56, 0.18));
}

body.resident-page .rp-phone img {
  width: 119%;
  max-width: none;
  height: auto;
  margin-top: -31%;
  margin-left: -9%;
  clip-path: inset(16.4% 9% 0 7.5% round 12% 12% 0 0 / 8% 8% 0 0);
}

body.resident-page .rp-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  color: var(--rp-navy);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

body.resident-page .rp-callout-line {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-width: 58px;
  height: 1px;
  background: var(--rp-cyan);
}

body.resident-page .rp-callout-dot {
  position: absolute;
  top: 50%;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rp-cyan);
  transform: translateY(-50%);
}

body.resident-page .rp-callout-calls {
  top: 78px;
  right: calc(50% + 178px);
}

body.resident-page .rp-callout-calls .rp-callout-line,
body.resident-page .rp-callout-guests .rp-callout-line {
  order: 1;
}

body.resident-page .rp-callout-calls .rp-callout-dot,
body.resident-page .rp-callout-guests .rp-callout-dot {
  right: -3px;
}

body.resident-page .rp-callout-guests {
  top: 292px;
  right: calc(50% + 178px);
}

body.resident-page .rp-callout-updates {
  top: 110px;
  left: calc(50% + 178px);
  justify-content: flex-end;
  text-align: left;
}

body.resident-page .rp-callout-updates .rp-callout-line {
  order: -1;
}

body.resident-page .rp-callout-updates .rp-callout-dot {
  right: auto;
  left: -3px;
}

body.resident-page .rp-benefits {
  position: relative;
  z-index: 2;
  padding: 36px 24px 38px;
  background: #fff;
}

body.resident-page .rp-benefits-inner {
  width: min(1200px, 100%);
  margin-inline: auto;
}

body.resident-page .rp-benefits-inner h2 {
  max-width: 760px;
  margin: 0 auto 40px;
  color: var(--rp-navy);
  font-size: 38px;
  line-height: 1.18;
  text-align: center;
}

body.resident-page .rp-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}

body.resident-page .rp-benefit-grid article {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
}

body.resident-page .rp-benefit-icon {
  width: 58px;
  height: 58px;
  color: var(--blue-2);
  margin-bottom: 18px;
  object-fit: contain;
}

body.resident-page .rp-benefit-grid h3 {
  margin: 0 0 10px;
  color: var(--rp-navy);
  font-size: 21px;
  line-height: 1.25;
}

body.resident-page .rp-benefit-grid p {
  margin: 0;
  color: var(--rp-muted);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  body.resident-page .rp-hero {
    height: 670px;
    padding-top: 42px;
    background-position: 54% center;
  }

  body.resident-page .rp-intro h1 {
    font-size: 2.6rem;
  }

  body.resident-page .rp-subtitle {
    max-width: 760px;
    font-size: 1.4rem;
  }

  body.resident-page .rp-description {
    max-width: 700px;
    font-size: 1rem;
  }

  body.resident-page .rp-stage {
    width: min(820px, calc(100% - 32px));
    height: 360px;
  }

  body.resident-page .rp-phone {
    width: 305px;
    height: 475px;
  }

  body.resident-page .rp-callout {
    width: 260px;
    gap: 9px;
    font-size: 16px;
  }

  body.resident-page .rp-callout-calls {
    top: 90px;
  }

  body.resident-page .rp-callout-updates {
    top: 115px;
  }

  body.resident-page .rp-callout-guests {
    bottom: 80px;
  }
}

@media (max-width: 600px) {
  body.resident-page .rp-hero {
    height: 680px;
    padding: 34px 18px 0;
    background-position: 57% center;
  }

  body.resident-page .rp-hero::before {
    background: linear-gradient(180deg, rgba(247, 250, 251, 0.92), rgba(247, 250, 251, 0.68) 55%, rgba(247, 250, 251, 0.32));
  }

  body.resident-page .rp-intro h1 {
    margin-bottom: 10px;
    font-size: 42px;
  }

  body.resident-page .rp-subtitle {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.28;
  }

  body.resident-page .rp-description {
    font-size: 16px;
    line-height: 1.5;
  }

  body.resident-page .rp-actions {
    gap: 9px;
    margin-top: 17px;
  }

  body.resident-page .rp-stage {
    width: calc(100% - 24px);
    height: 330px;
  }

  body.resident-page .rp-phone {
    top: 18px;
    width: 225px;
    height: 350px;
  }

  body.resident-page .rp-phone img {
    clip-path: inset(16.4% 9% 0 7.5% round 12% 12% 0 0 / 8% 8% 0 0);
  }

  body.resident-page .rp-callout {
    width: 152px;
    gap: 6px;
    font-size: 12px;
  }

  body.resident-page .rp-callout-line {
    min-width: 21px;
  }

  body.resident-page .rp-callout-calls {
    top: 94px;
    left: 0;
  }

  body.resident-page .rp-callout-guests {
    bottom: 42px;
    left: 0;
  }

  body.resident-page .rp-callout-updates {
    top: 116px;
    right: 0;
  }

  body.resident-page .rp-benefits {
    padding: 42px 20px 52px;
  }

  body.resident-page .rp-benefits-inner h2 {
    margin-bottom: 28px;
    font-size: 28px;
  }

  body.resident-page .rp-benefit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  body.resident-page .rp-benefit-grid article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    padding-top: 16px;
  }

  body.resident-page .rp-benefit-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  body.resident-page .rp-benefit-grid h3 {
    font-size: 18px;
  }

  body.resident-page .rp-benefit-grid p {
    font-size: 15px;
  }
}

.resident-page .rp-feature-details { padding: 0; background: var(--paper); }
.resident-page .rp-feature-details > .pd-wrap { width: 100%; }
.resident-page .rp-icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.resident-page .rp-feature-details h2, .resident-page .rp-roadmap h2 { font-size: 2.35rem; line-height: 1.16; color: var(--navy); }
.resident-page .rp-detail-row { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 64px; align-items: center; padding: 56px max(32px,calc((100% - 1180px)/2)); }
.resident-page .rp-detail-row h2 { font-size: 1.85rem; line-height: 1.25; margin: 0 0 16px; }
.resident-page #virtual-keys { background: #fff; }
.resident-page .rp-detail-row h3 { font-size: 1.65rem; line-height: 1.25; margin: 0 0 18px; color: var(--navy); }
.resident-page .rp-detail-row p, .resident-page .rp-detail-list, .resident-page .rp-more-features p { color: var(--muted); }
.resident-page .rp-detail-row .eyebrow { color: var(--blue-2); }
.resident-page .rp-detail-list { padding-left: 22px; margin-bottom: 0; font-weight: 600; }
.resident-page .rp-detail-list li::marker { color: var(--blue-2); }
.resident-page .rp-detail-list li + li { margin-top: 10px; }
.resident-page .rp-notice { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; border-top: 4px solid var(--blue); box-shadow: 0 10px 24px rgba(20,40,71,.06); }
.resident-page .rp-notice h4, .resident-page .rp-key-flow h4 { font-size: 1.25rem; color: var(--navy); margin: 0 0 12px; }
.resident-page .rp-notice-time { font-size: .9rem; }
.resident-page .rp-notice-from { border-top: 1px solid var(--line); padding-top: 18px; margin: 24px 0 0; font-size: .9rem; }
.resident-page .rp-key-flow ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.resident-page .rp-key-flow li { position: relative; min-width: 0; text-align: center; }
.resident-page .rp-key-flow li + li::before { content: '\2192'; position: absolute; left: -18px; top: 18px; color: #a7b8cb; font-size: 23px; }
.resident-page .rp-feature-symbol { display: inline-grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; color: var(--blue-2); background: #e8f3fd; }
.resident-page .rp-feature-symbol svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.resident-page .rp-key-flow .rp-feature-symbol { margin-bottom: 16px; }
.resident-page .rp-key-flow strong { display: block; font-size: 1rem; line-height: 1.35; min-height: 2.7em; }
.resident-page .rp-key-flow p { font-size: .9rem; line-height: 1.6; }
.resident-page .rp-key-flow li > span { color: var(--blue-2); font-weight: 750; }
.resident-page .rp-key-flow strong { color: var(--navy); }
.resident-page .rp-key-flow p { margin: 4px 0 0; }
.resident-page .rp-more-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; padding: 36px max(32px,calc((100% - 1180px)/2)) 20px; }
.resident-page .rp-more-features article { display: flex; gap: 18px; min-width: 0; }
.resident-page .rp-more-features article + article { border-left: 1px solid var(--line); padding-left: 24px; }
.resident-page .rp-more-features .text-link { display: inline-block; font-size: .9rem; margin-top: 8px; }
.resident-page .rp-feature-details .rp-availability { max-width: 1180px; margin: 0 auto; padding: 0 32px 28px; }
.resident-page .rp-more-features h3 { font-size: 1.2rem; color: var(--navy); margin: 0 0 12px; }
.resident-page .rp-availability { font-size: .875rem; line-height: 1.6; color: var(--muted); margin: 24px 0 0; }
.resident-page .rp-roadmap { padding: 44px 0; background: #fff; text-align: center; }
.resident-page .rp-roadmap h2 { font-size: 1.85rem; margin-bottom: 16px; }
.resident-page .rp-roadmap .pd-wrap > p { margin-inline: auto; }
.resident-page .rp-roadmap .pd-wrap > p:not(.eyebrow) { max-width: 760px; }
@media (max-width: 980px) {
  .resident-page .rp-detail-row { gap: 32px; }
  .resident-page .rp-more-features article { display: block; }
  .resident-page .rp-more-features .rp-feature-symbol { margin-bottom: 16px; }
  .resident-page .rp-detail-row { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 650px) {
  .resident-page .rp-roadmap { padding-block: 44px; }
  .resident-page .rp-feature-details h2, .resident-page .rp-roadmap h2 { font-size: 1.85rem; }
  .resident-page .rp-detail-row { grid-template-columns: minmax(0,1fr); padding: 36px 18px; }
  .resident-page .rp-detail-row h3 { font-size: 1.4rem; }
  .resident-page .rp-more-features { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 28px 18px; }
  .resident-page .rp-more-features article { display: flex; }
  .resident-page .rp-more-features article + article { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .resident-page .rp-feature-details .rp-availability { padding-inline: 18px; }
  .resident-page .rp-key-flow ol { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .resident-page .rp-key-flow li { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 18px; text-align: left; }
  .resident-page .rp-key-flow li + li::before { content: none; }
  .resident-page .rp-key-flow strong { min-height: 0; }
  .resident-page .rp-notice { padding: 22px; }
}

/* Keep the approved composition and remove inherited product-page sizing. */
.resident-page .rp-actions .button { gap: 12px; }
.resident-page .rp-actions .button span { font-size: 27px; line-height: 1; }
.resident-page .rp-callout-line { flex: 0 0 54px; width: 54px; min-width: 0; }
.resident-page .rp-callout-calls .rp-callout-line, .resident-page .rp-callout-guests .rp-callout-line { order: 1; }
.resident-page .rp-callout-updates .rp-callout-line { order: -1; }
.resident-page .rp-benefit-grid article + article { border-left: 1px solid #dde5ee; padding-left: 26px; }
@media (max-width: 980px) {
  body.resident-page .rp-hero { height: auto; }
  body.resident-page .rp-callout { width: auto; }
  body.resident-page .rp-callout-calls, body.resident-page .rp-callout-guests { left: auto; right: calc(50% + 151px); }
  body.resident-page .rp-callout-updates { right: auto; left: calc(50% + 151px); }
  body.resident-page .rp-callout-guests { top: 265px; bottom: auto; }
  .resident-page .rp-callout-line { flex-basis: 30px; width: 30px; }
  body.resident-page .rp-benefit-grid article { grid-template-columns: 40px minmax(0,1fr); gap: 12px; }
  body.resident-page .rp-benefit-icon { width: 38px; height: 38px; }
}
@media (max-width: 650px) {
  body.resident-page .rp-hero { height: auto; padding: 28px 16px 0; }
  body.resident-page .rp-intro h1 { font-size: 2.15rem; }
  body.resident-page .rp-subtitle { font-size: 1.25rem; margin-top: 8px; }
  body.resident-page .rp-description { font-size: 16px; }
  body.resident-page .rp-stage { height: 385px; width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-content: start; gap: 10px; }
  body.resident-page .rp-phone { top: 70px; width: 270px; height: 500px; }
  body.resident-page .rp-callout { position: static; display: block; font-size: 14px; text-align: center; border-top: 2px solid var(--blue-2); padding-top: 8px; }
  body.resident-page .rp-callout-line { display: none; }
  body.resident-page .rp-benefits h2 { font-size: 27px; }
  body.resident-page .rp-benefit-grid { grid-template-columns: minmax(0,1fr); }
  body.resident-page .rp-benefit-grid article + article { border-left: 0; border-top: 1px solid #dde5ee; padding: 22px 0 0; }
}
