/* Сайт Айи: лендинг и блог. Палитра и шрифт — как в приложении. */
@font-face{font-family:'Inter Tight';font-weight:300;font-display:swap;src:url(fonts/inter-tight-cyrillic-300-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter Tight';font-weight:300;font-display:swap;src:url(fonts/inter-tight-latin-300-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Tight';font-weight:400;font-display:swap;src:url(fonts/inter-tight-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:'Inter Tight';font-weight:400;font-display:swap;src:url(fonts/inter-tight-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Tight';font-weight:500;font-display:swap;src:url(fonts/inter-tight-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:'Inter Tight';font-weight:500;font-display:swap;src:url(fonts/inter-tight-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{--bg:#FBFAF7;--ink:#1A1A1A;--ink2:#2E2C29;--soft:#4A4744;--muted:#6B6760;--faint:#9A958C;--teal:#2F6F68;--teal-ink:#1F4F4A;--mint:#E1EEEC;--sand:#EFEBE4;--stone:#F3F0EA;--red:#C8452F;--red-ink:#A8341F;--peach:#F6E9E4;--deep:#16302D;--deep-soft:#C9D6D3}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Inter Tight',system-ui,-apple-system,sans-serif;font-weight:400;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:var(--red-ink)}a:hover{color:#7A2414}
img{max-width:100%;height:auto;display:block}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 24px}
.stack{display:flex;flex-direction:column}
.dots{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;color:var(--muted)}
.dots .d{color:var(--red)}
.cap{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin:0}
.h1{margin:0;font-size:clamp(34px,6vw,56px);font-weight:300;line-height:1.08;letter-spacing:-.02em}
.h2{margin:0;font-size:clamp(28px,4.5vw,40px);font-weight:300;line-height:1.15;letter-spacing:-.01em}
.lead{margin:0;font-size:19px;line-height:1.55;color:var(--soft);max-width:560px}
.muted{color:var(--muted)}
.btn{height:52px;display:inline-flex;align-items:center;justify-content:center;padding:0 28px;border-radius:26px;background:var(--teal);color:#fff;text-decoration:none;font-size:17px;font-weight:500;border:0;cursor:pointer;font-family:inherit;line-height:1.2}
.btn:hover{background:#265B55;color:#fff}
.btn.ghost{background:transparent;color:var(--ink);gap:10px;padding:0 18px}
.btn.light{background:var(--bg);color:var(--deep)}
.btn.sm{height:44px;padding:0 22px;font-size:15px;border-radius:22px}
.sec{margin-top:clamp(72px,10vw,120px)}
.card{background:#fff;border-radius:32px;padding:clamp(22px,4vw,48px)}

/* шапка */
.top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:20px}
.logo{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-size:22px;font-weight:500}
.logo svg{width:32px;height:32px}
.nav{display:flex;align-items:center;gap:20px;font-size:15px}
.nav .links{display:flex;gap:28px}
.nav .links a{color:var(--soft);text-decoration:none}
.nav .links a:hover,.nav .links a[aria-current]{color:var(--ink)}
.globe{height:44px;display:flex;align-items:center;gap:6px;padding:0 4px;font-size:13px;color:var(--soft);text-decoration:none}
.globe:hover{color:var(--ink)}
@media (max-width:760px){.nav .links{display:none}.nav{gap:8px}}

/* первый экран */
.hero{display:flex;flex-wrap:wrap;gap:56px;align-items:center;margin-top:clamp(40px,6vw,72px)}
.hero .txt{flex:999 1 480px;min-width:0;gap:26px}
.hero .sub{font-size:clamp(22px,3.5vw,28px);font-weight:300;line-height:1.25;color:var(--teal);margin:0}
.hero .ph{flex:1 1 300px;display:flex;justify-content:center}
.phone{border-radius:42px;background:#1A1A1A;padding:9px;box-shadow:0 30px 80px rgba(22,48,45,.18)}
.phone img{border-radius:33px;width:100%;height:auto}
.badges{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.badge{height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 16px;border-radius:20px;background:var(--sand);font-size:15px}
.badge svg{width:20px;height:20px}

/* калькулятор */
.calc{gap:28px}
.calc .row{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-end}
.calc label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted)}
.calc input[type=date]{height:48px;padding:0 16px;border:0;border-radius:16px;background:var(--stone);font:inherit;font-size:16px;color:var(--ink);min-width:200px}
.step{display:flex;align-items:center;gap:4px;background:var(--stone);border-radius:16px;height:48px;padding:0 6px}
.step button{width:40px;height:40px;border:0;background:transparent;font-size:22px;color:var(--ink);cursor:pointer;border-radius:12px;font-family:inherit}
.step button:hover{background:#E8E3DA}
.step output{min-width:76px;text-align:center;font-size:16px;color:var(--ink)}
.res{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.res div{display:flex;flex-direction:column;gap:6px;border-radius:20px;padding:20px}
.res span:first-child{font-size:13px}
.res strong{font-size:24px;font-weight:300}
.res .r1{background:var(--peach)}.res .r1 span:first-child{color:var(--red-ink)}
.res .r2{background:var(--mint)}.res .r2 span:first-child{color:var(--teal-ink)}
.res .r3{background:var(--stone)}.res .r3 span:first-child{color:var(--soft)}
.calc .foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;font-size:13px;color:var(--muted)}
.calc .foot a{font-size:16px;font-weight:500;text-decoration:none}

/* как работает */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:40px}
.steps .n{font-size:32px;font-weight:300;color:var(--red)}
.steps h3{margin:0;font-size:20px;font-weight:500}
.steps p{margin:0;font-size:16px;line-height:1.55;color:var(--soft)}

/* карусель фишек */
.tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{flex:0 0 auto;height:40px;padding:0 16px;border:0;border-radius:20px;font:inherit;font-size:14px;line-height:1.2;background:var(--sand);color:var(--ink);cursor:pointer}
.tabs button[aria-selected=true]{background:var(--ink);color:var(--bg)}
.slides{position:relative}
.slide{display:none;flex-wrap:wrap;gap:clamp(28px,6vw,80px);align-items:center;justify-content:center}
.slide.on{display:flex}
.slide .phone{width:280px;max-width:86%;padding:8px;border-radius:40px}
.slide .phone img{border-radius:32px}
.slide .t{flex:1 1 300px;max-width:460px;gap:16px}
.slide h3{margin:0;font-size:clamp(26px,3.6vw,34px);font-weight:300;line-height:1.2}
.slide p{margin:0;font-size:17px;line-height:1.6;color:var(--soft)}
.ctrl{display:flex;align-items:center;gap:12px;padding-top:12px}
.ic{width:44px;height:44px;border:0;background:transparent;padding:0;display:flex;align-items:center;justify-content:center;color:var(--ink);cursor:pointer}
.pips{display:flex;gap:6px;align-items:center}
.pips i{display:block;height:6px;width:6px;border-radius:3px;background:#DCD6CC;transition:width .2s}
.pips i.on{width:22px;background:var(--ink)}

/* приватность */
.dark{background:var(--deep);color:var(--bg);border-radius:32px;padding:clamp(28px,5vw,56px) clamp(22px,4vw,48px);display:flex;flex-wrap:wrap;gap:56px}
.dark .l{flex:1 1 320px;gap:16px}
.dark .l p{margin:0;font-size:17px;line-height:1.55;color:var(--deep-soft)}
.dark .g{flex:999 1 460px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:32px}
.dark h3{margin:0;font-size:18px;font-weight:500}
.dark .g p{margin:6px 0 0;font-size:15px;line-height:1.5;color:var(--deep-soft)}

/* карточки статей */
.posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:40px 24px}
.post{display:flex;flex-direction:column;gap:14px;text-decoration:none;color:var(--ink)}
.post img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:24px;transition:transform .3s}
.post:hover img{transform:scale(1.015)}
.post .ttl{font-size:20px;line-height:1.3}
.post:hover .ttl{color:var(--teal-ink)}
.head-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:16px}
.head-row a{font-size:16px;text-decoration:none}

/* вопросы */
.faq{max-width:760px;gap:28px}
.faq details{border-radius:20px;background:#fff;padding:20px 24px}
.faq summary{font-size:19px;font-weight:500;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';color:var(--muted);font-weight:300;font-size:24px;line-height:1}
.faq details[open] summary::after{content:'−'}
.faq details p{margin:12px 0 0;font-size:16px;line-height:1.55;color:var(--soft)}

/* установка */
.install{background:var(--mint);border-radius:32px;padding:clamp(22px,4vw,48px);display:flex;flex-direction:column;gap:24px}
.install p{margin:0;font-size:16px;line-height:1.55;color:var(--teal-ink);max-width:720px}
.how2{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.how2 h3{margin:0 0 6px;display:flex;align-items:center;gap:8px;font-size:17px;font-weight:500;color:var(--deep)}
.how2 h3 svg{width:20px;height:20px}
.how2 ol{margin:0;padding-left:20px;font-size:15px;line-height:1.6;color:var(--teal-ink)}

/* подвал */
.foot-site{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;padding:56px 0 48px;font-size:13px;color:var(--muted)}
.foot-site a{color:var(--muted)}

/* блог */
.cats{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
.cats::-webkit-scrollbar{display:none}
.cats a{flex:0 0 auto;padding:0 20px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:22px;background:var(--sand);color:var(--ink);text-decoration:none;font-size:15px;line-height:1.2}
.cats a[aria-current]{background:var(--ink);color:var(--bg)}
.feat{display:flex;flex-wrap:wrap;gap:40px;align-items:center;text-decoration:none;color:var(--ink);background:#fff;border-radius:32px;padding:24px}
.feat img{flex:1 1 300px;min-width:0;aspect-ratio:16/10;object-fit:cover;border-radius:24px}
.feat .t{flex:1 1 300px;min-width:0;gap:16px;padding:8px}
.feat .ttl{font-size:clamp(26px,4vw,34px);font-weight:300;line-height:1.15}
.feat p{margin:0;font-size:16px;line-height:1.55;color:var(--soft)}
.cta-band{display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between;background:var(--mint);border-radius:32px;padding:clamp(24px,4vw,40px) clamp(22px,4vw,48px)}
.cta-band .t{flex:1 1 360px;gap:10px}
.cta-band strong{font-size:28px;font-weight:300}
.cta-band span{font-size:16px;line-height:1.55;color:var(--teal-ink)}

/* статья */
.art-wrap{display:flex;flex-wrap:wrap;gap:64px;align-items:flex-start;margin-top:40px}
.art{flex:999 1 560px;min-width:0;max-width:720px;gap:28px}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--muted)}
.crumbs a{color:var(--muted);text-decoration:none}
.art h1{margin:0;font-size:clamp(30px,5.5vw,46px);font-weight:300;line-height:1.1;letter-spacing:-.02em}
.byline{display:flex;flex-wrap:wrap;gap:24px;align-items:center}
.who{display:flex;gap:12px;align-items:center}
.ava{width:44px;height:44px;border-radius:22px;background:var(--mint);display:flex;align-items:center;justify-content:center;color:var(--teal-ink);font-size:16px}
.who b{display:block;font-size:15px;font-weight:500}
.who small{font-size:13px;color:var(--muted)}
.cover{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:24px}
.box{background:#fff;border-radius:24px;padding:28px;gap:12px}
.box ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.box li{display:flex;gap:12px;font-size:18px;line-height:1.5}
.box li::before{content:'•';color:var(--red)}
.prose h2{margin:20px 0 0;font-size:clamp(24px,3.2vw,28px);font-weight:400;line-height:1.25}
.prose h3{margin:12px 0 0;font-size:20px;font-weight:500}
.prose p,.prose li{font-size:18px;line-height:1.7;color:var(--ink2)}
.prose p{margin:0}
.prose ul,.prose ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.prose{gap:16px}
.prose blockquote{margin:0;padding:18px 22px;border-radius:20px;background:var(--stone);font-size:17px}
.prose table{border-collapse:collapse;font-size:16px}
.prose td,.prose th{padding:8px 12px;text-align:left}
.src a{display:block;text-decoration:none;font-size:15px;line-height:1.45;color:var(--ink)}
.src a small{display:block;font-size:13px;color:var(--red-ink);word-break:break-all}
.side{flex:1 1 260px;gap:24px;position:sticky;top:24px}
.side .promo{background:var(--deep);color:var(--bg);border-radius:24px;padding:24px;gap:14px}
.side .promo strong{font-size:20px;font-weight:400;line-height:1.3}
.side .promo span{font-size:14px;line-height:1.5;color:var(--deep-soft)}
.rel a{display:flex;gap:14px;align-items:center;font-size:15px;line-height:1.35;color:var(--ink);text-decoration:none}
.rel img{width:96px;flex:0 0 96px;aspect-ratio:16/10;object-fit:cover;border-radius:12px}
.disc{font-size:13px;line-height:1.5;color:var(--muted)}
@media (max-width:900px){.side{position:static}}
.art .prose img,.art p>img{display:block;width:100%;max-width:340px;height:auto;margin:8px auto 4px;border-radius:28px;box-shadow:0 18px 40px rgba(26,26,26,.10),0 0 0 1px rgba(26,26,26,.05)}
.feed{display:flex;gap:24px;margin-top:40px}
.feed a{font-size:17px;color:var(--muted);text-decoration:none;padding:6px 0}
.feed a[aria-current="page"]{color:var(--ink);font-weight:500;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:7px}
.newslist .news{gap:12px}
.newslist .news h2{margin:0;font-size:22px;font-weight:400;line-height:1.25}
.newslist .news p{margin:0;font-size:16px;line-height:1.55;color:var(--muted)}
.newslist .news ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.45}
.newslist .news img{width:100%;max-width:300px;align-self:center;border-radius:24px;box-shadow:0 14px 34px rgba(26,26,26,.10),0 0 0 1px rgba(26,26,26,.05)}
.newslist .news .more{color:var(--teal);text-decoration:none;font-size:15px}
/* База знаний /kb/ */
.kb-search{display:flex;align-items:center;gap:10px;height:52px;padding:0 18px;border-radius:26px;background:#fff;box-shadow:0 6px 18px rgba(26,26,26,.06);color:var(--muted);max-width:560px;margin-top:8px}
.kb-search input{flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:var(--ink)}
.kb-tabs{flex-wrap:wrap;gap:8px 24px;margin-top:32px}
.kb-secs{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:40px 48px;margin-top:40px}
.kb-sec{gap:6px}.kb-sec h2{font-size:22px;font-weight:500;margin:0}
.kb-list{display:flex;flex-direction:column;margin-top:8px}
.kb-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;font-size:16px;line-height:1.35;color:var(--ink);text-decoration:none}
.kb-row:hover{color:var(--red)}
.kb-row.mock{color:var(--muted)}.kb-row small{font-size:12px;color:var(--muted)}
.kb-art .art{max-width:720px}
.prose img{max-width:100%;border-radius:20px}
/* База знаний /kb/ */
.kb-search{display:flex;align-items:center;gap:10px;height:52px;padding:0 18px;border-radius:26px;background:#fff;box-shadow:0 6px 18px rgba(26,26,26,.06);color:var(--muted);max-width:560px;margin-top:8px}
.kb-search input{flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:var(--ink);min-width:0}
.kb-tabs{flex-wrap:wrap;gap:4px 24px;margin-top:32px}
.kb-secs{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:40px 48px;margin-top:40px}
.kb-sec{gap:6px}.kb-sec h2{font-size:22px;font-weight:500;margin:0}
.kb-list{display:flex;flex-direction:column;margin-top:8px}
.kb-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 0;font-size:16px;line-height:1.35;color:var(--ink);text-decoration:none}
.kb-row:hover{color:var(--red)}
.kb-row.mock{color:var(--muted)}.kb-row small{font-size:12px;color:var(--muted);flex:0 0 auto}
.kb-art .art{max-width:720px}
.prose img{max-width:100%;border-radius:20px}
.kb-row[hidden],.kb-sec[hidden]{display:none!important}
@media (max-width:700px){
  .kb-secs{gap:16px;margin-top:28px}
  .kb-sec{background:#fff;border-radius:24px;padding:20px 20px 10px;box-shadow:0 6px 18px rgba(26,26,26,.06)}
  .kb-sec h2{font-size:20px}
  .kb-sec .kb-list{margin-top:6px}
}
.hero .users{margin:0;font-size:26px;font-weight:300;line-height:1.2;color:var(--ink);border-left:3px solid var(--red);padding-left:14px}
.hero .users .num{font-variant-numeric:tabular-nums}
/* Кто делает Айю */
.author{display:flex;flex-wrap:wrap;gap:48px;align-items:center;padding:clamp(28px,5vw,56px);border-radius:28px;background:var(--stone)}
.author .ph{flex:0 1 300px;min-width:220px}
.author .ph img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:22px;display:block}
.author .t{flex:999 1 420px;min-width:0;gap:18px}
.author .who{font-size:15px;color:var(--soft);margin:0}
.author p{margin:0;font-size:17px;line-height:1.55;color:var(--ink2)}
.author p.motto{font-size:22px;font-weight:300;color:var(--teal);line-height:1.25}
.author .stk{display:flex;flex-direction:column;gap:6px}
.author .stk .cap{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.author .stk p:last-child{font-size:15px;color:var(--soft)}
.author .soc{display:flex;gap:6px;align-items:center;margin-top:4px}
.author .soc a{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;color:var(--ink);border-radius:10px}
.author .soc a:hover{color:var(--teal)}
/* Отзывы — карусель */
.rvt{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 18px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.rvt::-webkit-scrollbar{display:none}
.rvs{flex:0 0 min(371px,86vw);height:360px;margin:0;scroll-snap-align:start;border-radius:22px;display:flex;flex-direction:column;padding:18px;gap:12px}
.rvs:nth-child(3n+1){background:var(--mint)}.rvs:nth-child(3n+2){background:var(--peach)}.rvs:nth-child(3n){background:var(--sand)}
.rvsrc{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.rvimg{flex:1;display:flex;align-items:center;justify-content:center;min-height:0}
.rvimg img{max-height:100%;width:100%;height:auto;object-fit:contain;background:#fff;border-radius:16px;box-shadow:0 8px 22px rgba(26,26,26,.08);padding:6px 4px}
.rvctl{display:flex;align-items:center;gap:6px}.rvctl .rvc{font-size:13px;min-width:52px;text-align:center}
.rvctl .ic{width:40px;height:40px;border:0;background:transparent;border-radius:20px;display:inline-flex;align-items:center;justify-content:center;color:var(--ink);cursor:pointer}
.rvctl .ic:disabled{opacity:.3;cursor:default}
@media (max-width:640px){.rvs{height:320px;padding:14px}#reviews .head-row{flex-wrap:wrap;gap:12px}}
