/* Sonviz — раздел «Ресурсы»: хаб, эффекты, страница эффекта, дорожная карта,
 * сравнения (1.12.2026, макеты одобрены заказчиком; cloud/hub.js).
 * Основа — landing.css и chrome.css (шкала 4 / 6 / 8, моноширинные метки). */

.hubMain { position: relative; padding-top: 7.5rem; }
.hubMain::before { content: ""; position: absolute; inset: 0 0 auto; height: 38rem; pointer-events: none; z-index: -1;
  background: radial-gradient(60rem 26rem at 70% 0, rgba(120, 150, 190, .12), transparent 70%); }
.hubIn { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad) clamp(4rem, 10vh, 7rem); }

/* ---------- метки, заголовки ---------- */
.eye, .kick, .tc, .crumbs { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a1a6ac; }
.eye { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.6rem; }
.eye b { font-weight: 500; color: #e9edf1; }
.eye i { width: 36px; height: 1px; background: rgba(176, 199, 217, .4); }
.sil { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: 0 0 2rem; letter-spacing: .1em; }
.crumbs a { color: #a1a6ac; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #4b525a; }
.crumbs b { font-weight: 500; color: #e9edf1; }
.hubNote { margin: -1rem 0 2rem; font-size: .82rem; color: var(--warm); }

.hubHead { margin: 0 0 3rem; }
.hubHead h1 { margin: 0; max-width: 16ch; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -.045em; font-weight: 300; }
.hubLead { margin: 1.5rem 0 0; max-width: 40rem; font-size: 1.06rem; line-height: 1.6; color: #c3c9d0; }
.h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 300; }

/* ---------- вкладки-фильтры ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin: 2.5rem 0 0; }
.tab { display: inline-flex; align-items: center; gap: .5rem; height: 2.1rem; padding: 0 .75rem; border: 0; border-radius: var(--r-s); background: none;
  font: 400 .82rem/1 inherit; font-family: inherit; color: #a1a6ac; text-decoration: none; cursor: pointer; transition: color .2s, background-color .2s; }
.tab:hover { color: #fff; }
.tab.on { background: rgba(255, 255, 255, .1); color: #fff; }
.tab i { font: 500 .62rem var(--mono); font-style: normal; color: #6b727b; }

/* ---------- полки ---------- */
.shelf { padding: 2.5rem 0 3rem; border-top: 1px solid rgba(176, 199, 217, .14); }
.shelf[hidden] { display: none; }
.sh { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 1.4rem; }
.sh h2 { margin: 0; font-size: 1.75rem; font-weight: 300; letter-spacing: -.02em; }
.hMore { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; color: #e9edf1; text-decoration: none;
  border-bottom: 1px solid rgba(233, 237, 241, .3); padding-bottom: .2rem; white-space: nowrap; }
.hMore:hover { border-bottom-color: #fff; }
.hMore .arr, .btnL .arr, .rel .arr { width: .7rem; height: .7rem; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.5rem; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3.5rem; }
.grid3, .grid4, .grid5, .grid6 { display: grid; gap: 1rem; }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* карточки и строки */
.card, .rel { display: block; padding: 1.15rem 1.25rem; border-radius: var(--r-l); border: 1px solid rgba(176, 199, 217, .16);
  background: rgba(10, 12, 15, .55); color: #e9edf1; text-decoration: none; transition: border-color .25s; }
a.card:hover, a.rel:hover { border-color: rgba(176, 199, 217, .45); }
.card .kick { display: flex; align-items: center; gap: .55rem; margin: 0 0 .9rem; color: #8a929b; }
.card b, .rel b { display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.card span:not(.kick), .rel span { display: block; margin-top: .4rem; font-size: .84rem; line-height: 1.45; color: #8a929b; }
.card em { display: block; margin-top: .8rem; font: 500 .6rem/1 var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #6b727b; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #e9edf1; }
.next .dot { background: none; box-shadow: inset 0 0 0 1px #c3c9d0; }
.ideas .dot { width: 3px; height: 3px; background: #6b727b; }
.list { border-top: 1px solid rgba(176, 199, 217, .1); }
.li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.25rem; padding: .85rem 0; border-bottom: 1px solid rgba(176, 199, 217, .1);
  color: #e9edf1; text-decoration: none; font-size: .95rem; }
.li:hover .liT { color: #fff; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(233, 237, 241, .4); }
.li em { font: 500 .62rem/1 var(--mono); font-style: normal; letter-spacing: .08em; color: #6b727b; text-transform: uppercase; white-space: nowrap; }

/* плитка эффекта */
.fxc { display: block; color: #e9edf1; text-decoration: none; }
.fxc img, .sc img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-s); background: #000;
  outline: 1px solid rgba(176, 199, 217, .16); transition: outline-color .3s, filter .3s; }
.fxc:hover img, .sc:hover img { outline-color: rgba(233, 237, 241, .6); }
.fxc b, .sc b { display: block; margin-top: .6rem; font-size: .9rem; font-weight: 500; }
.fxc .d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .3rem; font-size: .78rem; line-height: 1.45; color: #8a929b; }
.sc { display: block; color: #e9edf1; text-decoration: none; }
.sc span { display: block; margin-top: .25rem; font-size: .75rem; color: #8a929b; }

/* ---------- страница эффекта ---------- */
.fxHero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: start; margin: 0 0 4rem; }
.fxHero h1 { margin: 0; font-size: clamp(3rem, 7vw, 6rem); line-height: .95; letter-spacing: -.05em; font-weight: 300; }
.btns { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 0; }
.btnL, .btnG { display: inline-flex; align-items: center; gap: .5rem; height: 2.9rem; padding: 0 1.2rem; border-radius: var(--r); font-weight: 600; font-size: .9rem; text-decoration: none; }
.btnL { background: var(--silver-btn); color: #0a0c0f; }
.btnL:hover { filter: brightness(1.06); }
.btnG { border: 1px solid rgba(176, 199, 217, .26); background: rgba(10, 12, 15, .5); color: #e9edf1; }
.btnG:hover { border-color: rgba(176, 199, 217, .5); }
.meta { margin: 1.4rem 0 0; font: 500 .66rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8a929b; }
.fxShot { margin: 0; }
.fxShot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-l); background: #000; outline: 1px solid rgba(176, 199, 217, .18); }
.fxShot figcaption { margin-top: .7rem; font: 500 .62rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #6b727b; }
.fxSec { padding: 3.5rem 0 1rem; }
.fxSec .h2 { margin: 0 0 2rem; }
.modes { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid rgba(176, 199, 217, .22); }
.modes li { padding: 1.3rem 1.25rem 0 1.25rem; border-left: 1px solid rgba(176, 199, 217, .12); }
.modes li:first-child { padding-left: 0; border-left: 0; }
.modes .n { display: block; margin-bottom: .7rem; font: 500 .62rem/1 var(--mono); color: #6b727b; }
.modes b { display: block; font-size: 1.1rem; font-weight: 500; }
.modes span:not(.n) { display: block; margin-top: .5rem; font-size: .86rem; line-height: 1.5; color: #a1a6ac; }
.modes.pics { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1.2rem 1rem; border-top: 0; }
.modes.pics li { padding: 0; border: 0; }
.modes.pics img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-s); background: #000; outline: 1px solid rgba(176, 199, 217, .14); }
.modes.pics b { margin-top: .55rem; font-size: .9rem; }
.soundRow { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; }
.soundRow .h2 { margin: 0; }
.sound { margin: 0; border-top: 1px solid rgba(176, 199, 217, .1); }
.sound div { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: .9rem 0; border-bottom: 1px solid rgba(176, 199, 217, .1); }
.sound dt { font-size: .95rem; color: #e9edf1; }
.sound dd { margin: 0; font-size: .84rem; color: #8a929b; text-align: right; }
.fxRel { padding: 3.5rem 0 0; }
.fxRel .eye { margin-bottom: 1.2rem; }

/* ---------- дорожная карта ---------- */
.rm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.rmCol { display: flex; flex-direction: column; gap: .75rem; }
.rmCol h2.kick { display: flex; align-items: center; gap: .6rem; margin: 0 0 .5rem; color: #e9edf1; }
.rmCol h2 span { margin-left: auto; color: #6b727b; }
.card.add { border-style: dashed; background: none; }

/* ---------- сравнения ---------- */
.vsWrap { overflow-x: auto; border-top: 1px solid rgba(176, 199, 217, .26); }
table.vs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.vs th, .vs td { padding: 1rem 1.25rem 1rem 0; border-bottom: 1px solid rgba(176, 199, 217, .12); text-align: left; vertical-align: top; }
.vs thead th { font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8a929b; }
.vs thead th:nth-child(2) { color: #e9edf1; }
.vs tbody th { width: 24%; font-weight: 400; color: #a1a6ac; }
.vs td { color: #e9edf1; }
.vs td + td { color: #a1a6ac; }
.vsEnd { margin: 2rem 0 0; max-width: 46rem; font-size: 1.02rem; line-height: 1.6; color: #c3c9d0; }

/* ---------- узкие окна ---------- */
@media (max-width: 1100px) {
  .grid6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid5, .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
  .modes li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
  .three { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hubMain { padding-top: 5.5rem; }
  .two, .fxHero, .soundRow, .rm { grid-template-columns: 1fr; }
  .fxHero { gap: 2rem; }
  .grid3 { grid-template-columns: 1fr; }
  .grid4, .grid5, .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modes { grid-template-columns: 1fr; border-top: 0; }
  .modes li { padding: 1rem 0; border-left: 0; border-top: 1px solid rgba(176, 199, 217, .14); }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .tab { flex: none; }
}

/* ---------- «Что нового» (cloud/changes.js) ---------- */
.chgList { border-top: 1px solid rgba(176, 199, 217, .22); }
.chg { display: grid; grid-template-columns: 13rem minmax(0, 46rem); gap: 2.5rem; padding: 2.5rem 0; border-bottom: 1px solid rgba(176, 199, 217, .12); scroll-margin-top: 6rem; }
.chgWhen { margin: .35rem 0 0; display: flex; flex-direction: column; gap: .5rem; font: 500 .7rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #a1a6ac; }
.chgWhen a { color: #6b727b; text-decoration: none; text-transform: none; letter-spacing: .04em; }
.chgWhen a:hover { color: #fff; }
.chgBody h2 { margin: 0 0 1rem; font-size: 1.6rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.chgBody p { margin: 0 0 .9rem; font-size: .98rem; line-height: 1.65; color: #c3c9d0; }
.chg:target .chgBody h2 { color: #fff; }
@media (max-width: 860px) {
  .chg { grid-template-columns: 1fr; gap: .8rem; padding: 2rem 0; }
}

/* ---------- готовые сцены (3.12, /scenes) ---------- */
.sc .scImg { display: block; }
.sc span a { color: #a1a6ac; text-decoration: none; }
.sc span a:hover { color: #e9edf1; }
.scGo { display: inline-block; margin-top: .45rem; padding-bottom: 2px; font-size: .75rem; color: #e9edf1; text-decoration: none; border-bottom: 1px solid rgba(233, 237, 241, .3); }
.scGo:hover { border-bottom-color: #e9edf1; }

/* Блог (3.12, cloud/blog.js): лента и запись. */
.postList { border-top: 1px solid rgba(176, 199, 217, .22); }
.post { padding: 2.2rem 0; border-bottom: 1px solid rgba(176, 199, 217, .12); max-width: 52rem; }
.post h2 { margin: .6rem 0 .7rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.post h2 a { color: #f1f4f7; text-decoration: none; }
.post h2 a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.post p { margin: 0; color: #c3c9d0; line-height: 1.6; }
.postWhen { display: flex; gap: 1.2rem; margin: 0; font: 500 .7rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #a1a6ac; }
.postPage .hubHead h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.6vw, 4rem); }
.postPage .postWhen { margin-top: 1.4rem; }
.postGrid { display: grid; grid-template-columns: 14rem minmax(0, 44rem); gap: 3rem; align-items: start; }
.postToc { position: sticky; top: 6rem; }
.postToc ol { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .55rem; }
.postToc a { color: #a1a6ac; text-decoration: none; font-size: .88rem; line-height: 1.35; }
.postToc a:hover { color: #fff; }
.prose { font-size: 1.06rem; line-height: 1.75; color: #d5dade; }
.prose h2 { margin: 2.6rem 0 1rem; font-size: 1.6rem; font-weight: 500; letter-spacing: -.015em; color: #f1f4f7; scroll-margin-top: 6rem; }
.prose h3 { margin: 2rem 0 .7rem; font-size: 1.2rem; font-weight: 600; color: #e9edf1; scroll-margin-top: 6rem; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose a { color: #fff; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.prose strong { color: #fff; font-weight: 600; }
.prose code { font: .9em var(--mono); background: rgba(176, 199, 217, .1); padding: .1em .35em; border-radius: 4px; }
.prose blockquote { padding: .2rem 0 .2rem 1.1rem; border-left: 2px solid rgba(176, 199, 217, .4); color: #c3c9d0; }
.prose img { display: block; max-width: 100%; height: auto; border-radius: var(--r); margin: 1.6rem 0; }
.postEnd { margin: 3.5rem 0 0 17rem; max-width: 44rem; padding: 2rem; border: 1px solid rgba(176, 199, 217, .2); border-radius: var(--r2, 8px); background: rgba(10, 12, 15, .55); }
.postEnd h2 { margin: 0 0 .5rem; font-size: 1.4rem; font-weight: 500; }
.postEnd p { margin: 0 0 1.2rem; color: #c3c9d0; line-height: 1.6; }
.postRel { margin-top: 4rem; }
@media (max-width: 900px) {
  .postGrid { grid-template-columns: 1fr; gap: 1.5rem; }
  .postToc { position: static; }
  .postEnd { margin-left: 0; }
}
