/* Selected Soft Fade mobile homepage. Desktop retains the larger comparison. */
@media(min-width:761px){.mobile-soft-fade .hero-copy{grid-column:1;grid-row:1}.mobile-soft-fade .hero-photo{grid-column:2;grid-row:1}}
@media(max-width:760px){
  .mobile-soft-fade{--hero-nav:64px;--hero-gap:18px;background:#0b100d}
  .mobile-soft-fade .top-nav{height:var(--hero-nav);position:relative;z-index:5;width:calc(100% - 36px)}
  .mobile-soft-fade .top-nav .button{font-size:11px;padding:9px 16px;min-height:36px}
  .mobile-soft-fade .hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(160px,1fr) auto;gap:var(--hero-gap);align-items:stretch;width:calc(100% - 36px);height:calc(100svh - var(--hero-nav));min-height:470px;max-height:910px;padding:8px 0 max(22px,env(safe-area-inset-bottom));margin:0 auto}
  .mobile-soft-fade .hero-photo{width:100%;max-width:none;height:100%;min-height:0;margin:0;padding:7px;border-radius:23px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 15px 55px #0004}
  .mobile-soft-fade .hero-photo .comparison{height:100%;min-height:0;flex:1;aspect-ratio:auto;border-radius:17px}
  .mobile-soft-fade .comparison img{object-fit:cover;object-position:50% 26%}
  .mobile-soft-fade .comparison .handle{width:35px;height:35px;font-size:16px}
  .mobile-soft-fade .comparison .label{font-size:8px;top:11px;padding:5px 9px}
  .mobile-soft-fade .hero-photo .compare-caption{position:absolute;bottom:17px;right:17px;left:17px;z-index:4;padding:0;justify-content:flex-end;pointer-events:none}
  .mobile-soft-fade .compare-caption>span:first-child,.mobile-soft-fade .drag-hint{display:none}
  .mobile-soft-fade .compare-actions{pointer-events:auto}
  .mobile-soft-fade .hero-copy{position:relative;z-index:2;min-width:0;padding:0 2px}
  .mobile-soft-fade .hero-copy .eyebrow{display:none}
  .mobile-soft-fade .hero h1{font-size:clamp(33px,10.7vw,48px);line-height:1.04;letter-spacing:-.055em;max-width:none}
  .mobile-soft-fade .hero h1 em{white-space:normal}
  .mobile-soft-fade .hero .intro{font-size:13px;line-height:1.55;max-width:390px;margin-top:13px;color:#aabbb0}
  .mobile-soft-fade .hero .actions{margin-top:18px;gap:0}
  .mobile-soft-fade .hero .actions .button{min-height:42px;font-size:12px;padding:11px 20px;gap:23px}
  .mobile-soft-fade .feature-ribbon{margin-top:8px}
  .mobile-soft-fade #results{scroll-margin-top:22px}
  .mobile-soft-fade .hero{width:100%;gap:0;padding-top:0}
  .mobile-soft-fade .hero-photo{border:0;border-radius:0;padding:0;background:none;box-shadow:none;overflow:visible}
  .mobile-soft-fade .hero-photo .comparison{border-radius:0;mask-image:linear-gradient(#000 0%,#000 64%,transparent 100%)}
  .mobile-soft-fade .hero-photo .compare-caption{bottom:48px;right:20px}
  .mobile-soft-fade .hero-copy{padding:0 24px;margin-top:-24px}
  .mobile-soft-fade .hero h1{font-size:clamp(34px,10.9vw,49px)}
  .mobile-soft-fade .hero .intro{max-width:360px}
}
@media(max-width:760px) and (max-height:720px){
  .mobile-soft-fade{--hero-nav:58px;--hero-gap:14px}
  .mobile-soft-fade .hero{padding-top:3px;padding-bottom:17px}
  .mobile-soft-fade .hero h1{font-size:clamp(32px,9.8vw,41px)}
  .mobile-soft-fade .hero .intro{font-size:12px;line-height:1.5;margin-top:10px}
  .mobile-soft-fade .hero .actions{margin-top:13px}
  .mobile-soft-fade .hero-copy{margin-top:-18px}
}
@media(max-width:760px) and (max-height:540px){.mobile-soft-fade .hero{height:auto;min-height:520px;grid-template-rows:210px auto}}

/* The supplied wordmark, displayed consistently with onboarding. */
.brand .site-logo{width:144px;height:68px;object-fit:cover;object-position:50% 60%;flex-shrink:0}
@media(max-width:680px){.brand .site-logo{width:116px;height:56px}}

/* Mobile: one primary action on the image, with centered copy beneath. */
.hero-start{display:none}
@media(max-width:760px){
 .mobile-soft-fade .top-nav{justify-content:center}
 .mobile-soft-fade .top-nav .nav-links{display:none}
 .mobile-soft-fade .hero-start{display:inline-flex;position:absolute;z-index:4;left:50%;bottom:48px;transform:translateX(-50%);min-height:46px;min-width:158px;padding:12px 24px;font-size:14px;box-shadow:0 5px 24px #07120a35}
 .mobile-soft-fade .hero-start:hover{transform:translateX(-50%);filter:brightness(1.07)}
 .mobile-soft-fade .hero-copy{text-align:center}
 .mobile-soft-fade .hero .intro{margin-left:auto;margin-right:auto}
 .mobile-soft-fade .hero .actions{justify-content:center}
 .mobile-soft-fade .hero .actions .button{background:transparent;border:0;border-radius:0;color:#d2e7d9;min-width:174px;min-height:44px;justify-content:center;gap:12px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#c7ecd670}
 .mobile-soft-fade .hero .actions .button:hover{background:transparent;text-decoration-color:currentColor}
}
@media(max-width:760px) and (max-height:720px){.mobile-soft-fade .hero-start{bottom:40px;min-height:44px}}

/* Let the photograph continue behind a soft, spacious mobile header. */
@media(max-width:760px){
 .mobile-soft-fade .top-nav{position:absolute;top:0;left:0;width:100%;height:calc(140px + env(safe-area-inset-top));padding:calc(18px + env(safe-area-inset-top)) 18px 0;align-items:flex-start;background:linear-gradient(180deg,#0b100d 0%,#0b100df0 27%,#0b100d94 61%,#0b100d00 100%);pointer-events:none}
 .mobile-soft-fade .top-nav .brand{pointer-events:auto}
 .mobile-soft-fade .hero{height:100svh;padding-top:0}
 .mobile-soft-fade .comparison .label{top:calc(96px + env(safe-area-inset-top))}
}
