/* Блок с устройством на лендингах (#1280), пара к reel.js. Цвет подписи — --reel-acc-text,
   точек ленты — --reel-acc: их задает страница. */
.reel { position: relative; --steps: 9; }
.reel-in { min-height: min(100vh, 900px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 56px; max-width: 1180px; margin: 0 auto; padding: 32px 24px; }
.reel-in > :not(.side, .strip, .strip-dots) { cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
/* Подписи стоят столбцом сверху вниз, правая колонка сдвинута на полшага от левой */
.side { --h: min(720px, 86vh); position: relative; height: var(--h); display: flex; flex-direction: column; justify-content: space-between; }
.side.r { padding: calc(var(--h) * .11) 0; }
.cap { position: relative; opacity: .32; cursor: pointer; transition: opacity .5s; }
.side.l .cap { text-align: right; }
.cap:not(.cur):hover { opacity: .6; }
.cap.cur { opacity: 1; }
.cap .k { font-size: 14px; font-weight: 700; color: var(--reel-acc-text); }
.cap h3 { margin: 6px 0 0; font-size: 22px; line-height: 1.12; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.cap p { margin: 8px 0 0; max-width: 330px; font-size: 15px; line-height: 1.55; color: var(--ink-2); font-weight: 500; }
.side.l .cap p { margin-left: auto; }
/* Лента подписей — только на узком экране */
.strip, .strip-dots { display: none; }

/* Окно браузера для веб-версии: кадры сменяются по шагам блока */
/* Ноутбук спереди на уровне глаз: крышка прямо, от основания виден только передний край */
.lap-lid { position: relative; padding: 2.4% 2.4% 3.4%; border-radius: 20px 20px 0 0; background: #0d0e10; box-shadow: inset 0 0 0 2px #3a3c41, inset 0 0 0 3px #0d0e10; }
.lap-lid::before { content: ''; position: absolute; left: 50%; top: 1%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #26282d; }
.lap-base { position: relative; height: 14px; margin: 0 -4%; border-radius: 3px 3px 14px 14px / 3px 3px 10px 10px; background: linear-gradient(180deg, #eceef0, #c3c5ca 45%, #8f9298); box-shadow: 0 26px 30px -16px rgba(0,0,0,.4); }
.lap-base::before { content: ''; position: absolute; left: 50%; top: 0; width: 14%; height: 5px; margin-left: -7%; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #9a9ca2, #b9bbc0); }
.lap-shot { position: relative; aspect-ratio: 1440 / 820; overflow: hidden; border-radius: 4px; background: var(--bg); }
.lap-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lap-shot img.dk { display: none; }
:root[data-theme="dark"] .lap-shot img.lt { display: none; }
:root[data-theme="dark"] .lap-shot img.dk { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lap-shot img.lt { display: none; } :root:not([data-theme="light"]) .lap-shot img.dk { display: block; } }
@media (max-width: 960px) { .lap-lid { border-radius: 10px 10px 0 0; } .lap-base { height: 7px; } }

@media (min-width: 961px) and (max-height: 820px) {
  .cap h3 { font-size: 20px; }
  .cap p { margin-top: 5px; font-size: 14px; line-height: 1.45; }
}
/* Узкий экран: подписей по бокам не уместить — устройство сверху, под ним лента подписей */
@media (max-width: 960px) {
  .reel-in { min-height: 0; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; padding: 40px 0 8px; }
  .reel-in > .stage { grid-row: 1; }
  .side { display: none; }
  .strip { display: flex; width: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px calc(50% - min(150px, 40vw)); scrollbar-width: none; overscroll-behavior-x: contain; }
  .strip::-webkit-scrollbar { display: none; }
  .strip-card { flex: none; width: min(300px, 80vw); scroll-snap-align: center; padding: 18px 18px 20px; border-radius: 22px; background: var(--tile); text-align: center; cursor: pointer; transition: background-color .3s; }
  .strip-card.cur { background: none; }
  .strip-card .cap { opacity: 1; pointer-events: none; }
  .strip-card .cap + .cap { margin-top: 12px; }
  .strip-card .cap h3 { font-size: 19px; }
  .strip-card .cap p { margin-left: auto; margin-right: auto; font-size: 14px; line-height: 1.5; }
  .strip-dots { display: flex; justify-content: center; gap: 6px; }
  .strip-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--ink-3); opacity: .35; transition: width .3s, opacity .3s; }
  .strip-dots i.on { width: 18px; opacity: 1; background: var(--reel-acc); }
}
@media (prefers-reduced-motion: reduce) {
  .cap { transition: none !important; }
}
