/* RightHeartFinder V8.8.21: PUBLIC homepage trial only.
   Existing hero artwork, signup/login modals, member UI and JS APIs are preserved. */
body.landing{--rhf-navy:#112a49;--rhf-blue:#236b95;--rhf-coral:#fb5365;--rhf-soft:#f5f8fc;background:#fff}
body.landing .rhf-public-nav{background:#102c4c;color:#fff;display:flex;justify-content:center;align-items:center;gap:clamp(10px,2.3vw,34px);padding:12px 17px;position:sticky;top:0;z-index:9;overflow-x:auto;scrollbar-width:none;white-space:nowrap;border-bottom:1px solid #ffffff24}
body.landing .rhf-public-nav::-webkit-scrollbar{display:none}
body.landing .rhf-public-nav a{color:#f0f7ff;text-decoration:none;font-size:clamp(11px,1.15vw,13px);font-weight:700;padding:8px 4px;border-radius:5px}
body.landing .rhf-public-nav a:hover,body.landing .rhf-public-nav a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:5px}
body.landing [id="how-it-works"],body.landing [id="features"],body.landing [id="membership"],body.landing [id="safety-first"]{scroll-margin-top:70px}
body.landing .rhf-home-wrap{max-width:1110px;margin-inline:auto;padding:0 24px}
body.landing .rhf-kicker{display:inline-block;letter-spacing:.16em;font-weight:900;font-size:11px;color:#d24e65}
body.landing .rhf-home-intro{text-align:center;max-width:890px;padding:83px 20px 84px;margin:auto}
body.landing .rhf-home-intro h2{font-family:Georgia,serif;color:#152d48;font-size:clamp(2rem,5vw,3.45rem);letter-spacing:-.035em;line-height:1.12;margin:17px auto}
body.landing .rhf-home-intro h2 em{font-style:normal;color:#d34c66}
body.landing .rhf-home-intro>p{max-width:650px;margin:0 auto;font-size:clamp(15px,2vw,18px);line-height:1.75;color:#64758a}
body.landing .rhf-intro-chips{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:26px}
body.landing .rhf-intro-chips span{border:1px solid #dfebf1;background:#f4f9fc;border-radius:999px;padding:10px 15px;color:#316386;font-size:12px;font-weight:800}
body.landing .rhf-home-band{padding:89px 0}
body.landing .rhf-section-heading{text-align:center;margin:0 auto 42px;max-width:690px}
body.landing .rhf-section-heading h2{font-family:Georgia,serif;color:#163451;font-size:clamp(29px,4.1vw,45px);margin:13px 0 13px;line-height:1.15;letter-spacing:-.025em}
body.landing .rhf-section-heading p{color:#6d7d8f;font-size:16px;line-height:1.6;margin:0}
body.landing .rhf-home-how{background:linear-gradient(145deg,#0e2b4f,#125579);color:#fff}
body.landing .rhf-home-how .rhf-section-heading h2{color:#fff}
body.landing .rhf-home-how .rhf-section-heading p{color:#c8e0f2}
body.landing .rhf-home-how .rhf-kicker{color:#ffb4b9}
body.landing .rhf-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.landing .rhf-step{background:rgba(255,255,255,.105);border:1px solid rgba(255,255,255,.19);padding:27px 22px 30px;border-radius:22px;min-height:275px;position:relative}
body.landing .rhf-step-number{font-size:12px;font-weight:900;color:#94cce3;letter-spacing:.1em}
body.landing .rhf-symbol{width:57px;height:57px;margin:22px 0 17px;display:grid;place-items:center;border-radius:18px;background:#fff;color:#246b94;font-size:34px;font-family:Georgia,serif}
body.landing .rhf-step h3{font-size:18px;margin:0 0 10px;color:#fff;line-height:1.3}
body.landing .rhf-step p{color:#d3e4f2;font-size:13px;line-height:1.65;margin:0}
body.landing .rhf-center-cta{text-align:center;margin-top:32px}
body.landing .rhf-cta{display:inline-flex;justify-content:center;align-items:center;gap:12px;border:0;border-radius:999px;cursor:pointer;text-decoration:none;text-align:center;min-height:48px;padding:13px 26px;font-size:14px;font-weight:900;transition:transform .17s,filter .17s;line-height:1.4}
body.landing .rhf-cta:hover{filter:brightness(1.05);transform:translateY(-1px)}
body.landing .rhf-cta:focus-visible{outline:3px solid #ffc857;outline-offset:3px}
body.landing .rhf-cta-coral{background:linear-gradient(95deg,#ff6371,#fa3856);color:#fff;box-shadow:0 8px 20px #ef456231}
body.landing .rhf-cta-outline{background:#fff;border:2px solid #cbdde9;color:#1e5478}
body.landing .rhf-cta-light{background:#fff;color:#17476b;box-shadow:none}
body.landing .rhf-home-features{background:#fff}
body.landing .rhf-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.landing .rhf-feature{padding:31px 28px;border:1px solid #e4edf4;border-radius:24px;background:#fff;box-shadow:0 15px 30px #132a3c0a;min-height:230px}
body.landing .rhf-feature-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;font-size:29px;font-weight:bold;margin-bottom:18px}
body.landing .rhf-feature-icon.pink{background:#fff0f1;color:#e65775}
body.landing .rhf-feature-icon.blue{background:#ecf6ff;color:#2372ad}
body.landing .rhf-feature-icon.gold{background:#fff5df;color:#cb8d23}
body.landing .rhf-feature-icon.mint{background:#e6f9f3;color:#1e9c7f}
body.landing .rhf-feature h3{margin:0 0 10px;color:#173553;font-size:18px}
body.landing .rhf-feature p{margin:0;color:#697b8e;font-size:14px;line-height:1.67}
body.landing .rhf-home-membership{background:#f1f7fb}
body.landing .rhf-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;max-width:940px;margin:auto}
body.landing .rhf-plan{background:#fff;border:1px solid #dfebf5;border-radius:27px;padding:34px 32px 30px;box-shadow:0 18px 40px #152d4610;display:flex;flex-direction:column}
body.landing .rhf-plan-premium{border:2px solid #f26a78}
body.landing .rhf-plan-label{font-size:11px;color:#d75267;letter-spacing:.11em;font-weight:900}
body.landing .rhf-plan h3{font-family:Georgia,serif;font-size:25px;margin:12px 0 10px;color:#16314f}
body.landing .rhf-plan-price{font-size:42px;font-weight:900;line-height:1.25;color:#16314f}
body.landing .rhf-plan-price span{font-weight:500;font-size:15px;color:#728497}
body.landing .rhf-plan ul{padding:0;list-style:none;margin:21px 0 30px;display:grid;gap:12px;line-height:1.5;flex:1}
body.landing .rhf-plan li{padding-left:23px;position:relative;color:#526c81;font-size:14px}
body.landing .rhf-plan li:before{content:'✓';position:absolute;left:0;top:0;color:#138a87;font-weight:900}
body.landing .rhf-plan .rhf-cta{width:100%}
body.landing .rhf-billing-note{text-align:center;max-width:850px;margin:22px auto 0;color:#627c8a;line-height:1.6;font-size:12px}
body.landing .rhf-billing-note a{color:#176288;font-weight:800}
body.landing .rhf-home-gifts{background:#fff}
body.landing .rhf-gifts-layout{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:55px}
body.landing .rhf-gifts-copy h2{font:700 clamp(30px,4vw,44px)/1.2 Georgia,serif;color:#183653;margin:12px 0 22px;letter-spacing:-.025em}
body.landing .rhf-gifts-copy p{font-size:15px;line-height:1.78;color:#60778b;margin:0 0 16px}
body.landing .rhf-text-link{font-weight:900;color:#216995;display:inline-block;margin-top:10px;text-decoration:underline;text-underline-offset:4px}
body.landing .rhf-gift-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:26px;background:#eef6fc;border-radius:28px}
body.landing .rhf-gift-showcase>div{text-align:center;background:#fff;padding:24px 8px 18px;border-radius:21px;box-shadow:0 8px 22px #143e5210}
body.landing .rhf-gift-showcase>div span{display:block;font-size:43px;margin-bottom:9px;color:#df506e}
body.landing .rhf-gift-showcase>div:nth-child(2) span{color:#d5a53d}
body.landing .rhf-gift-showcase>div:nth-child(3) span{color:#418bb8}
body.landing .rhf-gift-showcase strong{display:block;font-size:14px;color:#1c3c5b}
body.landing .rhf-gift-showcase small{display:block;margin-top:5px;color:#74899a;font-weight:650;font-size:12px}
body.landing .rhf-gift-showcase p{grid-column:1/-1;margin:10px 3px 0;color:#536e82;font-size:12px;line-height:1.55}
body.landing .rhf-home-safety{background:linear-gradient(135deg,#195f8f,#0e2a4b);color:#fff}
body.landing .rhf-safety-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center}
body.landing .rhf-home-safety .rhf-kicker{color:#ffc6bf}
body.landing .rhf-home-safety h2{font:700 clamp(30px,4vw,45px)/1.17 Georgia,serif;max-width:600px;margin:15px 0 17px;color:#fff}
body.landing .rhf-home-safety p{color:#d9e9f6;line-height:1.72}
body.landing .rhf-safety-layout .rhf-cta{margin-top:13px}
body.landing .rhf-safety-points{background:#ffffff15;border:1px solid #ffffff2d;border-radius:22px;padding:23px 27px}
body.landing .rhf-safety-points p{margin:12px 0;display:flex;align-items:center;gap:15px;font-weight:700;color:#fff;font-size:14px}
body.landing .rhf-safety-points p span{color:#9ff0dd;font-size:20px}
body.landing .rhf-home-final-cta{text-align:center;padding:80px 0 86px;background:#fff}
body.landing .rhf-home-final-cta h2{font:700 clamp(29px,4.5vw,47px)/1.2 Georgia,serif;max-width:760px;margin:13px auto;color:#173653}
body.landing .rhf-home-final-cta p{color:#72869a;font-size:16px;margin:0 0 25px}
body.landing main>footer.rhf-footer-trial{display:flex;flex-direction:column;align-items:center;gap:9px;padding:22px 20px;background:#0d2747;color:#dce9f7}
body.landing .rhf-footer-trial .rhf-footer-brand{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}
body.landing .rhf-footer-trial .rhf-footer-brand strong{font:bold 18px Georgia,serif;color:#fff}
body.landing .rhf-footer-trial .rhf-footer-brand span:not(.heart){font-size:12px;color:#c1d8ea}
body.landing .rhf-footer-trial .rhf-legal-footer{display:flex;gap:8px 20px;align-items:center;justify-content:center;flex-wrap:wrap;margin:2px auto}
body.landing .rhf-footer-trial .rhf-legal-footer a{color:#eef5ff;text-decoration:underline;text-underline-offset:3px;font-size:12px;line-height:1.5}
body.landing .rhf-footer-trial .rhf-footer-email{color:#b8e3fa;text-decoration:none;font-size:12px;font-weight:700}
body.landing .rhf-footer-trial .rhf-footer-email:hover{text-decoration:underline}
body.landing .rhf-footer-trial small{font-size:11px;color:#a8c6d9}
@media(max-width:920px){body.landing .rhf-steps{grid-template-columns:repeat(2,minmax(0,1fr))}body.landing .rhf-gifts-layout{grid-template-columns:1fr;gap:29px}body.landing .rhf-safety-layout{grid-template-columns:1fr;gap:25px}}
@media(max-width:620px){
 body.landing .rhf-home-intro{padding:61px 22px 63px}
 body.landing .rhf-home-band{padding:66px 0}
 body.landing .rhf-home-wrap{padding:0 18px}
 body.landing .rhf-steps{grid-template-columns:1fr;gap:12px}
 body.landing .rhf-step{min-height:0;padding:22px;display:grid;grid-template-columns:50px 1fr;column-gap:13px}
 body.landing .rhf-step-number{grid-column:1/-1}
 body.landing .rhf-symbol{width:49px;height:49px;font-size:29px;grid-row:2/4;margin:15px 0 0}
 body.landing .rhf-step h3{grid-column:2;margin:12px 0 6px;font-size:17px}
 body.landing .rhf-step p{grid-column:2;margin:0}
 body.landing .rhf-feature-grid{grid-template-columns:1fr;gap:13px}
 body.landing .rhf-feature{min-height:0;padding:24px}
 body.landing .rhf-plan-grid{grid-template-columns:1fr;gap:17px}
 body.landing .rhf-plan{padding:27px 23px}
 body.landing .rhf-gift-showcase{padding:13px;gap:8px}
 body.landing .rhf-gift-showcase>div{padding:18px 5px}
 body.landing .rhf-gift-showcase>div span{font-size:31px}
 body.landing .rhf-gift-showcase strong{font-size:12px}
 body.landing .rhf-gift-showcase small{font-size:10px}
 body.landing .rhf-safety-points{padding:16px 18px}
 body.landing .rhf-public-nav{justify-content:flex-start;gap:15px}
 body.landing .rhf-home-final-cta{padding:61px 0}
 body.landing main>footer.rhf-footer-trial{padding:19px 14px;gap:9px}
 body.landing .rhf-footer-trial .rhf-legal-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,390px);gap:9px 12px;text-align:center}
 body.landing .rhf-footer-trial .rhf-legal-footer a{font-size:11.5px}
}
@media(prefers-reduced-motion:reduce){body.landing .rhf-cta{transition:none}}


/* V8.8.24 — public hero image fit + small website URL in bottom footer.
   The supplied hero PNG is a tall composite containing logo, photo AND CTA artwork.
   On desktop, show the full artwork instead of zooming/cropping the logo, while
   keeping the existing, accessible signup/login hit targets over the art. */
body.landing .rhf-footer-trial .rhf-footer-web{
  color:#bdd5e8; font-size:11px; font-weight:500; line-height:1.4;
  text-decoration:none; letter-spacing:.015em; overflow-wrap:anywhere;
}
body.landing .rhf-footer-trial .rhf-footer-web:hover,
body.landing .rhf-footer-trial .rhf-footer-web:focus-visible{
  color:#fff;text-decoration:underline;text-underline-offset:3px;
}
@media (min-width:701px){
  body.landing .hero{
    height:min(100svh, 940px); min-height:600px;
    padding:0; justify-content:center;
    background:radial-gradient(ellipse at 50% 44%, #38537f 0%, #122848 65%, #0c1a36 100%)!important;
    isolation:isolate;
  }
  body.landing .hero::before{
    content:"";position:absolute;inset:-36px;z-index:0;pointer-events:none;
    background:url('/assets/rightheartfinder-hero.png') center / cover no-repeat;
    opacity:.22;filter:blur(24px) brightness(.75);
  }
  body.landing .hero-shade{display:none!important}
  body.landing .hero-image-frame{
    position:relative; z-index:1; height:calc(100% - 18px);
    aspect-ratio:928 / 1648; flex:0 0 auto; max-width:100%;
    background:url('/assets/rightheartfinder-hero.png') center / 100% 100% no-repeat;
    transform:translateY(9px);
    box-shadow:0 10px 46px rgba(5,10,25,.22);
  }
  body.landing .hero-image-frame .hero-brand,
  body.landing .hero-image-frame .domain{display:none!important}
  body.landing .hero-image-frame .hero-actions{
    position:absolute!important; z-index:3!important; top:70.4%!important;
    left:14%!important; right:14%!important; height:17.1%!important;
    width:auto!important; margin:0!important;display:grid!important;
    grid-template-rows:1fr 1fr!important; gap:8.5%!important;
  }
  body.landing .hero-image-frame .hero-actions .btn{
    height:100%!important;width:100%!important;min-height:0!important;
    padding:0!important; background:transparent!important; border:0!important;
    box-shadow:none!important;opacity:0!important;
    color:transparent!important;transform:none!important;
  }
  body.landing .hero-image-frame .hero-actions .btn:focus-visible{
    opacity:1!important;outline:3px solid #ffc858!important;outline-offset:1px;
    border-radius:999px;
  }
}
/* Mobile continues to use the existing V8.5.9 art and button alignment. */
@media (max-width:700px){
  body.landing .hero-image-frame{display:contents}
}


/* V8.8.25: DESKTOP ONLY.  Keep the original poster and mobile click targets intact.
   The source portrait contains baked-in title and buttons.  On wide screens use
   the dedicated photo crop plus real, interactive HTML brand and CTA buttons. */
@media (max-width:900px){
  body.landing .hero-desktop-copy{display:contents!important}
  body.landing .hero-desktop-photo{display:none!important}
}
@media (min-width:901px){
  body.landing .hero{
    display:flex!important;flex-direction:row!important;align-items:center!important;
    justify-content:center!important;height:min(100svh,920px)!important;
    min-height:640px!important;padding:36px 22px!important;
    background:linear-gradient(120deg,#0d2141 7%,#133963 53%,#224c75 100%)!important;
  }
  body.landing .hero::before{
    inset:-55px!important;background-position:80% center!important;
    opacity:.12!important;filter:blur(28px) brightness(.7)!important;
  }
  body.landing .hero-image-frame{
    display:grid!important;grid-template-columns:minmax(0, .94fr) minmax(0, 1.06fr)!important;
    align-items:center!important;gap:clamp(36px,4.4vw,78px)!important;
    width:min(1260px, 100%)!important;max-width:1260px!important;
    height:auto!important;min-height:0!important;aspect-ratio:auto!important;
    max-height:none!important;box-shadow:none!important;transform:none!important;
    background:none!important;position:relative!important;
    text-align:left!important;
  }
  body.landing .hero-desktop-copy{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    gap:0!important;min-width:0!important;position:relative!important;
    z-index:2!important;padding-left:clamp(4px,1.8vw,24px)!important;
  }
  body.landing .hero-image-frame .hero-brand{
    position:static!important;display:block!important;visibility:visible!important;
    pointer-events:auto!important;text-align:left!important;
    width:100%!important;margin:0 0 46px!important;
  }
  body.landing .hero-image-frame .brand-name{
    font-family:Georgia,'Times New Roman',serif!important;
    font-size:clamp(50px,5vw,75px)!important;
    line-height:1.08!important;letter-spacing:-.052em!important;
    color:#fff!important;white-space:nowrap!important;
    text-shadow:0 3px 20px #010b2180!important;
  }
  body.landing .hero-image-frame .brand-name .heart{
    color:#ff4e65!important;display:inline!important;
  }
  body.landing .hero-image-frame .tagline{
    color:#e8f0fc!important;margin:14px 0 0!important;
    font-size:clamp(21px,2.2vw,29px)!important;letter-spacing:.15em!important;
    text-transform:none!important;white-space:nowrap!important;
    text-shadow:0 3px 12px #02142d99!important;
  }
  body.landing .hero-image-frame .hero-actions{
    position:static!important;inset:auto!important;
    display:grid!important;grid-template-rows:none!important;
    grid-template-columns:1fr!important;width:min(390px,100%)!important;
    height:auto!important;margin:0!important;padding:0!important;
    gap:16px!important;align-self:auto!important;
  }
  body.landing .hero-image-frame .hero-actions .btn{
    position:relative!important;display:block!important;opacity:1!important;
    height:auto!important;min-height:61px!important;
    padding:17px 22px!important;border-radius:999px!important;
    font-size:18px!important;color:#fff!important;
    text-shadow:none!important;cursor:pointer!important;
    font-weight:800!important;transition:transform .18s,filter .18s!important;
  }
  body.landing .hero-image-frame .hero-actions .btn.primary{
    background:linear-gradient(100deg,#ff646e,#fa354f)!important;
    border:0!important;box-shadow:0 12px 34px #fb435344!important;
  }
  body.landing .hero-image-frame .hero-actions .btn.ghost{
    background:#09234677!important;border:2px solid #d0e0f2c7!important;
    box-shadow:none!important;
  }
  body.landing .hero-image-frame .hero-actions .btn:hover{transform:translateY(-2px)!important;filter:brightness(1.08)!important}
  body.landing .hero-image-frame .hero-actions .btn:focus-visible{
    outline:3px solid #ffe189!important;outline-offset:4px!important;
  }
  body.landing .hero-image-frame .domain{
    display:block!important;visibility:visible!important;
    pointer-events:auto!important;position:static!important;
    margin-top:30px!important;font-size:13px!important;
    color:#b9ccde!important;letter-spacing:.16em!important;
    text-align:left!important;
  }
  body.landing .hero-desktop-photo{
    position:relative!important;display:block!important;min-width:0!important;
    width:100%!important;height:clamp(480px,71svh,680px)!important;
    max-height:calc(100svh - 85px)!important;
    border-radius:30px!important;
    background:#1b3754 url('/assets/rightheartfinder-desktop-couple.webp') center center / cover no-repeat!important;
    box-shadow:0 25px 60px #00132975,0 0 0 1px #ffffff22!important;
    transform:translateY(16px)!important;overflow:hidden!important;
  }
  body.landing .hero-desktop-photo:after{
    content:"";position:absolute;inset:auto 0 0;height:24%;pointer-events:none;
    background:linear-gradient(transparent,#061a3355);
  }
}
