/* ===================== Стартовая страница DebiSana (вход) ===================== */
.lp{position:fixed;inset:0;z-index:20;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;
  max-width:none;margin:0;padding:0;gap:0;
  color:#e6f3f5;font-family:"Golos Text",system-ui,-apple-system,"Segoe UI",sans-serif;
  background:radial-gradient(120% 70% at 85% -10%,#0f4b5a 0%,rgba(15,75,90,0) 55%),
             radial-gradient(90% 60% at -10% 110%,#0b3a4a 0%,rgba(11,58,74,0) 60%),
             linear-gradient(165deg,#051019 0%,#082230 48%,#04121b 100%)}
.lp[hidden]{display:none}
.lp>.privacy-link{display:none}
.lp .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* фон: световые волны */
.lp-bg{position:fixed;inset:0;pointer-events:none;overflow:hidden;background:#061821 url(lp-bg-mob.webp) center top/cover no-repeat}
@media (min-width:900px){.lp-bg{background-image:url(lp-bg-desk.webp)}}

/* основная часть */
.lp-main{position:relative;flex:1 0 auto;display:flex;flex-direction:column;align-items:center;gap:26px;
  width:100%;box-sizing:border-box;padding:calc(36px + env(safe-area-inset-top,0px)) 18px 26px}

/* бренд */
.lp-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.lp-logo{display:inline-flex;flex-direction:column;align-items:center;gap:10px}
.lp-logo>svg{width:92px;height:92px;filter:drop-shadow(0 8px 26px rgba(34,160,230,.45))}
.lp-word{font-family:Manrope,"Golos Text",sans-serif;font-weight:800;font-size:44px;line-height:1;letter-spacing:-.6px;color:#f4fbfc}
.lp-word b{font-weight:800;color:#22d3c5}
.lp-tag{margin:0;font-size:17px;line-height:1.45;color:#c4d8dd}
.lp-feat{display:none}

/* карточка входа */
.lp-card{width:100%;max-width:420px;box-sizing:border-box;padding:26px 22px 24px;border-radius:20px;
  background:linear-gradient(160deg,rgba(22,58,72,.62),rgba(10,32,43,.72));
  border:1px solid rgba(140,215,225,.16);box-shadow:0 24px 60px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.05);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.lp-card h1{margin:0 0 20px;font-family:Manrope,"Golos Text",sans-serif;font-weight:800;font-size:27px;letter-spacing:-.3px;color:#f4fbfc}
.lp-card form{display:flex;flex-direction:column;gap:14px}
.lp-field{position:relative;display:block}
.lp-field>svg{position:absolute;left:16px;top:50%;width:22px;height:22px;transform:translateY(-50%);fill:none;stroke:#8fb3bb;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.lp-field input{width:100%;box-sizing:border-box;height:56px;padding:0 50px 0 52px;border-radius:12px;font:inherit;font-size:16px;color:#eef8fa;
  background:rgba(6,24,33,.66);border:1px solid rgba(140,200,210,.2);outline:none;transition:border-color .15s,box-shadow .15s}
.lp-field input::placeholder{color:#8aa6ad}
.lp-field input:focus{border-color:#22d3c5;box-shadow:0 0 0 3px rgba(34,211,197,.2)}
.lp-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:10px;background:none;cursor:pointer;padding:0}
.lp-eye svg{width:22px;height:22px;fill:none;stroke:#a9c3c9;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lp-eye[aria-pressed="true"] svg{stroke:#22d3c5}
.lp-eye:focus-visible,.lp-link:focus-visible,.lp-btn:focus-visible,.lp-demo:focus-visible{outline:2px solid #22d3c5;outline-offset:2px}
.lp-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:2px}
.lp-check{display:inline-flex;align-items:center;gap:10px;font-size:15px;color:#d5e5e8;cursor:pointer}
.lp-check input{appearance:none;-webkit-appearance:none;flex:none;box-sizing:border-box;width:22px;height:22px;min-width:22px;padding:0;margin:0;border-radius:6px;border:1px solid rgba(160,200,210,.45);background:rgba(6,24,33,.6) no-repeat center/16px 16px;cursor:pointer;vertical-align:middle}
.lp-check input::after{content:none}
.lp-check input:focus-visible{outline:2px solid #22d3c5;outline-offset:2px}
.lp-check input:checked{background-color:#b8d4ec;border-color:#b8d4ec;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4.2 4.2 8.8-9.4' fill='none' stroke='%230b2a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.lp-link{border:0;background:none;padding:4px 0;font:inherit;font-size:15px;font-weight:500;color:#2fe0d0;cursor:pointer}
.lp-hint{margin:-4px 0 0;font-size:13.5px;line-height:1.45;color:#b9d2d7;background:rgba(34,211,197,.08);border:1px solid rgba(34,211,197,.2);border-radius:10px;padding:9px 11px}
.lp-btn{height:56px;border:0;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:10px;
  font:inherit;font-size:18px;font-weight:600;color:#06231f;cursor:pointer;
  background:linear-gradient(90deg,#16c9b8,#22d7c7);box-shadow:0 10px 26px rgba(34,211,197,.28);transition:filter .15s,transform .05s}
.lp-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lp-btn:hover{filter:brightness(1.06)}.lp-btn:active{transform:translateY(1px)}
.lp-btn:disabled{opacity:.6;cursor:default}
.lp .err{color:#ff8f86;font-size:14px;min-height:0}.lp .err:empty{display:none}
.lp-or{display:flex;align-items:center;gap:14px;margin:18px 0;color:#8fa9af;font-size:14px}
.lp-or::before,.lp-or::after{content:"";flex:1;height:1px;background:rgba(150,200,210,.18)}
.lp #demoBtn.lp-demo{width:100%;padding:0;letter-spacing:0;box-shadow:none;height:54px;border-radius:12px;border:1.5px solid #22d3c5;background:rgba(34,211,197,.05);
  display:flex;align-items:center;justify-content:center;gap:10px;font:inherit;font-size:17px;font-weight:600;color:#2fe0d0;cursor:pointer;transition:background .15s}
.lp #demoBtn.lp-demo:hover{background:rgba(34,211,197,.12);border-color:#22d3c5}
.lp #demoBtn.lp-demo:focus-visible{outline:2px solid #22d3c5}
.lp-demo svg{width:24px;height:24px}.lp-demo .f{fill:#22d3c5}.lp-demo .t{fill:#082230}

/* подвал */
.lp-foot{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;
  margin:0 18px;padding:18px 0 calc(18px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(150,200,210,.14);font-size:13px;color:#a9bfc4}
.lp-foot-l{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 16px}
.lp-logo.sm{flex-direction:row;gap:8px}.lp-logo.sm svg{width:30px;height:30px;filter:none}.lp-logo.sm .lp-word{font-size:19px;letter-spacing:-.2px}
.lp-sub{flex-basis:100%}
.lp-foot i{font-style:normal;margin:0 8px;opacity:.5}
.lp-foot a{color:#c4d6da;text-decoration:none}.lp-foot a:hover{color:#2fe0d0}

/* ноутбук-иллюстрация — только на широком экране */
.lp-shot{display:none}

@media (max-width:400px){.lp #demoBtn.lp-demo{font-size:15.5px;gap:8px}}
@media (max-width:360px){.lp-word{font-size:38px}.lp-card{padding:22px 16px}.lp-card h1{font-size:24px}}

/* ===== планшет и компьютер ===== */
@media (min-width:900px){
  .lp-main{display:grid;grid-template-columns:minmax(300px,380px) 440px;justify-content:center;align-items:center;column-gap:clamp(40px,6vw,90px);
    padding:56px 40px 40px;max-width:1400px;margin:0 auto}
  .lp-brand{align-items:flex-start;text-align:left;gap:18px}
  .lp-logo{flex-direction:row;gap:16px}
  .lp-logo>svg{width:92px;height:92px}
  .lp-word{font-size:52px}
  .lp-tag{font-size:19px;margin-left:110px;margin-top:-8px}
  .lp-feat{display:flex;flex-direction:column;gap:15px;list-style:none;margin:18px 0 0;padding:0}
  .lp-feat li{display:flex;gap:18px;align-items:flex-start}
  .lp-ic{flex:none;width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:rgba(20,60,74,.55);border:1px solid rgba(140,215,225,.16)}
  .lp-ic svg{width:26px;height:26px;fill:none;stroke:#22d3c5;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .lp-feat b{display:block;font-size:16.5px;font-weight:600;color:#f1f8f9;margin:2px 0 4px}
  .lp-feat div>span{display:block;max-width:370px;font-size:14px;line-height:1.45;color:#a9c0c5}
  .lp-card{max-width:440px;padding:36px 34px 32px;border-radius:22px}
  .lp-card h1{font-size:32px;margin-bottom:26px}
  .lp-foot{flex-direction:row;justify-content:space-between;text-align:left;margin:0 auto;width:calc(100% - 80px);max-width:1320px;padding:22px 0}
  .lp-foot-l{justify-content:flex-start;display:grid;grid-template-columns:auto auto;column-gap:18px;row-gap:6px}
  .lp-foot-l .lp-logo{grid-row:span 2}
  .lp-sub{flex-basis:auto}
}
@media (min-width:1280px){
  .lp-main{grid-template-columns:360px 440px minmax(0,1fr);column-gap:56px;justify-content:start;padding-left:max(48px,calc((100vw - 1400px)/2 + 48px));padding-right:0;max-width:none}
  .lp-shot{display:block;position:relative;align-self:center;width:760px;margin-right:-260px;transform:perspective(1600px) rotateY(-18deg) rotateX(4deg);transform-origin:left center;filter:drop-shadow(0 40px 60px rgba(0,0,0,.55))}
  .lp-screen{display:grid;grid-template-columns:150px 1fr;height:440px;border-radius:16px 16px 0 0;border:10px solid #1b2328;border-bottom-width:14px;background:#0b1820;overflow:hidden}
  .lp-screen aside{background:#0f222c;padding:16px 12px;display:flex;flex-direction:column;gap:6px}
  .lp-screen aside .lp-logo.xs{flex-direction:row;gap:6px;margin-bottom:12px}
  .lp-logo.xs svg{width:22px;height:22px;filter:none}.lp-logo.xs .lp-word{font-size:14px;letter-spacing:0}
  .lp-screen aside i{font-style:normal;font-size:11px;color:#8ba4aa;padding:7px 8px;border-radius:7px}
  .lp-screen aside i.on{background:rgba(34,211,197,.14);color:#e5f6f4}
  .lp-dash{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;gap:10px;padding:14px;background:#eef3f5;color:#1d2a30}
  .lp-dash small{display:block;font-size:9.5px;color:#6b7c83;margin-bottom:4px}
  .lp-kpi,.lp-chart,.lp-list{background:#fff;border-radius:10px;padding:10px 12px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
  .lp-kpi b{display:block;font-size:17px;font-weight:700;letter-spacing:-.2px}.lp-kpi em{font-style:normal;font-size:9.5px;color:#14a37f}
  .lp-kpi .late{color:#d2483d}
  .lp-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.lp-kpi b{font-size:15px}
  .lp-screen aside i u{text-decoration:none;display:inline-grid;place-items:center;min-width:14px;height:14px;border-radius:7px;background:#e5534b;color:#fff;font-size:8.5px;margin-left:3px}
  .lp-list p span{flex:1}.lp-list p em{font-style:normal;font-size:8.5px;font-weight:600;border-radius:99px;padding:1px 7px;margin-right:10px}.lp-list p b{font-size:10px;min-width:62px;text-align:right}
  .lp-list p.l em{background:#fbe6e4;color:#ad2f28}.lp-list p.s em{background:#fbf0d4;color:#946200}.lp-list p.o em{background:#dcf3eb;color:#11795a}
  .lp-list p{border-left:3px solid transparent;padding-left:6px!important}.lp-list p.l{border-left-color:#e5534b}.lp-list p.s{border-left-color:#f2c057}.lp-list p.o{border-left-color:#4fe0b0}
  .lp-chart svg{width:100%;height:130px;display:block}
  .lp-list{}.lp-list p{display:flex;justify-content:space-between;margin:0;padding:5px 0;border-top:1px solid #eef1f2;font-size:10px;color:#3a4a50}
  .lp-base{height:14px;margin:0 -40px;border-radius:0 0 18px 18px;background:linear-gradient(#3a454c,#20282d)}
}
@media (prefers-reduced-motion:reduce){.lp-btn,.lp-field input{transition:none}}

/* ссылка временно неактивна: текст остаётся, нажатие ничего не открывает */
.lp-foot .lp-off{cursor:default;color:#c4d6da}
