/* Главная WEXIO («Конструктор»): чертёжная сетка, оттенки серого, лёгкий (Light) крупный шрифт, схема сборки. */
.wxc h1, .wxc h2, .wxc h3 { font-family: var(--font-head); color: var(--primary); }
.wxc-h2 { font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 40px; }
.wxc h3 { font-weight: 700; letter-spacing: -.01em; }

/* Герой на сетке */
.wxc-hero { padding: 72px 0 88px; background-image: linear-gradient(rgba(43, 46, 51, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(43, 46, 51, .07) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; border-bottom: 1px solid var(--border); }
.wxc-hero__title { font-weight: 300; font-size: clamp(2.8rem, 8vw, 7rem); line-height: .98; letter-spacing: -.05em; margin: 0 0 36px; max-width: 12ch; }
.wxc-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.wxc-hero__lead { font-size: 1.25rem; max-width: 44ch; margin: 0; color: var(--text-muted); }
.wxc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; flex: none; }

/* Схема сборки */
.wxc-asm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .8fr) minmax(0, 1fr); align-items: stretch; padding: 28px; background: rgba(241, 243, 238, .92); border: 1.5px solid var(--primary); }
.wxc-asm__parts, .wxc-asm__outs { display: grid; grid-template-rows: repeat(var(--n, 2), 1fr); gap: 10px; }
.wxc-asm__outs { --n: 2; gap: 20px; }
.wxc-asm__parts li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: .95rem; line-height: 1.25; }
.wxc-asm__parts .icon { flex: none; width: 22px; height: 22px; color: var(--primary); }
.wxc-asm__core { position: relative; min-height: 100%; }
.wxc-asm__core svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.wxc-asm__core path { stroke: var(--primary); stroke-width: 1.5; opacity: .55; }
.wxc-asm__core path.is-live { stroke: var(--signal); stroke-width: 2.5; opacity: 1; }
.wxc-asm__core path.is-soon { stroke-dasharray: 5 5; }
.wxc-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 118px; height: 118px; background: var(--primary); color: #fff; text-align: center; }
.wxc-core strong { font: 700 1.2rem/1 var(--font-head); letter-spacing: .02em; }
.wxc-core span { font-size: .78rem; color: #C4C7CC; margin-top: -26px; }
.wxc-out { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 100%; padding: 18px 20px; text-decoration: none; color: var(--primary); }
.wxc-out strong { font: 700 1.5rem/1.1 var(--font-head); letter-spacing: -.02em; }
.wxc-out span:last-child { font-size: .9rem; color: var(--text-muted); }
.wxc-out__tag { font-size: .8rem; font-weight: 600; color: var(--text-muted); }
.wxc-out--live { background: #fff; border: 2px solid var(--signal); transition: background var(--transition); }
.wxc-out--live:hover { background: #FFF3EE; color: var(--primary); }
.wxc-out--soon { border: 1.5px dashed var(--primary); }

/* Направления */
.wxc-dirs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--primary); }
.wxc-dir { padding: 32px 40px 40px 0; }
.wxc-dir + .wxc-dir { padding: 32px 0 40px 40px; border-left: 1px solid var(--border); }
.wxc-dir__mark { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 0 20px; border: 1.5px solid var(--primary); font: 700 1.1rem/1 var(--font-head); color: var(--primary); }
.wxc-dir h3 { font-size: 1.7rem; font-weight: 300; letter-spacing: -.03em; margin-bottom: 14px; }
.wxc-dir > p { max-width: 50ch; }
.wxc-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 22px 0 0; }
.wxc-ticks li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--border); font-weight: 600; font-size: .95rem; }
.wxc-ticks li::before { content: ''; position: absolute; left: 0; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.wxc-note { margin: 18px 0 0; color: var(--text-muted); font-size: .92rem; }

/* Принципы */
.wxc-rules { background: var(--surface); }
.wxc-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.wxc-tiles li { grid-column: span 2; padding: 28px; background: var(--bg); border: 1.5px solid var(--primary); }
.wxc-tiles li:nth-child(n+4) { grid-column: span 3; }
.wxc-tiles .icon { width: 30px; height: 30px; margin-bottom: 36px; color: var(--signal); }
.wxc-tiles h3 { font-size: 1.25rem; margin: 0 0 8px; }
.wxc-tiles p { margin: 0; color: var(--text-muted); max-width: 46ch; }

/* Проекты: реестр */
.wxc-reg__head, .wxc-reg__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 32px; align-items: center; }
.wxc-reg__head { padding: 0 0 10px; font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.wxc-reg__row { padding: 28px 0; border-top: 2px solid var(--primary); }
.wxc-reg__row:last-of-type { border-bottom: 2px solid var(--primary); }
.wxc-reg__row p { margin: 0; }
.wxc-reg__name { display: flex; align-items: center; gap: 22px; }
.wxc-reg__thumb { flex: none; width: 168px; padding: 6px; background: #fff; border: 1px solid var(--border); }
.wxc-reg__mono { flex: none; display: grid; place-items: center; width: 168px; aspect-ratio: 3 / 2; border: 1.5px dashed var(--primary); font: 700 1.3rem/1 var(--font-head); color: var(--primary); }
.wxc-reg__name h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: -.035em; margin: 8px 0 0; line-height: 1; }
.wxc-tag { display: inline-block; margin: 0; padding: 3px 10px; background: var(--signal); color: #fff; font-size: .8rem; font-weight: 700; }
.wxc-tag--plain { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.wxc-sub { margin: -24px 0 36px; color: var(--text-muted); font-size: 1.1rem; max-width: 52ch; }

/* Как запускается */
.wxc-how { background: var(--bg); }
.wxc-how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.wxc-how .wxc-h2 { position: sticky; top: 100px; max-width: 12ch; }
.wxc-steps { position: relative; }
.wxc-steps::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--primary); }
.wxc-steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 24px; padding-bottom: 36px; }
.wxc-steps li:last-child { padding-bottom: 0; }
.wxc-steps__n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; background: var(--bg); border: 2px solid var(--primary); font: 700 1.1rem/1 var(--font-head); color: var(--primary); }
.wxc-steps li:first-child .wxc-steps__n { background: var(--primary); color: #fff; }
.wxc-steps h3 { font-size: 1.3rem; margin: 8px 0 6px; }
.wxc-steps p { margin: 0; color: var(--text-muted); max-width: 52ch; }

/* Контакт */
.wxc-contact { background: var(--primary); color: #D5D7DB; }
.wxc-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.wxc-contact__text h2 { color: #fff; }
.wxc-contact__text > p { font-size: 1.15rem; max-width: 38ch; }
.wxc-contact__text a { color: #fff; }
.wxc-contact .form-card { border-radius: 0; border: 0; background: var(--bg); color: var(--text); }
.wxc-contact :focus-visible { outline-color: #fff; }
.wxc-contact .form-card :focus-visible { outline-color: var(--signal); }

@media (max-width: 960px) {
  .wxc-hero__row { flex-direction: column; align-items: flex-start; gap: 28px; margin-bottom: 48px; }
  .wxc-asm { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .wxc-asm__core { min-height: 120px; }
  .wxc-asm__core svg { display: none; }
  .wxc-core { width: 104px; height: 104px; }
  .wxc-asm__core::before { content: ''; position: absolute; left: 50%; top: -14px; bottom: -14px; width: 2px; background: var(--primary); opacity: .5; }
  .wxc-asm__parts { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .wxc-dirs__grid, .wxc-how__grid, .wxc-contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .wxc-dir, .wxc-dir + .wxc-dir { padding: 28px 0; border-left: 0; }
  .wxc-dir + .wxc-dir { border-top: 1px solid var(--border); }
  .wxc-tiles { grid-template-columns: 1fr 1fr; }
  .wxc-tiles li, .wxc-tiles li:nth-child(n+4) { grid-column: auto; }
  .wxc-reg__head { display: none; }
  .wxc-reg__row { grid-template-columns: 1fr; gap: 16px; }
  .wxc-how .wxc-h2 { position: static; max-width: none; }
}
@media (max-width: 640px) {
  .wxc-hero { padding: 40px 0 56px; background-size: 36px 36px; }
  .wxc-asm__parts, .wxc-ticks, .wxc-tiles { grid-template-columns: 1fr; }
  .wxc-reg__name { flex-direction: column; align-items: flex-start; }
  .wxc-actions .btn, .wxc-reg .btn { width: 100%; }
}
