.sf-hero { --sf-orange: #ff5b24; --sf-ink: #111216; --sf-muted: #6f7581; font-family: Inter, Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; background: #fff; color: var(--sf-ink); overflow: hidden; padding: clamp(68px, 8vw, 112px) 20px 70px; }
.sf-hero *, .sf-hero *::before, .sf-hero *::after { box-sizing: border-box; }
.sf-hero-copy { text-align: center; position: relative; z-index: 3; }
.sf-hero-copy h1 { margin: 0; font-size: clamp(37px, 4.5vw, 66px); line-height: 1.12; font-weight: 760; letter-spacing: -.055em; }
.sf-hero-copy h1 span { background: var(--sf-orange); color: white; border-radius: 9px; padding: 0 .12em .06em; box-decoration-break: clone; }
.sf-hero-copy p { margin: 20px auto 0; max-width: 820px; color: #707581; font-size: clamp(14px, 1.35vw, 18px); line-height: 1.6; }
.sf-stage { width: min(1250px, 100%); height: 540px; margin: 50px auto 0; position: relative; isolation: isolate; }
.sf-stage::before { content: ""; position: absolute; width: 660px; height: 380px; background: radial-gradient(ellipse, rgba(255,91,36,.07), transparent 68%); left: 33%; top: 105px; transform: translateX(-10%); z-index: -1; pointer-events: none; }
.sf-ghosts { position: absolute; inset: 0; pointer-events: none; }
.sf-ghost { position: absolute; width: 278px; height: 210px; padding: 22px 20px; border: 1px solid #e7e9ec; background: #fff; border-radius: 19px; box-shadow: 0 20px 38px rgba(22,28,37,.075); top: 140px; left: 50%; opacity: 0; transform: translate(-50%, 12px) scale(.88); animation: sf-ghost-out 900ms cubic-bezier(.2,.72,.2,1) both; }
.sf-ghost-heading { font-size: 15px; font-weight: 650; margin-bottom: 20px; color: #394050; white-space: nowrap; }
.sf-ghost-input { display: flex; align-items: center; height: 34px; border: 1px solid #e7e9ed; background: #fff; border-radius: 8px; margin-bottom: 9px; padding: 0 10px; font-size: 11px; color: #656b75; white-space: nowrap; overflow: hidden; }
.sf-ghost-password { letter-spacing: 3px; }
.sf-ghost-button { height: 31px; margin-top: 10px; background: #eeeef0; border-radius: 7px; }
.sf-ghost-1 { --gx: -430px; --gy: 10px; --gr: -10deg; --gs: .87; animation-delay: 80ms; z-index: 1; }
.sf-ghost-2 { --gx: -310px; --gy: -6px; --gr: -6deg; --gs: .96; animation-delay: 190ms; z-index: 2; }
.sf-ghost-3 { --gx: 325px; --gy: -3px; --gr: 7deg; --gs: .96; animation-delay: 300ms; z-index: 2; }
.sf-ghost-4 { --gx: 442px; --gy: 14px; --gr: 11deg; --gs: .85; animation-delay: 410ms; z-index: 1; }
.sf-ghost-5 { --gx: -520px; --gy: 33px; --gr: -14deg; --gs: .74; animation-delay: 520ms; z-index: 0; }
@keyframes sf-ghost-out { from { opacity: 0; transform: translate(-50%, 14px) rotate(0) scale(.8); } to { opacity: .56; transform: translate(calc(-50% + var(--gx)), var(--gy)) rotate(var(--gr)) scale(var(--gs)); } }
.sf-signup { position: absolute; width: 405px; top: 18px; left: 50%; transform: translateX(-50%); z-index: 5; background: #fff; border: 1px solid #e3e5e9; box-shadow: 0 22px 45px rgba(29,34,45,.11),0 2px 4px rgba(29,34,45,.03); border-radius: 26px; padding: 30px 30px 24px; }
.sf-signup h2 { margin: 0 0 25px; text-align: center; font-size: 28px; font-weight: 750; letter-spacing: -.045em; }
.sf-demo-field { display: flex; align-items: center; justify-content: space-between; min-width: 0; height: 46px; border: 1px solid #e0e2e7; border-radius: 9px; padding: 0 14px; margin-bottom: 12px; font-size: 15px; box-shadow: 0 2px 4px rgba(22,28,37,.035); }
.sf-email-field { border-color: #f5c6bd; background: #fff8f6; gap: 8px; }
.sf-email-field > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-warning-icon { flex-shrink: 0; font-size: 12px; font-weight: 750; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid #ee4f35; color: #ee4f35; border-radius: 50%; }
.sf-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sf-name-row .sf-demo-field { min-width: 0; }
.sf-password-field { letter-spacing: 2px; }
.sf-eye { color: #858b95; font-size: 23px; letter-spacing: normal; }
.sf-button-wrap { position: relative; margin-top: 12px; }
.sf-signup-button { display: grid; place-items: center; height: 53px; background: linear-gradient(#25262a,#101114); color: white; border-radius: 10px; font-weight: 650; font-size: 17px; box-shadow: 0 5px 12px rgba(0,0,0,.12); animation: sf-click-button 1750ms ease-in-out infinite; transform-origin: 77% 55%; }
.sf-demo-cursor { position: absolute; top: 23px; right: 35px; pointer-events: none; animation: sf-pointer-click 1750ms ease-in-out infinite; filter: drop-shadow(0 2px 2px #0003); }
.sf-click-ring { position: absolute; right: 62px; top: 22px; border: 2px solid rgba(255,91,36,.65); width: 32px; height: 32px; border-radius: 50%; pointer-events: none; animation: sf-ring 1750ms ease-out infinite; }
@keyframes sf-pointer-click { 0%,24%,100% { transform: translate(12px,12px); } 36%,48% { transform: translate(0,0) scale(.94); } 62% { transform: translate(12px,12px); } }
@keyframes sf-click-button { 0%,31%,52%,100% { transform: scale(1); } 39% { transform: scale(.987); } }
@keyframes sf-ring { 0%,34% { opacity: 0; transform: scale(.4); } 40% { opacity: .75; } 63%,100% { opacity: 0; transform: scale(2.6); } }
.sf-trial { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 20px 0 15px; font-size: 13px; color: #747985; }
.sf-trial strong { color: var(--sf-orange); font-weight: 650; }
.sf-terms { text-align: center; border-top: 1px solid #edf0f2; padding-top: 16px; font-size: 11px; color: #7e8490; }
.sf-terms span { color: #343942; text-decoration: underline; text-underline-offset: 2px; }
.sf-counts { position: absolute; z-index: 4; top: 115px; right: 0; width: 235px; border: 1px solid #e4e6eb; border-radius: 20px; background: white; box-shadow: 0 15px 32px rgba(18,22,29,.065); padding: 20px; }
.sf-counts-heading { font-size: 15px; font-weight: 650; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.sf-demo-label { color: #9195a0; border: 1px solid #e7e8ea; font-size: 9px; border-radius: 4px; padding: 2px 4px; letter-spacing: .06em; }
.sf-total { font-size: 43px; font-weight: 750; letter-spacing: -.05em; margin: 6px 0 12px; font-variant-numeric: tabular-nums; }
.sf-stat { border-top: 1px solid #eff0f2; padding: 11px 0; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.sf-stat:last-child { padding-bottom: 0; }
.sf-stat strong { font-variant-numeric: tabular-nums; font-weight: 670; }
.sf-stat-name { display: inline-flex; gap: 9px; align-items: center; }
.sf-stat-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 15px; line-height: 1; font-weight: 750; }
.sf-stat-block { color: #f04a36; background: #fff1ee; }
.sf-stat-review { color: #d38c13; background: #fff7e7; }
.sf-stat-allow { color: #159b62; background: #eaf8f0; }
@media (max-width: 1050px) { .sf-stage { height: 570px; } .sf-counts { right: 0; top: 348px; width: 230px; } .sf-ghost-1 { --gx: -345px; } .sf-ghost-2 { --gx: -260px; } .sf-ghost-3 { --gx: 265px; } .sf-ghost-4 { --gx: 350px; } .sf-ghost-5 { --gx: -390px; } }
@media (max-width: 740px) { .sf-hero { padding: 58px 14px 48px; } .sf-stage { height: auto; min-height: 670px; margin-top: 30px; } .sf-signup { top: 10px; width: min(100%, 365px); padding: 26px 20px 20px; } .sf-signup h2 { font-size: 25px; } .sf-demo-field { font-size: 13px; } .sf-ghost { top: 120px; } .sf-ghost-1 { --gx: -190px; --gs: .73; } .sf-ghost-2 { --gx: -130px; --gs: .82; } .sf-ghost-3 { --gx: 140px; --gs: .82; } .sf-ghost-4 { --gx: 200px; --gs: .73; } .sf-ghost-5 { --gx: -240px; --gs: .7; } .sf-counts { top: 450px; left: 50%; right: auto; transform: translateX(-50%); width: min(100%, 365px); } .sf-total { font-size: 33px; } .sf-stat { padding: 7px 0; } }
@media (prefers-reduced-motion: reduce) { .sf-ghost { animation: none; opacity: .42; transform: translate(calc(-50% + var(--gx)), var(--gy)) rotate(var(--gr)) scale(var(--gs)); } .sf-signup-button, .sf-demo-cursor, .sf-click-ring { animation: none; } .sf-click-ring { display: none; } }

/* Simplif animated hero integration */
.hero .sf-hero{padding:20px 0 25px;overflow:visible;background:transparent}
.hero .sf-hero-copy h1{font-size:clamp(38px,4.8vw,64px);line-height:1.16;letter-spacing:-.058em;margin:0 auto;max-width:1100px;font-weight:800}
.hero .sf-hero-copy h1 span{background:#ff612f;border-radius:0;padding:0 5px .02em}
.hero .sf-hero-copy p{font-size:clamp(14px,1.35vw,18px);margin:18px auto 0;max-width:900px;line-height:1.7}
.hero .sf-stage{margin-top:48px}
.hero .sf-terms a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:740px){.hero .sf-hero{padding:20px 0 30px}.hero .sf-stage{margin-top:30px}.hero .sf-hero-copy h1{font-size:clamp(33px,7vw,45px)}}

/* === Simplif hero v2: original typography, clear background, lively demo === */
.hero .sf-hero, .hero .sf-hero-copy h1, .hero .sf-hero-copy p {
  font-family: inherit;
}
.hero .sf-hero-copy h1 {
  font-weight: 700;
  letter-spacing: -.045em;
}
.sf-ghost { opacity: 1; border-color:#e0e3e8; box-shadow:0 15px 32px rgba(22,28,37,.075); }
.sf-ghost-heading { color:#343944; font-weight:700; }
.sf-ghost-input { color:#555d69; border-color:#dfe3e9; background:#fff; font-weight:500; }
.sf-ghost-button { background:#f8e9e6; }
@keyframes sf-ghost-out {
  from {opacity:0;transform:translate(-50%,14px) rotate(0) scale(.8)}
  to {opacity:.84;transform:translate(calc(-50% + var(--gx)),var(--gy)) rotate(var(--gr)) scale(var(--gs))}
}
.sf-ghost-1,.sf-ghost-2,.sf-ghost-3,.sf-ghost-4,.sf-ghost-5 {filter:none;}
.sf-signup-button {animation:none;transition:background .12s ease,box-shadow .12s ease,transform .1s ease;}
.sf-signup-button.sf-pressed {transform:translateY(2px) scale(.982);}
.sf-signup-button.sf-rejected {background:#ed4337;box-shadow:0 5px 16px rgba(237,67,55,.22);animation:sf-reject-shake .27s ease-in-out;}
@keyframes sf-reject-shake {0%,100%{translate:0 0}20%{translate:-4px 0}40%{translate:4px 0}60%{translate:-3px 0}80%{translate:2px 0}}
.sf-demo-cursor {animation:none;top:22px;right:28px;transform:translate(12px,10px) scale(1.22);transform-origin:top left;filter:drop-shadow(0 2px 1px rgba(0,0,0,.24));transition:transform .12s ease;}
.sf-demo-cursor.sf-clicking {transform:translate(-5px,-5px) scale(1.14);}
.sf-click-ring {animation:none;opacity:0;right:58px;top:22px;}
.sf-click-ring.sf-pulse {animation:sf-fast-ring .38s ease-out both;}
@keyframes sf-fast-ring {0%{opacity:.7;transform:scale(.4)}100%{opacity:0;transform:scale(2.25)}}
.sf-email-field {transition:background .15s ease,border-color .15s ease;}
.sf-email-field.sf-accepted {background:#f0fbf5;border-color:#bde8cf;}
.sf-email-field.sf-reviewing {background:#fffbef;border-color:#f0d99e;}
@media (prefers-reduced-motion:reduce) {
 .sf-ghost {opacity:.8;animation:none}
 .sf-signup-button.sf-rejected {animation:none}
 .sf-click-ring.sf-pulse {animation:none}
 .sf-demo-cursor {transition:none}
}

/* Hero v3: measured clicks, semantic feedback and unobstructed side cards */
.sf-signup-button.sf-approved {background:#169b62;box-shadow:0 6px 18px rgba(22,155,98,.22)}
.sf-signup-button.sf-review-state {background:#d99513;box-shadow:0 6px 18px rgba(217,149,19,.2)}
@media (min-width: 1250px) {
  .sf-counts {right:-88px}
}
@media (min-width: 1051px) and (max-width:1249px) {
  .sf-counts {right:-24px}
}

/* Hero refinement: review verdicts retain the default black button */
.sf-signup-button.sf-review,
.sf-signup-button.is-review,
.sf-signup-button.review,
.sf-signup-button[data-verdict="REVIEW"] {
  background: #19191d !important;
  background-color: #19191d !important;
  color: #fff !important;
}

/* V5: review outcomes use the standard black button */
.sf-signup-button.sf-review-state {
  background: linear-gradient(#25262a,#101114) !important;
  box-shadow: 0 5px 12px rgba(0,0,0,.12) !important;
}


/* HERO V6 REFERENCE REFINEMENT */
/* Reference-like cursor and restrained circular click effect */
.sf-demo-cursor {right:24px;top:17px;transform:translate(12px,10px) scale(1.08);filter:drop-shadow(0 2px 1px rgba(0,0,0,.2));}
.sf-demo-cursor.sf-clicking {transform:translate(1px,1px) scale(1.02);}
.sf-click-ring {right:52px;top:19px;border-color:rgba(40,43,49,.24);}
.sf-terms {font-size:11px;color:#7b818c;line-height:1.55;}
.sf-terms a {color:#272b33;text-decoration:underline;text-underline-offset:2px;font-weight:600;}
@media (prefers-reduced-motion:reduce) {
  .sf-ghost {animation:none!important;opacity:var(--sf-fan-opacity,.55);transform:translate(calc(-50% + var(--gx)),var(--gy)) rotate(var(--gr)) scale(var(--gs));}
}




/* V10 — clean, flatter overlapping signup-card layout */
@media (min-width: 1051px) {

  .sf-stage {
    perspective: none;
  }

  .sf-ghosts {
    perspective: none;
  }

  .sf-ghost {
    top: 145px;
    transform-origin: center center;
    animation: sf-v10-enter .75s ease-out both;
    backface-visibility: visible;
  }

  .sf-ghost-1 {
    --gx: -450px;
    --gy: 18px;
    --gr: -3deg;
    --gs: .82;
    --fan-opacity: .35;
    z-index: 1;
  }

  .sf-ghost-2 {
    --gx: -295px;
    --gy: 0px;
    --gr: -2deg;
    --gs: .98;
    --fan-opacity: .85;
    z-index: 2;
  }

  .sf-ghost-3 {
    --gx: 295px;
    --gy: 0px;
    --gr: 2deg;
    --gs: .98;
    --fan-opacity: .85;
    z-index: 2;
  }

  .sf-ghost-4 {
    --gx: 450px;
    --gy: 18px;
    --gr: 3deg;
    --gs: .82;
    --fan-opacity: .35;
    z-index: 1;
  }

  .sf-ghost-5 {
    --gx: -555px;
    --gy: 25px;
    --gr: -4deg;
    --gs: .70;
    --fan-opacity: .20;
    z-index: 0;
  }

  .sf-signup {
    transform: translateX(-50%) !important;
    border-radius: 27px;
    box-shadow:
      0 28px 60px rgba(22,28,37,.11),
      0 3px 8px rgba(22,28,37,.025);
  }
}

@keyframes sf-v10-enter {
  from {
    opacity: 0;
    transform: translate(-50%, 15px) scale(.88);
  }
  to {
    opacity: var(--fan-opacity, .75);
    transform:
      translate(calc(-50% + var(--gx)), var(--gy))
      rotate(var(--gr))
      scale(var(--gs));
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1051px) {
  .sf-ghost {
    animation: none !important;
    opacity: var(--fan-opacity, .75);
    transform:
      translate(calc(-50% + var(--gx)), var(--gy))
      rotate(var(--gr))
      scale(var(--gs));
  }
}


/* V11 — improve background signup card visibility */
@media (min-width: 1051px) {
  .sf-ghost-1,
  .sf-ghost-4 {
    --fan-opacity: .48;
  }

  .sf-ghost-2,
  .sf-ghost-3 {
    --fan-opacity: .95;
  }

  .sf-ghost-5 {
    --fan-opacity: .30;
  }
}


/* V12 — move Signup attempts panel 30px right on desktop */
@media (min-width: 1051px) {
  .sf-counts {
    transform: translateX(30px);
  }
}


/* V13 — tighter hero-to-decisions spacing */
@media (min-width: 741px) {
  .hero .sf-stage {
    height: 485px;
  }
}





/* SIMPLIF HERO COMPACT V2 START */

@media (min-width: 1060px) {

  /* Shorter navigation */
  .site-header {
    height: 88px !important;
  }

  /* Reduce spacing before the promotional pill */
  .hero {
    padding-top: 4px !important;
  }

  /* Reduce the gap before the headline */
  .hero .sf-hero {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
  }

  /* Preserve headline typography */
  .hero .sf-hero-copy h1 {
    line-height: 1.14 !important;
  }

  /* Clear spacing around orange highlight */
  .hero .sf-hero-copy h1 span {
    margin-left: 0.035em;
    padding-left: 0.10em !important;
    padding-right: 0.10em !important;
  }

  /* Subtitle */
  .hero .sf-hero-copy p {
    margin-top: 14px !important;
  }

  /* Bring animation upwards and remove unused bottom space */
  .hero .sf-stage {
    margin-top: 32px !important;
    height: 440px !important;
  }

}

@media (min-width: 741px) and (max-width: 1059px) {
  .hero .sf-hero {
    padding-top: 12px !important;
  }

  .hero .sf-stage {
    margin-top: 36px !important;
  }
}

/* SIMPLIF HERO COMPACT V2 END */


/* SIMPLIF MOBILE HERO FLOW START */
@media (max-width: 740px) {

  /* Allow the stage to grow with its contents */
  .hero .sf-stage {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 24px !important;
    padding: 0 0 12px !important;
    overflow: visible !important;
  }

  /* Signup form becomes the first layout item */
  .hero .sf-stage > .sf-signup {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(100%, 365px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    flex: 0 0 auto !important;
  }

  /* Compact signup counter below the form */
  .hero .sf-stage > .sf-counts {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(100%, 365px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 15px 16px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px 8px !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
  }

  .hero .sf-counts-heading {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    font-size: 14px !important;
  }

  /* Hide large total only on mobile */
  .hero .sf-counts > .sf-total {
    display: none !important;
  }

  .hero .sf-counts > .sf-stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 3px !important;
    border: 1px solid #edf0f2 !important;
    border-radius: 10px !important;
    background: #fafafa !important;
    font-size: 12px !important;
  }

  .hero .sf-stat-name {
    gap: 4px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  .hero .sf-stat-icon {
    width: 17px !important;
    height: 17px !important;
    font-size: 12px !important;
  }

  .hero .sf-stat strong {
    font-size: 21px !important;
    line-height: 1.2 !important;
  }

  /* Background cards stay behind the signup form */
  .hero .sf-ghosts {
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
  }

  /* Prevent excessive whitespace after hero */
  .hero .sf-hero {
    padding-bottom: 12px !important;
  }

}
/* SIMPLIF MOBILE HERO FLOW END */
