/* © 2026 Шайдуров Павел Анатольевич. Все права защищены.
   r256: главная по согласованному макету владельца (docs/сайт/макет-главной.dc.html). Тёмный стиль, светлые блоки #eef6f8.
   Строгая CSP: стили только файлом и в style="" нет. */
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.home { margin: 0; background: #071422; color: #f4f9fc; font: 400 16px/1.6 "Golos Text", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.home a { color: #52c7f7; }
.home a:hover { color: #8cddff; }
.home :focus-visible { outline: 3px solid #65e0d0; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #52c7f7; color: #071725 !important; padding: 12px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.home section { scroll-margin-top: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 900px; }
.eyebrow { display: block; color: #65e0d0; font-size: 14px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
.home h1, .home h2, .home h3 { font-family: "Golos Text", system-ui, sans-serif; }
.home h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 16px 0 16px; max-width: 820px; }
.home h3 { font-weight: 700; }
.sub { font-size: 18px; color: #b9d0db; max-width: 720px; margin: 0 0 14px; }
.sec { padding: 96px 0; }
.sec.tight { padding-top: 24px; }
.sec .sub:last-of-type { margin-bottom: 40px; }
.sec.light { background: #eef6f8; color: #10283b; }
.sec.light .eyebrow { color: #0f7480; }
.sec.light .sub { color: #46616f; }
.sec.light a { color: #0b5f8a; }
.sec.grad { background: linear-gradient(180deg, #0a1d2e 0%, #071422 100%); }
.sec.deep { background: #08131f; border-top: 1px solid rgba(158, 211, 232, .10); }
#features { border-top: 1px solid rgba(158, 211, 232, .10); }

/* кнопки */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; scroll-margin-top: 24px; }
.btns.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 10px;
  text-decoration: none; font: 700 16px/1.2 "Golos Text", system-ui, sans-serif; transition: transform .2s, background-color .2s, border-color .2s; text-align: center; }
.home .btn.main { background: #52c7f7; color: #071725; }
.home .btn.main:hover { background: #8cddff; color: #071725; transform: translateY(-2px); }
.home .btn.ghost { border: 1px solid #52788c; color: #effaff; background: transparent; }
.home .btn.ghost:hover { background: #17344a; color: #fff; border-color: #52c7f7; transform: translateY(-2px); }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 24px; font-weight: 700; text-decoration: none; }

/* ---------- герой ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 81% 40%, #154a62 0, transparent 39%), radial-gradient(ellipse at 69% 100%, #103648 0, transparent 40%), #071422; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(101, 224, 208, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(101, 224, 208, .035) 1px, transparent 1px);
  background-size: 52px 52px; -webkit-mask-image: linear-gradient(to right, transparent 20%, #000); mask-image: linear-gradient(to right, transparent 20%, #000); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 70px); font-weight: 800; letter-spacing: -.045em; line-height: 1.06; margin: 18px 0 24px; }
.hero h1 span { color: #52c7f7; }
.lead { font-size: 19px; color: #c7dce5; max-width: 610px; margin: 0; }
.micro { color: #a3c2d0; font-size: 14px; margin: 18px 0 0; }
.micro strong { color: #65e0d0; font-size: 15px; }
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.art-hint { margin: 0; color: #a2c6d3; font-size: 14px; text-align: center; }

/* логотип с подписями: наведение или фокус на логотипе — подписи и кольца загораются (только CSS);
   подписи стоят так, что не заходят под логотип ни на одной ширине (проверяется тестом) */
.orbit { --S: 340px; --C: 136px; position: relative; width: var(--S); height: var(--S); border-radius: 50%;
  border: 1px solid rgba(99, 218, 237, .28); box-shadow: 0 0 70px rgba(36, 192, 221, .1), inset 0 0 70px rgba(36, 192, 221, .08);
  transition: box-shadow .5s, border-color .5s; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(99, 218, 237, .15); transition: border-color .5s; pointer-events: none; }
.ring.r1 { inset: 26px; } .ring.r2 { inset: 60px; }
.core { position: absolute; z-index: 2; left: 50%; top: 50%; width: var(--C); height: var(--C); margin: calc(var(--C) / -2) 0 0 calc(var(--C) / -2);
  display: block; border-radius: 30%; border: 1px solid #42839b; background: #0b2336; overflow: hidden; box-shadow: 0 15px 60px #03121e;
  transition: transform .35s, box-shadow .5s, border-color .5s; }
.core img { display: block; width: 100%; height: 100%; }
.lbl { position: absolute; z-index: 1; padding: 8px 13px; background: #102b40; border: 1px solid #31546a; border-radius: 9px; color: #d8f4fa;
  font-size: 14px; line-height: 1.25; box-shadow: 0 8px 20px #06121f; transition: background-color .4s, border-color .4s, box-shadow .4s, color .4s; pointer-events: none; }
.lbl.l1 { top: 4%; left: 0; white-space: nowrap; }
.lbl.l2 { top: 50%; transform: translateY(-50%); left: calc(50% + var(--C) / 2 + 12px); width: 120px; }
.lbl.l3 { top: 80%; right: 4%; white-space: nowrap; }
.core:hover, .core:focus-visible { transform: translateY(-4px) scale(1.04); border-color: #8df3ed; box-shadow: 0 0 48px rgba(74, 223, 218, .38); }
.core:hover ~ .lbl, .core:focus-visible ~ .lbl { background: #14425c; border-color: #7ff0e6; box-shadow: 0 0 22px rgba(101, 224, 208, .45); color: #fff; }
.orbit:has(.core:hover), .orbit:has(.core:focus-visible) { border-color: rgba(120, 244, 235, .7); box-shadow: 0 0 90px rgba(46, 211, 226, .26), inset 0 0 65px rgba(36, 192, 221, .14); }
.orbit:has(.core:hover) .ring, .orbit:has(.core:focus-visible) .ring { border-color: rgba(112, 237, 232, .48); }
@media (max-width: 999px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 64px; padding-bottom: 72px; gap: 40px; }
}
@media (max-width: 640px) {
  .orbit { --S: min(300px, 76vw); --C: 104px; }
  .ring.r1 { inset: 18px; } .ring.r2 { inset: 42px; }
  .lbl { padding: 7px 10px; }
  .lbl.l1 { top: 1%; left: 0; }
  .lbl.l2 { top: 71%; transform: none; left: 0; width: auto; white-space: nowrap; }
  .lbl.l3 { top: 86%; right: 0; }
}

/* ---------- карточки ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cards.thin { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
#family .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: #0e2437; border: 1px solid #23435a; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card.big { background: #0f2538; border-radius: 20px; padding: 32px; }
.card h3 { margin: 0; font-size: 21px; }
.card.big h3 { font-size: 24px; margin-top: 4px; }
.card p { margin: 0; color: #a9c3d1; font-size: 15px; }
.card.big p { font-size: 16px; }
.card .grow { flex-grow: 1; }
.card .note { border-top: 1px solid #23435a; padding-top: 16px; font-size: 14px; color: #d4e6ee; }
.card .note strong { color: #65e0d0; }
.ib { width: 52px; height: 52px; border-radius: 13px; background: #12324a; border: 1px solid #2a5370; display: flex; align-items: center; justify-content: center; color: #39bdf8; }
.ib .ki { width: 26px; height: 26px; }
.card.big .ib { width: 56px; height: 56px; border-radius: 14px; }
.card.big .ib .ki { width: 28px; height: 28px; }
.tcard { border: 1px solid #1f3d52; border-radius: 16px; padding: 22px 24px; min-width: 0; }
.tcard h3 { margin: 0 0 8px; font-size: 18px; }
.tcard p { margin: 0; color: #a9c3d1; font-size: 15px; }
kbd { font: 500 14px/1 "JetBrains Mono", monospace; background: #12324a; border: 1px solid #2a5370; border-bottom-width: 2px; border-radius: 5px; padding: 2px 6px; color: #e6f3f8; }
.h3gap { margin: 44px 0 14px; font-size: 20px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 9px 16px; border: 1px solid #2c4f63; border-radius: 999px; font-size: 14px; color: #d8eef6; }

/* светлые блоки «под рукой» и «задания» */
.split { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.split.top { align-items: flex-start; }
.split-main { flex: 999 1 480px; min-width: 0; }
.split-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split .sub:last-of-type { margin-bottom: 0; }
.light h2 { font-size: clamp(32px, 4.4vw, 56px); }
.wcard { background: #fff; border: 1px solid #d6e5ea; border-radius: 16px; padding: 22px 26px; }
.wcard h3 { margin: 0 0 6px; font-size: 19px; color: #10283b; }
.wcard p { margin: 0; color: #4f6877; font-size: 15px; }
.wcard.row { display: flex; gap: 18px; align-items: center; padding: 20px 24px; }
.wcard.row p { color: #36505f; }
.wcard.row strong { color: #10283b; }
.num { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.wcard .num { background: #0f7f8c; color: #fff; }
.fine { margin: 4px 0 0; color: #4f6877; font-size: 14px; }

/* три шага */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid #1f3d52; border-radius: 16px; min-width: 0; }
.steps .num { background: #52c7f7; color: #071725; }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: #a9c3d1; font-size: 15px; }

/* цены */
.prices { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.prices > div { border-top: 2px solid #2fb3d4; padding-top: 22px; }
.prices h3 { margin: 0 0 10px; font-size: 22px; }
.prices p { margin: 0; color: #a9c3d1; font-size: 15px; }

/* компаниям */
.biz { border: 1px solid #284a5d; border-radius: 28px; padding: clamp(28px, 6vw, 72px); background: linear-gradient(135deg, #12354a 0%, #0b2032 60%, #0a1b2b 100%); }
.biz .pills { margin: 28px 0 32px; }
.biz .pills li { border-color: #3d6478; }
#business { padding: 72px 0; }

/* роботы: «призма» (эскиз владельца роботы-вариант.html) — стрелки, точки, клавиши ←/→, перетаскивание;
   prefers-reduced-motion — без анимации */
.robo { display: flex; flex-wrap: wrap; border: 1px solid #284254; border-radius: 28px; overflow: hidden; background: #10253a; }
.robo-copy { flex: 999 1 460px; min-width: 0; padding: clamp(28px, 6vw, 64px); align-self: center; }
.robo-copy h2 { font-size: clamp(32px, 4.2vw, 58px); letter-spacing: -.04em; line-height: 1.07; }
.robo-copy .btn { margin-top: 14px; }
.show { --w: 220px; --h: 300px; flex: 1 1 380px; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 36px 16px 24px; background: radial-gradient(ellipse at 50% 43%, #1c4b60 0%, #0c2233 70%); }
.stage { width: 100%; height: calc(var(--h) + 24px); display: grid; place-items: center; perspective: 1000px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.stage.dragging { cursor: grabbing; }
.prism { position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateX(-6deg) rotateY(var(--angle, 0deg)); transition: transform .7s cubic-bezier(.18, .7, .2, 1); }
.dragging .prism { transition: none; }
.face { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; overflow: hidden; background: #0c2233; border: 1px solid rgba(119, 206, 221, .5);
  box-shadow: inset 0 0 35px rgba(36, 125, 145, .18); -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 6px; }
.face:nth-child(1) { transform: rotateY(0deg) translateZ(calc(var(--w) * .288675)); }
.face:nth-child(2) { transform: rotateY(120deg) translateZ(calc(var(--w) * .288675)); }
.face:nth-child(3) { transform: rotateY(240deg) translateZ(calc(var(--w) * .288675)); }
.face img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.face.base { background: radial-gradient(ellipse at center, #235269, #0b2131); }
.cap { margin: 0; text-align: center; min-height: 48px; }
.cap strong { display: block; font-size: 17px; }
.cap span { display: block; color: #b7d0db; font-size: 14px; }
.ctl { display: flex; align-items: center; gap: 12px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #62899a; background: #102b3b; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.arrow:hover, .arrow:focus-visible { border-color: #65e0d0; color: #65e0d0; }
.dots { display: flex; gap: 0; align-items: center; }
.dot { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 8px; background: #7596a4; transition: width .25s, background-color .25s; }
.dot[aria-current="true"]::before { width: 26px; background: #65e0d0; }
@media (max-width: 480px) { .show { --w: min(56vw, 200px); --h: min(76vw, 270px); } }
@media (prefers-reduced-motion: reduce) {
  .prism, .dot::before, .btn, .core, .lbl, .orbit, .ring { transition: none; }
  .home .btn:hover, .core:hover, .core:focus-visible { transform: none; }
}

/* кто делает + партнёры (вставка сервера <!--PARTNERS-->: из панели, с маркировкой рекламы) */
.partners h3 { margin: 0 0 14px; font-size: 20px; }
.partners-grid { display: flex; flex-direction: column; gap: 12px; }
.partner { display: flex; gap: 14px; align-items: center; padding: 14px 16px; min-height: 44px; border: 1px solid #23435a; border-radius: 14px; background: #0e2437; text-decoration: none; color: #f4f9fc !important; }
a.partner:hover { border-color: #52c7f7; }
.partner img, .partner .pl { width: 52px; height: 52px; flex: none; border-radius: 10px; object-fit: contain; background: #fff; }
.partner .pl { display: flex; align-items: center; justify-content: center; color: #10283b; font-weight: 800; font-size: 17px; }
.partner b { display: block; font-size: 16px; }
.partner span { display: block; color: #a9c3d1; font-size: 14px; line-height: 1.4; }
.partner .ad { display: block; margin-top: 4px; color: #8fb0c0; font-size: 14px; line-height: 1.4; }

/* вопросы, призыв */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq > div { border: 1px solid #1f3d52; border-radius: 14px; padding: 20px 24px; }
.faq h3 { margin: 0 0 6px; font-size: 18px; }
.faq p { margin: 0; color: #a9c3d1; font-size: 15px; }
.faq-more { margin-top: 24px; }
.faq-more a { display: inline-flex; align-items: center; min-height: 44px; }
.cta { background: radial-gradient(ellipse at 50% 0%, #154a62 0, transparent 60%), #071422; text-align: center; }
.cta h2 { margin: 0 auto 18px; font-size: clamp(32px, 4.6vw, 58px); letter-spacing: -.04em; }
.cta .sub { margin: 0 auto 10px; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sec { padding: 64px 0; }
  .sec.tight { padding-top: 16px; }
  .sub, .lead { font-size: 17px; }
  .btn { width: 100%; }
  .card, .card.big { padding: 22px; }
  .wcard { padding: 18px 20px; }
  .steps li { padding: 18px; }
  .biz { border-radius: 20px; }
  .robo { border-radius: 20px; }
  #business { padding: 48px 0; }
}

/* ---------- /linux.html (r256 / r123) ---------- */
.lx-hero .wrap { padding-top: 72px; padding-bottom: 72px; }
.lx-hero .lead { max-width: 760px; }
.btn small { font-weight: 500; font-size: 14px; opacity: .85; }
.lx-soon { margin-top: 30px; max-width: 760px; border: 1px solid #2c4f63; border-radius: 16px; padding: 22px 24px; background: rgba(14, 36, 55, .7); }
.lx-soon-t { margin: 0; color: #d8eef6; font-size: 17px; }
.lx-soon-t strong { color: #65e0d0; }
.lx-soon .btns { margin-top: 18px; }
.lx-sums { margin-top: 16px; color: #b9d0db; font-size: 14px; max-width: 760px; }
.lx-sums summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: #9fd8ee; }
.lx-sums ul { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 10px; }
.lx-sums code, .lx pre code, .lx p code { font: 500 14px/1.5 "JetBrains Mono", monospace; overflow-wrap: anywhere; }
.lx pre { margin: 10px 0; padding: 12px 14px; background: #050f19; border: 1px solid #1f3d52; border-radius: 10px; overflow-x: auto; color: #e6f3f8; }
.lx p code { background: #12324a; border-radius: 5px; padding: 1px 6px; color: #e6f3f8; }
.lx .faq p + p { margin-top: 8px; }
.lx-after { margin-top: 28px; }
