/* nomerica.app: дополнения к базовым стилям */
.langs { position: relative; margin-left: auto; margin-right: 12px; }
.langs summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 10px; border: 1px solid currentColor; opacity: .85; }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: #fff; color: #0f1720; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.18); min-width: 200px; z-index: 50; }
.langs li a { display: block; padding: 8px 12px; border-radius: 8px; color: inherit; text-decoration: none; }
.langs li a:hover, .langs li a[aria-current] { background: #eef2f7; }
.intl-demo { display: flex; align-items: center; justify-content: center; }
@media (prefers-color-scheme: dark) { .langs ul { background: #16202b; color: #e6edf5; } .langs li a:hover, .langs li a[aria-current] { background: #223040; } }
@media (max-width: 720px) { .langs { margin-right: 6px; } .langs summary { padding: 6px 9px; } }

/* Латинский логотип: знак + слово */
.intl-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: #2d5bd7; text-decoration: none; }
.intl-logo img { width: 28px; height: 28px; }
.intl-logo--dark { color: #fff; }
/* Скриншот первого экрана — короткий (1600×660), а стили витрины ждут длинный снимок с прокруткой */
.hero__screen { height: auto !important; aspect-ratio: 1600 / 660; overflow: hidden; background: #f4f6f9; }
.hero__screen img { width: 100%; height: auto; transform: none !important; }
.top__mark, .foot__mark { text-decoration: none !important; }

/* Сцена «четыре ответа» на телефонах и планшетах — обычным списком (Евгений/Сергей 18.11: на iPhone
   «глючит смена слайдов»). В Safari высота окна прыгает, когда прячется адресная строка: закреплённая
   сцена пересчитывала прогресс и меняла экраны рывками, а тексты разной высоты в одной ячейке дёргали
   раскладку. На сенсорных и узких экранах закрепление и переключение выключены. */
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .motion .show { height: auto !important; }
  .motion .show__pin { position: static !important; height: auto !important; display: block !important;
                       overflow: visible !important; padding-block: var(--section) !important; }
  .motion .show__list { display: grid !important; grid-template-columns: minmax(0, 1fr) !important;
                        grid-template-rows: none !important; gap: 56px !important; margin-top: 40px !important; }
  .motion .show__list li { display: block !important; }
  .motion .show__list li .show__txt { opacity: 1 !important; border: 0 !important; padding: 0 !important; }
  .motion .show__list li .show__txt p { max-height: none !important; opacity: 1 !important; }
  .motion .show__list li .show__img { opacity: 1 !important; transform: none !important; width: 100% !important;
                                       margin-top: 20px !important; transition: none !important; }
}
