/* RazMed платформа — общие стили */
:root{
  --accent:#2A6FB5; --ink:#17365A; --muted:#4B6A8C; --line:#D3E4F3; --bg:#EAF3FB;
  --tint:#E3EEF9; --tint-ink:#1F5A94; --warn:#FDF0CF; --warn-ink:#5C4308; --warn-bar:#E5B54A;
  --alert:#FBE3DF; --alert-ink:#8A2A1B; --alert-bar:#D9584A; --white:#fff; --dark:#17365A;
  --mint:#D3F0E2; --mint-ink:#174F38; --mint-bar:#6CC3A0;
  --shadow:0 24px 48px rgba(23,54,90,.09);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Manrope',system-ui,sans-serif;line-height:1.5}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,ul{margin:0}
ul{padding:0;list-style:none}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 24px}
.wrap--narrow{max-width:760px}
.wrap--cab{max-width:1180px}
.stack{display:flex;flex-direction:column}
.row{display:flex;flex-wrap:wrap}
.gap8{gap:8px}.gap12{gap:12px}.gap16{gap:16px}.gap20{gap:20px}.gap24{gap:24px}
.muted{color:var(--muted)}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.12em;color:var(--accent);text-transform:uppercase}

/* шапка и подвал */
.header{padding:16px 0}
.header__row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px}
.header--cab{background:var(--white);border-bottom:1px solid var(--line);padding:12px 0}
.logo{display:flex;flex-direction:column;line-height:1.15;font-size:22px;font-weight:800;letter-spacing:-.02em}
.logo__tag{display:block;font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--muted);margin-top:2px}
.footer .logo__tag{color:#9DC3E8}
.logo__main{display:block}
.logo__main>span{color:var(--accent)}
.logo small{font-size:16px;font-weight:600;color:var(--muted);letter-spacing:0}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:0 20px}
.nav a,.nav button{display:flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;font-family:inherit;background:none;border:0;cursor:pointer;color:inherit;padding:0}
.nav .pill{padding:0 14px;border-radius:22px;background:var(--tint);color:var(--tint-ink);font-weight:700}
.nav .pill--line{background:none;border:1.5px solid var(--ink);color:var(--ink);padding:0 18px}
.footer{background:var(--dark);color:#CFE0F1;margin-top:24px}
.footer .wrap{padding-top:36px;padding-bottom:44px;display:flex;flex-direction:column;gap:14px}
.footer .logo{color:#fff}.footer .logo__main>span{color:#9DC3E8}
.footer__links{display:flex;flex-wrap:wrap;gap:0 24px}
.footer__links a{display:flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;color:#fff}
.footer__note{font-size:13px}

/* кнопки */
.btn{display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 28px;border-radius:16px;font-size:17px;font-weight:700;font-family:inherit;border:2px solid var(--accent);cursor:pointer;background:none;color:var(--accent)}
.btn--solid{background:var(--accent);color:#fff}
.btn--dark{border-color:var(--ink);color:var(--ink)}
.btn--white{background:#fff;border-color:#fff;color:var(--ink)}
.btn--ghost-white{border-color:#fff;color:#fff}
.btn--small{min-height:48px;font-size:15px;padding:0 22px;border-radius:14px}
.btn--wide{flex:1 1 180px}
.btn[disabled],.btn.is-off{opacity:.5;cursor:not-allowed}

/* карточки */
.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}
.card--lg{border-radius:24px}
.card--accent{border:2px solid var(--accent)}
.card--tint{background:var(--tint);border:0}
.card--warn{background:var(--warn);border:0}
.grid{display:flex;flex-wrap:wrap;gap:20px}
.grid>*{flex:1 1 240px;min-width:0}
.icon{width:44px;height:44px;border-radius:14px;background:var(--tint);display:flex;align-items:center;justify-content:center}
.card h3{font-size:18px;line-height:1.3;font-weight:700}
.card p{font-size:15px;color:var(--muted)}
section.block{padding:0 0 56px}
section.block>.wrap>h2,.h2{font-size:32px;line-height:1.2;font-weight:800;letter-spacing:-.01em;margin-bottom:28px}

/* главная */
.hero{padding:32px 0 56px}
.hero .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:40px}
.hero__text{flex:1 1 420px;min-width:0}
.hero h1{font-size:48px;line-height:1.08;font-weight:800;letter-spacing:-.025em;margin-top:14px}
.hero__lead{font-size:19px;color:var(--muted);margin-top:18px}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero__note{font-size:13px;color:var(--muted);margin-top:14px}
.hero__demo{flex:1 1 360px;min-width:0}
.steps{display:flex;flex-wrap:wrap;gap:24px}
.steps>div{flex:1 1 220px;display:flex;flex-direction:column;gap:10px}
.steps h3{font-size:18px;font-weight:700}.steps p{font-size:15px;color:var(--muted)}
.num{width:40px;height:40px;border-radius:20px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800}
.dark-band{background:var(--dark);color:#fff;border-radius:24px;padding:36px;display:flex;flex-wrap:wrap;align-items:center;gap:24px 40px}
.dark-band h2{font-size:28px;line-height:1.2;font-weight:800}
.dark-band p{color:#CFE0F1;font-size:16px}
.chat{flex:1 1 280px;background:#24476F;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:10px}
.bubble{max-width:90%;border-radius:14px;padding:10px 14px;font-size:15px}
.bubble--me{align-self:flex-end;background:var(--accent);color:#fff}
.bubble--bot{align-self:flex-start;background:#fff;color:var(--ink)}
.chat small{font-size:12px;color:#CFE0F1}
.price{font-size:32px;line-height:1.2;font-weight:800;margin-top:8px}
.price small{font-size:16px;font-weight:600;color:var(--muted)}
.plan{display:flex;flex-direction:column}
.plan ul{margin:14px 0 20px;display:flex;flex-direction:column;gap:10px;flex:1;font-size:15px}
.plan li{padding-left:22px;position:relative}
.plan li:before{content:"";position:absolute;left:0;top:8px;width:10px;height:6px;border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg)}

/* хронология */
.tl{display:flex;gap:14px}
.tl__rail{display:flex;flex-direction:column;align-items:center}
.tl__dot{width:14px;height:14px;border-radius:7px;background:var(--accent);margin-top:6px;flex:none}
.tl__dot--future{background:#fff;border:2px solid var(--accent)}
.tl__line{width:2px;flex:1;background:var(--line)}
.tl__body{flex:1;min-width:0;padding-bottom:20px}
.tl__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.tl__date{font-size:13px;color:var(--muted);font-weight:600}
.tl__title{font-size:17px;font-weight:700;margin-top:4px}
.tl__text{font-size:15px;color:var(--muted)}
.tl__link{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:700;color:var(--accent)}
.tag{padding:3px 10px;border-radius:12px;background:var(--tint);color:var(--tint-ink);font-size:12px;font-weight:700}
.tag--warn{background:var(--warn);color:var(--warn-ink)}
.tag--alert{background:var(--alert);color:var(--alert-ink)}

/* чек-ап */
.notice{background:var(--warn);border-radius:16px;padding:14px 16px;display:flex;gap:12px;align-items:flex-start;font-size:14px;color:#5C4308}
.notice--alert{background:var(--alert);color:var(--alert-ink)}
.notice svg{flex:none;margin-top:2px}
.progress{height:8px;border-radius:4px;background:var(--line);overflow:hidden}
.progress>div{height:100%;background:var(--accent)}
.progress-label{display:flex;justify-content:space-between;font-size:14px;font-weight:700;color:var(--muted);margin-bottom:10px}
.q h1{font-size:28px;line-height:1.2;font-weight:800;letter-spacing:-.015em}
.opt{display:flex;align-items:center;gap:14px;min-height:56px;padding:0 18px;border:2px solid var(--line);border-radius:14px;font-size:16px;font-weight:600;cursor:pointer}
.opt:has(input:checked){border-color:var(--accent);background:var(--tint)}
.opt input{width:20px;height:20px;accent-color:var(--accent)}
.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700;color:var(--muted)}
.field input:not([type=checkbox]){width:100%;min-height:52px;padding:0 14px;border:1.5px solid var(--line);border-radius:12px;font-family:inherit;font-size:17px;color:var(--ink)}
.field input:focus{outline:2px solid var(--accent);border-color:var(--accent)}
.err{color:var(--alert-ink);font-size:14px;font-weight:600}
.scale{display:flex;gap:8px}
.scale div{flex:1;height:10px;border-radius:5px;background:var(--line)}
.scale .on0{background:var(--accent)}.scale .on1{background:var(--warn-bar)}.scale .on2{background:var(--alert-bar)}
.scale-labels{display:flex;gap:8px;font-size:13px;font-weight:600;color:var(--muted)}
.scale-labels span{flex:1}.scale-labels span:last-child{text-align:right}
.scale-labels .cur{font-weight:800;color:var(--ink)}
.factor{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid #E6EEF6}
.factor:last-child{border-bottom:0}
.factor b{display:block;font-size:16px}.factor span.s{font-size:14px;color:var(--muted)}
.checks li{display:flex;gap:12px;align-items:flex-start;font-size:16px;padding:6px 0}
.checks svg{flex:none;margin-top:3px}
details.card{padding:4px 20px;border-radius:16px}
details summary{min-height:52px;display:flex;align-items:center;font-size:16px;font-weight:700;cursor:pointer}
details p{margin-bottom:16px}
.cta{background:var(--accent);color:#fff;border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:14px}
.cta h2{font-size:24px;line-height:1.25;font-weight:800}.cta p{color:#E1EEFA;font-size:16px}

/* кабинет */
.cab{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start;padding:24px 0 56px}
.cab__nav{flex:1 1 200px;display:flex;flex-wrap:wrap;gap:6px}
.cab__nav a,.cab__nav span{flex:1 1 auto;display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:12px;font-size:15px;font-weight:600}
.cab__nav .on{background:var(--tint);color:var(--tint-ink);font-weight:700}
.cab__nav .soon{color:#7C93AB}
.cab__nav .soon em{font-style:normal;font-size:11px;margin-left:8px;padding:2px 8px;border-radius:10px;background:var(--line);color:var(--muted)}
.cab__main{flex:4 1 520px;min-width:0;display:flex;flex-direction:column;gap:24px}
.cab__side{flex:2 1 280px;min-width:0}
.cab h1{font-size:32px;line-height:1.15;font-weight:800;letter-spacing:-.02em}
.stat{flex:1 1 200px;padding:18px;border-radius:18px;background:#fff;border:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.stat--tint{background:var(--tint);border:0}
.stat small{font-size:13px;font-weight:700;color:var(--muted)}
.stat b{font-size:17px;font-weight:800}
.stat span{font-size:14px;color:var(--muted)}
.avatar{width:40px;height:40px;border-radius:20px;background:var(--tint);color:var(--tint-ink);display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800}
.empty{padding:8px 0;color:var(--muted);font-size:15px}
.page{padding:8px 0 56px}
.page h1{font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-.02em;margin-bottom:16px}
.page p{margin-bottom:12px;font-size:16px}
.msgs li{padding:12px 16px;border-radius:12px;background:var(--tint);margin-bottom:8px;font-weight:600}

@media (max-width:640px){
  .hero h1{font-size:34px}.hero__lead{font-size:17px}
  section.block>.wrap>h2,.h2{font-size:26px}
  .dark-band{padding:24px}
}

/* формы кабинета */
.sel{min-height:52px;padding:0 14px;border:1.5px solid var(--line);border-radius:12px;font-family:inherit;font-size:17px;color:var(--ink);background:#fff;width:100%}
.field input[type=file]{padding:12px 14px;min-height:0;font-size:15px}

/* рабочий стол */
.ta{width:100%;min-height:180px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;font-family:inherit;font-size:15px;line-height:1.5;color:var(--ink);resize:vertical}
.ta:focus{outline:2px solid var(--accent);border-color:var(--accent)}
.prewrap{white-space:pre-wrap;font-size:15px;line-height:1.55}
.tabs{display:flex;flex-wrap:wrap;gap:8px}
.tabs a{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:22px;border:1.5px solid var(--line);font-weight:700;font-size:15px;background:#fff}
.tabs a.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.tabs em{font-style:normal;font-size:12px;opacity:.7}
.otable{width:100%;border-collapse:collapse;font-size:15px}
.otable th{text-align:left;font-size:13px;color:var(--muted);padding:8px 10px;border-bottom:1px solid var(--line)}
.otable td{padding:12px 10px;border-bottom:1px solid #E6EEF6;vertical-align:top}
.otable tr:hover td{background:#F2F8FD}
.stepno{display:inline-flex;width:28px;height:28px;border-radius:14px;background:var(--accent);color:#fff;align-items:center;justify-content:center;font-size:14px;font-weight:800;margin-right:8px}
.stepno--off{background:var(--line);color:var(--muted)}

.mdtext p{margin:0 0 10px}.mdtext p:last-child{margin-bottom:0}.mdtext ul,.mdtext ol{margin:8px 0 8px 20px}.mdtext li{margin:4px 0}.mdtext hr{border:0;border-top:1px solid var(--line,#e5e7eb);margin:14px 0}


/* ===== v12: стиль «Лазурь» ===== */
.logo{flex-direction:row;align-items:center;gap:12px}
.logo__img{width:44px;height:44px;object-fit:contain;flex:none}
.logo__text{display:flex;flex-direction:column;line-height:1.15}
.logo{font-size:20px}
.logo__main>span{color:var(--accent)}
.header{padding:14px 0}
.header--cab{background:transparent;border-bottom:0}
.nav a:hover{color:var(--accent)}
.nav .pill{background:var(--accent);color:#fff}
.nav .pill--line{background:#fff;border:0;color:var(--ink)}
.footer{border-radius:40px 40px 0 0}

.btn{border-radius:999px;border-width:0;background:#fff;color:var(--ink);min-height:54px;font-size:16px}
.btn--solid{background:var(--accent);color:#fff;box-shadow:0 10px 24px rgba(42,111,181,.28)}
.btn--dark{background:#fff;color:var(--ink)}
.btn--white{background:#fff;color:var(--ink)}
.btn--ghost-white{background:transparent;border:2px solid #9DC3E8;color:#fff}
.btn--small{min-height:46px;font-size:15px;border-radius:999px}
.btn:hover{filter:brightness(.97)}

.card{border:0;border-radius:28px;padding:26px;box-shadow:var(--shadow)}
.card--lg{border-radius:32px}
.card--accent{background:var(--accent);color:#fff;box-shadow:0 24px 48px rgba(42,111,181,.3)}
.card--accent p,.card--accent li,.card--accent .price small{color:#E1EEFA}
.card--accent .btn--solid{background:#fff;color:var(--ink);box-shadow:none}
.card--accent .plan li:before{border-color:#8FE0BB}
.card--tint{background:var(--mint);box-shadow:none}
.card--warn{box-shadow:none}
.card--mint{background:var(--mint);color:var(--mint-ink)}
.card--mint p,.card--mint .muted{color:var(--mint-ink)}
.card--blue{background:var(--accent);color:#fff}
.card--blue p,.card--blue .muted{color:#E1EEFA}
.card--dark{background:var(--dark);color:#fff}
.card--dark p{color:#CFE0F1}
.icon{border-radius:16px;background:var(--tint)}
.icon--mint{background:var(--mint)}
.num{border-radius:14px;background:var(--accent)}
.steps>div{background:#fff;border-radius:28px;padding:26px;box-shadow:var(--shadow)}
.steps>div:last-child .num{background:var(--mint-bar);color:#10382A}
.dark-band{border-radius:40px;padding:48px}
.bubble--me{background:var(--mint-bar);color:#10382A;font-weight:600}
.bubble--bot{background:rgba(255,255,255,.12);color:#fff}
.chat{background:transparent;padding:0}
.hero h1{font-size:56px;line-height:1.04;letter-spacing:-.03em}
.hero h1 em{font-style:normal;color:var(--accent)}
.eyebrow{display:inline-block;padding:8px 16px;border-radius:999px;background:var(--mint);color:var(--mint-ink);letter-spacing:0;text-transform:none;font-size:14px}

/* композиция первого экрана */
.hero__stage{position:relative;flex:1 1 380px;min-height:470px;min-width:0}
.fl{position:absolute;box-sizing:border-box;border-radius:30px;box-shadow:var(--shadow)}
.fl--ring{right:0;top:0;width:78%;padding:24px;background:#fff;display:flex;gap:20px;align-items:center}
.fl--chart{left:0;top:140px;width:62%;padding:22px;background:var(--accent);color:#fff;display:flex;flex-direction:column;gap:12px;box-shadow:0 24px 48px rgba(42,111,181,.28)}
.fl--chat{right:6%;bottom:60px;width:70%;padding:20px 22px;background:#fff;display:flex;flex-direction:column;gap:10px}
.fl--chip{left:4%;bottom:0;padding:12px 18px;border-radius:999px;background:#fff;font-size:14px;font-weight:700;color:var(--mint-ink);display:flex;align-items:center;gap:8px}
.fl__cap{font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--muted)}
.fl--chart .fl__cap{color:#CFE4F6}
.mini-q{align-self:flex-end;padding:10px 16px;border-radius:18px 18px 4px 18px;background:var(--tint);font-size:14px;font-weight:600}
.mini-a{align-self:flex-start;padding:10px 16px;border-radius:18px 18px 18px 4px;background:var(--mint);font-size:14px;color:var(--mint-ink)}

/* плитки возможностей */
.bento{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.bento>div{border-radius:32px;padding:30px;display:flex;flex-direction:column;gap:10px;min-height:190px}
.bento h3{font-size:24px;font-weight:800}
.bento p{font-size:15px}
.b3{grid-column:span 3}.b2{grid-column:span 2}
.bento .t-blue{background:var(--accent);color:#fff}.bento .t-blue p{color:#DBEAF8}
.bento .t-white{background:#fff;box-shadow:var(--shadow)}
.bento .t-mint{background:var(--mint);color:var(--mint-ink)}.bento .t-mint p{color:var(--mint-ink)}
.bento .t-dark{background:var(--dark);color:#fff}.bento .t-dark p{color:#CFE0F1}
@media (max-width:760px){.bento{grid-template-columns:1fr}.b3,.b2{grid-column:span 1}.fl--ring,.fl--chart,.fl--chat{position:relative;width:100%;right:auto;left:auto;top:auto;bottom:auto;margin-bottom:12px}.fl--chip{position:relative;left:auto;bottom:auto;display:inline-flex}.hero__stage{min-height:0}.hero h1{font-size:38px}}

/* чек-ап */
.opt{border-radius:18px;border-color:var(--line);background:#f6fafd}
.opt:has(input:checked){background:var(--tint);border-color:var(--accent)}
.field input:not([type=checkbox]),.sel,.ta{border-radius:16px;border:2px solid var(--line);background:#f6fafd}
.progress{height:10px;border-radius:999px}.progress>div{border-radius:999px}
.scale div{height:12px;border-radius:999px}
.cta{background:var(--accent);border-radius:32px;box-shadow:0 24px 48px rgba(42,111,181,.28)}
.notice{border-radius:20px;font-weight:600}
.tag{border-radius:999px;padding:4px 12px}

/* кабинет: боковое меню-карточка и цветные блоки */
.cab{gap:20px}
.cab__nav{flex:0 0 240px;flex-direction:column;flex-wrap:nowrap;background:#fff;border-radius:32px;padding:14px;box-shadow:var(--shadow);align-self:flex-start;gap:4px}
.cab__nav a,.cab__nav span{flex:none;border-radius:16px;min-height:46px}
.cab__nav a:hover{background:#F2F8FD}
.cab__nav .on{background:var(--accent);color:#fff}
.cab__nav .soon em{background:var(--mint);color:var(--mint-ink)}
.cab__main{flex:4 1 480px}
.cab h1{font-size:34px}
.stat{border:0;border-radius:32px;padding:24px;gap:6px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.stat b{font-size:19px;line-height:1.25}
.stat__ico{width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:8px;background:var(--tint)}
.stat--mint{background:var(--mint);color:var(--mint-ink)}.stat--mint small,.stat--mint span{color:var(--mint-ink)}
.stat--mint .stat__ico{background:rgba(255,255,255,.6)}
.stat--blue{background:var(--accent);color:#fff}.stat--blue small,.stat--blue span{color:#DBEAF8}
.stat--blue .stat__ico{background:rgba(255,255,255,.18)}
.stat--sand{background:var(--warn);color:var(--warn-ink)}.stat--sand small,.stat--sand span{color:var(--warn-ink)}
.stat--sand .stat__ico{background:rgba(255,255,255,.6)}
.stat--dark{background:var(--dark);color:#fff}.stat--dark small,.stat--dark span{color:#CFE0F1}
.stat--dark .stat__ico{background:rgba(255,255,255,.14)}
.stat--tint{background:var(--dark);border:0}
.stat .scale{margin-top:6px}
.stat .scale div{height:8px;background:rgba(23,54,90,.14)}
.avatar{border-radius:50%;background:var(--accent);color:#fff}
.msgs li{background:var(--mint);color:var(--mint-ink);border-radius:16px}
.tabs a{border:0;background:#fff;box-shadow:var(--shadow)}
.tabs a.on{background:var(--accent)}
.stepno{background:var(--accent)}
.otable tr:hover td{background:#F2F8FD}

/* Рабочий стол: карточка Джарвиса */
.jarvis{background:var(--accent);color:#fff;border-radius:32px;padding:32px;box-shadow:0 24px 48px rgba(42,111,181,.28);display:flex;flex-direction:column;gap:10px}
.jarvis .eyebrow{align-self:flex-start;background:rgba(255,255,255,.16);color:#fff}
.jarvis p{color:#E1EEFA}
.jarvis p:first-of-type{font-size:26px!important;font-weight:800;color:#fff}

/* телефон: меню кабинета на всю ширину, блоки в колонку */
@media (max-width:760px){
  .cab__nav{flex:1 1 100%;flex-direction:row;flex-wrap:wrap;padding:10px}
  .cab__nav a,.cab__nav span{flex:1 1 auto;justify-content:center;text-align:center;padding:0 12px}
  .cab__main,.cab__side{flex:1 1 100%}
  .cab h1{font-size:28px}
  .dark-band{padding:28px}
  .jarvis{padding:24px}
}

/* помощник пациента */
.talk{display:flex;flex-direction:column;gap:12px}
.msg{max-width:88%;padding:14px 18px;border-radius:22px;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.msg--me{align-self:flex-end;background:var(--accent);color:#fff;border-radius:22px 22px 6px 22px}
.msg--bot{align-self:flex-start;background:#fff;box-shadow:var(--shadow);border-radius:22px 22px 22px 6px}
.msg--alert{background:var(--warn);color:var(--warn-ink)}
@media (max-width:640px){.msg{max-width:96%}}

/* ===== Рабочий стол: телефон и компьютер ===== */
.whead{background:#fff;border-bottom:1px solid var(--line);padding:10px 0;position:sticky;top:0;z-index:20}
.whead__row{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
.whead__brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;letter-spacing:-.01em}
.whead__brand img{object-fit:contain;mix-blend-mode:multiply}
.whead__right{margin-left:auto;display:flex;align-items:center;gap:14px}
.whead__out{background:none;border:0;cursor:pointer;font-family:inherit;color:var(--muted)}
.tabs--top{flex:1 1 auto}
.tabs--top a{min-height:40px;padding:0 14px;font-size:14px}
.wpage{padding-bottom:40px;padding-top:16px}
.wh1{font-size:32px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.wh2{font-size:20px;font-weight:800;display:flex;align-items:center;gap:10px}
.chip{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:700;font-style:normal;white-space:nowrap;background:var(--tint);color:var(--tint-ink)}
.chip--warn{background:var(--warn);color:var(--warn-ink)}
.chip--ok{background:var(--mint);color:var(--mint-ink)}
.chip--muted{background:#E8EEF4;color:var(--muted)}
.wtiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.wtile{display:flex;flex-direction:column;gap:2px;padding:18px 20px;border-radius:24px;background:#fff;box-shadow:var(--shadow)}
.wtile__t{font-size:13px;font-weight:700;color:var(--muted)}
.wtile__n{font-size:34px;font-weight:800;line-height:1.1}
.wtile--new{background:var(--tint)}
.wtile--warn{background:var(--warn);color:var(--warn-ink)}.wtile--warn .wtile__t{color:var(--warn-ink)}
.wtile--ok{background:var(--mint);color:var(--mint-ink)}.wtile--ok .wtile__t{color:var(--mint-ink)}
.ocard{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;border-radius:22px;background:#fff;box-shadow:var(--shadow);min-height:64px}
.ocard__main{display:flex;flex-direction:column;gap:2px;min-width:0}
.ocard__main .muted{font-size:14px}
.ocard__side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;font-size:13px;flex:none}
.ocard__src{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.ocard:active{transform:scale(.99)}
.wsearch{display:flex;gap:8px}
.wsearch .sel{flex:1 1 auto;min-height:48px}
.wsearch .btn{min-height:48px}
.only-mob{display:none}
.wbar{display:none}

@media (max-width:760px){
  .whead{padding:8px 0}
  .whead__brand{font-size:16px}
  .tabs--top{display:none}
  .whead__right .tl__link:first-child{display:none}
  .wh1{font-size:26px}
  .wpage{padding-top:8px}
  .jarvis{padding:22px;border-radius:28px}
  .jarvis p:first-of-type{font-size:22px!important}
  .wtiles{grid-template-columns:1fr 1fr}
  .wtile{padding:16px}
  .wtile__n{font-size:30px}
  .only-mob{display:flex}
  .only-desk{display:none}
  .hide-mob{display:none!important}
  .tabs--scroll{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  .tabs--scroll a{flex:none}
  body{padding-bottom:78px}
  .wbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--line);padding:6px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(23,54,90,.08)}
  .wbar>a,.wbar summary{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:56px;border-radius:16px;font-size:11px;font-weight:700;color:var(--muted);cursor:pointer;list-style:none}
  .wbar summary::-webkit-details-marker{display:none}
  .wbar svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .wbar a.on,.wbar summary.on{color:var(--accent);background:var(--tint)}
  .wbar__more{flex:1 1 0;position:relative;display:flex}
  .wbar__more summary{flex:1 1 auto}
  .wbar__sheet{position:absolute;right:0;bottom:66px;min-width:210px;background:#fff;border-radius:20px;box-shadow:0 16px 40px rgba(23,54,90,.22);padding:8px;display:flex;flex-direction:column}
  .wbar__sheet a,.wbar__sheet button{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:12px;font-size:16px;font-weight:700;background:none;border:0;font-family:inherit;color:var(--ink);text-align:left;width:100%;cursor:pointer}
  .wbar__sheet a:active,.wbar__sheet button:active{background:var(--tint)}
  /* форма на странице заказа: крупные поля и кнопки */
  .wpage .btn{min-height:50px}
  .wpage .ta{font-size:16px}
}
@media (min-width:761px){.wbar{display:none}}

/* ===== v23: помощник-шар ===== */
.jv{position:fixed;right:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:60;font-family:inherit}
.jv[hidden]{display:none}
.jv__fab{display:flex;align-items:center;gap:10px;border:0;background:none;padding:0;cursor:pointer;font-family:inherit}
.jv__fab .jv__orb{width:64px;height:64px;border-radius:50%;box-shadow:0 14px 28px rgba(23,54,90,.32);animation:jv-float 4s ease-in-out infinite;flex:none}
.jv__hint{background:#fff;border:1px solid var(--line);border-radius:18px 18px 4px 18px;padding:9px 14px;font-size:14.5px;font-weight:700;color:var(--ink);box-shadow:0 10px 24px rgba(23,54,90,.12);transition:opacity .4s}
.jv__hint--off{opacity:0;pointer-events:none}
.jv[data-mode=cab] .jv__hint{opacity:1}
.jv__scrim{position:fixed;inset:0;background:rgba(23,54,90,.38)}
.jv__panel{z-index:2}
.jv--open .jv__fab{display:none}
.jv__panel{position:fixed;left:0;right:0;bottom:0;max-height:88vh;overflow:auto;background:#fff;border-radius:28px 28px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;box-shadow:0 -20px 50px rgba(23,54,90,.25)}
.jv__panel[hidden]{display:none}
.jv__head{display:flex;align-items:center;gap:12px}
.jv__who{flex:1;display:flex;flex-direction:column;line-height:1.2}
.jv__who b{font-size:19px}
.jv__who span{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--muted)}
.jv__dot{width:8px;height:8px;border-radius:50%;background:#2E9B72;display:inline-block}
.jv__close{width:44px;height:44px;border:0;border-radius:22px;background:var(--bg);color:var(--ink);cursor:pointer;display:flex;align-items:center;justify-content:center}
.jv__log{display:flex;flex-direction:column;gap:10px;overflow:auto;max-height:36vh;min-height:0}
.jv__msg{max-width:92%;padding:10px 14px;font-size:16px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.jv__msg--bot{align-self:flex-start;background:var(--bg);border-radius:20px 20px 20px 6px}
.jv__msg--me{align-self:flex-end;background:var(--accent);color:#fff;border-radius:20px 20px 6px 20px}
.jv__msg--wait{opacity:.7}
.jv__msg--alert{background:var(--alert);color:var(--alert-ink)}
.jv__chips{display:flex;flex-direction:column;gap:8px}
.jv__chips[hidden]{display:none}
.jv__chip{min-height:44px;text-align:left;padding:10px 16px;border-radius:22px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;font-size:15.5px;font-weight:600;cursor:pointer;line-height:1.3}
.jv__chip:hover{background:var(--tint)}
.jv__form{display:flex;align-items:center;gap:8px;border:2px solid var(--accent);border-radius:26px;padding:4px 4px 4px 16px;background:#fff}
.jv__input{flex:1;min-width:0;border:0;outline:0;font:inherit;font-size:16px;color:var(--ink);background:transparent;min-height:44px}
.jv__input::placeholder{color:var(--muted)}
.jv__send{width:44px;height:44px;border:0;border-radius:22px;background:var(--ink);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
.jv__send[disabled]{opacity:.5;cursor:wait}
.jv__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.jv__foot{display:flex;flex-direction:column;gap:6px}
.jv__foot small{font-size:12.5px;line-height:1.45;color:var(--muted)}
.jv__links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;font-size:14px;font-weight:700}
.jv__links a{display:inline-flex;align-items:center;min-height:44px;color:var(--accent)}
.jv__links span{display:inline-flex;align-items:center;color:var(--muted);font-weight:600}
.jv__spin{transform-origin:32px 32px;animation:jv-spin 9s linear infinite}
.jv__pulse{animation:jv-pulse 3s ease-in-out infinite}
@keyframes jv-spin{to{transform:rotate(360deg)}}
@keyframes jv-pulse{0%,100%{opacity:.35}50%{opacity:.85}}
@keyframes jv-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media (min-width:640px){
  .jv__scrim{display:none}
  .jv__panel{left:auto;right:16px;bottom:16px;width:380px;border-radius:28px;box-shadow:0 24px 60px rgba(23,54,90,.28);max-height:min(640px,calc(100vh - 32px))}
  .jv[data-mode=cab] .jv__panel{width:420px}
  .jv__log{max-height:300px}
}
@media (max-width:420px){.jv__hint{display:none}.jv[data-mode=cab] .jv__hint{display:block;font-size:13.5px;padding:8px 12px}}
@media (prefers-reduced-motion:reduce){.jv__spin,.jv__pulse,.jv__fab .jv__orb{animation:none}.jv__hint{transition:none}}
body{padding-bottom:0}
.footer{padding-bottom:84px}

/* ===== v23: главная в новом стиле ===== */
.hm-hero{padding:12px 0 36px}
.hm-hero__row{display:flex;flex-wrap:wrap;gap:32px;align-items:center}
.hm-hero__text{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:18px}
.hm-hero h1{font-size:clamp(34px,6vw,56px);line-height:1.08;letter-spacing:-.03em;font-weight:800}
.hm-hero h1 em{font-style:normal;color:var(--accent)}
.hm-lead{font-size:18px;line-height:1.55;color:#3C5A7D}
.hm-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px}
.hm-btn{display:flex;align-items:center;justify-content:center;min-height:58px;padding:0 30px;border-radius:29px;font-size:18px;font-weight:700;font-family:inherit;border:2px solid var(--ink);cursor:pointer;flex:1 1 220px;text-align:center}
.hm-btn--dark{background:var(--ink);color:#fff}
.hm-btn--line{background:#fff;border-color:var(--accent);color:var(--tint-ink)}
.hm-btn--sm{min-height:52px;font-size:17px;flex:none}
.hm-note{font-size:14px;line-height:1.5;color:var(--muted)}
.hm-hero__card{flex:1 1 340px;max-width:440px;background:#fff;border:1px solid var(--line);border-radius:28px;padding:22px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:18px}
.hm-cap{font-size:12px;font-weight:800;letter-spacing:.1em;color:var(--muted)}
.hm-cap--light{color:#A9CDEE}
.hm-ring{display:flex;align-items:center;gap:18px}
.hm-ring svg{flex:none}
.hm-legend{display:flex;flex-direction:column;gap:12px;font-size:15px;font-weight:700}
.hm-legend li{display:flex;align-items:center;gap:10px}
.hm-legend i{width:12px;height:12px;border-radius:4px;flex:none;display:inline-block}
.hm-mint{background:var(--mint);color:var(--mint-ink);border-radius:16px;padding:12px 14px;font-size:14.5px;font-weight:600;line-height:1.45}
.hm-sec{padding:28px 0}
.hm-sec h2{font-size:clamp(28px,4.5vw,40px);letter-spacing:-.025em;line-height:1.15;font-weight:800}
.hm-sub{margin:6px 0 22px;font-size:17px;color:#3C5A7D;line-height:1.5}
.hm-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.hm-step{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:10px}
.hm-step h3{font-size:20px}
.hm-step p{font-size:16px;line-height:1.5;color:#3C5A7D}
.hm-num{width:44px;height:44px;border-radius:14px;color:#fff;display:flex;align-items:center;justify-content:center;font-size:19px}
.hm-demo{background:var(--ink);border-radius:28px;padding:16px;display:flex;flex-direction:column;gap:14px}
.hm-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}
.hm-tab{flex:none;min-height:44px;padding:0 18px;border-radius:22px;border:2px solid #4B6A8C;background:transparent;color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.hm-tab[aria-selected=true]{background:#fff;color:var(--ink);border-color:#fff}
.hm-demo__card{background:#fff;border-radius:22px;padding:20px;display:flex;flex-direction:column;gap:14px;min-height:230px}
.hm-demo__bar{display:flex;justify-content:space-between;align-items:center;gap:10px}
.hm-demo__bar b{font-size:19px}
.hm-chip{font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--muted);background:var(--bg);border-radius:10px;padding:5px 9px}
.hm-warn{background:var(--warn);color:var(--warn-ink);border-radius:16px;padding:14px;font-size:16px;line-height:1.5;margin-bottom:12px}
.hm-muted{font-size:16px;line-height:1.55;color:#3C5A7D}
.hm-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-weight:700}
.hm-row:last-child{border-bottom:0}
.hm-badge{font-style:normal;border-radius:12px;padding:4px 10px;font-size:14px;font-weight:700}
.hm-badge--warn{background:var(--warn);color:var(--warn-ink)}
.hm-badge--ok{background:var(--mint);color:var(--mint-ink)}
.hm-ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:12px;font-size:16px;line-height:1.5}
.hm-ol li{list-style:decimal}
[data-hm-panel][hidden]{display:none}
.hm-chart{background:#fff;border:1px solid var(--line);border-radius:28px;padding:20px;display:flex;flex-direction:column;gap:14px;box-shadow:var(--shadow)}
.hm-chart__top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.hm-chart__top b{font-size:19px}
.hm-chart svg{display:block;max-width:640px;width:100%}
.hm-legend-line{display:flex;align-items:center;gap:8px;font-size:14.5px;color:#3C5A7D}
.hm-legend-line i{width:14px;height:14px;border-radius:5px;background:var(--mint);flex:none}
.hm-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.hm-pills span{background:var(--tint);color:var(--tint-ink);border-radius:18px;padding:8px 14px;font-size:14.5px;font-weight:700}
.hm-pills .hm-pill--line{background:#fff;border:1px solid var(--accent)}
.hm-ai{background:var(--ink);color:#fff;border-radius:32px;padding:28px 22px;display:flex;flex-wrap:wrap;gap:28px;align-items:center}
.hm-ai__text{flex:1 1 300px;display:flex;flex-direction:column;gap:14px}
.hm-ai__top{display:flex;align-items:center;gap:14px}
.hm-ai h2{font-size:clamp(28px,4.5vw,40px);letter-spacing:-.025em;line-height:1.15}
.hm-ai p{font-size:17px;line-height:1.55;color:var(--line)}
.hm-ai__chat{flex:1 1 300px;display:flex;flex-direction:column;gap:10px}
.hm-ai__chat small{font-size:13px;line-height:1.45;color:#A9CDEE}
.hm-bubble{max-width:90%;padding:12px 16px;font-size:16px;line-height:1.5}
.hm-bubble--me{align-self:flex-end;background:var(--accent);border-radius:20px 20px 6px 20px}
.hm-bubble--bot{align-self:flex-start;background:#fff;color:var(--ink);border-radius:20px 20px 20px 6px}
.hm-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;align-items:stretch}
.hm-plan{background:#fff;border:1px solid var(--line);border-radius:28px;padding:24px;display:flex;flex-direction:column;gap:14px;position:relative}
.hm-plan--main{border:2px solid var(--accent);box-shadow:0 24px 48px rgba(42,111,181,.14)}
.hm-plan h3{font-size:22px}
.hm-plan ul{display:flex;flex-direction:column;gap:8px;flex:1;font-size:16px;line-height:1.45;color:#3C5A7D;padding-left:20px}
.hm-plan li{list-style:disc}
.hm-price{font-size:38px;font-weight:800;letter-spacing:-.02em}
.hm-price small{font-size:16px;font-weight:600;color:var(--muted)}
.hm-flag{position:absolute;top:-14px;right:20px;background:var(--ink);color:#fff;border-radius:14px;padding:5px 12px;font-size:13px;font-weight:700}
.hm-small{font-size:13px;color:var(--muted)}
.hm-faq{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.hm-faq details{background:#fff;border:1px solid var(--line);border-radius:20px;padding:6px 18px}
.hm-faq summary{cursor:pointer;list-style:none;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700;font-size:17px}
.hm-faq summary::-webkit-details-marker{display:none}
.hm-faq p{margin:0 0 14px;font-size:16px;line-height:1.55;color:#3C5A7D}
.hm-plus{width:22px;height:22px;flex:none;position:relative;transition:transform .2s}
.hm-plus:before,.hm-plus:after{content:"";position:absolute;background:var(--accent);border-radius:2px}
.hm-plus:before{left:4px;right:4px;top:10px;height:2.5px}
.hm-plus:after{top:4px;bottom:4px;left:10px;width:2.5px}
.hm-faq details[open] .hm-plus{transform:rotate(45deg)}
@media (max-width:640px){.hm-hero__card{max-width:none}.hm-ring{gap:12px}}

.hm-hero__text .eyebrow{align-self:flex-start}

/* ===== v24: расшифровка карточками ===== */
.dc{display:flex;flex-direction:column;gap:16px}
.dc-sum{border-radius:24px;padding:22px;display:flex;flex-direction:column;gap:10px;font-size:17px;line-height:1.55;background:var(--tint);color:var(--ink)}
.dc-sum--ok{background:var(--mint);color:var(--mint-ink)}
.dc-sum--warn{background:var(--warn);color:var(--warn-ink)}
.dc-sum--alert{background:var(--alert);color:var(--alert-ink)}
.dc-cap{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;opacity:.75}
.dc-lvl{font-size:21px;font-weight:800;line-height:1.3}
.dc-card h2,.dc-urgent h2{font-size:20px;margin-bottom:10px}
.dc-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;padding:12px 0;border-bottom:1px solid var(--line)}
.dc-row:last-of-type{border-bottom:0}
.dc-row p{flex-basis:100%;font-size:15.5px;line-height:1.5}
.dc-badge{font-style:normal;border-radius:12px;padding:4px 10px;font-size:14px;font-weight:700;background:var(--tint);color:var(--tint-ink)}
.dc-badge--ok{background:var(--mint);color:var(--mint-ink)}
.dc-badge--warn{background:var(--warn);color:var(--warn-ink)}
.dc-badge--neutral{background:var(--tint);color:var(--tint-ink)}
.dc-ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:10px;font-size:16px;line-height:1.5}
.dc-ol li{list-style:decimal}
.dc-urgent{background:var(--alert);color:var(--alert-ink);border-radius:24px;padding:20px 22px}
.dc-ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;font-size:16px;line-height:1.5}
.dc-ul li{list-style:disc}
.dc-note{font-size:13.5px;line-height:1.5;color:var(--muted)}
.hm-warn{display:flex;flex-direction:column;gap:6px}
.hm-warn b{font-size:19px;line-height:1.3}
.hm-warn__cap{font-size:12px;font-weight:800;letter-spacing:.1em;opacity:.75}
.hm-row{flex-wrap:wrap}
.hm-row small{flex-basis:100%;font-size:15px;font-weight:500;color:var(--muted)}

/* ===== v25: юридические страницы ===== */
.legal h2{font-size:21px;margin:26px 0 8px}
.legal p,.legal li{font-size:16px;line-height:1.6}
.legal p{margin:8px 0}
.legal ul{margin:8px 0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.legal li{list-style:disc}
.legal a{color:var(--accent);text-decoration:underline}
.legal .notice{margin:12px 0}
.legal__nav{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:34px;padding-top:18px;border-top:1px solid var(--line)}
.legal__nav a{display:inline-flex;align-items:center;min-height:44px;font-size:14.5px;font-weight:600}
