/* SHINA — главная страница бренда. Тёмная «чертёжная» тема: графит, сетка листа, электрический синий (IN) и янтарный (OUT).
   Шрифты — системные (страницу открывают с Windows, из AutoCAD-окружения): без внешних загрузок. */
:root {
  --bg: #060b14; --bg2: #0a1220; --panel: #0e1828; --panel2: #121f33;
  --line: rgba(120, 160, 225, .16); --line2: rgba(120, 160, 225, .30);
  --text: #e8eefb; --muted: #93a4c0; --dim: #6b7c99;
  --in: #3d8bff; --in2: #7fb2ff; --out: #ffb224; --out2: #ffd27a; --ok: #37d08a;
  --sans: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --r: 14px; --w: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--w), 100% - 40px); margin: 0 auto; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; background: rgba(6, 11, 20, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 27px; letter-spacing: .16em; }
.brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(61, 139, 255, .45); }
.foot .brand { font-size: 22px; }
.foot .brand img { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; padding: 2px 7px; border-radius: 5px; border: 1px solid; margin-right: 6px; }
.nav .tag.in { color: var(--in2); border-color: rgba(61, 139, 255, .5); }
.nav .tag.out { color: var(--out2); border-color: rgba(255, 178, 36, .5); }
.burger { display: none; background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 9px; padding: 7px 11px; font: inherit; cursor: pointer; }

/* кнопки */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 11px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-p { background: var(--in); color: #04101f; }
.btn-p:hover { background: var(--in2); }
.btn-o { border-color: var(--line2); color: var(--text); }
.btn-o:hover { border-color: var(--in2); }
.btn-a { background: var(--out); color: #1d1200; }
.btn-a:hover { background: var(--out2); }
.btn-s { padding: 9px 16px; font-size: 14.5px; }

/* первый экран */
.hero { position: relative; padding: 60px 0 30px; overflow: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 100%,
    var(--bg); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(30px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.025em; margin: 18px 0 0; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--in2); }
.hero .sub { font-size: clamp(20px, 2.5vw, 30px); line-height: 1.3; margin: 22px 0 0; color: var(--text); font-weight: 600; }
.hero .sub span { color: var(--out2); display: block; }
.hero .sub b { color: var(--in2); font-weight: 600; display: block; }
.hero .lead { max-width: 62ch; color: var(--muted); margin: 18px 0 0; font-size: 18.5px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.scheme { margin-top: 44px; }
.scheme svg { width: 100%; height: auto; display: block; }
.flow { stroke-dasharray: 7 11; animation: flow 2.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -72; } }
/* схема первого экрана: световой поток светильников и точки короткого замыкания */
.scheme { --kz: #ff6b5e; }
.cone { animation: glow 5s ease-in-out infinite; }
.lamps { filter: drop-shadow(0 0 6px rgba(255, 226, 160, .65)); }
.cone:nth-child(2n) { animation-delay: -2.2s; }
.cone:nth-child(3n) { animation-delay: -3.6s; }
@keyframes glow { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.kz .ring { transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.kz .r2 { animation-delay: -.9s; }
.kz .r3 { animation-delay: -1.7s; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(2.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .flow, .cone, .kz .ring { animation: none; } html { scroll-behavior: auto; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); margin-top: 26px; position: relative; z-index: 1; }
.fact { padding: 20px 22px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font: 700 27px/1.1 var(--mono); letter-spacing: -.01em; color: var(--text); }
.fact span { color: var(--muted); font-size: 14.5px; }

/* разделы */
.sec { padding: 92px 0; border-top: 1px solid var(--line); }
.sec.alt { background: var(--bg2); }
.sec h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.02em; margin: 10px 0 0; font-weight: 700; max-width: 20ch; }
.sec .intro { color: var(--muted); max-width: 64ch; margin: 16px 0 0; font-size: 18px; }
.head { margin-bottom: 44px; }

/* три выгоды */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { border-left: 2px solid var(--in); padding: 4px 0 6px 24px; }
.pillar:nth-child(2) { border-color: var(--out); }
.pillar:nth-child(3) { border-color: var(--ok); }
.pillar .k { font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pillar h3 { font-size: clamp(22px, 2.3vw, 29px); line-height: 1.15; letter-spacing: -.015em; margin: 14px 0 0; }
.pillar p { color: var(--muted); margin: 14px 0 0; font-size: 16.5px; }

/* было и стало */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.ba .col { border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px 30px; background: var(--panel); }
.ba .now { border-color: rgba(61, 139, 255, .55); background: linear-gradient(rgba(61, 139, 255, .09), rgba(61, 139, 255, .03)), var(--panel); }
.ba h3 { margin: 0 0 16px; font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.ba .now h3 { color: var(--in2); }
.ba ol { margin: 0; padding: 0; list-style: none; counter-reset: b; display: grid; gap: 11px; }
.ba li { counter-increment: b; position: relative; padding-left: 38px; color: var(--muted); }
.ba li::before { content: counter(b); position: absolute; left: 0; top: .08em; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; background: rgba(255, 255, 255, .06); font: 600 13px/1 var(--mono); color: var(--muted); }
.ba .now li { color: var(--text); font-size: 18.5px; }
.ba .now li::before { background: var(--in); color: #04101f; }
.ba .sum { margin: 22px 0 0; color: var(--muted); font-size: 16px; border-top: 1px solid var(--line); padding-top: 18px; }

/* заключительная полоса */
.band { border-top: 1px solid var(--line); padding: 78px 0;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 44px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 100%, var(--bg); }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.band h2 { font-size: clamp(36px, 6vw, 72px); line-height: 1; letter-spacing: -.025em; margin: 12px 0 0; }
.band p:not(.mono) { color: var(--muted); font-size: clamp(18px, 2vw, 24px); margin: 14px 0 0; }

/* два продукта */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; overflow: hidden; }
.product::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--c); }
.product.in { --c: var(--in); --c2: var(--in2); }
.product.out { --c: var(--out); --c2: var(--out2); }
.lockup { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 25px; letter-spacing: .13em; }
.lockup i { font: 700 15px/1 var(--mono); font-style: normal; letter-spacing: .1em; color: var(--c2); border: 1.5px solid var(--c); border-radius: 7px; padding: 6px 9px 5px; }
.product .where { font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c2); margin-top: 20px; }
.product h3 { font-size: 27px; line-height: 1.15; margin: 8px 0 0; letter-spacing: -.01em; }
.product p { color: var(--muted); margin: 12px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); color: var(--text); }
.state { display: flex; align-items: center; gap: 9px; margin-top: 22px; font: 13.5px/1.3 var(--mono); color: var(--muted); }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 4px rgba(55, 208, 138, .16); }
.product .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }

/* преимущества */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.why article { background: var(--bg2); padding: 30px 28px 32px; }
.sec.alt .why article { background: var(--panel); }
.why .n { font: 600 13px/1 var(--mono); color: var(--in2); letter-spacing: .1em; }
.why h3 { font-size: 22px; line-height: 1.2; margin: 14px 0 0; letter-spacing: -.01em; }
.why p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }

/* проверяемость */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 46px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .48em; width: 14px; height: 8px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.ticks small { display: block; color: var(--muted); font-size: 15px; }
.shot { border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: #0b1220; }
.shot figcaption { padding: 11px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); background: var(--panel); }
figure { margin: 0; }
.fine { color: var(--dim); font-size: 14.5px; margin-top: 22px; max-width: 60ch; }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 24px; }
.step::before { counter-increment: s; content: "0" counter(s); font: 700 13px/1 var(--mono); color: var(--in2); letter-spacing: .1em; }
.step h3 { margin: 12px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* снимки */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery .big { grid-column: 1 / -1; }
.gallery img { width: 100%; }
.gallery .big img { max-height: 600px; object-fit: cover; object-position: top left; }
.gallery figure:not(.big) img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* для кого и нормы */
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cols article { border-top: 2px solid var(--line2); padding-top: 18px; }
.cols h3 { font-size: 19px; margin: 0; }
.roles article { border-top-color: var(--c, var(--line2)); }
.roles article:nth-child(1) { --c: var(--in); }
.roles article:nth-child(2) { --c: var(--ok); }
.roles article:nth-child(3) { --c: var(--out); }
.roles article:nth-child(4) { --c: var(--in2); }
.roles .verb { display: block; font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c); margin-bottom: 12px; }
.roles h3 { font-size: 20px; line-height: 1.25; }
.cols p { color: var(--muted); font-size: 15.5px; margin: 8px 0 0; }
.norms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.norm { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.norm b { font: 600 15.5px/1.3 var(--mono); color: var(--text); letter-spacing: .01em; }
.norm span { color: var(--muted); font-size: 14.5px; }
.more { display: inline-block; margin-top: 26px; color: var(--in2); font-weight: 600; border-bottom: 1px solid rgba(127, 178, 255, .4); }
.more:hover { border-color: var(--in2); }

/* доступ */
.access { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.card h3 { margin: 0 0 14px; font-size: 21px; }
.how { list-style: none; counter-reset: h; padding: 0; margin: 0; display: grid; gap: 16px; }
.how li { counter-increment: h; position: relative; padding-left: 50px; }
.how li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--in); color: var(--in2); font: 700 15px/1 var(--mono); }
.how b { display: block; }
.how span { color: var(--muted); font-size: 15.5px; }
.req { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: 15.5px; }
.req li { padding-left: 18px; position: relative; }
.req li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 1.5px; background: var(--dim); }
.card .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* подвал */
.foot { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--muted); font-size: 15px; background: var(--bg2); }
.foot-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 30px; }
.foot h4 { margin: 0 0 12px; font: 600 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.foot a:hover { color: var(--text); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.foot .legal { color: var(--dim); font-size: 13.5px; margin-top: 14px; }

/* появление при прокрутке */
/* скрывается только при работающем сценарии: без него страница видна целиком */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.js .rise.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .access { grid-template-columns: minmax(0, 1fr); }
  .norms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .burger { display: block; }
  .top-in { height: 70px; }
  .brand { font-size: 22px; gap: 11px; }
  .brand img { width: 44px; height: 44px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px 18px; background: var(--bg2); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 9px 0; font-size: 16.5px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 8.4vw; max-width: none; }
  .scheme { margin-top: 30px; }
  .scheme text { display: none; }
  .fact { padding: 16px; }
  .fact b { font-size: 20px; }
  .fact span { font-size: 13.5px; }
  .lockup { font-size: 22px; }
  .product h3 { font-size: 23px; }
  .sec { padding: 62px 0; }
  .products, .why, .gallery, .norms, .steps, .cols, .pillars, .ba { grid-template-columns: minmax(0, 1fr); }
  .pillars { gap: 30px; }
  .ba .col { padding: 22px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product, .card { padding: 22px; }
  .btn { width: 100%; justify-content: center; }
  .top .btn { width: auto; }
}
