/* Сайт продукта. Палитра и шрифт — брендбук 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;
  --shadow:0 1px 2px rgba(31,33,29,.05),0 8px 24px rgba(31,33,29,.04);
  --shadow-lg:0 1px 2px rgba(31,33,29,.06),0 24px 60px rgba(31,33,29,.12);
}
*{box-sizing:border-box}
/* У подписей полей свой display:flex, и без этого правила атрибут hidden их не прятал бы. */
[hidden]{display:none!important}
html{scroll-behavior:smooth}
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-ghost:hover{border-color:#CBC4B3}
.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,button:focus-visible,summary:focus-visible{
  outline:2px solid var(--brand);outline-offset:2px}

/* ── шапка */
.top{display:flex;align-items:center;gap:28px;padding:12px 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;margin-right:auto;font-size:19px;font-weight:600;
  color:var(--ink);letter-spacing:-.022em}
.nav{display:flex;gap:24px;font-size:15px}
.nav a{color:var(--muted)}
.nav a:hover{color:var(--ink)}
.top-cta{height:40px;font-size:15px;border-radius:12px;padding:0 18px}

main{max-width:1080px;margin:0 auto;padding:0 24px}
main>section{scroll-margin-top:84px}
.block{padding-bottom:72px}
.sec-h{font-size:32px;font-weight:600;margin-bottom:24px}

/* ── первый экран */
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center;padding:72px 0 56px}
.hero h1{font-size:48px;font-weight:600;line-height:1.1}
.lead{font-size:19px;color:var(--muted);margin:18px 0 28px;max-width:46ch}
.cta{display:flex;flex-wrap:wrap;gap:12px}
.under{font-size:14px;color:var(--muted);margin:14px 0 0}

/* Макет экрана «День» — разметка, а не картинка: чёткий на любом экране, и в нём заведомо
   нет ничьих настоящих данных. */
.shot{background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;
  box-shadow:var(--shadow-lg);font-size:14px}
.shot-bar{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--ink);color:var(--surface)}
.shot-bar span{margin-left:auto;font-size:13px;opacity:.7}
.shot-mark{width:18px;height:18px;border-radius:6px;background:var(--brand)}
.shot-kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-bottom:1px solid var(--line)}
.shot-kpi div{background:var(--surface);padding:10px 16px}
.shot-kpi span{display:block;font-size:12px;color:var(--muted)}
.shot-kpi b{font-size:20px;font-weight:600;letter-spacing:-.02em}
.shot-list{padding:6px 16px}
.shot-h{display:grid;grid-template-columns:44px 1fr;gap:6px 12px;padding:8px 0;border-bottom:1px dashed var(--line)}
.shot-h:last-child{border-bottom:0}
.shot-h time{grid-row:span 2;padding-top:8px;font-weight:600;color:var(--muted)}
.bk{grid-column:2;display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  padding:8px 12px;border-radius:10px;background:var(--sand);border-left:3px solid var(--line)}
.bk b{font-weight:500}
.bk em{font-style:normal;font-size:12px;color:var(--muted);white-space:nowrap}
.bk.paid{border-left-color:var(--brand)}
.bk.paid em{color:var(--brand)}
.bk.pre{border-left-color:#C9953A}
.bk.pre em{color:var(--warn)}
.bk.free{background:transparent;border:1px dashed var(--line)}
.shot-foot{display:flex;align-items:baseline;gap:10px;padding:12px 16px;background:var(--brand-light);color:#3A473F}
.shot-foot b{margin-left:auto;font-size:18px;color:var(--ink)}
.shot-foot i{font-style:normal;font-size:12px;font-weight:600;color:var(--brand)}

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

.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid.four{grid-template-columns:repeat(4,1fr)}
.grid article{background:var(--surface);border-radius:18px;padding:22px;box-shadow:var(--shadow)}
.grid h3{font-size:17px;font-weight:600;margin-bottom:8px}
.grid p{margin:0;font-size:15px;color:var(--muted)}
.grid ul{margin:0;padding-left:18px;font-size:15px;color:var(--muted)}
.grid li+li{margin-top:6px}

/* ── педагог с телефоном */
.split{display:grid;grid-template-columns:1.15fr .85fr;gap:52px;align-items:center;padding-bottom:72px}
.split p{font-size:17px;color:var(--muted);margin:0 0 12px;max-width:54ch}
.phone{justify-self:center;width:290px;background:var(--surface);border:1px solid var(--line);
  border-radius:34px;padding:20px 18px 18px;box-shadow:var(--shadow-lg)}
.ph-head b{display:block;font-size:16px}
.ph-head span{font-size:13px;color:var(--muted)}
.ph-list{list-style:none;margin:14px 0;padding:0}
.ph-list li{display:flex;justify-content:space-between;align-items:center;padding:10px 0;
  border-top:1px solid var(--line);font-size:15px}
.ph-list i{font-style:normal;font-size:13px;font-weight:600;border-radius:999px;padding:4px 11px}
.ph-list .on{background:var(--brand-light);color:var(--brand)}
.ph-list .exc{background:var(--warn-bg);color:var(--warn)}
.ph-list .off{background:var(--danger-bg);color:var(--danger)}
.ph-foot{font-size:13px;color:#3A473F;background:var(--brand-light);border-radius:12px;padding:10px 12px}

.agent{background:var(--brand-light);border-radius:24px;padding:40px 44px;margin-bottom:72px}
.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}

.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:step}
.steps li{background:var(--surface);border-radius:18px;padding:22px;box-shadow:var(--shadow);counter-increment:step}
.steps li::before{content:counter(step);display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;margin-bottom:14px;border-radius:50%;background:var(--brand-light);color:var(--brand);font-weight:600}
.steps b{display:block;font-size:17px;font-weight:600;margin-bottom:6px}
.steps span{font-size:15px;color:var(--muted)}

.price{display:flex;align-items:center;justify-content:space-between;gap:32px;background:var(--ink);
  color:var(--surface);border-radius:24px;padding:36px 40px}
.price h2{font-size:30px;font-weight:600;margin-bottom:10px}
.price p{margin:0;color:#D6D3C8;max-width:58ch}
.price .btn{flex:none}

.faq{max-width:780px}
.faq details{background:var(--surface);border-radius:16px;padding:0 20px;margin-bottom:10px;box-shadow:var(--shadow)}
.faq summary{position:relative;list-style:none;cursor:pointer;font-weight:600;padding:16px 32px 16px 0}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';position:absolute;right:0;top:12px;font-size:22px;font-weight:400;color:var(--muted)}
.faq details[open] summary::after{content:'−'}
.faq details p{margin:0 0 16px;color:var(--muted)}

/* ── форма */
.start{padding-bottom: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}
.seg{display:flex;gap:4px;background:var(--sand);border-radius:14px;padding:4px;margin-bottom:24px}
.seg button{flex:1;height:40px;font:inherit;font-size:15px;font-weight:600;color:var(--muted);
  background:transparent;border:0;border-radius:10px;cursor:pointer}
.seg button[aria-selected="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(31,33,29,.12)}

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}
#invite{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase}
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}
.switch{margin:0;text-align:center;font-size:14px;color:var(--muted)}
.switch a{font-weight:600}

#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:18px 0;font-size:17px;font-weight:600}
#ready .btn{width:100%;margin-bottom:22px}
.creds{display:flex;flex-direction:column;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:18px 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:980px){
  .nav{display:none}
  .hero{grid-template-columns:1fr;gap:40px}
  .shot{max-width:560px}
  .grid.four{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr}
}
@media (max-width:820px){
  .top{gap:12px;padding:10px 16px}
  .top-cta{height:36px;font-size:14px;padding:0 14px}
  main{padding:0 16px}
  .hero{padding:40px 0 40px}
  .hero h1{font-size:34px}
  .lead{font-size:17px}
  .cta .btn{width:100%}
  .sec-h{font-size:26px}
  .strip,.grid,.grid.four,.steps{grid-template-columns:1fr}
  .agent{padding:28px 24px;border-radius:20px}
  .price{flex-direction:column;align-items:flex-start;padding:28px 24px}
  .card{padding:24px}
  /* На телефоне «Демо с примерами» переносилось на две строки и выпирало из переключателя. */
  .seg button{font-size:14px;white-space:nowrap}
  .row{grid-template-columns:1fr}
  .bk{flex-direction:column;gap:2px}
}
