/* Сайт продукта. Палитра и шрифт — брендбук 1.0 «Хвоя»; те же значения, что в CRM,
   чтобы человек, перешедший из демо на сайт и обратно, не чувствовал шва. */
@font-face{font-family:'Golos Text';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/golos-text-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Golos Text';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/golos-text-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:'Golos Text';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/golos-text-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Golos Text';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/golos-text-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:'Golos Text';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/golos-text-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Golos Text';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/golos-text-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:'Golos Text';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/golos-text-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Golos Text';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/golos-text-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}

:root{
  --brand:#2F6B4F; --brand-dark:#245640; --brand-light:#E4EDE6;
  --ink:#1F211D; --sand:#F5F2EB; --surface:#FFFDF9; --muted:#63665D; --line:#E3DED2;
  --warn:#8A5B10; --warn-bg:#F6EBD8; --danger:#A8412F; --danger-bg:#F7E6E2;
}
*{box-sizing:border-box}
body{margin:0;font-family:'Golos Text',system-ui,sans-serif;background:var(--sand);color:var(--ink);
  -webkit-font-smoothing:antialiased;line-height:1.55}
h1,h2,h3{margin:0;letter-spacing:-.022em}
a{color:var(--brand);text-decoration:none}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px}

.btn{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:600;
  border:none;border-radius:14px;padding:0 22px;height:46px;cursor:pointer;text-decoration:none}
.btn-primary{background:var(--brand);color:var(--surface)}
.btn-primary:hover{background:var(--brand-dark)}
.btn-ghost{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.btn-lg{height:54px;font-size:17px;padding:0 30px;border-radius:16px}
.btn:disabled{background:#A8BCB0;cursor:default}
.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

.top{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 24px;background:var(--surface);border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:5}
.logo{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:600;color:var(--ink);letter-spacing:-.022em}
.top-cta{height:40px;font-size:15px;border-radius:12px}

main{max-width:1000px;margin:0 auto;padding:0 24px}

.hero{padding:76px 0 56px;max-width:44ch}
.hero h1{font-size:46px;font-weight:600;line-height:1.12}
.lead{font-size:19px;color:var(--muted);margin:18px 0 30px;max-width:52ch}
.under{font-size:14px;color:var(--muted);margin-top:14px}

.strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 64px}
.strip div{background:var(--surface);border-radius:18px;padding:20px 22px;
  box-shadow:0 1px 2px rgba(31,33,29,.05),0 8px 24px rgba(31,33,29,.04)}
.strip b{display:block;font-size:22px;font-weight:600;letter-spacing:-.02em}
.strip>div>span{display:block;font-size:14px;color:var(--muted);margin-top:4px}

.what{padding-bottom:64px}
.what h2{font-size:30px;font-weight:600;margin-bottom:24px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid article{background:var(--surface);border-radius:18px;padding:22px;
  box-shadow:0 1px 2px rgba(31,33,29,.05),0 8px 24px rgba(31,33,29,.04)}
.grid h3{font-size:17px;font-weight:600;margin-bottom:8px}
.grid p{margin:0;font-size:15px;color:var(--muted)}

.agent{background:var(--brand-light);border-radius:24px;padding:40px 44px;margin-bottom:64px}
.agent h2{font-size:28px;font-weight:600;margin-bottom:16px;max-width:24ch}
.agent p{font-size:16px;color:#3A473F;max-width:70ch;margin:0 0 12px}

.demo{padding-bottom:80px;scroll-margin-top:80px}
.card{background:var(--surface);border-radius:24px;padding:36px;max-width:620px;margin:0 auto;
  box-shadow:0 1px 2px rgba(31,33,29,.05),0 14px 40px rgba(31,33,29,.06)}
.card h2{font-size:28px;font-weight:600}
.card-lead{color:var(--muted);font-size:16px;margin:12px 0 26px}

form{display:flex;flex-direction:column;gap:16px}
label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#43463E}
input,select{font:inherit;font-size:16px;color:var(--ink);background:var(--surface);
  border:1px solid var(--line);border-radius:14px;padding:0 14px;height:48px}
input:focus,select:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(47,107,79,.15);outline:none}
label small{font-weight:400;font-size:13px;color:var(--muted)}
.row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
/* Ловушка для роботов: человек её не видит и не может сфокусировать. */
.decoy{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.err{margin:0;font-size:14px;font-weight:600;color:var(--danger);
  background:var(--danger-bg);border-radius:12px;padding:11px 14px}

#working{text-align:center;padding:22px 0 6px}
.spin{width:34px;height:34px;margin:0 auto 16px;border-radius:50%;
  border:3px solid var(--brand-light);border-top-color:var(--brand);animation:sp .9s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.work-t{margin:0;font-size:17px;font-weight:600}
.work-s{margin:6px 0 0;font-size:14px;color:var(--muted)}

.ok{margin:0 0 18px;font-size:17px;font-weight:600}
#ready .btn{width:100%;margin-bottom:22px}
.creds{display:flex;flex-direction:column;gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.creds div{display:flex;gap:12px;align-items:baseline;padding:11px 14px;font-size:14px}
.creds div+div{border-top:1px solid var(--line)}
.creds span{flex:0 0 96px;color:var(--muted)}
.creds code{word-break:break-all}
.note{font-size:13px;color:var(--muted);margin:14px 0 0}
.note.dim{color:#93907F}
.bad{margin:0 0 10px;font-size:17px;font-weight:600;color:var(--danger)}

footer{border-top:1px solid var(--line);padding:24px;text-align:center;font-size:13px;color:var(--muted)}

@media (max-width:820px){
  .hero{padding:48px 0 40px}
  .hero h1{font-size:34px}
  .lead{font-size:17px}
  .strip,.grid{grid-template-columns:1fr}
  .agent{padding:28px 24px;border-radius:20px}
  .card{padding:24px}
  .row{grid-template-columns:1fr}
  .top-cta{display:none}
}
