.agents-hero.hv3 { --h: 0; --p: 0; --oy: 0px; padding: 0; background: var(--depth); border-radius: 0 0 44px 44px; }
.hv3-pin { position: relative; overflow: hidden; background: var(--paper); padding-bottom: clamp(56px, 6vw, 88px); }
.hv3-zadnik { position: absolute; inset: 0; z-index: 0; background: var(--depth);
  clip-path: inset(var(--zt, 100%) var(--zr, 50%) var(--zb, 0px) var(--zl, 50%) round var(--zrad, 28px)); }
.hv3.is-pin .hv3-pin { position: sticky; top: var(--nav-h, 76px); height: calc(100vh - var(--nav-h, 76px)); padding-bottom: 0; }
.hv3-verh { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(36px, 5.4vh, 72px);
  opacity: calc(1 - var(--h)); transform: translateY(calc(var(--h) * -64px)) scale(calc(1 - var(--h) * .04)); transform-origin: 50% 0; }
.hv3.is-ushel .hv3-verh { visibility: hidden; }
.hv3-plashka { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 7px 16px 7px 12px;
  border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -16px rgba(17, 28, 35, .4);
  font: 500 15px/1.35 var(--body); color: var(--ink); }
main .hv3-verh .hv3-plashka { text-align: left; hyphens: manual; }
.hv3-plashka i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brass-base, #A07436); box-shadow: 0 0 0 4px rgba(160, 116, 54, .16); }
.agents-hero.hv3 .hv3-h1 { position: relative; z-index: 1; width: auto; max-width: 22em; margin: 0 auto;
  font: 400 clamp(36px, 4.1vw, 62px)/1.12 var(--head); font-variation-settings: var(--heading-variation); letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.hv3-str { display: block; }
.hv3-cherta { position: relative; display: inline-block; white-space: nowrap; }
.hv3-cherta-svg { position: absolute; left: -2%; bottom: -.1em; width: 104%; height: .24em; overflow: visible; pointer-events: none; }
.hv3-cherta-svg path { fill: none; stroke: var(--brass-base, #A07436); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: hv3-chertit .85s .6s cubic-bezier(.65, .05, .25, 1) forwards; }
.hv3-cherta-svg path + path { stroke-width: 1.7; opacity: .5; animation-delay: .95s; }
@keyframes hv3-chertit { to { stroke-dashoffset: 0; } }
.hv3-mazok { position: relative; display: inline-block; box-sizing: border-box; padding: 0 .26em .04em; white-space: nowrap; vertical-align: top;
  transition: width .5s cubic-bezier(.2, .75, .2, 1); }
.hv3-mazok::before { content: ""; position: absolute; z-index: -1; inset: .12em -.02em .02em; border-radius: .16em .34em .2em .3em / .32em .18em .3em .22em;
  background: var(--ice, #D5E7EE); transform: rotate(-1.2deg) skewX(-5deg); animation: hv3-mazok .75s .3s cubic-bezier(.65, .05, .25, 1) both; }
@keyframes hv3-mazok { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hv3-mazok-t { display: inline-block; transition: opacity .22s ease, transform .22s ease; }
.hv3-mazok.is-out .hv3-mazok-t { opacity: 0; transform: translateY(-.16em); }
.hv3-mazok.is-in .hv3-mazok-t { opacity: 0; transform: translateY(.16em); transition: none; }
.agents-hero.hv3 .hv3-pod { position: relative; z-index: 1; max-width: 36em; margin: 26px auto 0; font: 400 19px/1.55 var(--body); color: var(--ink); text-align: center; hyphens: manual; }
.hv3-pod span { display: block; }
.hv3-pod span + span { color: var(--muted); }
.agents-hero.hv3 .hv3-knopki { position: relative; z-index: 1; justify-content: center; margin-top: 32px; }
.agents-hero.hv3 .hv3-meta { position: relative; z-index: 1; justify-content: center; margin-top: 22px; }
.hv3-okno-ramka { position: relative; z-index: 2; width: min(1040px, calc(100% - 2 * var(--gutter, 24px))); margin: clamp(56px, 6vw, 84px) auto 0; perspective: 1700px;
  animation: hv3-okno-in 1s .2s cubic-bezier(.2, .75, .2, 1) backwards; }
.hv3.is-pin .hv3-okno-ramka { position: absolute; left: 0; right: 0; top: 0; margin: 0 auto; transform: translateY(var(--oy)); }
@keyframes hv3-okno-in { from { opacity: 0; translate: 0 64px; } to { opacity: 1; translate: 0 0; } }
.agents-hero.hv3 .agents-hero-demo { animation: none; perspective: none; transform-origin: 50% 0;
  transform: rotateX(calc((1 - var(--p)) * 15deg)) scale(calc(.93 + var(--p) * .07)); }
.agents-hero.hv3.is-rovno .agents-hero-demo { transform: none; }
.agents-hero.hv3 .agents-hero-demo > .avat-demo,
.agents-hero.hv3 .agents-hero-demo > .avat-demo:is(:hover, :focus-within) { transform: none; transition: none;
  box-shadow: 0 44px 100px -44px rgba(5, 10, 14, .75), 0 4px 18px -9px rgba(5, 10, 14, .35), inset 0 1px 0 #fff; }
.agents-hero.hv3 .avat-demo__window-title { visibility: hidden; }
.hv3-pilyulya { position: absolute; z-index: 3; left: 50%; top: 0; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px; margin: 0;
  padding: 6px 20px 6px 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 16px 36px -18px rgba(17, 28, 35, .5);
  white-space: nowrap; font: 400 14px/1.3 var(--body); color: var(--muted); }
main .hv3-okno-ramka .hv3-pilyulya { text-align: left; hyphens: manual; }
.hv3-pilyulya button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 16px; border: 0; border-radius: 999px;
  background: var(--ice, #D5E7EE); color: var(--ink); font: 500 16px/1 var(--body); cursor: pointer; transition: background .2s; }
.hv3-pilyulya button:hover { background: #C4DCE6; }
.hv3-pilyulya button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.hv3-pilyulya button i { width: 0; height: 0; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.agents-hero.hv3 .hero-proof-band { margin: 0; border: 0; border-radius: 0 0 44px 44px; background: var(--depth); }
@media (max-width: 760px) {
  .agents-hero.hv3 { border-radius: 0 0 28px 28px; }
  .agents-hero.hv3 .hero-proof-band { border-radius: 0 0 28px 28px; }
  .hv3-pin { padding-bottom: 48px; }
  .hv3-plashka { gap: 8px; margin-bottom: 20px; padding: 7px 12px 7px 10px; border-radius: 14px; font-size: 13px; }
  .agents-hero.hv3 .hv3-h1 { font-size: clamp(29px, 8.4vw, 38px); letter-spacing: -.035em; }
  .hv3-str { display: inline; }
  .hv3-str:last-child { display: block; margin-top: .06em; }
  .agents-hero.hv3 .hv3-pod { margin-top: 18px; font-size: 16px; }
  .agents-hero.hv3 .hv3-knopki { margin-top: 26px; }
  .hv3-okno-ramka { width: calc(100% - 32px); margin-top: 52px; }
  .hv3-pilyulya { padding: 5px; }
  .hv3-pilyulya > span { display: none; }
  .hv3-pilyulya button { font-size: 15px; }
  .agents-hero.hv3 .agents-hero-demo { transform: rotateX(calc((1 - var(--p)) * 8deg)) scale(calc(.96 + var(--p) * .04)); }
}
@media (prefers-reduced-motion: reduce) {
  .hv3-okno-ramka, .hv3-mazok::before, .hv3-cherta-svg path { animation: none; }
  .hv3-cherta-svg path { stroke-dashoffset: 0; }
  .hv3-mazok, .hv3-mazok-t { transition: none; }
}
