/*
 * FYSH on phones and tablets: one compact layer over the buyer site.
 * Everything is scoped to .rp[data-site='buyers'] and to widths up to 1023px,
 * so realease.pro and the desktop layout stay exactly as they are.
 * Phone: up to 599px. Tablet: 600px to 1023px.
 */

/* The platform cookie dialog is 24rem wide; keep it inside small screens. */
.-translate-x-1\/2 > .w-lg.max-w-sm {
  max-width: min(24rem, calc(100vw - 2rem));
}

@media (max-width: 1023px) {
  /* Type, rhythm and surfaces */
  .rp[data-site='buyers'] {
    --r: 16px;
    --bronze-text: #7f6439;
    --shadow: 0 1px 2px rgba(36, 36, 64, 0.05), 0 10px 28px -14px rgba(36, 36, 64, 0.16);
    font-size: 16.5px;
    line-height: 1.58;
  }
  .rp[data-site='buyers'] h1 {
    font-size: 34px;
    line-height: 1.06;
  }
  .rp[data-site='buyers'] h2 {
    font-size: 26px;
    line-height: 1.12;
  }
  .rp[data-site='buyers'] h3 {
    font-size: 19px;
    line-height: 1.22;
  }
  .rp[data-site='buyers'] .lead {
    font-size: 17px;
    line-height: 1.55;
  }
  .rp[data-site='buyers'] .eyebrow,
  .rp[data-site='buyers'] .of-n,
  .rp[data-site='buyers'] .jstep .who,
  .rp[data-site='buyers'] .phase-tag {
    color: var(--bronze-text);
  }
  .rp[data-site='buyers'] .section {
    padding-block: 60px;
  }
  .rp[data-site='buyers'] .section-tight {
    padding-block: 44px;
  }
  .rp[data-site='buyers'] .section.flush-top {
    padding-top: 0;
  }
  .rp[data-site='buyers'] .section-head.flush {
    margin: 0;
  }
  .rp[data-site='buyers'] .page-head {
    padding-block: 36px 24px;
  }
  .rp[data-site='buyers'] .page-head h1 {
    margin-top: 10px;
  }
  .rp[data-site='buyers'] .page-head .lead {
    margin-top: 14px;
  }
  .rp[data-site='buyers'] .section-head {
    gap: 12px;
    margin-bottom: 28px;
  }
  .rp[data-site='buyers'] .of-page {
    padding-bottom: 64px;
  }

  /* Nothing scrolls sideways: chips and filters wrap inside the screen */
  .rp[data-site='buyers'] .of-chips,
  .rp[data-site='buyers'] .of-filters .wrap {
    flex-wrap: wrap;
    overflow: visible;
  }
  .rp[data-site='buyers'] .of-chip.is-zero:not(.is-on) {
    display: none;
  }
  .rp[data-site='buyers'] .of-chip,
  .rp[data-site='buyers'] .of-sel .rp-sel {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.875rem;
  }
  .rp[data-site='buyers'] .of-chip {
    gap: 6px;
  }

  /* Buttons: smaller, and a lone button sits on the left */
  .rp[data-site='buyers'] .btn {
    min-height: 44px;
    padding: 0 1.2em;
    font-size: 0.9rem;
  }
  .rp[data-site='buyers'] .of-more {
    justify-content: flex-start;
  }
  .rp[data-site='buyers'] .cta-band > .btn,
  .rp[data-site='buyers'] .cta-band > a {
    justify-self: start;
  }
  .rp[data-site='buyers'] .of-gate {
    text-align: left;
  }
  .rp[data-site='buyers'] .of-gate p {
    margin-inline: 0;
  }

  /* Numbered points: the number on the line of the title */
  .rp[data-site='buyers'] .of-steps li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: baseline;
  }
  .rp[data-site='buyers'] .of-steps .of-n {
    grid-row: 1;
  }
  .rp[data-site='buyers'] .of-steps h3,
  .rp[data-site='buyers'] .of-steps p {
    grid-column: 2;
  }
  .rp[data-site='buyers'] .of-steps h3 {
    grid-row: 1;
    margin-top: 0;
  }
  .rp[data-site='buyers'] .jstep {
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: baseline;
  }
  .rp[data-site='buyers'] .jstep h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 10px;
  }
  .rp[data-site='buyers'] .jstep .who {
    margin-top: 0;
  }

  /* Homepage */
  .rp[data-site='buyers'] .of-field .rp-sel::before {
    content: '';
    position: absolute;
    inset: 0;
  }
  .rp[data-site='buyers'] .of-search {
    box-shadow:
      0 1px 2px rgba(36, 36, 64, 0.05),
      0 16px 40px -22px rgba(36, 36, 64, 0.24);
  }
  .rp[data-site='buyers'] .of-coastbar {
    margin-top: 28px;
  }
  .rp[data-site='buyers'] .of-listhead {
    margin: 22px 0 14px;
  }
  .rp[data-site='buyers'] .of-listhead h2,
  .rp[data-site='buyers'] .of-results-h {
    font-size: 21px;
  }
  .rp[data-site='buyers'] .of-find .of-grid,
  .rp[data-site='buyers'] .of-offer .of-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .rp[data-site='buyers'] .of-more {
    margin-top: 26px;
  }
  .rp[data-site='buyers'] .of-sfy {
    margin-top: 48px;
    border-radius: 20px;
  }
  .rp[data-site='buyers'] .of-sfy-copy {
    gap: 12px;
  }
  .rp[data-site='buyers'] .of-sfy-copy h2 {
    font-size: 24px;
  }
  .rp[data-site='buyers'] .of-sfy-list {
    gap: 2px;
  }
  .rp[data-site='buyers'] .of-sfy-list li {
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: none;
  }
  .rp[data-site='buyers'] .of-sfy-list li + li {
    border-top: 1px solid var(--line);
  }
  .rp[data-site='buyers'] .of-steps {
    margin-top: 48px;
  }
  .rp[data-site='buyers'] .of-steps h3 {
    margin-top: 8px;
    font-size: 19px;
  }
  .rp[data-site='buyers'] .of-steps p {
    font-size: 15px;
  }

  /* Offer */
  .rp[data-site='buyers'] .of-head {
    padding: 28px 0 4px;
  }
  .rp[data-site='buyers'] .of-filters {
    margin-top: 16px;
  }
  .rp[data-site='buyers'] .of-offer {
    margin-top: 22px;
  }
  .rp[data-site='buyers'] .of-results-h {
    margin-bottom: 14px;
  }

  /* Property page */
  .rp[data-site='buyers'] .of-crumb a {
    display: inline-block;
    padding-block: 6px;
  }
  .rp[data-site='buyers'] .of-pd-body {
    gap: 32px;
    margin-top: 24px;
  }
  .rp[data-site='buyers'] .of-pd-title {
    font-size: 30px;
  }
  .rp[data-site='buyers'] .of-pd-text {
    margin-top: 22px;
  }
  .rp[data-site='buyers'] .of-pd-h2 {
    margin-top: 32px;
    font-size: 20px;
  }
  .rp[data-site='buyers'] .of-lead {
    padding: 22px;
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .rp[data-site='buyers'] .of-nearby {
    margin-top: 52px;
  }

  /* Search profile: the example card only shows what is already filled in */
  .rp[data-site='buyers'] .zp {
    padding-block: 28px 52px;
  }
  .rp[data-site='buyers'] .zp-sum > div:has(> dd.is-empty) {
    display: none;
  }
  .rp[data-site='buyers'] .zp-side .app:not(:has(.zp-sum dd:not(.is-empty))) {
    display: none;
  }
  .rp[data-site='buyers'] .zp-step h2 {
    font-size: 26px;
  }

  /* How it works */
  .rp[data-site='buyers'] .statement {
    gap: 14px;
    margin-bottom: 36px;
  }
  .rp[data-site='buyers'] .statement-text {
    font-size: 28px;
    line-height: 1.18;
  }
  .rp[data-site='buyers'] .cols3 {
    gap: 24px;
  }
  .rp[data-site='buyers'] .cols3 > div {
    gap: 8px;
    padding-top: 16px;
  }
  .rp[data-site='buyers'] .cols3 h3 {
    font-size: 20px;
  }
  .rp[data-site='buyers'] .phase-head h3 {
    font-size: 24px;
  }
  .rp[data-site='buyers'] .jstep {
    padding: 18px 0;
  }
  .rp[data-site='buyers'] .jstep h3 {
    font-size: 20px;
  }
  .rp[data-site='buyers'] .jstep .tn {
    font-size: 20px;
    color: var(--bronze-text);
  }
  .rp[data-site='buyers'] .jstep dl > div {
    padding: 6px 0;
  }
  .rp[data-site='buyers'] .jstep dl > div:not(:first-child),
  .rp[data-site='buyers'] .jstep dl > div:first-child dt {
    display: none;
  }
  .rp[data-site='buyers'] .jstep dl > div:first-child {
    grid-template-columns: minmax(0, 1fr);
  }
  .rp[data-site='buyers'] .handover {
    margin-block: 32px;
    padding: 24px;
    gap: 20px;
  }
  .rp[data-site='buyers'] .ho-copy h2 {
    font-size: 26px;
  }
  .rp[data-site='buyers'] .tour-grid {
    margin-top: 36px;
  }
  .rp[data-site='buyers'] .tour-grid figcaption h3 {
    font-size: 19px;
  }
  .rp[data-site='buyers'] .faq summary {
    padding: 16px 0;
    font-size: 18px;
  }
  .rp[data-site='buyers'] .faq details p {
    padding-bottom: 16px;
  }

  /* About */
  .rp[data-site='buyers'] .about-stack {
    gap: 36px;
  }
  .rp[data-site='buyers'] .pull {
    font-size: 26px;
    line-height: 1.25;
  }
  .rp[data-site='buyers'] .person {
    padding: 22px;
  }

  /* Platform header and footer, only on FYSH */
  :root:has(.rp[data-site='buyers']) header .container > button,
  :root:has(.rp[data-site='buyers']) header .ml-auto a {
    position: relative;
  }
  :root:has(.rp[data-site='buyers']) header .container > button::after,
  :root:has(.rp[data-site='buyers']) header .ml-auto a::after {
    content: '';
    position: absolute;
    inset: -4px;
  }
  :root:has(.rp[data-site='buyers']) footer > .container {
    gap: 24px;
    padding-top: 36px;
  }
  :root:has(.rp[data-site='buyers']) footer > .container > div:first-child {
    gap: 24px;
  }
  :root:has(.rp[data-site='buyers']) footer nav > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 16px;
  }
  :root:has(.rp[data-site='buyers']) footer nav h2 {
    margin-bottom: 4px;
  }
  :root:has(.rp[data-site='buyers']) footer nav ul ul > li {
    margin: 0;
  }
  :root:has(.rp[data-site='buyers']) footer nav ul ul a {
    min-height: 34px;
    align-items: center;
  }
  :root:has(.rp[data-site='buyers']) footer .gap-1\.5 > a,
  :root:has(.rp[data-site='buyers']) footer .gap-1\.5 > button {
    width: 40px;
    height: 40px;
    justify-content: center;
  }
}

@media (max-width: 599px) {
  /* Type, rhythm and surfaces */
  .rp[data-site='buyers'] {
    --r: 14px;
    font-size: 16px;
    line-height: 1.55;
  }
  .rp[data-site='buyers'] h1 {
    font-size: 30px;
    line-height: 1.08;
  }
  .rp[data-site='buyers'] h2 {
    font-size: 24px;
    line-height: 1.15;
  }
  .rp[data-site='buyers'] h3 {
    font-size: 18px;
    line-height: 1.25;
  }
  .rp[data-site='buyers'] .lead {
    font-size: 16px;
  }
  .rp[data-site='buyers'] .section {
    padding-block: 44px;
  }
  .rp[data-site='buyers'] .section-tight {
    padding-block: 36px;
  }
  .rp[data-site='buyers'] .page-head {
    padding-block: 24px 16px;
  }
  .rp[data-site='buyers'] .section-head {
    gap: 10px;
    margin-bottom: 22px;
  }
  .rp[data-site='buyers'] .section-head > .eyebrow::before,
  .rp[data-site='buyers'] .section-head > div > .eyebrow::before,
  .rp[data-site='buyers'] .statement > .eyebrow::before,
  .rp[data-site='buyers'] .split-copy > .eyebrow::before,
  .rp[data-site='buyers'] .cta-band > div > .eyebrow::before {
    display: none;
  }
  .rp[data-site='buyers'] .of-page {
    padding-bottom: 48px;
  }

  /* Cards two across everywhere, inside the screen; the homepage shows four */
  .rp[data-site='buyers'] .of-find .of-grid,
  .rp[data-site='buyers'] .of-offer .of-grid,
  .rp[data-site='buyers'] .of-nearby .of-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
  }
  .rp[data-site='buyers'] .of-find .of-grid > li:nth-child(n + 5) {
    display: none;
  }
  .rp[data-site='buyers'] .of-grid .of-ph {
    border-radius: 12px;
  }
  .rp[data-site='buyers'] .of-grid .of-tag {
    top: 8px;
    left: 8px;
    padding: 5px 7px;
    font-size: 0.66rem;
  }
  .rp[data-site='buyers'] .of-grid .of-tag.is-pick::before {
    width: 5px;
    height: 5px;
    margin-right: 5px;
  }
  .rp[data-site='buyers'] .of-grid .of-where {
    margin-top: 8px;
    font-size: 0.75rem;
  }
  .rp[data-site='buyers'] .of-grid .of-title {
    margin-top: 2px;
    font-size: 0.9rem;
    line-height: 1.25;
  }
  .rp[data-site='buyers'] .of-grid .of-price {
    margin-top: 4px;
    font-size: 0.98rem;
  }
  .rp[data-site='buyers'] .of-grid .of-specs {
    margin-top: 4px;
    font-size: 0.75rem;
  }
  .rp[data-site='buyers'] .of-grid .of-specs span + span::before {
    margin: 0 5px;
  }

  /* Chips, filters and buttons a size down */
  .rp[data-site='buyers'] .of-chips {
    gap: 6px;
  }
  .rp[data-site='buyers'] .of-chip,
  .rp[data-site='buyers'] .of-sel .rp-sel {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.82rem;
  }
  .rp[data-site='buyers'] .btn {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.875rem;
  }
  .rp[data-site='buyers'] .of-search .btn {
    min-height: 44px;
    border-radius: 14px;
  }
  .rp[data-site='buyers'] .of-submit {
    min-height: 44px;
  }

  /* Offer filters: two by two, not sticky, the count below */
  .rp[data-site='buyers'] .of-filters {
    position: static;
    border-bottom: 0;
    background: none;
    backdrop-filter: none;
  }
  .rp[data-site='buyers'] .of-filters .wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .rp[data-site='buyers'] .of-sel .rp-sel {
    width: 100%;
    justify-content: space-between;
  }
  .rp[data-site='buyers'] .of-count {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    padding: 0;
    font-size: 0.82rem;
  }

  /* Homepage */
  .rp[data-site='buyers'] .of-find {
    padding-top: 20px;
  }
  .rp[data-site='buyers'] .of-search {
    margin-top: 16px;
  }
  .rp[data-site='buyers'] .of-field {
    min-height: 56px;
    padding: 8px 14px;
  }
  .rp[data-site='buyers'] .of-search .btn {
    min-height: 44px;
    margin-top: 4px;
  }
  .rp[data-site='buyers'] .of-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rp[data-site='buyers'] .of-field .rp-sel {
    min-width: 0;
    white-space: normal;
    text-align: left;
  }
  .rp[data-site='buyers'] .of-curate {
    margin-top: 12px;
    font-size: 0.9rem;
  }
  .rp[data-site='buyers'] .of-coastbar {
    margin-top: 22px;
  }
  .rp[data-site='buyers'] .of-listhead {
    margin: 18px 0 12px;
  }
  .rp[data-site='buyers'] .of-listhead h2,
  .rp[data-site='buyers'] .of-results-h {
    font-size: 20px;
  }
  .rp[data-site='buyers'] .of-listhead p {
    font-size: 0.85rem;
  }
  .rp[data-site='buyers'] .of-more {
    margin-top: 18px;
  }
  .rp[data-site='buyers'] .of-sfy {
    margin-top: 36px;
    border-radius: 16px;
  }
  .rp[data-site='buyers'] .of-sfy-copy {
    padding: 22px 18px;
  }
  .rp[data-site='buyers'] .of-sfy-copy h2 {
    font-size: 22px;
  }
  .rp[data-site='buyers'] .of-sfy-copy p {
    font-size: 15px;
  }
  .rp[data-site='buyers'] .of-sfy-list {
    padding: 10px 18px;
  }
  .rp[data-site='buyers'] .of-sfy-list li {
    font-size: 0.88rem;
  }
  .rp[data-site='buyers'] .of-steps {
    margin-top: 32px;
  }
  .rp[data-site='buyers'] .of-steps li,
  .rp[data-site='buyers'] .of-steps li + li {
    padding: 14px 0;
  }
  .rp[data-site='buyers'] .of-steps h3 {
    margin-top: 6px;
    font-size: 17px;
  }
  .rp[data-site='buyers'] .of-steps p {
    margin-top: 4px;
    font-size: 14.5px;
  }
  .rp[data-site='buyers'] .of-steps-foot {
    margin-top: 14px;
  }

  /* Offer */
  .rp[data-site='buyers'] .of-head {
    padding: 20px 0 2px;
  }
  .rp[data-site='buyers'] .of-head .lead {
    margin-top: 8px;
    font-size: 15px;
  }
  .rp[data-site='buyers'] .of-chips-m {
    margin-top: 14px;
  }
  .rp[data-site='buyers'] .of-filters {
    margin-top: 10px;
  }
  .rp[data-site='buyers'] .of-filters .wrap {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .rp[data-site='buyers'] .of-offer {
    margin-top: 18px;
  }
  .rp[data-site='buyers'] .of-results-h {
    margin-bottom: 12px;
  }
  .rp[data-site='buyers'] .of-gate {
    margin-top: 24px;
    padding: 22px 18px;
    border-radius: 16px;
  }

  /* Property page */
  .rp[data-site='buyers'] .of-pd {
    padding-top: 10px;
    padding-bottom: 96px;
  }
  .rp[data-site='buyers'] .of-gal-m {
    aspect-ratio: 3 / 2;
    margin-top: 8px;
  }
  .rp[data-site='buyers'] .of-gal-m-slider > button:not(.of-gal-m-open) {
    width: 40px;
    height: 40px;
    justify-content: center;
  }
  .rp[data-site='buyers'] .of-pd-body {
    gap: 28px;
    margin-top: 18px;
  }
  .rp[data-site='buyers'] .of-pd-title {
    font-size: 25px;
  }
  .rp[data-site='buyers'] .of-pd-loc {
    margin-top: 4px;
    font-size: 15px;
  }
  .rp[data-site='buyers'] .of-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
  }
  .rp[data-site='buyers'] .of-facts div {
    padding: 10px 8px;
  }
  .rp[data-site='buyers'] .of-facts div:nth-child(3) {
    border-left: 1px solid var(--line);
  }
  .rp[data-site='buyers'] .of-facts div:nth-child(n + 3) {
    border-top: 0;
  }
  .rp[data-site='buyers'] .of-facts dt {
    font: 500 0.7rem/1.2 var(--f-body);
    letter-spacing: 0;
    text-transform: none;
  }
  .rp[data-site='buyers'] .of-facts dd {
    margin-top: 5px;
    font-size: clamp(0.8rem, 3.9vw, 0.95rem);
    line-height: 1.15;
    white-space: nowrap;
  }
  .rp[data-site='buyers'] .of-pd-text {
    margin-top: 18px;
    font-size: 15.5px;
  }
  .rp[data-site='buyers'] .of-pd-h2 {
    margin-top: 28px;
    font-size: 19px;
  }
  .rp[data-site='buyers'] .of-feat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    margin-top: 8px;
  }
  .rp[data-site='buyers'] .of-feat div {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 9px 0;
  }
  .rp[data-site='buyers'] .of-feat dt {
    font-size: 0.66rem;
  }
  .rp[data-site='buyers'] .of-feat dd {
    font-size: 15px;
  }
  .rp[data-site='buyers'] .of-amen {
    gap: 10px 16px;
    margin-top: 12px;
  }
  .rp[data-site='buyers'] .of-amen li {
    gap: 10px;
    font-size: 0.88rem;
  }
  .rp[data-site='buyers'] .of-amen svg {
    padding: 7px;
  }
  .rp[data-site='buyers'] .of-area {
    margin-top: 12px;
    padding: 16px;
  }
  .rp[data-site='buyers'] .of-lead {
    padding: 18px;
    border-radius: 18px;
  }
  .rp[data-site='buyers'] .of-lead-price {
    font-size: 1.6rem;
  }
  .rp[data-site='buyers'] .of-seg {
    margin-top: 14px;
  }
  .rp[data-site='buyers'] .of-lead-form {
    gap: 10px;
    margin-top: 14px;
  }
  .rp[data-site='buyers'] .of-lead-intro {
    font-size: 0.9rem;
  }
  .rp[data-site='buyers'] .of-route {
    padding-top: 12px;
    font-size: 0.8rem;
  }
  .rp[data-site='buyers'] .of-nearby {
    margin-top: 40px;
  }
  .rp[data-site='buyers'] .of-mbar {
    padding-top: 8px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }

  /* Search profile */
  .rp[data-site='buyers'] .zp {
    padding-block: 18px 36px;
  }
  .rp[data-site='buyers'] .zp-title {
    font-size: 30px;
  }
  .rp[data-site='buyers'] .zp-main .lead {
    margin-top: 8px;
  }
  .rp[data-site='buyers'] .zp-card {
    gap: 18px;
    padding: 18px;
  }
  .rp[data-site='buyers'] .zp-nav {
    margin: 0 -18px -18px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .rp[data-site='buyers'] .zp-step h2 {
    font-size: 22px;
  }
  .rp[data-site='buyers'] .zp-grid {
    gap: 28px;
  }
  .rp[data-site='buyers'] .zp-side {
    gap: 22px;
  }

  /* How it works */
  .rp[data-site='buyers'] .frow-stage {
    padding: 14px;
  }
  .rp[data-site='buyers'] .statement {
    gap: 10px;
    margin-bottom: 28px;
  }
  .rp[data-site='buyers'] .statement-text {
    font-size: 23px;
    line-height: 1.2;
  }
  .rp[data-site='buyers'] .cols3 {
    gap: 18px;
  }
  .rp[data-site='buyers'] .cols3 > div {
    gap: 6px;
    padding-top: 14px;
  }
  .rp[data-site='buyers'] .cols3 h3 {
    font-size: 18px;
  }
  .rp[data-site='buyers'] .cols3 p {
    font-size: 15px;
  }
  .rp[data-site='buyers'] .phase-head {
    gap: 8px;
    margin-bottom: 8px;
  }
  .rp[data-site='buyers'] .phase-head h3 {
    font-size: 21px;
  }
  .rp[data-site='buyers'] .jstep {
    row-gap: 6px;
    padding: 14px 0;
  }
  .rp[data-site='buyers'] .jstep h3 {
    font-size: 18px;
  }
  .rp[data-site='buyers'] .jstep .tn {
    font-size: 18px;
  }
  .rp[data-site='buyers'] .jstep .who {
    margin-top: 4px;
    font-size: 0.68rem;
  }
  .rp[data-site='buyers'] .jstep dd {
    font-size: 15px;
  }
  .rp[data-site='buyers'] .jstep dt {
    font-size: 0.66rem;
  }
  .rp[data-site='buyers'] .handover {
    margin-block: 24px;
    padding: 20px 18px;
    gap: 16px;
    border-radius: 18px;
  }
  .rp[data-site='buyers'] .ho-icon {
    width: 44px;
    height: 44px;
  }
  .rp[data-site='buyers'] .ho-icon svg {
    height: 20px;
  }
  .rp[data-site='buyers'] .ho-copy {
    gap: 8px;
  }
  .rp[data-site='buyers'] .ho-copy h2 {
    font-size: 22px;
  }
  .rp[data-site='buyers'] .ho-carry {
    padding: 12px 14px;
  }
  .rp[data-site='buyers'] .ho-carry li {
    padding: 6px 0;
    font-size: 0.88rem;
  }
  .rp[data-site='buyers'] .tour-grid {
    margin-top: 28px;
    row-gap: 28px;
  }
  .rp[data-site='buyers'] .tour-grid .frow-stage {
    padding: 12px;
  }
  .rp[data-site='buyers'] .tour-grid figcaption h3 {
    font-size: 17px;
  }
  .rp[data-site='buyers'] .tour-grid figcaption p {
    font-size: 0.88rem;
  }
  .rp[data-site='buyers'] .faq summary {
    padding: 14px 0;
    font-size: 16.5px;
  }
  .rp[data-site='buyers'] .faq details p {
    padding-bottom: 14px;
    font-size: 15px;
  }
  .rp[data-site='buyers'] .cta-band {
    gap: 18px;
  }
  .rp[data-site='buyers'] .closing-alt {
    padding-top: 16px;
    font-size: 0.88rem;
  }

  .rp[data-site='buyers'] .page-head .frow-stage {
    padding: 10px;
  }
  .rp[data-site='buyers'] .page-head .ui-steps li {
    padding: 0.45rem 0;
  }

  /* About */
  .rp[data-site='buyers'] .split {
    gap: 24px;
  }
  .rp[data-site='buyers'] .split-media {
    aspect-ratio: 16 / 9;
  }
  .rp[data-site='buyers'] .prose {
    gap: 14px;
    font-size: 15.5px;
  }
  .rp[data-site='buyers'] .about-stack {
    gap: 28px;
  }
  .rp[data-site='buyers'] .pull {
    font-size: 21px;
    line-height: 1.28;
  }
  .rp[data-site='buyers'] .people {
    gap: 12px;
  }
  .rp[data-site='buyers'] .person {
    padding: 18px;
    gap: 6px;
    font-size: 15px;
  }
  .rp[data-site='buyers'] .person {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
  }
  .rp[data-site='buyers'] .person > * {
    grid-column: 1 / -1;
  }
  .rp[data-site='buyers'] .person .initials {
    grid-column: 1;
    width: 44px;
    height: 44px;
    margin: 0;
    font-size: 1.05rem;
  }
  .rp[data-site='buyers'] .person h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 19px;
  }
  .rp[data-site='buyers'] .person .person-link {
    justify-self: start;
  }

  /* Platform footer, two columns */
  :root:has(.rp[data-site='buyers']) footer > .container {
    gap: 20px;
    padding-top: 32px;
  }
  :root:has(.rp[data-site='buyers']) footer > .container > div:first-child {
    gap: 20px;
  }
  :root:has(.rp[data-site='buyers']) footer nav > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }
}

/* Tablet: side by side where the width carries it */
@media (min-width: 720px) and (max-width: 1023px) {
  .rp[data-site='buyers'] .tour-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    column-gap: 20px;
  }
  .rp[data-site='buyers'] .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }
  .rp[data-site='buyers'] .split-media {
    aspect-ratio: 4 / 4.4;
  }
  .rp[data-site='buyers'] .cols3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rp[data-site='buyers'] .people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rp[data-site='buyers'] .of-sfy {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
  .rp[data-site='buyers'] .of-sfy-list {
    padding: 18px 22px;
  }

  /* How it works: folded steps two across */
  .rp[data-site='buyers'] .jsteps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
  .rp[data-site='buyers'] .jstep:last-child {
    border-bottom: 0;
  }

  /* Property page: the lead panel beside the facts, as on desktop */
  .rp[data-site='buyers'] .of-gal {
    grid-template-rows: 170px 170px;
  }
  .rp[data-site='buyers'] .of-pd-body {
    grid-template-columns: minmax(0, 1fr) 316px;
    gap: 24px;
  }
  .rp[data-site='buyers'] .of-lead {
    position: sticky;
    top: 72px;
    padding: 18px;
  }
  .rp[data-site='buyers'] .of-lead-price {
    font-size: 1.6rem;
  }
  .rp[data-site='buyers'] .of-facts div {
    padding: 12px 8px;
  }
  .rp[data-site='buyers'] .of-facts dt {
    font: 500 0.75rem/1.2 var(--f-body);
    letter-spacing: 0;
    text-transform: none;
  }
  .rp[data-site='buyers'] .of-facts dd {
    margin-top: 6px;
    font-size: 0.95rem;
    white-space: nowrap;
  }
  .rp[data-site='buyers'] .of-seg button {
    font-size: 0.8rem;
  }
  .rp[data-site='buyers'] .of-feat div {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 9px 0;
  }
  .rp[data-site='buyers'] .of-amen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
