/* ======================================================
   RMWL Who Is a Good Fit Page
   Recommended URL: /who-is-a-good-fit/
   ====================================================== */

:root {
  --rmwfit-purple: #693189;
  --rmwfit-gold: #b09b6e;
  --rmwfit-yellow: #f9d905;
  --rmwfit-text: #111111;
  --rmwfit-muted: #46433b;
  --rmwfit-white: #ffffff;
  --rmwfit-soft-purple: #f6f0fa;
  --rmwfit-warm-neutral: #f7f4ed;
  --rmwfit-soft-yellow: #fffdef;
  --rmwfit-border: rgba(105, 49, 137, 0.13);
  --rmwfit-gold-border: rgba(176, 155, 110, 0.30);
  --rmwfit-shadow: 0 12px 30px rgba(34, 16, 45, 0.07);
  --rmwfit-radius: 24px;
}

.rmwfit-page {
  color: var(--rmwfit-text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow: hidden;
}

.rmwfit-page *,
.rmwfit-page *::before,
.rmwfit-page *::after {
  box-sizing: border-box;
}

.rmwfit-page h1,
.rmwfit-page h2,
.rmwfit-page h3 {
  color: var(--rmwfit-purple);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.rmwfit-page h1 {
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.rmwfit-page h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.14;
  margin: 0 0 18px;
}

.rmwfit-page h3 {
  font-size: 24px;
  line-height: 1.22;
  margin: 0 0 10px;
}

.rmwfit-page p {
  margin: 0 0 16px;
}

.rmwfit-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.rmwfit-page section[id] {
  scroll-margin-top: 120px;
}

.rmwfit-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.rmwfit-section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.rmwfit-section-tight {
  padding: clamp(38px, 5vw, 62px) 0;
}

.rmwfit-section-soft {
  background:
    radial-gradient(circle at 84% 10%, rgba(176, 155, 110, 0.13), transparent 26%),
    linear-gradient(135deg, #fbf7fd 0%, #ffffff 100%);
}

.rmwfit-kicker,
.rmwfit-card-label {
  color: var(--rmwfit-gold) !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25 !important;
  margin: 0 0 10px !important;
  text-transform: uppercase;
}

.rmwfit-lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  max-width: 840px;
}

.rmwfit-heading {
  max-width: 940px;
  margin-bottom: 34px;
}

.rmwfit-heading p {
  font-size: 18px;
}

/* Hero */
.rmwfit-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(58px, 8vw, 100px) 0 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,253,239,0.90) 50%, rgba(246,240,250,0.84) 100%),
    radial-gradient(circle at 86% 32%, rgba(105,49,137,0.12), transparent 34%);
  overflow: hidden;
}

.rmwfit-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: end;
}

.rmwfit-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding-bottom: clamp(54px, 8vw, 100px);
}

.rmwfit-hero-media {
  position: relative;
  align-self: end;
  min-height: 600px;
}

.rmwfit-hero-watermark {
  position: absolute;
  right: clamp(-120px, -7vw, -60px);
  top: 50%;
  width: clamp(420px, 48vw, 760px);
  opacity: 0.10;
  transform: translateY(-50%);
  pointer-events: none;
}

.rmwfit-hero-image {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  height: 600px;
  margin-left: auto;
  margin-bottom: 0;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 0;
  box-shadow: none;
}

.rmwfit-hero-actions,
.rmwfit-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.rmwfit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rmwfit-btn:hover,
.rmwfit-btn:focus {
  transform: translateY(-1px);
}

.rmwfit-btn-gold {
  background: linear-gradient(135deg, #c8a85a 0%, #a7843d 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(105, 49, 137, 0.16);
}

.rmwfit-btn-gold:hover,
.rmwfit-btn-gold:focus {
  background: var(--rmwfit-purple);
  border-color: var(--rmwfit-purple);
  color: #ffffff !important;
}

.rmwfit-btn-outline {
  background: transparent;
  border-color: var(--rmwfit-purple);
  color: var(--rmwfit-purple) !important;
}

.rmwfit-btn-outline:hover,
.rmwfit-btn-outline:focus,
.rmwfit-btn-purple {
  background: var(--rmwfit-purple);
  color: #ffffff !important;
}

.rmwfit-btn-purple {
  border-color: var(--rmwfit-purple);
}

.rmwfit-btn-purple:hover,
.rmwfit-btn-purple:focus {
  background: var(--rmwfit-yellow);
  border-color: var(--rmwfit-yellow);
  color: #111111 !important;
}

.rmwfit-btn-outline-light {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff !important;
}

.rmwfit-btn-outline-light:hover,
.rmwfit-btn-outline-light:focus {
  background: #ffffff;
  color: var(--rmwfit-purple) !important;
}

.rmwfit-text-link {
  color: var(--rmwfit-purple) !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.rmwfit-text-link:hover,
.rmwfit-text-link:focus {
  color: #111111 !important;
}

/* Panels and grids */
.rmwfit-question-panel {
  background: #ffffff;
  border: 1px solid var(--rmwfit-border);
  border-radius: var(--rmwfit-radius);
  box-shadow: var(--rmwfit-shadow);
  padding: clamp(30px, 5vw, 52px);
}

.rmwfit-consult-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(44px, 6vw, 72px) 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(249, 217, 5, 0.16), transparent 26%),
    linear-gradient(135deg, #693189 0%, #52206d 100%);
  color: #ffffff;
}

.rmwfit-consult-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.rmwfit-consult-band h2,
.rmwfit-consult-band p {
  color: #ffffff;
}

.rmwfit-consult-band .rmwfit-kicker {
  color: var(--rmwfit-yellow) !important;
}

.rmwfit-consult-band p {
  max-width: 820px;
}

.rmwfit-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rmwfit-feature-grid article,
.rmwfit-profile-card,
.rmwfit-testimonial-slide {
  background: #ffffff;
  border: 1px solid var(--rmwfit-border);
  border-radius: var(--rmwfit-radius);
  box-shadow: var(--rmwfit-shadow);
}

.rmwfit-feature-grid article {
  padding: 24px;
}

.rmwfit-feature-grid ul {
  margin: 16px 0 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

.rmwfit-feature-grid li {
  position: relative;
  margin: 0 0 10px !important;
  padding-left: 30px !important;
  line-height: 1.45;
}

.rmwfit-feature-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 14px;
  height: 14px;
  border: 3px solid var(--rmwfit-purple);
  border-radius: 999px;
}

.rmwfit-feature-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: var(--rmwfit-soft-purple);
  border: 2px solid rgba(105, 49, 137, 0.18);
  border-radius: 999px;
  color: var(--rmwfit-purple);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.rmwfit-feature-grid article:nth-child(2) span,
.rmwfit-feature-grid article:nth-child(4) span {
  background: var(--rmwfit-soft-yellow);
  border-color: var(--rmwfit-gold-border);
  color: #7b642f;
}

.rmwfit-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rmwfit-profile-card {
  overflow: hidden;
}

.rmwfit-profile-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
}

.rmwfit-profile-image {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--rmwfit-warm-neutral);
}

.rmwfit-profile-card-wide .rmwfit-profile-image {
  aspect-ratio: auto;
  min-height: 360px;
}

.rmwfit-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rmwfit-profile-copy {
  padding: 28px;
}

.rmwfit-profile-copy p:last-child {
  margin-bottom: 0;
}

/* Testimonials */
.rmwfit-testimonials-section {
  background:
    radial-gradient(circle at 86% 8%, rgba(176, 155, 110, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fbf7fd 100%);
  color: var(--rmwfit-text);
}

.rmwfit-testimonials-section .rmwfit-heading {
  max-width: none;
}

.rmwfit-testimonials-section h2,
.rmwfit-testimonials-section h3,
.rmwfit-testimonials-section p,
.rmwfit-testimonials-section cite {
  color: var(--rmwfit-text);
}

.rmwfit-testimonial-rotator {
  position: relative;
  max-width: 920px;
}

.rmwfit-testimonial-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.rmwfit-testimonial-stage {
  display: grid;
}

.rmwfit-testimonial-slide {
  grid-area: 1 / 1;
  padding: clamp(30px, 5vw, 52px);
  background: #ffffff;
  border-color: var(--rmwfit-border);
  box-shadow: var(--rmwfit-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.rmwfit-testimonial-slide blockquote {
  margin: 0;
}

.rmwfit-testimonial-slide blockquote p {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.34 !important;
  color: var(--rmwfit-purple);
}

.rmwfit-testimonial-slide cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-weight: 700;
}

.rmwfit-disclaimer {
  margin-top: 22px;
  font-size: 14px;
  opacity: 0.88;
}

#rmwfit-story-1:checked ~ .rmwfit-testimonial-stage .rmwfit-slide-1,
#rmwfit-story-2:checked ~ .rmwfit-testimonial-stage .rmwfit-slide-2,
#rmwfit-story-3:checked ~ .rmwfit-testimonial-stage .rmwfit-slide-3,
#rmwfit-story-4:checked ~ .rmwfit-testimonial-stage .rmwfit-slide-4 {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.rmwfit-testimonial-controls {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.rmwfit-testimonial-controls label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(105, 49, 137, 0.32);
  border-radius: 999px;
  color: var(--rmwfit-purple);
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

#rmwfit-story-1:checked ~ .rmwfit-testimonial-controls label[for="rmwfit-story-1"],
#rmwfit-story-2:checked ~ .rmwfit-testimonial-controls label[for="rmwfit-story-2"],
#rmwfit-story-3:checked ~ .rmwfit-testimonial-controls label[for="rmwfit-story-3"],
#rmwfit-story-4:checked ~ .rmwfit-testimonial-controls label[for="rmwfit-story-4"] {
  background: var(--rmwfit-yellow);
  border-color: var(--rmwfit-yellow);
  color: #111111;
}

#rmwfit-story-1:focus-visible ~ .rmwfit-testimonial-controls label[for="rmwfit-story-1"],
#rmwfit-story-2:focus-visible ~ .rmwfit-testimonial-controls label[for="rmwfit-story-2"],
#rmwfit-story-3:focus-visible ~ .rmwfit-testimonial-controls label[for="rmwfit-story-3"],
#rmwfit-story-4:focus-visible ~ .rmwfit-testimonial-controls label[for="rmwfit-story-4"] {
  outline: 3px solid var(--rmwfit-yellow);
  outline-offset: 3px;
}

.rmwfit-question-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  background:
    radial-gradient(circle at 84% 8%, rgba(176, 155, 110, 0.16), transparent 28%),
    linear-gradient(135deg, #fffdef 0%, #ffffff 100%);
  border-color: var(--rmwfit-gold-border);
}

.rmwfit-question-panel h2 {
  font-size: clamp(36px, 5vw, 58px);
}

.rmwfit-question-copy p {
  max-width: 760px;
}

.rmwfit-question-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.rmwfit-question-note {
  background: rgba(246, 240, 250, 0.84);
  border: 1px solid var(--rmwfit-border);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(34, 16, 45, 0.08);
  padding: clamp(24px, 4vw, 36px);
}

.rmwfit-question-note p {
  margin-bottom: 0;
  color: var(--rmwfit-muted);
  font-size: 20px;
  line-height: 1.55;
}

/* CTA */
.rmwfit-cta {
  padding: clamp(58px, 7vw, 88px) 0;
  background: #ffffff;
  color: #ffffff;
  text-align: center;
}

.rmwfit-cta .rmwfit-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(36px, 6vw, 68px) 28px;
  background: var(--rmwfit-purple);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(34, 16, 45, 0.12);
}

.rmwfit-cta h2,
.rmwfit-cta p {
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.rmwfit-cta h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.rmwfit-cta .rmwfit-kicker {
  color: var(--rmwfit-yellow) !important;
}

.rmwfit-cta-actions {
  justify-content: center;
}

/* Accessibility */
.rmwfit-page a:focus,
.rmwfit-page button:focus {
  outline: 3px solid var(--rmwfit-yellow);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .rmwfit-hero-grid,
  .rmwfit-profile-card-wide,
  .rmwfit-question-panel {
    grid-template-columns: 1fr;
  }

  .rmwfit-hero-media {
    min-height: 420px;
  }

  .rmwfit-hero-image {
    width: 100%;
    height: 420px;
  }

  .rmwfit-hero-copy {
    padding-bottom: 0;
  }

  .rmwfit-hero-watermark {
    right: -190px;
  }

  .rmwfit-profile-grid,
  .rmwfit-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rmwfit-question-panel .rmwfit-btn,
  .rmwfit-consult-inner .rmwfit-btn {
    justify-self: start;
  }

  .rmwfit-consult-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .rmwfit-container {
    width: min(100% - 28px, 1180px);
  }

  .rmwfit-hero {
    padding: 50px 0;
  }

  .rmwfit-hero-media {
    display: none;
  }

  .rmwfit-profile-grid,
  .rmwfit-feature-grid {
    grid-template-columns: 1fr;
  }

  .rmwfit-hero-actions,
  .rmwfit-consult-inner,
  .rmwfit-question-actions,
  .rmwfit-cta-actions {
    display: block;
  }

  .rmwfit-btn {
    width: 100%;
    margin-bottom: 12px;
  }

  .rmwfit-question-panel h2 {
    font-size: 34px;
  }

  .rmwfit-question-note p {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .rmwfit-page h1 {
    font-size: 42px;
  }

  .rmwfit-page h2 {
    font-size: 32px;
  }

  .rmwfit-section,
  .rmwfit-section-tight {
    padding: 42px 0;
  }

  .rmwfit-question-panel {
    border-radius: 18px;
    padding: 24px 18px;
  }

  .rmwfit-profile-copy,
  .rmwfit-feature-grid article {
    padding: 22px;
  }
}
