/* Лендинг AI Tender: изумрудная гамма, шрифт Manrope,
   карточка с зерном и скруглением, стеклянная панель с переливающейся рамкой,
   кнопки-пилюли, персонаж справа поверх края карточки. */
:root{--bg:#0b3b33;--card:#0f5446;--edge:#3fbf93;--pill:#0f9d6e;--ink:#0e2a24;--mint:#7ef0c2}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;min-height:100%}
body.amo{font:400 16px/1.4 Manrope,Helvetica,Arial,sans-serif;color:#fff;background:var(--bg);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit}
button{font:inherit;cursor:pointer}

.wrap{position:relative;min-height:100vh;display:flex;flex-direction:column;padding:0 89px}
.hd{position:relative;z-index:4;display:flex;align-items:center;height:100px;max-width:1262px;width:100%;margin:0 auto;padding:0 40px;gap:48px}
.brand{font:500 28px/1 Manrope,Arial,sans-serif;letter-spacing:-.8px;text-decoration:none;white-space:nowrap}
.brand b{font-weight:500;margin-left:4px;color:var(--mint)}
.brand i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--mint);margin-left:2px}
.menu{display:flex;gap:40px;font-size:15.5px;font-weight:500}
.menu a{text-decoration:none;cursor:pointer;opacity:.95}
.menu a:hover{opacity:1;text-decoration:underline}
.hd .sp{flex:1}
.hd .login{font-weight:500;text-decoration:none;cursor:pointer;margin-right:28px}
.trial{background:#fff;color:#010101;border:1px solid #3fbf93;border-radius:27px;padding:16px 31px;font-size:15.5px;font-weight:500;line-height:14px;box-shadow:0 4px 4px rgba(0,0,0,.25),0 0 0 4px rgba(18,184,134,.35);transition:transform .15s}
.trial:hover{transform:translateY(-1px)}

.hero{position:relative;flex:1;max-width:1262px;width:100%;margin:0 auto 0;min-height:720px;
  background:var(--card) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  border:1px solid var(--edge);border-radius:29px;box-shadow:0 4px 80px #04241d;
  display:flex;flex-direction:column;align-items:center;justify-content:center;padding:58px 420px 40px 70px}
.hero h1{position:relative;z-index:2;font:500 70px/1.02 Manrope,Arial,sans-serif;letter-spacing:-.035em;text-align:center;white-space:nowrap;margin:0 0 14px;text-shadow:0 4px 30px rgba(0,30,20,.4)}
.hero .sub{position:relative;z-index:2;font-size:22px;font-weight:400;margin:0 0 26px;text-align:center;color:#d3f3e7}
.hero .sub b{font-weight:500;color:var(--mint)}

/* стеклянная панель с переливающейся рамкой (как поле «Спросить» у amoCRM) */
.panel{position:relative;z-index:2;width:615px;max-width:100%;border-radius:20px;padding:1.5px;
  background:linear-gradient(100deg,#c6f36b 0%,#5ee8b0 35%,#12b886 65%,#6fe3e8 100%);
  box-shadow:0 3px 81px -3px rgba(0,0,0,.1),0 0 24px rgba(94,232,176,.28)}
.panel .in{border-radius:19px;background:linear-gradient(314.82deg,rgba(0,0,0,.07) 28.66%,rgba(0,0,0,.16) 94.66%),#0d4a3e;padding:19px 22px 18px 24px}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:15.5px;line-height:1.35}
.steps li{display:flex;gap:12px;align-items:flex-start}
.steps li b{flex:none;width:24px;height:24px;border-radius:50%;background:var(--mint);color:#063a2c;display:grid;place-items:center;font-size:13px;font-weight:500}
.panel .act{display:flex;justify-content:flex-end;margin-top:14px}
.ask{background:var(--pill);color:#fff;border:0;border-radius:27px;padding:16px 30px 16px 32px;font-size:18px;font-weight:500;display:inline-flex;align-items:center;gap:12px;box-shadow:0 8px 24px rgba(4,50,35,.5);transition:transform .15s,background .15s}
.ask:hover{background:#0b8a60;transform:translateY(-1px)}
.ask svg{width:18px;height:18px}

.chips{position:relative;z-index:2;width:615px;max-width:100%;display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.chip{background:rgba(4,40,32,.55);border:0;color:#fff;border-radius:18px;padding:8px 14px;font-size:15px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.chip:hover{background:rgba(4,40,32,.85)}
.chip .pl{width:0;height:0;border-left:9px solid #fff;border-top:5.5px solid transparent;border-bottom:5.5px solid transparent}

.person{position:absolute;z-index:3;right:-70px;bottom:-62px;height:calc(100% + 92px);max-height:780px;pointer-events:none}
.person img{height:100%;width:auto;display:block}

.ft{position:relative;z-index:2;max-width:1262px;width:100%;margin:0 auto;padding:18px 40px 22px;display:flex;gap:14px;font-size:13px;font-weight:400;color:#c7eadc}
.ft a{text-decoration:none}
.ft a:hover{text-decoration:underline}

/* окна */
.modal{position:fixed;inset:0;background:rgba(3,30,24,.7);display:none;align-items:center;justify-content:center;z-index:50;padding:16px;backdrop-filter:blur(3px)}
.modal.open{display:flex}
.box{background:#fff;color:var(--ink);width:100%;max-width:440px;padding:34px 34px 28px;position:relative;border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.box h2{margin:0 0 6px;font:500 28px/1.1 Manrope,Arial,sans-serif;letter-spacing:-.02em}
.box p.sub{margin:0 0 20px;color:#4a5f58;font-weight:400}
.box .x{position:absolute;right:16px;top:12px;border:0;background:none;font-size:28px;color:#8aa39b;line-height:1}
label.f{display:block;margin-bottom:14px;font-size:14px;color:#4a5f58;font-weight:400}
label.f input{display:block;width:100%;margin-top:6px;padding:13px 16px;border:1px solid #cfe0d9;border-radius:14px;font:500 16px Manrope,Arial,sans-serif;color:var(--ink)}
label.f input:focus{outline:none;border-color:var(--pill);box-shadow:0 0 0 3px rgba(15,157,110,.2)}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:27px;padding:15px 22px;font-weight:500;background:var(--pill);color:#fff;text-decoration:none;font-size:16px}
.btn:hover{background:#0b8a60}
.btn:disabled{opacity:.55}
.btn.wide{width:100%}
.agree{font-size:12.5px;color:#7a9189;margin:12px 0 0;font-weight:400}
.agree a{color:#0f9d6e}
.err{color:#b3261e;background:#fdecec;border-radius:10px;padding:9px 12px;font-size:14px;margin:0 0 12px;display:none;font-weight:400}
.err.show{display:block}
.switch{margin-top:16px;text-align:center;font-size:14px;color:#4a5f58;font-weight:400}
.switch a{cursor:pointer;color:#0f9d6e}
.pw{font:500 26px/1.2 ui-monospace,Menlo,Consolas,monospace;letter-spacing:2px;background:#e6f7f1;border:1px dashed #5ccfa5;border-radius:12px;padding:14px;text-align:center;margin:10px 0 6px;user-select:all}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.vbox{width:min(1100px,94vw);background:#000;position:relative;border-radius:18px;overflow:visible;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.vbox video{display:block;width:100%;height:auto;max-height:86vh;border-radius:18px}
.vbox .x{position:absolute;right:-4px;top:-46px;border:0;background:none;color:#fff;font-size:36px;line-height:1}

@media (max-width:1250px){.hero{padding-right:34%;padding-left:40px}.wrap{padding:0 30px}.hero h1{font-size:56px}.person{right:-60px;max-height:680px}.panel,.chips{width:560px}}
@media (max-width:1100px){
  .person{display:none}.hero{padding:60px 40px 50px}.hero h1{white-space:normal}
}
@media (max-width:760px){
  .wrap{padding:0 12px}
  .hd{height:72px;padding:0 12px;gap:12px}.menu{display:none}.hd .login{margin-right:6px;font-size:15px}
  .brand{font-size:24px}.trial{padding:12px 16px;font-size:14px}
  .hero{border-radius:22px;padding:36px 16px 0!important;min-height:0;overflow:hidden}
  .hero h1{font-size:38px;white-space:normal}
  .hero .sub{font-size:19px;margin-bottom:22px}
  .panel .in{padding:16px}
  .panel .act{justify-content:stretch}.ask{width:100%;justify-content:center;font-size:18px}
  .person{display:block;position:relative;right:auto;bottom:auto;height:420px;min-height:0;margin:20px auto 0;align-self:center}
  .ft{flex-direction:column;align-items:center;gap:6px;padding:16px 12px 20px}
}

/* жирность шрифта на сайте не выше 500 */
b,strong,h1,h2,h3,h4,h5,h6,th,legend{font-weight:500}
.brand img{display:block;height:34px;width:auto}
@media (max-width:760px){.brand img{height:28px}}

/* === первый экран без вертикальной прокрутки: всё подстраивается под высоту окна === */
html,body.amo{height:100%;overflow-x:hidden}
.wrap{height:100vh;height:100dvh;min-height:0;padding:0 clamp(12px,5vw,89px)}
.hd{flex:none;height:clamp(56px,10vh,100px)}
.hero{flex:1 1 auto;min-height:0;padding:clamp(20px,5vh,58px) 420px clamp(16px,4vh,40px) 70px}
.hero h1{font-size:clamp(30px,min(5vw,7.6vh),70px);margin-bottom:clamp(6px,1.4vh,14px)}
.hero .sub{font-size:clamp(15px,2.4vh,22px);margin-bottom:clamp(10px,2.8vh,26px)}
.panel .in{padding:clamp(11px,2vh,19px) 22px clamp(11px,2vh,18px) 24px}
.steps{gap:clamp(4px,1vh,9px);font-size:clamp(13px,1.75vh,15.5px)}
.steps li b{width:clamp(20px,2.6vh,24px);height:clamp(20px,2.6vh,24px)}
.panel .act{margin-top:clamp(8px,1.5vh,14px)}
.ask{padding:clamp(10px,1.8vh,16px) 30px clamp(10px,1.8vh,16px) 32px;font-size:clamp(15px,2vh,18px)}
.chips{margin-top:clamp(8px,1.8vh,16px)}
.chip{padding:clamp(5px,.9vh,8px) 14px;font-size:clamp(13px,1.65vh,15px)}
.ft{flex:none;height:clamp(40px,6.5vh,60px);padding:0 40px;align-items:center}
.person{bottom:calc(-1 * clamp(40px,6.5vh,60px));height:calc(100% + clamp(40px,6.5vh,60px) + 30px);max-height:none}
@media (max-height:760px){.chip[data-open=login]{display:none}}
@media (max-width:1250px){.hero{padding-right:34%;padding-left:40px}.panel,.chips{width:560px}.person{right:-60px}}
@media (max-width:1100px){.person{display:none}.hero{padding:clamp(20px,5vh,60px) 40px clamp(16px,4vh,50px)}.hero h1{font-size:clamp(30px,min(7vw,7vh),60px)}}
@media (max-width:760px){
  .wrap{padding:0 10px}
  .hd{height:56px;padding:0 6px}
  .hero{justify-content:flex-start;padding:clamp(14px,3vh,28px) 14px 0!important;overflow:hidden}
  .hero h1{font-size:clamp(25px,min(9vw,5vh),38px)}
  .hero .sub{font-size:clamp(14px,2.1vh,18px);margin-bottom:clamp(8px,1.8vh,18px)}
  .panel .in{padding:12px 14px}
  .steps{font-size:clamp(12.5px,1.75vh,14px);gap:5px}
  .ask{font-size:16px}
  .chips{justify-content:center}.chip:not(:first-child){display:none}
  .person{display:flex;position:relative;right:auto;bottom:auto;flex:1 1 0;min-height:0;height:auto;width:100%;justify-content:center;margin:8px 0 0}
  .person img{height:100%;width:auto;max-width:100%;object-fit:contain;object-position:bottom}
  .ft{height:auto;padding:8px 6px 10px;font-size:11px;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:2px 10px}
}
.person{height:calc(100% + clamp(40px,6.5vh,60px) + 6px)}
.trial{white-space:nowrap}
@media (max-width:760px){.person{height:auto}}
@media (max-width:400px){.trial{padding:11px 13px;font-size:13px}.hd .login{font-size:14px;margin-right:2px}.brand img{height:24px}}

/* правки 16.11: текст поверх фото, заголовок 400, шаги без цифр, новая стрелка и значок видео */
.person{z-index:1}
.hero h1,.panel,.chips{z-index:3}
.hero h1{font-weight:400;margin-bottom:clamp(14px,3.2vh,30px)}
.hero .sub b{font-weight:400}
.steps li{position:relative;padding-left:20px;gap:0}
.steps li:before{content:"";position:absolute;left:2px;top:.5em;width:8px;height:8px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 4px rgba(126,240,194,.18)}
.ask{gap:14px;padding-right:clamp(8px,1vh,10px)!important}
.ask .go{display:grid;place-items:center;width:clamp(30px,4vh,38px);height:clamp(30px,4vh,38px);border-radius:50%;background:#fff;color:var(--pill);flex:none;transition:transform .2s}
.ask .go svg{width:55%;height:55%}
.ask:hover .go{transform:translateX(3px)}
.chip.vid{padding-left:6px;gap:10px}
.chip.vid .pl{width:clamp(24px,3.2vh,30px);height:clamp(24px,3.2vh,30px);border:0;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#c6f36b,#5ee8b0 55%,#12b886);color:#063a2c;box-shadow:0 0 0 4px rgba(94,232,176,.18),0 4px 12px rgba(0,0,0,.25);transition:transform .2s}
.chip.vid .pl svg{width:58%;height:58%;margin-left:2px}
.chip.vid:hover .pl{transform:scale(1.08)}
@media (max-width:760px){.ask{justify-content:space-between;padding-left:22px!important}}
.hd .login{margin-right:0!important}
/* шаги без значков, кнопка ниже, значок видео меньше */
.steps li{padding-left:0}
.steps li:before{display:none}
.ask{padding-top:clamp(7px,1.1vh,10px)!important;padding-bottom:clamp(7px,1.1vh,10px)!important;padding-left:26px!important}
.ask .go{width:clamp(26px,3.3vh,30px);height:clamp(26px,3.3vh,30px)}
.chip.vid .pl{width:clamp(18px,2.4vh,22px);height:clamp(18px,2.4vh,22px);box-shadow:0 0 0 3px rgba(94,232,176,.16)}
.chip.vid{padding-left:8px;gap:8px}
.ask:hover,.trial:hover,.btn:hover{transform:none!important}
