/* «Техно без паники» — оформление сайта */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-cyrillic.6fd02dd74afd.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-latin.311d352d9323.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/caveat-cyrillic.b30aa3db700f.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/caveat-latin.2d9de14f93a2.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F;
}

:root {
  --bg: #040a1c;
  --surface: rgba(13, 29, 66, 0.62);
  --surface-strong: rgba(16, 36, 82, 0.78);
  --border: rgba(96, 150, 255, 0.2);
  --border-strong: rgba(110, 170, 255, 0.42);
  --text: #eef3ff;
  --muted: #a6b5d8;
  --faint: #7085b2;
  --blue: #2f7bff;
  --cyan: #33d3ff;
  --green: #2fd28a;
  --violet: #8b7bff;
  --orange: #ffad42;
  --grad: linear-gradient(90deg, #2f7bff 0%, #36d6ff 100%);
  --radius: 18px;
  --radius-lg: 24px;
  --container: 1320px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
  --shadow: 0 18px 50px rgba(0, 4, 20, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
code, pre { font-family: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace; font-size: 0.9em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.icon { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(47, 140, 255, 0.45));
}

/* Фон страницы: свечение и лёгкая сетка */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 560px at 78% -8%, rgba(36, 104, 255, 0.3), transparent 62%),
    radial-gradient(760px 520px at -12% 18%, rgba(0, 190, 255, 0.13), transparent 60%),
    radial-gradient(900px 700px at 50% 115%, rgba(70, 80, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #061030 0%, #040a1c 45%, #030716 100%);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(90, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.72em 1.25em;
  border: 1.5px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #3d8dff 0%, #1f63ff 100%);
  box-shadow: 0 8px 26px rgba(31, 99, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--primary:hover { box-shadow: 0 10px 34px rgba(49, 120, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--outline, .btn--ghost {
  color: var(--text);
  background: rgba(10, 22, 54, 0.45);
  border-color: var(--border-strong);
}
.btn--outline:hover, .btn--ghost:hover { border-color: rgba(120, 190, 255, 0.8); box-shadow: 0 0 22px rgba(60, 150, 255, 0.25); }
.btn--lg { padding: 0.95em 1.55em; font-size: 1.05rem; border-radius: 16px; }
.btn--sm { padding: 0.5em 0.9em; font-size: 0.88rem; border-radius: 11px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: rgba(10, 22, 54, 0.5);
  color: var(--text);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--border-strong); box-shadow: 0 0 18px rgba(60, 150, 255, 0.25); }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 10, 28, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.logo__badge {
  display: inline-grid;
  place-items: center;
  padding: 3px 9px;
  border: 2px solid #4aa8ff;
  border-radius: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(20, 60, 140, 0.35);
  box-shadow: 0 0 16px rgba(60, 160, 255, 0.55), inset 0 0 12px rgba(60, 160, 255, 0.35);
  text-shadow: 0 0 10px rgba(80, 180, 255, 0.8);
}
.nav { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.nav__link {
  position: relative;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  color: #dfe7ff;
}
.nav__link:hover { color: #fff; background: rgba(70, 120, 255, 0.1); }
.nav__link.is-active { color: #6cb8ff; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -14px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(60, 170, 255, 0.9);
}
.nav__search { display: none; }
.header__actions { display: flex; gap: 10px; }
.burger { display: none; }
.burger__close { display: none; }

/* ---------- Главный экран ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 4vw, 48px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-bg, none) center / cover no-repeat;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 24px; }
.hero__title { margin: 0 0 18px; font-size: clamp(3rem, 1.4rem + 6.2vw, 6.6rem); font-weight: 900; line-height: 0.92; letter-spacing: -0.035em; }
.hero__title span { display: block; }
.hero__line1 { text-shadow: 0 6px 40px rgba(80, 150, 255, 0.35); }
.hero__slogan {
  position: relative;
  display: inline-block;
  margin: 0 0 16px;
  font-size: clamp(1.2rem, 0.9rem + 1vw, 1.65rem);
  font-weight: 800;
}
.hero__slogan::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -10px;
  width: 42%;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2 9C60 2 140 1 198 6' fill='none' stroke='%2336c7ff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 6px rgba(54, 199, 255, 0.8));
}
.hero__lead { max-width: 560px; color: #c9d5f2; font-size: 1.08rem; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.hero__features { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 20px; margin: 0; padding: 0; list-style: none; }
.hero__features li { display: flex; align-items: center; gap: 10px; }
.hero__features b { display: block; font-size: 0.95rem; }
.hero__features small { display: block; color: var(--muted); font-size: 0.84rem; }
.hero__feature-icon { color: #58b4ff; filter: drop-shadow(0 0 8px rgba(70, 170, 255, 0.7)); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero__halo {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 140, 255, 0.45) 0%, rgba(46, 110, 255, 0.14) 45%, transparent 70%);
  filter: blur(10px);
}
.hero__robot {
  position: relative;
  width: min(560px, 100%);
  filter: drop-shadow(0 20px 40px rgba(0, 20, 80, 0.6)) drop-shadow(0 0 30px rgba(60, 150, 255, 0.35));
  animation: float 6s ease-in-out infinite;
}
.hero__desk {
  position: absolute;
  bottom: 2%;
  width: 80%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(70, 160, 255, 0.55), transparent 70%);
  filter: blur(6px);
}
.hero__note {
  position: absolute;
  top: 6%;
  right: -2%;
  z-index: 2;
  max-width: 200px;
  padding: 14px 18px;
  border: 1.5px solid rgba(90, 190, 255, 0.55);
  border-radius: 16px;
  background: rgba(8, 30, 80, 0.55);
  box-shadow: 0 0 26px rgba(50, 150, 255, 0.35), inset 0 0 20px rgba(50, 150, 255, 0.15);
  transform: rotate(-5deg);
  font: 600 1.55rem/1.1 var(--hand);
  color: #bfe6ff;
  text-shadow: 0 0 10px rgba(90, 190, 255, 0.7);
}
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero__robot { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Секции ---------- */
.section { padding: clamp(36px, 5vw, 64px) 0; }
.section--tight { padding-block: 12px; }
.section--first { padding-top: 12px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section__head h2 { margin-bottom: 6px; }
.section__head p { margin: 0; color: var(--muted); }
.section__title { margin: 12px 0 22px; }
.empty { padding: 32px; border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--muted); text-align: center; }

.page-hero { padding: clamp(36px, 5vw, 64px) 0 26px; }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); font-weight: 900; margin-bottom: 12px; }
.lead { color: #c9d5f2; font-size: 1.1rem; max-width: 760px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 0.92rem; }
.crumbs a { color: #7cc4ff; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Карточки программ ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 22px; }
.pcard {
  --accent: #4f95ff;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 38%;
  grid-template-areas: "head head" "text preview" "actions actions";
  gap: 14px 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    linear-gradient(160deg, rgba(20, 40, 92, 0.72), rgba(7, 15, 38, 0.82));
  box-shadow: var(--shadow), 0 0 28px color-mix(in srgb, var(--accent) 16%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.pcard:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 75%, transparent);
  box-shadow: var(--shadow), 0 0 40px color-mix(in srgb, var(--accent) 32%, transparent);
}
.pcard--cyan { --accent: #22d3ee; }
.pcard--violet { --accent: #8b7bff; }
.pcard--orange { --accent: #ffad42; }
.pcard--green { --accent: #2fd28a; }
.pcard__head { grid-area: head; display: flex; align-items: center; gap: 16px; }
.pcard__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 22%, #0a1636);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 40%, transparent);
  font-size: 1.8rem;
  font-weight: 900;
}
.pcard__icon img { width: 100%; height: 100%; object-fit: cover; }
.pcard__title { margin: 0; font-size: 1.28rem; }
.pcard__title a:hover { color: #9fd0ff; }
.pcard__subtitle { margin: 2px 0 0; color: color-mix(in srgb, var(--accent) 55%, #dfe8ff); font-weight: 600; font-size: 0.95rem; }
.pcard__text { grid-area: text; color: #c6d2ee; font-size: 0.93rem; }
.pcard__text p { margin: 0 0 10px; }
.pcard__preview { grid-area: preview; display: grid; place-items: center; align-self: center; }
.pcard__preview img { width: 100%; max-height: 200px; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45)); }
.pcard__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 12px; }
.pcard__actions .btn { flex: 1 1 auto; }

.checklist { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; }
.checklist li { display: flex; gap: 9px; align-items: flex-start; }
.checklist .icon { color: var(--cyan); margin-top: 2px; filter: drop-shadow(0 0 5px rgba(51, 211, 255, 0.5)); }
.checklist--lg { gap: 12px; font-size: 1.05rem; margin-bottom: 30px; }

.os-list { display: flex; flex-wrap: wrap; gap: 6px; }
.os-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(40, 80, 170, 0.18);
  color: #cfe0ff;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.os-chip--link:hover { border-color: var(--border-strong); background: rgba(60, 120, 255, 0.28); }
.os-chip--off { opacity: 0.5; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.badge--beta { background: rgba(255, 173, 66, 0.18); color: #ffc47a; border: 1px solid rgba(255, 173, 66, 0.45); }
.badge--warn { background: rgba(255, 90, 110, 0.16); color: #ff9aa8; border: 1px solid rgba(255, 90, 110, 0.4); }

/* ---------- Блок «Обновления» ---------- */
.band {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: linear-gradient(120deg, rgba(20, 44, 100, 0.65), rgba(8, 18, 44, 0.75));
  box-shadow: var(--shadow);
}
.band__intro { display: flex; gap: 22px; align-items: flex-start; }
.band__intro h2 { margin-bottom: 4px; }
.band__intro p { margin: 0 0 6px; color: var(--muted); font-size: 0.93rem; }
.band__subtitle { color: var(--text) !important; font-weight: 600; font-size: 1rem !important; }
.band__icon { color: #4db4ff; filter: drop-shadow(0 0 14px rgba(60, 170, 255, 0.8)); }
.band__steps { display: flex; align-items: center; gap: 10px; }
.step { display: flex; align-items: center; gap: 12px; flex: 1; padding: 8px; border-radius: 14px; }
.step:hover { background: rgba(60, 120, 255, 0.1); }
.step b { display: block; font-size: 0.98rem; }
.step small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
.step__icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; color: #fff; }
.step__icon--green { background: linear-gradient(145deg, #2fcf7e, #13844e); box-shadow: 0 0 20px rgba(47, 207, 126, 0.4); }
.step__icon--blue { background: linear-gradient(145deg, #3b8dff, #1d4fd0); box-shadow: 0 0 20px rgba(59, 141, 255, 0.45); }
.step__icon--violet { background: linear-gradient(145deg, #8f7bff, #4a36c9); box-shadow: 0 0 20px rgba(143, 123, 255, 0.45); }
.step__arrow { color: var(--faint); font-size: 1.8rem; }

/* ---------- Почему это удобно ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.why__item { display: flex; gap: 16px; align-items: flex-start; }
.why__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why__item p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.why__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid rgba(80, 170, 255, 0.6);
  color: #6cc2ff;
  background: rgba(20, 60, 140, 0.25);
  box-shadow: 0 0 20px rgba(60, 160, 255, 0.3), inset 0 0 14px rgba(60, 160, 255, 0.2);
}

/* ---------- Статьи ---------- */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.acard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.acard:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.acard__cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.acard__body { display: grid; gap: 6px; padding: 18px; }
.acard__body time { color: var(--faint); font-size: 0.82rem; }
.acard__body b { font-size: 1.08rem; line-height: 1.3; }
.acard__body small { color: var(--muted); font-size: 0.9rem; }
.article-cover { display: block; width: 100%; border-radius: var(--radius); margin-bottom: 26px; }

/* ---------- Страница программы ---------- */
.phero { --accent: #4f95ff; padding: clamp(28px, 4vw, 56px) 0 28px; }
.phero__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 32px; align-items: center; }
.phero__head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.phero__head h1 { margin: 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); font-weight: 900; }
.phero__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 22%, #0a1636);
  box-shadow: 0 0 34px color-mix(in srgb, var(--accent) 45%, transparent);
  font-size: 2.4rem;
  font-weight: 900;
}
.phero__icon img { width: 100%; height: 100%; object-fit: cover; }
.phero__subtitle { margin: 4px 0 0; color: color-mix(in srgb, var(--accent) 55%, #dfe8ff); font-weight: 700; font-size: 1.1rem; }
.phero__summary { color: #c9d5f2; font-size: 1.08rem; max-width: 680px; }
.phero__preview { display: grid; place-items: center; }
.phero__preview img { max-height: 340px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px color-mix(in srgb, var(--accent) 25%, transparent)); }

.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; margin: 24px 0 12px; }
.dl {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid var(--border-strong);
  background: rgba(10, 24, 60, 0.6);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dl:hover { transform: translateY(-2px); border-color: rgba(120, 190, 255, 0.85); box-shadow: 0 0 24px rgba(60, 150, 255, 0.3); }
.dl--primary { border-color: transparent; background: linear-gradient(180deg, #3d8dff, #1f63ff); box-shadow: 0 10px 30px rgba(31, 99, 255, 0.45); }
.dl__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); }
.dl__text { flex: 1; min-width: 0; }
.dl__text b { display: block; }
.dl__text small { display: block; color: #c4d4f5; font-size: 0.82rem; }
.dl--primary .dl__text small { color: #e0ebff; }
.beta { margin-top: 10px; }
.beta summary { cursor: pointer; color: #ffc47a; font-weight: 600; }
.beta p { margin: 8px 0; font-size: 0.9rem; }
.beta .btn { margin: 4px 6px 0 0; }

.pdetail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.pdetail__main > h2 { margin-top: 8px; margin-bottom: 18px; }
.pdetail__side { display: grid; gap: 18px; position: sticky; top: 96px; }
.side-card { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.side-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.side-card h3 .icon { color: var(--cyan); }
.side-card p { color: var(--muted); font-size: 0.92rem; }
.side-card--accent { border-color: var(--border-strong); background: linear-gradient(160deg, rgba(24, 56, 130, 0.6), rgba(8, 18, 44, 0.8)); }
.hashes, .feeds { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.86rem; }
.hashes li { display: flex; justify-content: space-between; gap: 8px; }
.hashes code { color: #9fd0ff; }
.feeds a { color: #7cc4ff; }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 34px; }
.shot { display: block; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.3s ease; }
.shot:hover img { transform: scale(1.03); }
.shot span { display: block; padding: 8px 12px; color: var(--muted); font-size: 0.85rem; }

.versions { display: grid; gap: 14px; }
.version { padding: 16px 20px; border-radius: 16px; border: 1px solid var(--border); border-left: 3px solid var(--blue); background: var(--surface); }
.version header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.version header time { color: var(--faint); font-size: 0.88rem; }
.version__files { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.version .prose { margin-top: 10px; }

/* ---------- Обновления ---------- */
.table-card { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); margin-bottom: 40px; }
.vtable { width: 100%; border-collapse: collapse; min-width: 640px; }
.vtable th, .vtable td { padding: 14px 18px; text-align: left; border-bottom: 1px solid rgba(96, 150, 255, 0.12); }
.vtable th { color: var(--faint); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.vtable tr:last-child td { border-bottom: 0; }
.vtable__prog { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.vtable__prog img { border-radius: 8px; }
.vtable__action { text-align: right; }
.updates-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline__item { padding: 16px 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.timeline__item header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.timeline__item header a:hover { color: #9fd0ff; }
.timeline__item time { margin-left: auto; color: var(--faint); font-size: 0.86rem; }
.timeline__item .prose { margin-top: 8px; }

/* ---------- Текст из редактора ---------- */
.prose { color: #d4def5; font-size: 1.02rem; line-height: 1.7; }
.prose h2 { margin: 1.6em 0 0.6em; font-size: 1.6rem; color: var(--text); }
.prose h3 { margin: 1.4em 0 0.5em; font-size: 1.25rem; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 0.25em 0; }
.prose li::marker { color: var(--cyan); }
.prose a { color: #7cc4ff; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose img { border-radius: 14px; margin: 1em 0; }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 3px solid var(--cyan); background: rgba(40, 90, 200, 0.12); border-radius: 0 12px 12px 0; }
.prose code { padding: 2px 6px; border-radius: 6px; background: rgba(60, 110, 220, 0.18); color: #bfe3ff; }
.prose pre { overflow-x: auto; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: #050d24; }
.prose pre code { padding: 0; background: none; color: #cfe4ff; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { padding: 8px 12px; border: 1px solid var(--border); }
.prose details { margin: 1em 0; }
.prose details summary { cursor: pointer; color: #7cc4ff; }
.prose--sm { font-size: 0.93rem; line-height: 1.6; }
.prose--sm ul { margin-bottom: 0; }
.prose--sm p:last-child { margin-bottom: 0; }
.prose--wide { max-width: 900px; }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.page-layout > .prose:only-child { grid-column: 1 / -1; max-width: 860px; }
.contact-list { display: grid; gap: 12px; }
.contact { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.contact:hover { border-color: var(--border-strong); }
.contact b { display: block; }
.contact small { color: var(--muted); }
.contact__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--cyan); background: rgba(40, 100, 220, 0.2); }

/* ---------- Каталог, поиск ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.filter { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: rgba(10, 22, 54, 0.5); font-weight: 600; font-size: 0.92rem; }
.filter:hover { border-color: var(--border-strong); }
.filter.is-active { border-color: transparent; background: linear-gradient(180deg, #3d8dff, #1f63ff); box-shadow: 0 6px 20px rgba(31, 99, 255, 0.4); }
.search-form { display: flex; align-items: center; gap: 12px; max-width: 720px; padding: 8px 8px 8px 18px; border-radius: 18px; border: 1.5px solid var(--border-strong); background: rgba(8, 20, 50, 0.7); }
.search-form .icon { color: var(--muted); }
.search-form input { flex: 1; min-width: 0; padding: 10px 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 1.05rem; outline: none; }
.link-list { display: grid; gap: 8px; padding-left: 1.2em; }
.link-list a { color: #7cc4ff; }

/* ---------- Ошибки ---------- */
.error-page { padding: clamp(40px, 8vw, 100px) 0; }
.error-page__inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.error-page__code { margin: 0; font-size: 5rem; font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Подвал ---------- */
.footer { margin-top: 40px; border-top: 1px solid var(--border); background: rgba(3, 8, 24, 0.7); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 40px 0 24px; }
.footer__brand p { margin-top: 14px; max-width: 360px; color: var(--muted); font-size: 0.92rem; }
.footer h4 { margin-bottom: 12px; color: var(--faint); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer__links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 0.94rem; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; color: #cfdaf3; }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 16px 0 26px; border-top: 1px solid rgba(96, 150, 255, 0.1); color: var(--faint); font-size: 0.86rem; }
.footer__bottom a:hover { color: var(--text); }

/* ---------- Просмотр скриншотов ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(2, 6, 20, 0.92); cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: 12px; box-shadow: var(--shadow); }

/* ---------- Адаптивность ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 11px; }
  .band { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 0; max-width: 420px; margin: 0 auto -10px; }
  .hero__note { font-size: 1.25rem; max-width: 160px; right: -4%; }
  .phero__grid, .pdetail, .updates-layout, .page-layout { grid-template-columns: 1fr; }
  .phero__preview { display: none; }
  .pdetail__side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .burger { display: inline-grid; }
  .header__actions .icon-btn[href="/search/"] { display: none; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 16px 20px;
    background: #050b1f;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-open .nav { display: flex; }
  .nav-open .burger__open { display: none; }
  .nav-open .burger__close { display: inline; }
  .nav__link { padding: 12px 14px; font-size: 1.05rem; }
  .nav__link.is-active::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .nav__search { display: block; margin-top: 10px; }
  .nav__search input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: rgba(8, 20, 50, 0.8); color: var(--text); font: inherit; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .header__inner { min-height: 64px; gap: 12px; }
  .nav { top: 64px; }
  .logo__name { font-size: 1rem; }
  .hero__buttons .btn { flex: 1 1 100%; }
  .hero__note { display: none; }
  .hero__features { flex-direction: column; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .pcard { grid-template-columns: 1fr; grid-template-areas: "head" "text" "preview" "actions"; padding: 18px; }
  .pcard__preview img { max-height: 150px; }
  .band { padding: 22px 18px; }
  .band__intro { flex-direction: column; gap: 10px; }
  .band__steps { flex-direction: column; align-items: stretch; }
  .step__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .timeline__item time { margin-left: 0; width: 100%; }
  .vtable { min-width: 0; }
  .vtable thead { display: none; }
  .vtable tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border-bottom: 1px solid rgba(96, 150, 255, 0.12); }
  .vtable tr:last-child { border-bottom: 0; }
  .vtable td { display: block; padding: 0; border: 0; }
  .vtable td:empty { display: none; }
  .vtable td:first-child:not(:empty) { width: 100%; }
  .vtable__action { margin-left: auto; }
  .version__files { margin-left: 0; width: 100%; }
  .error-page__inner { text-align: center; }
}
