@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,200;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rhm-nav-h: 64px;

  --rhm-dark:       #1C2820;
  --rhm-cream:      #F6F0E8;
  --rhm-white:      #FDFAF6;
  --rhm-terra:      #A84E2A;
  --rhm-terra-fill: #C4603A;
  --rhm-sage:       #5F8C72;
  --rhm-sage-dark:  #3E6B50;

  --rhm-text-dark:       #1C2820;
  --rhm-text-muted:      #4A5E52;
  --rhm-text-light:      #F6F0E8;
  --rhm-text-muted-dark: #8FBF9F;

  --rhm-radius:    8px;
  --rhm-radius-lg: 16px;
  --rhm-shadow:    0 2px 12px rgba(28,40,32,0.10);
  --rhm-shadow-lg: 0 8px 32px rgba(28,40,32,0.14);

  --ff-head: 'Fraunces', Georgia, serif;
  --ff-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rhm-text-dark);
  background: var(--rhm-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.rhm-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.rhm-container--narrow {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}


/* ---- NAVIGATION ---- */

.rhm-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--rhm-nav-h);
  background: var(--rhm-dark);
  z-index: 100;
  display: flex;
  align-items: center;
}

.rhm-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.rhm-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.rhm-nav__logo img {
  height: 32px;
  width: auto;
}

.rhm-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.rhm-nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--rhm-text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.rhm-nav__links a:hover {
  color: var(--rhm-cream);
  opacity: 0.85;
}

.rhm-nav__links a.rhm-nav__link--active {
  color: var(--rhm-cream);
  border-bottom: 2px solid var(--rhm-terra-fill);
  padding-bottom: 2px;
}

.rhm-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rhm-nav__sign-in {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--rhm-text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.rhm-nav__sign-in:hover {
  color: var(--rhm-cream);
  opacity: 0.8;
}

.rhm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.rhm-hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--rhm-text-light);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.rhm-hamburger[aria-expanded="true"] .rhm-hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.rhm-hamburger[aria-expanded="true"] .rhm-hamburger__bar:nth-child(2) {
  opacity: 0;
}
.rhm-hamburger[aria-expanded="true"] .rhm-hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.rhm-nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--rhm-nav-h);
  left: 0; right: 0;
  background: var(--rhm-dark);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(246,240,232,0.1);
}

.rhm-nav__mobile-menu.rhm-nav__mobile-menu--open {
  display: flex;
}

.rhm-nav__mobile-menu li {
  border-bottom: 1px solid rgba(246,240,232,0.08);
}

.rhm-nav__mobile-menu a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--rhm-text-light);
  text-decoration: none;
}

.rhm-nav__mobile-cta {
  margin-top: 1.25rem;
}


/* ---- BUTTONS ---- */

.rhm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--rhm-radius);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.1s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.rhm-btn:active { transform: translateY(1px); }

.rhm-btn--primary {
  background: var(--rhm-terra);
  color: #FDFAF6;
  border-color: var(--rhm-terra);
}
.rhm-btn--primary:hover {
  background: #924227;
  border-color: #924227;
}

.rhm-btn--outline-on-dark {
  background: transparent;
  color: var(--rhm-cream);
  border-color: rgba(246,240,232,0.55);
}
.rhm-btn--outline-on-dark:hover {
  border-color: var(--rhm-cream);
  background: rgba(246,240,232,0.08);
}

.rhm-btn--ghost-on-dark {
  background: transparent;
  color: var(--rhm-cream);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rhm-btn--ghost-on-dark:hover {
  color: #fff;
}

.rhm-btn--outline-on-light {
  background: transparent;
  color: var(--rhm-text-dark);
  border-color: rgba(28,40,32,0.4);
}
.rhm-btn--outline-on-light:hover {
  border-color: var(--rhm-text-dark);
  background: rgba(28,40,32,0.05);
}

.rhm-btn--ghost-on-light {
  background: transparent;
  color: var(--rhm-terra);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rhm-btn--ghost-on-light:hover {
  color: #924227;
}

.rhm-btn--white-on-terra {
  background: #FDFAF6;
  color: var(--rhm-terra);
  border-color: #FDFAF6;
}
.rhm-btn--white-on-terra:hover {
  background: var(--rhm-cream);
  border-color: var(--rhm-cream);
}

.rhm-btn--sm {
  padding: 0.425rem 1rem;
  font-size: 0.875rem;
}

.rhm-btn--lg {
  padding: 0.8rem 1.75rem;
  font-size: 1.0625rem;
}


/* ---- SECTION BACKGROUNDS ---- */

.rhm-s--dark {
  background: var(--rhm-dark);
  color: var(--rhm-text-light);
}

.rhm-s--cream {
  background: var(--rhm-cream);
  color: var(--rhm-text-dark);
}

.rhm-s--white {
  background: var(--rhm-white);
  color: var(--rhm-text-dark);
}

.rhm-s--light {
  background: #EEE8DF;
  color: var(--rhm-text-dark);
}

.rhm-s--light-alt {
  background: #E8E0D5;
  color: var(--rhm-text-dark);
}

.rhm-s--brand {
  background: var(--rhm-terra);
  color: #FDFAF6;
}

.rhm-s--dark .rhm-section-eyebrow,
.rhm-s--brand .rhm-section-eyebrow {
  color: var(--rhm-text-muted-dark);
}

.rhm-section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rhm-text-muted);
  margin-bottom: 0.875rem;
}

.rhm-section-title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.rhm-section-title--display {
  font-weight: 200;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
}

.rhm-s--dark .rhm-section-title,
.rhm-s--dark .rhm-section-title--display {
  color: var(--rhm-text-light);
}

.rhm-s--cream .rhm-section-title,
.rhm-s--cream .rhm-section-title--display,
.rhm-s--white .rhm-section-title,
.rhm-s--white .rhm-section-title--display,
.rhm-s--light .rhm-section-title,
.rhm-s--light .rhm-section-title--display,
.rhm-s--light-alt .rhm-section-title,
.rhm-s--light-alt .rhm-section-title--display {
  color: var(--rhm-text-dark);
}

.rhm-s--brand .rhm-section-title,
.rhm-s--brand .rhm-section-title--display {
  color: #FDFAF6;
}

.rhm-section-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  max-width: 680px;
}

.rhm-s--dark .rhm-section-sub {
  color: var(--rhm-text-muted-dark);
}

.rhm-s--cream .rhm-section-sub,
.rhm-s--white .rhm-section-sub,
.rhm-s--light .rhm-section-sub,
.rhm-s--light-alt .rhm-section-sub {
  color: var(--rhm-text-muted);
}

.rhm-s--brand .rhm-section-sub {
  color: rgba(253,250,246,0.85);
}

.rhm-section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.rhm-section-header .rhm-section-sub {
  margin: 0 auto;
}


/* ---- MAIN / LAYOUT SHELL ---- */

.rhm-main {
  padding-top: var(--rhm-nav-h);
  min-height: 100vh;
}

.rhm-main--no-nav {
  padding-top: 0;
}


/* ---- HERO (INDEX) ---- */

.rhm-hero {
  background: var(--rhm-dark);
  padding-top: clamp(5rem, 9vw, 7.5rem);
  padding-bottom: clamp(5rem, 9vw, 7.5rem);
}

.rhm-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.rhm-hero__text {
  max-width: 560px;
}

.rhm-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rhm-text-muted-dark);
  margin-bottom: 1rem;
}

.rhm-hero__h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--rhm-text-light);
  margin-bottom: 1.25rem;
}

.rhm-hero__h1 span {
  color: var(--rhm-terra-fill);
}

.rhm-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--rhm-text-muted-dark);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.rhm-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.rhm-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ---- BUYER MATCH CARD (inline mock) ---- */

.rhm-match-card {
  background: var(--rhm-white);
  border: 1px solid rgba(95,140,114,0.3);
  border-radius: var(--rhm-radius-lg);
  box-shadow: var(--rhm-shadow-lg);
  width: 320px;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  flex-shrink: 0;
  overflow: visible;
}

.rhm-match-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--rhm-terra);
  color: #FDFAF6;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
}

.rhm-match-card__avatars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  margin-bottom: 0.75rem;
  position: relative;
}

.rhm-match-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rhm-sage-dark);
  color: var(--rhm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--ff-body);
  border: 2px solid var(--rhm-white);
  flex-shrink: 0;
}

.rhm-match-card__arc {
  flex: 1;
  height: 24px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rhm-match-card__arc svg {
  width: 60px;
  height: 24px;
}

.rhm-match-card__house {
  width: 40px;
  height: 40px;
  background: rgba(95,140,114,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  flex-shrink: 0;
}

.rhm-match-card__house svg {
  width: 22px;
  height: 22px;
}

.rhm-match-card__stats {
  border-top: 1px solid rgba(95,140,114,0.2);
  padding-top: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.rhm-match-card__stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rhm-match-card__stat-label {
  font-size: 0.8125rem;
  color: var(--rhm-text-muted);
  font-weight: 500;
}

.rhm-match-card__stat-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
}

.rhm-match-card__score-bar {
  height: 6px;
  background: rgba(95,140,114,0.2);
  border-radius: 3px;
  flex: 1;
  min-width: 60px;
  overflow: hidden;
  margin: 0 0.5rem;
}

.rhm-match-card__score-fill {
  height: 100%;
  width: 91%;
  background: var(--rhm-terra);
  border-radius: 3px;
}


/* ---- SECTION: PROBLEM ---- */

.rhm-problem {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.rhm-problem__card {
  padding: 2rem;
  background: var(--rhm-white);
  border-radius: var(--rhm-radius);
  border: 1px solid rgba(95,140,114,0.15);
}

.rhm-problem__num {
  font-family: var(--ff-head);
  font-size: 2.5rem;
  font-weight: 200;
  color: var(--rhm-terra);
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}

.rhm-problem__card-title {
  font-family: var(--ff-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.rhm-problem__card-body {
  font-size: 0.9375rem;
  color: var(--rhm-text-muted);
  line-height: 1.65;
}


/* ---- SECTION: PROCESS PREVIEW ---- */

.rhm-process {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.rhm-process__step {
  position: relative;
}

.rhm-process__step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rhm-terra);
  color: #FDFAF6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.rhm-process__step-title {
  font-family: var(--ff-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.rhm-s--light-alt .rhm-process__step-title {
  color: var(--rhm-text-dark);
}

.rhm-process__step-body {
  font-size: 0.9375rem;
  color: var(--rhm-text-muted);
  line-height: 1.65;
}

.rhm-s--light-alt .rhm-process__step-body {
  color: var(--rhm-text-muted);
}


/* ---- SECTION: PLATFORM DEMO ---- */

.rhm-platform {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-platform__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.rhm-platform__headline {
  font-family: var(--ff-head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--rhm-text-light);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.rhm-platform__sub {
  color: var(--rhm-text-muted-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}


/* ---- AGREEMENT BUILDER MOCK ---- */

.rhm-agreement-preview {
  background: rgba(246,240,232,0.07);
  border: 1px solid rgba(246,240,232,0.12);
  border-radius: var(--rhm-radius-lg);
  overflow: hidden;
}

.rhm-agreement-preview__header {
  padding: 0.875rem 1.25rem;
  background: rgba(246,240,232,0.05);
  border-bottom: 1px solid rgba(246,240,232,0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rhm-agreement-preview__header-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rhm-text-muted-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rhm-agreement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(246,240,232,0.07);
  gap: 1rem;
}

.rhm-agreement-row:last-child {
  border-bottom: none;
}

.rhm-agreement-row__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.rhm-agreement-row__icon {
  color: var(--rhm-text-muted-dark);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rhm-agreement-row__icon svg {
  width: 14px;
  height: 14px;
}

.rhm-agreement-row__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rhm-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rhm-agreement-row__detail {
  font-size: 0.8125rem;
  color: var(--rhm-text-muted-dark);
}

.rhm-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.rhm-badge--set {
  background: rgba(95,140,114,0.25);
  color: var(--rhm-cream);
}

.rhm-badge--review {
  background: rgba(217,119,6,0.22);
  color: var(--rhm-cream);
}


/* ---- SECTION: TESTIMONIALS ---- */

.rhm-testimonials {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.rhm-testimonial-card {
  background: var(--rhm-cream);
  border-radius: var(--rhm-radius-lg);
  padding: 2.25rem;
  border: 1px solid rgba(95,140,114,0.12);
}

.rhm-testimonial-card__quote {
  font-family: var(--ff-head);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 400;
  color: var(--rhm-text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.rhm-testimonial-card__cite {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.rhm-testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rhm-sage-dark);
  color: var(--rhm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.rhm-testimonial-card__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rhm-text-dark);
  line-height: 1.3;
}

.rhm-testimonial-card__meta {
  font-size: 0.8125rem;
  color: var(--rhm-text-muted);
  margin-top: 0.25rem;
}

.rhm-testimonials__source-note {
  font-size: 0.8125rem;
  color: var(--rhm-text-muted);
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
}


/* ---- SECTION: PRICING TEASER ---- */

.rhm-pricing-teaser {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-pricing-teaser__tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
}

.rhm-tier-pill {
  background: var(--rhm-white);
  border-radius: var(--rhm-radius);
  padding: 1.5rem;
  border: 1px solid rgba(95,140,114,0.18);
  text-align: center;
}

.rhm-tier-pill__name {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  margin-bottom: 0.375rem;
}

.rhm-tier-pill__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rhm-terra);
  line-height: 1.2;
}

.rhm-tier-pill__billing {
  font-size: 0.8125rem;
  color: var(--rhm-text-muted);
  margin-top: 0.25rem;
}

.rhm-pricing-teaser__cta-row {
  text-align: center;
}


/* ---- SECTION: CTA BOTTOM ---- */

.rhm-cta-bottom {
  padding-block: clamp(4rem, 7vw, 6rem);
  text-align: center;
}

.rhm-cta-bottom__h2 {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #FDFAF6;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.rhm-cta-bottom__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.rhm-cta-bottom__secondary-link {
  font-size: 0.9375rem;
  color: rgba(253,250,246,0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.rhm-cta-bottom__secondary-link:hover {
  color: #FDFAF6;
}


/* ---- FOOTER ---- */

.rhm-footer {
  background: var(--rhm-dark);
  color: var(--rhm-text-light);
  padding-block: 4rem 2.5rem;
}

.rhm-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.rhm-footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rhm-footer__logo {
  display: inline-flex;
  align-items: center;
}

.rhm-footer__logo img {
  height: 28px;
  width: auto;
}

.rhm-footer__tagline {
  font-size: 0.9375rem;
  color: var(--rhm-text-muted-dark);
  line-height: 1.5;
  max-width: 260px;
}

.rhm-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.rhm-footer__contact a,
.rhm-footer__contact span {
  font-size: 0.875rem;
  color: var(--rhm-text-muted-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.rhm-footer__contact a:hover {
  color: var(--rhm-cream);
}

.rhm-footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rhm-text-muted-dark);
  margin-bottom: 1rem;
}

.rhm-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.rhm-footer__links a {
  font-size: 0.9375rem;
  color: var(--rhm-text-light);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.2s;
}

.rhm-footer__links a:hover {
  opacity: 1;
}

.rhm-footer__bottom {
  border-top: 1px solid rgba(246,240,232,0.1);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.rhm-footer__copy {
  font-size: 0.875rem;
  color: var(--rhm-text-muted-dark);
}

.rhm-footer__legal-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.rhm-footer__legal-links a {
  font-size: 0.875rem;
  color: var(--rhm-text-muted-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.rhm-footer__legal-links a:hover {
  color: var(--rhm-text-light);
}

.rhm-footer__not-lender {
  font-size: 0.8125rem;
  color: rgba(143,191,159,0.7);
  margin-top: 0.25rem;
}


/* ---- SUBPAGE HERO ---- */

.rhm-subhero {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.rhm-subhero__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.rhm-subhero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rhm-text-muted);
  margin-bottom: 1rem;
}

.rhm-s--dark .rhm-subhero__eyebrow {
  color: var(--rhm-text-muted-dark);
}

.rhm-subhero__h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--rhm-text-dark);
  margin-bottom: 1.25rem;
}

.rhm-s--dark .rhm-subhero__h1 {
  color: var(--rhm-text-light);
}

.rhm-subhero__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--rhm-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.rhm-s--dark .rhm-subhero__sub {
  color: var(--rhm-text-muted-dark);
}

.rhm-subhero--two-col .rhm-subhero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.rhm-subhero__stat-band {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(246,240,232,0.07);
  border: 1px solid rgba(246,240,232,0.12);
  border-radius: var(--rhm-radius-lg);
}

.rhm-s--light .rhm-subhero__stat-band,
.rhm-s--cream .rhm-subhero__stat-band,
.rhm-s--white .rhm-subhero__stat-band {
  background: var(--rhm-white);
  border: 1px solid rgba(95,140,114,0.18);
}

.rhm-subhero__stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rhm-subhero__stat-val {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rhm-terra);
  line-height: 1;
}

.rhm-s--dark .rhm-subhero__stat-val {
  color: var(--rhm-terra-fill);
}

.rhm-subhero__stat-desc {
  font-size: 0.9rem;
  color: var(--rhm-text-muted);
  line-height: 1.4;
}

.rhm-s--dark .rhm-subhero__stat-desc {
  color: var(--rhm-text-muted-dark);
}


/* ---- HOW IT WORKS PAGE ---- */

.rhm-step-section {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-step-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.rhm-step-section__inner--flip {
  direction: rtl;
}

.rhm-step-section__inner--flip > * {
  direction: ltr;
}

.rhm-step-section__num {
  font-family: var(--ff-head);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rhm-terra);
  margin-bottom: 0.75rem;
}

.rhm-step-section__h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--rhm-text-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.rhm-step-section__body {
  font-size: 1rem;
  color: var(--rhm-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}


/* ---- EQUITY CALCULATOR MOCK ---- */

.rhm-equity-calc {
  background: var(--rhm-white);
  border: 1px solid rgba(95,140,114,0.2);
  border-radius: var(--rhm-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--rhm-shadow);
}

.rhm-equity-calc__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--rhm-text-muted);
  margin-bottom: 1.25rem;
}

.rhm-equity-calc__buyer {
  margin-bottom: 1.25rem;
}

.rhm-equity-calc__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.rhm-equity-calc__buyer-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rhm-text-dark);
}

.rhm-equity-calc__pct {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rhm-terra);
}

.rhm-equity-calc__slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: linear-gradient(to right, var(--rhm-terra) 60%, rgba(95,140,114,0.25) 60%);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.rhm-equity-calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rhm-terra);
  border: 2px solid #FDFAF6;
  box-shadow: 0 1px 4px rgba(28,40,32,0.2);
}

.rhm-equity-calc__slider-b {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: linear-gradient(to right, var(--rhm-sage) 40%, rgba(95,140,114,0.25) 40%);
  border-radius: 2px;
  outline: none;
  cursor: default;
}

.rhm-equity-calc__slider-b::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rhm-sage);
  border: 2px solid #FDFAF6;
  box-shadow: 0 1px 4px rgba(28,40,32,0.2);
}

.rhm-equity-calc__split-bar {
  height: 10px;
  border-radius: 5px;
  display: flex;
  overflow: hidden;
  margin: 1.25rem 0;
}

.rhm-equity-calc__split-bar__a {
  background: var(--rhm-terra);
  width: 60%;
  transition: width 0.2s;
}

.rhm-equity-calc__split-bar__b {
  background: var(--rhm-sage);
  flex: 1;
  transition: width 0.2s;
}

.rhm-equity-calc__outputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.rhm-equity-calc__output {
  background: var(--rhm-cream);
  border-radius: var(--rhm-radius);
  padding: 0.75rem;
}

.rhm-equity-calc__output-label {
  font-size: 0.75rem;
  color: var(--rhm-text-muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.rhm-equity-calc__output-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
}


/* ---- EXIT TERM BUILDER MOCK ---- */

.rhm-exit-builder {
  background: var(--rhm-cream);
  border: 1px solid rgba(168,78,42,0.2);
  border-radius: var(--rhm-radius-lg);
  padding: 1.75rem;
}

.rhm-exit-builder__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--rhm-text-muted);
  margin-bottom: 1.25rem;
}

.rhm-exit-builder__field {
  margin-bottom: 1.125rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid rgba(95,140,114,0.15);
}

.rhm-exit-builder__field:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rhm-exit-builder__field-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rhm-text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.rhm-exit-builder__field-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rhm-text-dark);
  background: var(--rhm-white);
  border: 1px solid rgba(168,78,42,0.3);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  display: block;
  width: 100%;
}

.rhm-exit-builder__toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rhm-exit-builder__toggle-val {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rhm-text-dark);
}

.rhm-exit-builder__toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: var(--rhm-sage);
  position: relative;
  flex-shrink: 0;
}

.rhm-exit-builder__toggle::after {
  content: '';
  position: absolute;
  right: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FDFAF6;
}


/* ---- FAQ ACCORDION ---- */

.rhm-faq {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(95,140,114,0.18);
  border-radius: var(--rhm-radius);
  overflow: hidden;
}

.rhm-faq__item {
  border-bottom: 1px solid rgba(95,140,114,0.15);
}

.rhm-faq__item:last-child {
  border-bottom: none;
}

.rhm-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--rhm-white);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  font-family: var(--ff-body);
  border: none;
  color: var(--rhm-text-dark);
}

.rhm-faq__question:hover {
  background: var(--rhm-cream);
}

.rhm-faq__question-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--rhm-text-dark);
  line-height: 1.4;
}

.rhm-faq__question-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(95,140,114,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rhm-sage-dark);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s, background 0.15s;
}

.rhm-faq__item--open .rhm-faq__question {
  background: var(--rhm-cream);
}

.rhm-faq__item--open .rhm-faq__question-icon {
  transform: rotate(45deg);
  background: var(--rhm-terra);
  color: #FDFAF6;
}

.rhm-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  background: var(--rhm-cream);
}

.rhm-faq__item--open .rhm-faq__answer {
  max-height: 400px;
}

.rhm-faq__answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--rhm-text-muted);
  line-height: 1.7;
}

.rhm-faq__answer-inner a {
  color: var(--rhm-terra);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ---- PRICING PAGE ---- */

.rhm-pricing-tiers {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-pricing-tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rhm-pricing-card {
  background: var(--rhm-cream);
  border-radius: var(--rhm-radius-lg);
  padding: 2.25rem;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.rhm-pricing-card--highlight {
  border-color: var(--rhm-terra);
  background: var(--rhm-white);
}

.rhm-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rhm-terra);
  color: #FDFAF6;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.875rem;
  border-radius: 20px;
  white-space: nowrap;
}

.rhm-pricing-card__name {
  font-family: var(--ff-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  margin-bottom: 0.375rem;
}

.rhm-pricing-card__price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rhm-terra);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.rhm-pricing-card__price-free {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rhm-sage-dark);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.rhm-pricing-card__billing {
  font-size: 0.875rem;
  color: var(--rhm-text-muted);
  margin-bottom: 1.5rem;
}

.rhm-pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
  flex: 1;
}

.rhm-pricing-card__features li {
  font-size: 0.9375rem;
  color: var(--rhm-text-muted);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.rhm-pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rhm-sage);
}


/* ---- COMPARISON TABLE MOCK ---- */

.rhm-compare {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--rhm-radius-lg);
  border: 1px solid rgba(95,140,114,0.18);
}

.rhm-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.rhm-compare-table thead tr {
  background: var(--rhm-dark);
}

.rhm-compare-table thead th {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  color: var(--rhm-text-light);
  letter-spacing: 0.03em;
}

.rhm-compare-table thead th:first-child {
  text-align: left;
  color: var(--rhm-text-muted-dark);
  font-weight: 500;
}

.rhm-compare-table tbody tr:nth-child(even) {
  background: var(--rhm-cream);
}

.rhm-compare-table tbody tr:nth-child(odd) {
  background: var(--rhm-white);
}

.rhm-compare-table td {
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  text-align: center;
  color: var(--rhm-text-muted);
  border-bottom: 1px solid rgba(95,140,114,0.1);
}

.rhm-compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--rhm-text-dark);
}

.rhm-compare-table__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rhm-terra);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FDFAF6;
  font-size: 0.75rem;
  font-weight: 700;
}

.rhm-compare-table__dash {
  color: var(--rhm-text-muted);
  opacity: 0.4;
  font-size: 1.125rem;
}


/* ---- CONTACT PAGE ---- */

.rhm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.rhm-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rhm-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rhm-form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rhm-text-dark);
}

.rhm-form-input,
.rhm-form-textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(95,140,114,0.3);
  border-radius: var(--rhm-radius);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--rhm-text-dark);
  background: var(--rhm-white);
  transition: border-color 0.18s;
  outline: none;
}

.rhm-form-input:focus,
.rhm-form-textarea:focus {
  border-color: var(--rhm-sage);
}

.rhm-form-textarea {
  min-height: 130px;
  resize: vertical;
}

.rhm-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rhm-contact-info__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rhm-text-muted);
  margin-bottom: 0.25rem;
}

.rhm-contact-info__value {
  font-size: 1rem;
  color: var(--rhm-text-dark);
  line-height: 1.5;
}

.rhm-contact-info__value a {
  color: var(--rhm-terra);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rhm-contact-not-lender {
  font-size: 0.875rem;
  color: var(--rhm-text-muted);
  padding: 1rem;
  background: rgba(95,140,114,0.08);
  border-radius: var(--rhm-radius);
  border-left: 3px solid var(--rhm-sage);
}

.rhm-form-feedback {
  display: none;
  padding: 1rem;
  border-radius: var(--rhm-radius);
  font-size: 0.9375rem;
  font-weight: 500;
}

.rhm-form-feedback--success {
  background: rgba(95,140,114,0.12);
  color: var(--rhm-sage-dark);
  border: 1px solid rgba(95,140,114,0.3);
}

.rhm-form-feedback--visible {
  display: block;
}


/* ---- ABOUT PAGE ---- */

.rhm-about-origin {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-about-origin__inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.rhm-about-origin__body {
  font-size: 1.0625rem;
  color: var(--rhm-text-muted);
  line-height: 1.75;
}

.rhm-about-origin__body p + p {
  margin-top: 1.25em;
}

.rhm-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.rhm-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rhm-team-card__avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 2px solid rgba(95,140,114,0.25);
}

.rhm-team-card__avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.rhm-team-card__initials {
  width: 100%;
  height: 100%;
  background: var(--rhm-sage);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--rhm-cream);
  font-size: 1.25rem;
  font-weight: 700;
}

.rhm-team-card__name {
  font-family: var(--ff-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  margin-bottom: 0.2rem;
}

.rhm-team-card__role {
  font-size: 0.875rem;
  color: var(--rhm-terra);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.rhm-team-card__bio {
  font-size: 0.9375rem;
  color: var(--rhm-text-muted);
  line-height: 1.65;
}

.rhm-mission-values {
  padding-block: clamp(4rem, 7vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.rhm-mission-value {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
}

.rhm-mission-value__text {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 200;
  color: var(--rhm-text-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.rhm-mission-value__text em {
  font-style: italic;
  color: var(--rhm-terra);
}


/* ---- BLOG INDEX ---- */

.rhm-blog-featured {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.rhm-blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--rhm-white);
  border-radius: var(--rhm-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(95,140,114,0.15);
}

.rhm-blog-featured-card__cover {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.rhm-blog-featured-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rhm-blog-featured-card__content {
  padding: 2rem 2.5rem 2rem 0;
}

.rhm-blog-featured-card__date {
  font-size: 0.8125rem;
  color: var(--rhm-text-muted);
  margin-bottom: 0.75rem;
}

.rhm-blog-featured-card__title {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--rhm-text-dark);
  line-height: 1.25;
  margin-bottom: 0.875rem;
}

.rhm-blog-featured-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.rhm-blog-featured-card__title a:hover {
  color: var(--rhm-terra);
}

.rhm-blog-featured-card__excerpt {
  font-size: 0.9375rem;
  color: var(--rhm-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.rhm-blog-grid {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.rhm-blog-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.rhm-blog-card {
  background: var(--rhm-cream);
  border-radius: var(--rhm-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(95,140,114,0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.rhm-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--rhm-shadow);
}

.rhm-blog-card__cover {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.rhm-blog-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  height: auto;
  aspect-ratio: 16/9;
}

.rhm-blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rhm-blog-card__meta {
  font-size: 0.75rem;
  color: var(--rhm-text-muted);
  font-weight: 500;
}

.rhm-blog-card__title {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  line-height: 1.35;
}

.rhm-blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.rhm-blog-card__title a:hover {
  color: var(--rhm-terra);
}

.rhm-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--rhm-text-muted);
  line-height: 1.6;
  margin-top: auto;
}


/* ---- ARTICLE TEMPLATE ---- */

.rhm-article-hero {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: 0;
}

.rhm-article-hero__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.rhm-article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rhm-terra);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.rhm-article-back:hover {
  color: #924227;
}

.rhm-article-back svg {
  width: 14px;
  height: 14px;
}

.rhm-article-hero__title {
  font-family: var(--ff-head);
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--rhm-text-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 820px;
}

.rhm-article-hero__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--rhm-text-muted);
  margin-bottom: 2rem;
}

.rhm-article-hero__byline strong {
  color: var(--rhm-text-dark);
  font-weight: 600;
}

.rhm-article-cover {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 0;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--rhm-radius) var(--rhm-radius) 0 0;
  overflow: hidden;
}

.rhm-article-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.rhm-blog-article {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.rhm-blog-article__content {
  max-width: 680px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.rhm-blog-article__content h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--rhm-text-dark);
  line-height: 1.25;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
}

.rhm-blog-article__content h3 {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.rhm-blog-article__content p {
  font-size: 1.0625rem;
  color: var(--rhm-text-muted);
  line-height: 1.78;
  margin-bottom: 1.25em;
}

.rhm-blog-article__content ul,
.rhm-blog-article__content ol {
  padding-left: 1.625rem;
  margin-bottom: 1.25em;
  list-style: disc;
}

.rhm-blog-article__content ol {
  list-style: decimal;
}

.rhm-blog-article__content li {
  font-size: 1.0625rem;
  color: var(--rhm-text-muted);
  line-height: 1.7;
  margin-bottom: 0.4em;
}

.rhm-blog-article__content blockquote {
  border-left: 3px solid var(--rhm-terra);
  margin-left: 0;
  padding: 0.75rem 1.25rem;
  background: var(--rhm-cream);
  border-radius: 0 var(--rhm-radius) var(--rhm-radius) 0;
  margin-bottom: 1.25em;
}

.rhm-blog-article__content blockquote p {
  font-style: italic;
  color: var(--rhm-text-dark);
  margin-bottom: 0;
}

.rhm-blog-article__content a {
  color: var(--rhm-terra);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rhm-article-related {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.rhm-article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.rhm-article-cta {
  padding-block: clamp(4rem, 7vw, 6rem);
  text-align: center;
}

.rhm-article-cta__h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--rhm-text-light);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.rhm-article-cta__sub {
  color: var(--rhm-text-muted-dark);
  font-size: 1rem;
  margin-bottom: 2rem;
}


/* ---- AUTH PAGES ---- */

.rhm-auth-page {
  min-height: 100vh;
  background: var(--rhm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.rhm-auth-card {
  background: var(--rhm-white);
  border-radius: var(--rhm-radius-lg);
  box-shadow: var(--rhm-shadow-lg);
  padding: 2.75rem 2.5rem;
  width: 100%;
  max-width: 420px;
}

.rhm-auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.rhm-auth-card__logo img {
  height: 32px;
  width: auto;
}

.rhm-auth-card__title {
  font-family: var(--ff-head);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.rhm-auth-card__sub {
  font-size: 0.9375rem;
  color: var(--rhm-text-muted);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.55;
}

.rhm-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.rhm-auth-form .rhm-form-label {
  color: var(--rhm-text-dark);
}

.rhm-auth-form .rhm-form-input {
  color: var(--rhm-text-dark);
  background: var(--rhm-white);
}

.rhm-auth-forgot {
  font-size: 0.875rem;
  color: var(--rhm-terra);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-align: right;
  display: block;
  margin-top: -0.5rem;
  margin-bottom: 0.25rem;
}

.rhm-auth-card__error {
  display: none;
  padding: 0.75rem 1rem;
  background: rgba(168,78,42,0.1);
  border: 1px solid rgba(168,78,42,0.3);
  border-radius: var(--rhm-radius);
  font-size: 0.9rem;
  color: var(--rhm-terra);
  text-align: center;
}

.rhm-auth-card__error--visible {
  display: block;
}

.rhm-auth-card__confirm {
  display: none;
  text-align: center;
}

.rhm-auth-card__confirm--visible {
  display: block;
}

.rhm-auth-card__confirm-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.rhm-auth-card__confirm-title {
  font-family: var(--ff-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  margin-bottom: 0.625rem;
}

.rhm-auth-card__confirm-body {
  font-size: 0.9375rem;
  color: var(--rhm-text-muted);
  line-height: 1.65;
}

.rhm-auth-card__divider {
  text-align: center;
  font-size: 0.875rem;
  color: var(--rhm-text-muted);
  margin-block: 1.25rem;
  position: relative;
}

.rhm-auth-card__divider::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(95,140,114,0.2);
}

.rhm-auth-card__divider span {
  position: relative;
  background: var(--rhm-white);
  padding-inline: 0.75rem;
}

.rhm-auth-card__switch {
  text-align: center;
  font-size: 0.875rem;
  color: var(--rhm-text-muted);
  margin-top: 1.25rem;
}

.rhm-auth-card__switch a {
  color: var(--rhm-terra);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rhm-auth-card__legal {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--rhm-text-muted);
  margin-top: 1.5rem;
  line-height: 1.55;
}

.rhm-auth-card__legal a {
  color: var(--rhm-terra);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ---- LEGAL CONTENT ---- */

.rhm-legal-header {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2.5rem;
}

.rhm-legal-header__h1 {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--rhm-text-dark);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.rhm-legal-header__meta {
  font-size: 0.9rem;
  color: var(--rhm-text-muted);
}

.rhm-legal-content {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--rhm-cream);
  color: var(--rhm-text-dark);
}

.rhm-legal-content__inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.rhm-legal-content__inner h2 {
  font-family: var(--ff-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.rhm-legal-content__inner h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rhm-text-dark);
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
}

.rhm-legal-content__inner p {
  font-size: 1rem;
  color: var(--rhm-text-muted);
  line-height: 1.75;
  margin-bottom: 1.125em;
}

.rhm-legal-content__inner ul,
.rhm-legal-content__inner ol {
  padding-left: 1.5rem;
  margin-bottom: 1.125em;
  list-style: disc;
}

.rhm-legal-content__inner ol {
  list-style: decimal;
}

.rhm-legal-content__inner li {
  font-size: 1rem;
  color: var(--rhm-text-muted);
  line-height: 1.7;
  margin-bottom: 0.35em;
}

.rhm-legal-content__inner a {
  color: var(--rhm-terra);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ---- COOKIE BANNER ---- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--rhm-dark);
  color: var(--rhm-text-light);
  z-index: 9999;
  padding: 1.25rem;
  border-top: 1px solid rgba(246,240,232,0.12);
  box-shadow: 0 -4px 20px rgba(28,40,32,0.25);
}

.cookie-banner__inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--rhm-text-muted-dark);
  line-height: 1.55;
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--rhm-text-muted-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.125rem;
  border-radius: var(--rhm-radius);
  cursor: pointer;
  border: 1.5px solid rgba(246,240,232,0.4);
  background: transparent;
  color: var(--rhm-text-light);
  transition: background 0.18s, border-color 0.18s;
}

.cookie-banner__btn--primary {
  background: var(--rhm-terra);
  color: #FDFAF6;
  border-color: var(--rhm-terra);
}

.cookie-banner__btn--primary:hover {
  background: #924227;
  border-color: #924227;
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--rhm-text-light);
  border-color: rgba(246,240,232,0.45);
}

.cookie-banner__btn--secondary:hover {
  background: rgba(246,240,232,0.1);
  border-color: rgba(246,240,232,0.7);
}


/* ---- PRICING FAQ ---- */

.rhm-pricing-faq {
  padding-block: clamp(4rem, 7vw, 6rem);
}


/* ---- CONTACT INFO SECTION ---- */

.rhm-contact-info-section {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.rhm-not-lender-notice {
  padding: 1.25rem 1.5rem;
  background: rgba(95,140,114,0.1);
  border: 1px solid rgba(95,140,114,0.25);
  border-radius: var(--rhm-radius);
  font-size: 0.9rem;
  color: var(--rhm-text-muted);
  line-height: 1.6;
  margin-top: 2rem;
}

.rhm-not-lender-notice strong {
  color: var(--rhm-text-dark);
}


/* ---- SUBHERO IMAGE ---- */

.rhm-subhero--img .rhm-subhero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.rhm-subhero__img-wrap {
  border-radius: var(--rhm-radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
}

.rhm-subhero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ---- FADE IN ANIMATIONS ---- */

.rhm-fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.rhm-fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}


/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {
  .rhm-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .rhm-hero__text {
    max-width: 100%;
  }
  .rhm-hero__ctas {
    justify-content: center;
  }
  .rhm-hero__visual {
    order: -1;
  }
  .rhm-platform__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .rhm-platform__sub {
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .rhm-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .rhm-testimonials__grid {
    grid-template-columns: 1fr;
  }
  .rhm-blog-featured-card {
    grid-template-columns: 1fr;
  }
  .rhm-blog-featured-card__content {
    padding: 1.5rem;
  }
  .rhm-contact-grid {
    grid-template-columns: 1fr;
  }
  .rhm-subhero--two-col .rhm-subhero__inner,
  .rhm-subhero--img .rhm-subhero__inner {
    grid-template-columns: 1fr;
  }
  .rhm-team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rhm-step-section__inner {
    grid-template-columns: 1fr;
  }
  .rhm-step-section__inner--flip {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .rhm-nav__links,
  .rhm-nav__actions {
    display: none;
  }
  .rhm-hamburger {
    display: flex;
  }
  .rhm-problem__grid {
    grid-template-columns: 1fr;
  }
  .rhm-process__steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .rhm-pricing-teaser__tiers {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }
  .rhm-pricing-tiers__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }
  .rhm-blog-grid__cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .rhm-article-related__grid {
    grid-template-columns: 1fr 1fr;
  }
  .rhm-team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
  .rhm-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .rhm-match-card {
    width: 100%;
    max-width: 300px;
  }
  .rhm-blog-grid__cards {
    grid-template-columns: 1fr;
  }
  .rhm-article-related__grid {
    grid-template-columns: 1fr;
  }
  .rhm-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .rhm-footer__legal-links {
    gap: 1rem;
  }
}
