/* Northwind — общие стили сайта. Тема: html[data-theme=dark|light] (ставит скрипт в <head>). */
:root{--bg:#10151d;--bg2:#0d1219;--surface:#171f2a;--surface2:#1d2835;--text:#edf2f7;--muted:#a4afbd;--faint:#7d8a9b;--line:#2b3745;--accent:#b2d8f0;--ink:#152d3c;--wave:#75a5c2;--mint:#b3ddce;--vox-btn:#b3ddce;--vox-btn-text:#10261d;--ok:#6fcf97;--ph:#f2c14e;--shadow:0 24px 80px rgba(0,0,0,.18);color-scheme:dark}
html[data-theme=light]{--bg:#f5f7fa;--bg2:#edf1f6;--surface:#fff;--surface2:#eaf0f5;--text:#1b2836;--muted:#566779;--faint:#6b7b8d;--line:#d8e1e9;--accent:#275e84;--ink:#fff;--wave:#6797b4;--mint:#256954;--vox-btn:#256954;--vox-btn-text:#fff;--ok:#1f7a4d;--ph:#9a6700;--shadow:0 24px 80px rgba(38,61,84,.08);color-scheme:light}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:'Manrope','Segoe UI',system-ui,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
img,svg{display:block}
button{font:inherit;color:inherit;cursor:pointer}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px;border-radius:6px}
[hidden]{display:none!important}
.wrap{width:min(1120px,calc(100% - 64px));margin-inline:auto}
.muted{color:var(--muted)}.faint{color:var(--faint)}
.mono{font-family:Consolas,'SF Mono','JetBrains Mono',monospace}
.ph{color:var(--ph)}
.skip{position:fixed;top:12px;left:12px;z-index:20;padding:10px 18px;border-radius:8px;background:var(--accent);color:var(--ink);font-weight:700;transform:translateY(-160%)}
.skip:focus{transform:none}

/* Иконки */
.ic{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ic-16{width:16px;height:16px}.ic-20{width:20px;height:20px}.ic-22{width:22px;height:22px}

/* Шапка */
.header{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:20px}
.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:800;letter-spacing:-.03em}
.brand .mark{width:30px;height:30px;color:var(--accent)}
.crumbs{display:flex;align-items:center;gap:12px}
.crumbs .parent{font-size:14px;font-weight:600;color:var(--muted)}
.crumbs .sep{color:var(--faint)}
.product{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;letter-spacing:-.03em}
.logo-vox{border-radius:22%;flex-shrink:0}
.nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:600}
.nav-links{display:flex;align-items:center;gap:28px}
.nav-links a{color:var(--muted)}.nav-links a:hover,.nav-links a[aria-current=page]{color:var(--text)}
.seg{display:flex;gap:3px;padding:4px;border:1px solid var(--line);border-radius:30px}
.seg button{min-width:36px;height:36px;padding:0 10px;display:flex;align-items:center;justify-content:center;border:0;border-radius:30px;background:transparent;color:var(--muted);font-size:12px;font-weight:700}
.seg button[aria-pressed=true]{background:var(--surface2);color:var(--text)}
.menu{display:none;position:relative}
.menu summary{list-style:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;cursor:pointer}
.menu summary::-webkit-details-marker{display:none}
.menu-panel{position:absolute;right:0;top:52px;z-index:10;min-width:240px;padding:10px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:2px}
.menu-panel a{padding:12px 14px;border-radius:10px;font-weight:600}
.menu-panel a:hover{background:var(--surface2)}
.menu-panel .seg{margin:8px 4px 4px;align-self:flex-start}

/* Кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:100px;border:1px solid transparent;font-size:15px;font-weight:700;white-space:nowrap;transition:filter .15s,transform .15s}
.btn:hover{filter:brightness(1.07);transform:translateY(-1px)}
.btn-primary{background:var(--accent);color:var(--ink)}
.btn-vox{background:var(--vox-btn);color:var(--vox-btn-text)}
.btn-ghost{border-color:var(--line);color:var(--text);font-weight:600}
.btn-off{border-color:var(--line);color:var(--faint);font-weight:600;cursor:not-allowed}
.btn-off:hover{filter:none;transform:none}
.btn-sm{min-height:40px;padding:0 16px;font-size:14px}
.btn-block{width:100%}
.link{font-weight:600;color:var(--text)}
.link:hover{color:var(--accent)}
.chip{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border:1px solid var(--line);border-radius:7px;font-size:12px;color:var(--muted);white-space:nowrap}
.chip-soon{border-style:dashed}
.chip-ok{color:var(--mint);border-color:color-mix(in srgb,var(--mint) 45%,transparent)}

/* Первый экран */
.hero{position:relative;overflow:hidden;padding:72px 0 96px}
.hero .wrap{position:relative;z-index:1}
.waves{position:absolute;right:-60px;top:24px;width:min(900px,80%);height:470px;pointer-events:none}
.eyebrow{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:600;letter-spacing:.055em;text-transform:uppercase;color:var(--muted)}
.eyebrow::before{content:"";width:23px;height:1px;background:var(--accent)}
.hero h1{font-size:clamp(2.4rem,5vw,4.25rem);line-height:1.09;font-weight:800;letter-spacing:-.045em;max-width:800px;margin:28px 0 26px}
.hero h1 .accent{color:var(--accent)}
.lead{font-size:17px;line-height:1.8;color:var(--muted);max-width:540px}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:32px}
.meta{margin-top:14px;font-size:13px;color:var(--faint)}
.soon-note{display:flex;align-items:flex-start;gap:12px;margin-top:28px;max-width:540px;padding:14px 16px;border:1px dashed var(--line);border-radius:14px;font-size:14px;line-height:1.55;color:var(--muted)}
.hero-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);align-items:center;gap:56px}
.hero-split h1{font-size:clamp(2.3rem,4.4vw,3.6rem)}

/* Секции */
.section{padding:88px 0}
.section-alt{background:var(--bg2);border-block:1px solid var(--line)}
.section-head{display:flex;flex-direction:column;gap:12px;margin-bottom:40px}
.section-head.row{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:32px}
.kicker{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
h2{font-size:clamp(1.6rem,2.6vw,2rem);line-height:1.2;font-weight:800;letter-spacing:-.025em}
.card{background:var(--surface);border:1px solid var(--line);border-radius:20px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}

/* Хаб: карточка сервиса */
.services-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}
.service{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-height:360px;overflow:hidden;border-radius:24px;box-shadow:var(--shadow)}
.service-copy{padding:40px;display:flex;flex-direction:column;align-items:flex-start}
.service-title{display:flex;align-items:center;gap:16px}
.service-title h3{font-size:29px;line-height:1.2;font-weight:800;letter-spacing:-.03em}
.service-title p{font-size:13px;color:var(--muted)}
.service-desc{font-size:16px;line-height:1.8;color:var(--muted);margin:24px 0;max-width:440px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.service-actions{margin-top:auto;padding-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:20px}
.service-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px solid var(--line);overflow:hidden;min-height:220px}
.service-art svg{position:absolute;left:50%;top:50%;width:560px;height:400px;transform:translate(-50%,-50%);color:var(--mint);opacity:.16}
.service-art .word{position:relative;font-size:104px;line-height:1;font-weight:700;letter-spacing:-.08em;color:var(--mint)}
.service-art p{position:relative;margin-top:21px;font-size:13px;font-weight:600;letter-spacing:.1em;color:var(--muted)}
.about{border-top:1px solid var(--line);padding:48px 0 56px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px}
.about h2{font-size:21px;line-height:1.3}
.fact{display:flex;flex-direction:column;gap:12px}
.fact-title{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700}
.fact-title .ic{color:var(--accent)}
.about p{font-size:15px;color:var(--muted)}

/* Возможности, шаги */
.feature{padding:26px;display:flex;flex-direction:column;gap:14px}
.feature h3{font-size:17px;font-weight:800}
.feature p{font-size:15px;line-height:1.65;color:var(--muted)}
.feat-ic{width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--mint) 14%,transparent);color:var(--mint);display:flex;align-items:center;justify-content:center}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;counter-reset:step}
.step{display:flex;gap:16px}
.step-n{width:36px;height:36px;border-radius:50%;border:1px solid var(--accent);color:var(--accent);font-size:15px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.step h3{font-size:17px;font-weight:800;margin:5px 0 8px}
.step p{font-size:15px;line-height:1.65;color:var(--muted)}

/* Характеристики */
.spec{padding:22px 26px}
.spec h3{font-size:16px;font-weight:800;padding-bottom:6px}
.spec dl{margin:0}
.spec-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;padding:11px 0;font-size:14px;line-height:1.55;border-top:1px solid var(--line)}
.spec-row:first-child{border-top:0}
.spec dt{color:var(--muted)}.spec dd{margin:0}

/* Загрузки */
.dl{padding:26px;display:flex;flex-direction:column;gap:16px}
.dl.is-yours{border-color:var(--mint)}
.dl-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dl-name{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800}
.dl p{font-size:14px;line-height:1.6;color:var(--muted)}
.dl-meta{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--faint)}
.dl-meta .mono{color:var(--muted)}
.dl-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.dl-buttons .btn{padding:0 8px}
.dl-off{background:var(--bg2)}
.dl-off .dl-name{color:var(--muted)}

/* Вопросы (details/summary — без JS) */
.faq-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:64px}
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;font-size:16px;font-weight:700;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary .ic{color:var(--muted);transition:transform .2s}
.faq details[open] summary .ic{transform:rotate(180deg)}
.faq details p{padding:0 0 22px;max-width:720px;font-size:15px;line-height:1.7;color:var(--muted)}

/* Окно приложения (иллюстрация, цвета Vox) */
.app{width:100%;max-width:560px;aspect-ratio:3/2;border-radius:14px;overflow:hidden;border:1px solid #3A3E47;background:#242830;display:flex;flex-direction:column;box-shadow:0 30px 80px rgba(0,0,0,.35);color:#e8eaed;font-size:12px;line-height:1.3}
.app-bar{height:28px;flex-shrink:0;background:#1B1E25;display:flex;align-items:center;padding:0 12px;gap:8px;color:#8b929e;font-size:11px}
.app-bar i{width:9px;height:9px;border-radius:50%;background:#3A3E47}
.app-body{flex:1;display:flex;min-height:0}
.app-list{width:34%;background:#2E323B;border-right:1px solid #3A3E47;display:flex;flex-direction:column}
.app-list .h{padding:10px 12px;font-weight:700;border-bottom:1px solid #3A3E47}
.app-row{display:flex;align-items:center;gap:9px;padding:9px 12px;border-bottom:1px solid #3A3E47}
.app-row.on{background:#383C46}
.av{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:11px;color:#fff;flex-shrink:0}
.app-row b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-row span{display:block;color:#8b929e;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-row span.live{color:#43b581}
.app-main{flex:1;min-width:0;display:flex;flex-direction:column}
.app-top{height:38px;border-bottom:1px solid #3A3E47;display:flex;align-items:center;gap:8px;padding:0 12px;font-weight:600}
.app-top span{color:#8b929e;font-weight:400}
.app-tiles{flex:1;padding:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1.9fr 1fr;gap:8px}
.tile{position:relative;border-radius:8px;background:#2E323B;display:flex;align-items:center;justify-content:center}
.tile.screen{grid-column:span 3;background:#1B1E25;padding:12px 12px 26px}
.tile.screen .doc{width:100%;height:100%;border-radius:4px;background:#2E323B;padding:10px;display:flex;flex-direction:column;gap:6px}
.tile.screen .doc i{height:6px;border-radius:2px;background:#3A3E47}
.tile.screen .doc i:first-child{width:40%;background:#A3DAC5}
.tile.speaking{box-shadow:inset 0 0 0 2px #43b581}
.tile .name{position:absolute;left:6px;bottom:5px;padding:2px 6px;border-radius:4px;background:rgba(0,0,0,.45);font-size:10px}
.app-ctl{height:46px;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:10px}
.app-ctl i{width:34px;height:34px;border-radius:50%;background:#383C46}
.app-ctl i.on{background:#A3DAC5}
.app-ctl i.end{background:#f04747}

/* Терминал (свой сервер) */
.term{width:100%;max-width:560px;border-radius:14px;border:1px solid var(--line);background:#0b0f15;color:#e8eaed;overflow:hidden;box-shadow:var(--shadow)}
.term-bar{height:36px;display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:1px solid #243041;font-size:12px;color:#7d8a9b}
.term pre{margin:0;padding:18px 20px;font-size:13px;line-height:1.8;white-space:pre-wrap;word-break:break-all}
.term .p{color:#7d8a9b}.term .ok{color:#6fcf97}.term .hl{color:#b2d8f0}
.ports{overflow:hidden}
.port-row{display:grid;grid-template-columns:140px 100px minmax(0,1fr);gap:12px;padding:13px 20px;font-size:14px;border-top:1px solid var(--line)}
.port-row:first-child{border-top:0}
.port-row .mono{color:var(--accent)}
.req-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.55}
.req-row dt{color:var(--muted)}.req-row dd{margin:0}
.req{border-top:1px solid var(--line);margin:0}
.link-field{padding:18px 20px;display:flex;flex-direction:column;gap:12px}
.link-field .input{min-height:44px;border-radius:10px;border:1px solid var(--accent);background:var(--bg);display:flex;align-items:center;padding:0 12px;font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* После скачивания */
.done{padding:64px 0 88px}
.done-inner{max-width:760px}
.done-ok{display:flex;align-items:center;gap:12px;color:var(--ok);font-size:14px;font-weight:700}
.done h1{font-size:clamp(2rem,4vw,2.6rem);line-height:1.15;font-weight:800;letter-spacing:-.035em;margin:14px 0}
.done-steps{display:flex;flex-direction:column;gap:12px;margin-top:40px}
.done-step{padding:22px 26px;display:flex;gap:16px}
.done-step h3{font-size:17px;font-weight:800;margin:5px 0 8px}
.done-step p{font-size:15px;line-height:1.65;color:var(--muted)}
.smartscreen{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--bg);font-size:14px}
.smartscreen .warn{color:var(--ph)}
.done-other{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:40px;padding-top:24px;border-top:1px solid var(--line);font-size:14px}

/* Подвал */
.footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:26px 0 32px;font-size:13px;color:var(--muted)}
.footer a{color:var(--muted)}.footer a:hover{color:var(--text)}
.footer .brand-sm{display:flex;align-items:center;gap:8px}
.footer .links{display:flex;flex-wrap:wrap;gap:24px}

/* Адаптивность */
@media (max-width:980px){
  .nav-links,.nav>.seg{display:none}
  .menu{display:block}
  .hero-split{grid-template-columns:minmax(0,1fr)}
  .grid-3,.steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-2{grid-template-columns:minmax(0,1fr)}
  .faq-layout{grid-template-columns:minmax(0,1fr);gap:24px}
  .service{grid-template-columns:minmax(0,1fr)}
  .service-art{border-left:0;border-bottom:1px solid var(--line);grid-row:1}
  .about{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
  .about>:first-child{grid-column:1/-1}
  .section-head.row{flex-direction:column;align-items:flex-start}
}
@media (max-width:600px){
  .wrap{width:calc(100% - 40px)}
  .header{min-height:76px;padding-block:14px}
  .brand{font-size:19px}
  .crumbs .parent,.crumbs .sep{display:none}
  .hero{padding:40px 0 64px}
  .waves{opacity:.6;right:-220px;width:560px;height:360px}
  .hero h1{font-size:clamp(2.1rem,9vw,2.6rem);line-height:1.12}
  .hero h1 br{display:none}
  .actions .btn{width:100%}
  .section{padding:56px 0}
  .grid-3,.steps,.about{grid-template-columns:minmax(0,1fr)}
  .service-copy{padding:26px 22px}
  .service-actions{flex-direction:column;align-items:stretch}
  .service-actions .btn,.service-actions .link{width:100%;justify-content:center;text-align:center}
  .service-art{min-height:190px}
  .service-art .word{font-size:76px}
  .spec-row,.req-row{grid-template-columns:minmax(0,1fr);gap:2px}
  .port-row{grid-template-columns:110px minmax(0,1fr);padding:12px 16px}
  .port-row span:last-child{grid-column:1/-1;color:var(--muted)}
  .dl-buttons{grid-template-columns:minmax(0,1fr)}
  .done-step{padding:20px}
  .footer{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
