/* Общая основа демо-сайтов: сброс, плашка «Демо-концепт», заглушка контактов, футер.
   Внешний вид каждого демо — в static/css/demos/<тема>.css (свои шрифты, цвета, композиция). */
@font-face { font-family: "Onest"; src: url("../fonts/onest.6dbca0feb238.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.55 "Onest", system-ui, sans-serif; background: var(--d-bg, #fff); color: var(--d-ink, #111); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--d-focus, #ffbf00); outline-offset: 3px; }
.demo-wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 40px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Плашка демо — всегда сверху, контрастная, одинаковая во всех демо */
.demo-banner {
  position: sticky; top: 0; z-index: 100; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 18px; padding: 10px 16px; background: #0a1322; color: #f4f8fb; font: 500 14px/1.35 "Onest", sans-serif; text-align: center;
}
.demo-banner a { flex: none; padding: 6px 12px; background: #45f0a9; color: #04140d; font-weight: 700; text-decoration: none; }

/* Заглушка вместо контактов компании */
.demo-stub { padding: clamp(28px, 4vw, 48px); background: var(--d-stub-bg, #0a1322); color: var(--d-stub-ink, #f4f8fb); display: grid; gap: 14px; justify-items: start; }
.demo-stub h2 { font-size: clamp(24px, 1rem + 1.4vw, 36px); line-height: 1.1; }
.demo-stub p { max-width: 56ch; }
.demo-stub a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: #45f0a9; color: #04140d; font-weight: 700; text-decoration: none; }

.demo-footer { padding: 32px 0 40px; background: #0a1322; color: #c8d3e0; font: 400 14px/1.5 "Onest", sans-serif; }
.demo-footer .demo-wrap { display: grid; gap: 8px; }
.demo-footer a { color: #fff; }

.demo-credit { font-size: 13px; opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.demo-banner a.demo-banner-ghost { background: transparent; color: #f4f8fb; box-shadow: inset 0 0 0 2px rgb(244 248 251 / 0.4); }
