
:root{
  --zf-hero-shell: min(620px, 100%);
  --zf-hero-text-shadow: 0 20px 48px rgba(0,0,0,.38);
}

/* ===== Stage 3: hero polish without structural rebuild ===== */
.heroShade{
  background:
    linear-gradient(180deg, rgba(6,7,9,.18) 0%, rgba(6,7,9,.34) 24%, rgba(6,7,9,.74) 100%),
    radial-gradient(circle at 50% 14%, rgba(212,176,120,.14), transparent 34%),
    radial-gradient(circle at 50% 58%, rgba(255,255,255,.05), transparent 40%);
}
.hero::after{
  background:linear-gradient(to top, rgba(6,7,9,.92), rgba(6,7,9,.52) 42%, rgba(6,7,9,0) 76%);
}
.center{
  width:min(760px, 92vw);
}
#heroText,
h1{
  max-width:11ch;
  margin-bottom:12px;
  text-shadow:var(--zf-hero-text-shadow);
}
.heroHelper{
  max-width:34ch;
  margin-bottom:20px;
  color:rgba(246,241,234,.78);
}
.search{
  position:relative;
  width:var(--zf-hero-shell);
}
.search::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  pointer-events:none;
}
.searchGhost{opacity:.86}
.micro--hero{
  margin-top:12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(9,11,14,.28);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.heroExamplesWrap--modal{
  margin-top:14px;
  width:var(--zf-hero-shell);
}
.heroExamplesModalBtn{
  width:100%;
  min-height:48px;
  border-radius:18px;
  font-weight:700;
  letter-spacing:-.015em;
  justify-content:center;
}
.heroTrust{
  margin-top:12px;
  display:flex;
  justify-content:center;
  width:var(--zf-hero-shell);
}
.heroTrustItem{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.028);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
  font-size:12.5px;
  line-height:1.2;
  text-align:center;
}

@media (max-width: 820px){
  .hero{
    padding-top:max(64px, calc(58px + env(safe-area-inset-top)));
  }
  .center{
    width:calc(100vw - 24px);
    padding-left:4px;
    padding-right:4px;
  }
  #heroText,
  h1{
    max-width:10ch;
    margin-bottom:10px;
  }
  .heroHelper{
    max-width:26ch;
    margin-bottom:18px;
  }
  .heroExamplesWrap--modal,
  .heroTrust,
  .search{
    width:min(100%, 560px);
  }
}

@media (max-width: 560px){
  .hero::after{
    height:64svh;
  }
  .center{
    width:calc(100vw - 20px);
    gap:0;
  }
  #heroText,
  h1{
    max-width:9.5ch;
    font-size:clamp(30px, 10.2vw, 38px);
  }
  .heroHelper{
    font-size:14.5px;
    max-width:23ch;
  }
  .search{
    min-height:60px;
  }
  .micro--hero{
    margin-top:11px;
    min-height:30px;
    padding:0 11px;
    font-size:12px;
  }
  .heroExamplesWrap--modal{
    margin-top:12px;
  }
  .heroExamplesModalBtn{
    min-height:46px;
    border-radius:17px;
  }
  .heroTrust{
    margin-top:10px;
  }
  .heroTrustItem{
    width:100%;
    padding:9px 14px;
    min-height:unset;
  }
}

@media (max-width: 380px){
  .center{
    width:calc(100vw - 18px);
  }
  .micro--hero,
  .heroTrustItem{
    font-size:11.5px;
  }
}
