/* Стилистика websciai.com: Inter, синий #291DF3, асимметричные скругления кнопок и полей. */
:root{
  --white:#fff; --ghost-white:#eeedf5; --midnight-blue:#0d0b39; --thistle:#b9b6db; --blue:#291df3;
  --lavender:#eae9f4; --light-slate-grey:#9894be; --dim-grey:#656384; --slate-blue:#544af5; --ok:#1f8a5b;
  --r-btn:1.875rem 5rem 5rem 1.875rem; --r-field:5rem 1.875rem 1.875rem 5rem; --r-card:.5rem;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px;scrollbar-color:#b9b6db #e4e3f0;scrollbar-width:thin}
@media(min-width:1400px){html{font-size:calc(1vw / 1.2)}}
@media(min-width:1920px){html{font-size:16px}}
body{margin:0;background:var(--ghost-white);color:var(--midnight-blue);font:500 1rem/1.4 Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
::selection{background:#cac7ea}
a{color:inherit}
h1,h2,h3{margin:0;font-weight:600;line-height:1.1}
h2{font-size:3rem;margin-bottom:2.5rem}
h2 em{font-style:italic;font-weight:300}
.eyebrow{font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:var(--light-slate-grey);margin-bottom:1rem}
.form-section .eyebrow{color:rgba(255,255,255,.6)}
.connect .eyebrow{color:var(--light-slate-grey)}
h3{font-size:1.375rem;line-height:1.3;margin-bottom:.75rem}
p{margin:0}
mark{background:#ffe14d;color:var(--midnight-blue);border-radius:.1875rem;padding:0 .1em}
.mono{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:.92em;overflow-wrap:anywhere}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
:focus-visible{outline:3px solid #ffe14d;outline-offset:2px}
.container{width:100%;max-width:86rem;margin:0 auto;padding:0 2.5rem;position:relative;z-index:2}
.section{padding-top:7.5rem}
.italic-descr{font-size:1.125rem;font-style:italic;font-weight:400;line-height:1.5;max-width:40rem}
.split{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
.split h2{margin-bottom:0}

/* Кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;height:3.125rem;padding:0 2rem;border-radius:var(--r-btn);background:var(--blue);color:var(--white);text-decoration:none;font:500 1rem/1 Inter,sans-serif;border:0;cursor:pointer;transition:background-color .35s}
.btn:hover{background:var(--slate-blue)}
.btn.white-btn{background:var(--white);color:var(--midnight-blue)}
.btn.white-btn:hover{background:#dcdbed}
.btn.light-btn{background:var(--lavender);color:var(--midnight-blue)}
.btn.light-btn:hover{background:#dcdbed}
.btn:disabled{opacity:.6;cursor:wait}

/* Шапка */
.header{position:fixed;inset:0 0 auto;z-index:10;transition:background-color .35s,box-shadow .35s}
.header-in{display:flex;align-items:center;justify-content:space-between;gap:2rem;height:5rem;padding:0 1.5rem}
.logo{display:flex;align-items:center;gap:1rem;color:var(--white);text-decoration:none;white-space:nowrap;transition:color .35s}
.ws-logo{display:block;width:12.5rem;height:auto}
.ws-letters{fill:currentColor}.ws-accent{fill:currentColor;transition:fill .35s}
.logo-product{font-size:1rem;font-weight:500;padding-left:1rem;border-left:1px solid rgba(255,255,255,.4);line-height:1.6}
.logo.dark{color:var(--midnight-blue)}.logo.dark .ws-accent{fill:var(--blue)}
.nav{display:flex;gap:3.5rem;margin-right:auto;margin-left:2.5rem}
.nav a,.header-link{color:var(--white);text-decoration:none;font-weight:600;transition:color .35s}
.nav a:hover,.header-link:hover{color:rgba(255,255,255,.7)}
.header-right{display:flex;align-items:center;gap:2rem}
.header.active{background:var(--white);box-shadow:0 .25rem 1.25rem rgba(13,11,57,.1)}
.header.active .logo,.header.active .nav a,.header.active .header-link{color:var(--midnight-blue)}
.header.active .ws-accent{fill:var(--blue)}
.header.active .logo-product{border-color:var(--thistle)}
.header.active .nav a:hover,.header.active .header-link:hover{color:var(--blue)}
.header.active .white-btn{background:var(--blue);color:var(--white)}
.header.active .white-btn:hover{background:var(--slate-blue)}

/* Первый экран */
.hero{position:relative;overflow:hidden;background:var(--blue);color:var(--white);min-height:100vh;display:flex;padding:11rem 0 1.5rem}
.hero-bg{position:absolute;inset:0;z-index:0;
  background:
   radial-gradient(120% 60% at 15% 8%,rgba(255,255,255,.10),transparent 60%),
   radial-gradient(90% 55% at 95% 40%,rgba(84,74,245,.55),transparent 65%),
   radial-gradient(140% 70% at 40% 105%,rgba(13,11,57,.35),transparent 60%),
   linear-gradient(170deg,#3a1ff7 0%,#291df3 45%,#2a19e8 100%)}
.hero-bg::before,.hero-bg::after{content:"";position:absolute;left:-20%;right:-20%;height:60%;border-radius:50%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent);transform:rotate(-8deg)}
.hero-bg::before{top:10%}.hero-bg::after{top:48%;transform:rotate(-14deg);opacity:.8}
.hero-container{display:flex;flex-direction:column;justify-content:space-between;gap:6.25rem;padding-left:max(2.5rem,calc((100% - 86rem)/2 + 2.5rem))}
.hero-title{font-size:5rem;font-weight:500;line-height:1.1;max-width:72rem}
.hero-light{font-style:italic;font-weight:300}
.hero-items{list-style:none;margin:2.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.75rem}
.hero-item{display:flex;align-items:center;gap:.375rem;background:rgba(255,255,255,.2);border-radius:1.875rem 6rem 6rem 1.875rem;padding:.375rem 1rem .375rem .5rem;font-size:1.125rem;line-height:1}
.star{font-size:1rem}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 11.1875rem;gap:.625rem;align-items:stretch}
.hero-panel{display:grid;grid-template-columns:1.6fr 1fr 1fr;background:var(--white);color:var(--midnight-blue);border-radius:var(--r-card)}
.hero-cell{position:relative;padding:1.75rem 1.875rem 1.625rem 2rem;display:flex;flex-direction:column;justify-content:space-between;gap:.75rem;min-height:11.1875rem;transition:opacity .45s ease}
.hero-line{position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px;height:85%;background:var(--thistle);border-radius:.25rem}
.addr{font-family:"JetBrains Mono",ui-monospace,monospace;font-weight:500;font-size:1.4rem;line-height:1.25;white-space:nowrap}
.addr .cursor{display:inline-block;width:2px;height:1em;background:var(--blue);vertical-align:-.12em;margin-left:1px}
.cell-value{font-size:2rem;font-weight:500;line-height:1.1;overflow-wrap:anywhere}
.cell-label{font-size:1rem;line-height:1.3;color:var(--dim-grey);font-weight:500}
.js .lead-cell.pending{opacity:0}
.hero-btn{display:flex;align-items:center;justify-content:center;text-align:center;background:rgba(255,255,255,.2);border-radius:var(--r-card);color:var(--white);text-decoration:none;padding:0 1.5rem;line-height:1.2;font-weight:600;transition:background-color .35s}
.hero-btn:hover{background:rgba(255,255,255,.3)}

/* Шаги */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.step{background:var(--white);border-radius:var(--r-card);padding:2rem}
.step-num{font-size:1rem;font-weight:500;color:var(--light-slate-grey);margin-bottom:3.5rem}
.step-num span{color:var(--blue)}
.step p{font-weight:400;line-height:1.5;color:var(--dim-grey)}

/* Строки фактов */
.rows{border-top:1px solid var(--thistle)}
.row{display:grid;grid-template-columns:1fr 1.4fr;gap:2.5rem;padding:2.25rem 0;border-bottom:1px solid var(--thistle)}
.row h3{font-size:1.75rem;margin:0}
.row p{font-size:1.125rem;font-weight:400;line-height:1.5;color:var(--dim-grey)}

/* Подключение */
.connect{display:grid;grid-template-columns:1fr 1.1fr;gap:2.5rem;background:var(--midnight-blue);color:var(--white);border-radius:var(--r-card);padding:3.5rem}
.connect h2{margin-bottom:1.5rem}
.code{background:rgba(255,255,255,.08);border-radius:var(--r-card);padding:1.75rem 2rem}
.code-cap{font-size:.875rem;color:var(--light-slate-grey);margin-bottom:.5rem}
.code pre{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:.95rem;line-height:1.7;margin:0 0 1.25rem;white-space:pre-wrap;overflow-wrap:anywhere}
.code pre:last-child{margin:0}

/* Тарифы */
.price-head{display:grid;grid-template-columns:auto 1fr;gap:5.875rem;align-items:center;margin-bottom:3.125rem}
.price-head h2{margin:0}
.price-items{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.price-item{background:var(--white);border-radius:var(--r-card);padding:2rem;display:flex;flex-direction:column}
.price-item.featured{background:var(--blue);color:var(--white)}
.price-name{font-size:1.375rem;font-weight:600}
.price-value{font-size:3rem;font-weight:600;line-height:1.1;margin-top:1.5rem}
.price-note{color:var(--dim-grey);font-style:italic;font-weight:400;margin:.25rem 0 1.75rem}
.featured .price-note{color:rgba(255,255,255,.7)}
.price-list,.price-features{list-style:none;margin:0;padding:0}
.price-list{border-top:1px solid var(--thistle);margin-bottom:1.5rem}
.featured .price-list{border-color:rgba(255,255,255,.3)}
.price-list li{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--thistle);font-weight:400}
.featured .price-list li{border-color:rgba(255,255,255,.3)}
.price-list b{font-weight:600;text-align:right;white-space:nowrap}
.price-features{display:flex;flex-direction:column;gap:.625rem;margin-bottom:2rem;flex:1}
.price-features li{display:flex;gap:.625rem;font-weight:400;line-height:1.35}
.price-features li.off{color:var(--light-slate-grey)}
.featured .price-features li.off{color:rgba(255,255,255,.5)}
.mark{flex:none;width:1.25rem;font-weight:600;color:var(--blue)}
.featured .mark{color:var(--white)}
.off .mark{color:inherit}
.soon{display:inline-block;font-size:.75rem;font-weight:500;background:var(--lavender);color:var(--dim-grey);border-radius:1rem;padding:.125rem .5rem;margin-left:.25rem;vertical-align:.1em}
.featured .soon{background:rgba(255,255,255,.2);color:var(--white)}
.featured .btn.white-btn,.featured .btn{background:var(--white);color:var(--midnight-blue)}
.featured .btn:hover{background:#dcdbed}
.price-item .btn{align-self:flex-start}
.price-foot{margin-top:1.5rem;font-size:.95rem;font-style:italic;font-weight:400;color:var(--dim-grey);max-width:52rem}

/* Вопросы */
.faq{border-top:1px solid var(--thistle)}
.faq details{border-bottom:1px solid var(--thistle)}
.faq summary{list-style:none;cursor:pointer;font-size:1.375rem;font-weight:600;padding:1.5rem 3rem 1.5rem 0;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:.25rem;top:50%;width:1.75rem;height:1.75rem;margin-top:-.875rem;border-radius:50%;background:var(--lavender) center/0.75rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23291df3' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");transition:transform .35s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{font-size:1.125rem;font-weight:400;line-height:1.5;color:var(--dim-grey);padding:0 3rem 1.5rem 0}

/* Заявка */
.form-section{background:var(--blue);color:var(--white);margin-top:7.5rem;padding-bottom:7.5rem}
.form-grid{display:grid;grid-template-columns:1fr 39.75rem;gap:2.5rem}
.form-section h2{margin-bottom:1.5rem}
.form-steps{display:flex;gap:2.5rem;margin-top:3rem}
.form-step{max-width:15rem}
.form-step .step-num{margin-bottom:1rem;color:rgba(255,255,255,.5)}
.form-step .step-num span{color:var(--white)}
.form-step p{font-weight:400;line-height:1.4}
.form{display:flex;flex-direction:column;gap:.75rem}
.form label{display:block;margin:0}
.field{display:block;width:100%;height:3.125rem;padding:0 1.5rem 0 2rem;border:0;border-radius:var(--r-field);background:rgba(255,255,255,.2);color:var(--white);font:500 1rem/1.4 Inter,sans-serif;transition:background-color .35s}
textarea.field{height:auto;padding:1rem 1.5rem 1rem 2rem;border-radius:1.875rem;resize:none}
.field::placeholder{color:rgba(255,255,255,.55)}
.field:hover{background:rgba(255,255,255,.3)}
.field:focus{outline:none;background:rgba(255,255,255,.4)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.hp{position:absolute;left:-9999px}
.check{display:flex!important;align-items:flex-start;gap:.625rem;font-size:.875rem;font-weight:400;font-style:italic;color:rgba(255,255,255,.75);cursor:pointer;margin-top:.5rem!important}
.check input{position:absolute;opacity:0;width:1px;height:1px}
.check .box{flex:none;width:1.25rem;height:1.25rem;border-radius:.3rem;background:rgba(255,255,255,.25);margin-top:-.05rem;display:flex;align-items:center;justify-content:center}
.check input:checked + .box{background:var(--white)}
.check input:checked + .box::after{content:"";width:.6rem;height:.35rem;border-left:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(-45deg) translate(1px,-1px)}
.check input:focus-visible + .box{outline:3px solid #ffe14d;outline-offset:2px}
.form .btn{align-self:flex-start;margin-top:.5rem}
.err{display:block;color:#ffd9d6;font-size:.875rem;font-weight:500;margin:.375rem 0 0 2rem}
.field[aria-invalid]{box-shadow:inset 0 0 0 2px #ffb4ad}
.form-msg{min-height:1.4em}
.form-msg.ok{font-weight:600}
.form-msg.fail{color:#ffd9d6}

/* Подвал */
.footer{border-top:1px solid var(--thistle);background:var(--ghost-white);padding:4.3rem 0 1.4rem}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:2rem}
.foot-grid > div{display:flex;flex-direction:column;gap:.75rem;align-items:flex-start}
.foot-grid a{color:var(--midnight-blue);text-decoration:none;font-weight:500;transition:color .35s}
.foot-grid a:hover{color:var(--blue)}
.foot-brand .logo{margin-bottom:1.25rem}
.foot-brand .ws-logo{width:11rem}
.foot-mail{color:var(--blue)!important;text-decoration:underline!important}
.foot-addr{font-size:.85rem;font-weight:400;font-style:italic;color:var(--dim-grey);max-width:16rem;margin-top:.5rem}
.foot-head{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--light-slate-grey);margin-bottom:.5rem}
.foot-copy{grid-column:1/-1;color:var(--light-slate-grey);font-size:.8rem;font-style:italic;font-weight:400;padding-top:1.5rem;margin-top:2rem;border-top:1px solid var(--thistle)}

@media(max-width:1100px){
  .nav{gap:2rem;margin-left:1.5rem}
  .hero-title{font-size:4rem}
  .addr{font-size:1.15rem}.cell-value{font-size:1.5rem}
}
@media(max-width:991px){
  h2{font-size:2.25rem;margin-bottom:2rem}
  .section{padding-top:5rem}
  .nav,.header-link{display:none}
  .hero{min-height:auto;padding:8rem 0 1.5rem}
  .hero-container{gap:4rem}
  .hero-title{font-size:3.25rem}
  .hero-grid{grid-template-columns:1fr}
  .hero-panel{grid-template-columns:1fr 1fr}
  .addr-cell{grid-column:1/-1;border-bottom:1px solid var(--thistle)}
  .addr-cell .hero-line{display:none}
  .hero-btn{min-height:4rem}
  .split,.connect,.form-grid,.price-head{grid-template-columns:1fr;gap:1.5rem}
  .split h2{margin-bottom:0}
  .steps,.price-items{grid-template-columns:1fr}
  .row{grid-template-columns:1fr;gap:.75rem}
  .connect{padding:2rem}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .container{padding:0 1rem}
  .hero-container{padding-left:1rem}
  .header-in{padding:0 1rem;height:4rem}
  .header-right .btn{height:2.5rem;padding:0 1.25rem;font-size:.9rem}
  .hero-title{font-size:2.5rem}
  .hero-item{font-size:.95rem}
  .hero-panel{grid-template-columns:1fr}
  .hero-cell{min-height:auto;padding:1.25rem 1.25rem}
  .lead-cell .hero-line{display:none}
  .lead-cell:first-of-type{border-bottom:1px solid var(--thistle)}
  .addr{font-size:1rem;white-space:normal;overflow-wrap:anywhere}
  .cell-value{font-size:1.4rem}
  h2{font-size:1.9rem}
  .row h3{font-size:1.35rem}
  .faq summary{font-size:1.15rem}
  .two{grid-template-columns:1fr}
  .form-steps{flex-direction:column;gap:1.25rem}
  .foot-grid{grid-template-columns:1fr 1fr}
  .logo-product{display:none}
  .ws-logo{width:9.5rem}
  .btn{width:100%}.header-right .btn{width:auto}
  .price-item .btn,.form .btn{align-self:stretch}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
