/* =========================================================
   Asylan Znaet — главная страница
   Палитра и мотивы интерфейса 1С, поданные динамичнее
   ========================================================= */

:root {
  --yellow: #FFDD00;        /* фирменный жёлтый */
  --yellow-deep: #F5C400;
  --panel: #FBED9E;         /* панели интерфейса */
  --cream: #FFF7CF;
  --paper: #FFFDF4;
  --ink: #1B1B1B;
  --ink-2: #3B3A35;
  --muted: #6E6A5A;
  --red: #D9141C;           /* фирменный красный */
  --red-deep: #B60F16;
  --green: #00913D;         /* «Проведён» */
  --line: #DDD3A0;
  --line-gray: #DCDCD6;
  --font: "Onest", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --hard: 5px 5px 0 var(--ink);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sys-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }

[hidden] { display: none !important; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.red { color: var(--red); }

.hl {
  display: inline-block;
  background: var(--ink); color: var(--yellow);
  padding: .04em .22em .1em;
  border-radius: .16em;
  rotate: -1.5deg;
}

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  font-weight: 700; font-size: 16px; line-height: 1.1; text-decoration: none; white-space: nowrap;
  color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  translate: -120% 0;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:hover::after { translate: 120% 0; transition: translate .6s var(--ease); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn .icon { transition: translate .2s var(--ease); }
.btn:hover .icon { translate: 4px 0; }

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--ink { background: var(--ink); color: var(--yellow); box-shadow: 4px 4px 0 rgba(27, 27, 27, .28); }
.btn--ink:hover { box-shadow: 6px 6px 0 rgba(27, 27, 27, .28); }
.btn--lg { padding: 18px 28px; font-size: 17px; border-radius: 14px; }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; box-shadow: 3px 3px 0 rgba(27, 27, 27, .28); }
.btn--block { display: flex; width: 100%; }

/* Командные кнопки «как в программе» */
.cbtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: linear-gradient(#fff, #F1F1EC);
  border: 1px solid #A9A9A0; border-radius: 4px;
  color: var(--ink); cursor: pointer;
  transition: filter .15s, transform .15s;
}
.cbtn--default { background: linear-gradient(#FFE94D, var(--yellow)); border-color: #C7A800; }
.cbtn--lg { padding: 11px 20px; font-size: 15px; border-radius: 6px; }
a.cbtn:hover, button.cbtn:hover { filter: brightness(.96); transform: translateY(-1px); }

/* Статусы */
.status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px 3px 6px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  border-radius: 999px;
}
.status--ok { color: var(--green); background: #E3F6EA; }
.status--lg { font-size: 16px; padding: 8px 16px 8px 12px; }

.tick {
  display: inline-grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: var(--yellow); font-size: 13px;
}
.tick .icon { stroke-width: 2.6; }

/* ---------- Шапка ---------- */
.sys { position: sticky; top: 0; z-index: 50; }
.sys__top { background: var(--panel); border-bottom: 1px solid var(--line); }
.sys__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 58px; }
.sys__actions { display: flex; align-items: center; gap: 20px; }
.sys__link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.sys__link .icon { color: var(--green); font-size: 16px; }
.sys__link:hover { color: var(--red); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__img { width: auto; height: 52px; margin: -6px 0 -2px; transition: rotate .3s var(--ease), scale .3s var(--ease); transform-origin: 50% 70%; }
.logo:hover .logo__img { rotate: -6deg; scale: 1.06; }
.logo__text { display: grid; line-height: 1.15; }
.logo__text b { font-size: 18px; font-weight: 900; letter-spacing: -.03em; }
.logo__text small { font-size: 12px; color: var(--muted); font-weight: 500; }
.logo--light .logo__text b { color: #fff; }
.logo--light .logo__text small { color: rgba(255, 255, 255, .6); }

.sections { background: #FFF6BF; border-bottom: 2px solid var(--ink); }
.sections__row {
  display: flex; gap: 4px; height: 46px; align-items: center;
  overflow-x: auto; scrollbar-width: none;
}
.sections__row::-webkit-scrollbar { display: none; }
.sections__row a {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 7px 12px;
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  color: var(--ink-2);
  border: 1.5px solid transparent; border-radius: 8px;
  transition: background .15s, border-color .15s, color .15s;
}
.sections__row a:hover { background: rgba(255, 255, 255, .7); }
.sections__row a.is-active { background: #fff; border-color: var(--ink); color: var(--ink); }
.sections__row a.is-active .icon { color: var(--red); }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; background: var(--yellow); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(27, 27, 27, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 27, 27, .075) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 75% 45%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 90% at 75% 45%, #000 0%, transparent 75%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 40px; align-items: end;
}
.hero__copy { padding: 56px 0 72px; }

.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 11px;
  font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, .6); border: 1.5px solid var(--ink); border-radius: 999px;
}
.chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }

.ask {
  display: flex; align-items: center; gap: 10px;
  max-width: 420px; margin-top: 22px; padding: 11px 12px 11px 14px;
  font-size: 17px; font-weight: 600;
  background: #fff; border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
}
.ask > .icon { color: var(--muted); }
.ask__q { flex: 1; min-width: 0; display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.ask__caret { width: 2px; height: 1.15em; margin-left: 2px; background: var(--ink); animation: blink 1s steps(1) infinite; }
.ask__ok {
  display: grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 14px;
  scale: 0; transition: scale .3s cubic-bezier(.3, 1.6, .5, 1);
}
.ask__ok .icon { stroke-width: 2.8; }
.ask.is-answered .ask__ok { scale: 1; }

.hero__title {
  margin-top: 26px;
  font-size: clamp(42px, 5.7vw, 76px); font-weight: 900;
  line-height: 1.02; letter-spacing: -.035em;
}
.hero__line { display: block; }
.hero__line + .hero__line { margin-top: .08em; }
.hero__title.is-pop .hero__line:first-child { animation: pop .5s var(--ease); }

.hero__lead { max-width: 540px; margin-top: 24px; font-size: 19px; line-height: 1.5; color: var(--ink-2); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: 15px; font-weight: 600; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }

.hero__visual { position: relative; height: clamp(500px, 47vw, 640px); align-self: end; --px: 0px; --py: 0px; }
.hero__photo {
  position: absolute; left: 50%; bottom: 0; z-index: 2;
  height: 100%; width: auto; max-width: none;
  translate: -50% 0;
  filter: drop-shadow(0 18px 24px rgba(27, 27, 27, .18));
  transform: translate3d(calc(var(--px) * .35), 0, 0);
}

/* Окно программы позади фото */
.win {
  position: absolute; inset: 7% -3% 16% 4%; z-index: 1;
  background: #fff; border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 10px 10px 0 var(--ink);
  rotate: 2.5deg; overflow: hidden;
  transform: translate3d(calc(var(--px) * -.5), calc(var(--py) * -.5), 0);
}
.win__bar { display: flex; gap: 4px; align-items: flex-end; height: 38px; padding: 0 12px; background: var(--panel); border-bottom: 1px solid var(--line); }
.win__tab { padding: 6px 12px; font-size: 11px; font-weight: 600; color: var(--muted); border-radius: 6px 6px 0 0; }
.win__tab.is-active { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom: 0; }
.win__body { display: grid; grid-template-columns: 46px 1fr; height: calc(100% - 38px); }
.win__side { display: grid; align-content: start; gap: 12px; padding: 14px 11px; background: #FFF8D2; border-right: 1px solid var(--line); }
.win__side i { height: 24px; border-radius: 6px; background: #F1E39A; }
.win__side i:first-child { background: var(--yellow); }
.win__table { padding: 12px 14px; }
.win__row { display: grid; grid-template-columns: 2fr 3fr 1.2fr; gap: 12px; padding: 9px 6px; border-bottom: 1px solid #EFEFEA; }
.win__row b { height: 8px; border-radius: 4px; background: #E6E6E0; }
.win__row b:nth-child(2) { width: 80%; }
.win__row--head { background: #F4F4EF; border-radius: 4px; }
.win__row--head b { background: #CFCFC6; }
.win__row.is-sel { background: #FFF2A6; }
.win__row.is-sel b { background: #D9C24A; }

/* Плавающие карточки */
.fcard {
  position: absolute; z-index: 3;
  min-width: 190px;
  font-size: 13px;
  background: #fff; border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: var(--hard); overflow: hidden;
  animation: float 6s ease-in-out infinite;
  transform: translate3d(calc(var(--px) * var(--depth, 1)), calc(var(--py) * var(--depth, 1)), 0);
}
.fcard__bar { display: flex; align-items: center; gap: 6px; padding: 7px 11px; font-size: 12px; font-weight: 700; background: var(--panel); border-bottom: 1px solid var(--line); }
.fcard__bar .icon { color: var(--red); }
.fcard__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; }
.fcard__body .mono { font-size: 13px; font-weight: 700; }
.fcard__entry { display: flex; justify-content: space-between; gap: 14px; padding: 7px 12px 9px; font-size: 11.5px; color: var(--muted); border-top: 1px dashed var(--line-gray); white-space: nowrap; }
.fcard__entry b { color: var(--ink); }
.fcard--doc { left: -4%; top: 16%; }
.fcard--close { right: -5%; top: 44%; animation-delay: -2s; }
.fcard--osv { left: 0; bottom: 9%; animation-delay: -4s; }

.fcard__list { padding: 8px 12px 10px; display: grid; gap: 6px; font-weight: 600; }
.fcard__list li { display: flex; align-items: center; gap: 8px; color: var(--muted); transition: color .3s; }
.fcard__list li::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid #C4C4BB; background: #fff center / 10px no-repeat;
  transition: background-color .3s, border-color .3s, scale .3s cubic-bezier(.3, 1.6, .5, 1);
}
.fcard__list li.is-done { color: var(--ink); }
.fcard__list li.is-done::before {
  border-color: var(--green); background-color: var(--green); scale: 1.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.fcard__body--osv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.fcard__body--osv small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.fcard__body--osv b { font-size: 14px; }
.fcard__body--osv .status { grid-column: 1 / -1; justify-self: start; opacity: 0; scale: .8; transition: opacity .3s, scale .3s cubic-bezier(.3, 1.6, .5, 1); }
.fcard__body--osv .status.is-on { opacity: 1; scale: 1; }

/* ---------- Бегущая строка ---------- */
.ticker { overflow: hidden; background: var(--ink); color: var(--yellow); border-block: 2px solid var(--ink); }
.ticker__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker__track span { padding: 14px 0; font-size: 15px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; white-space: pre; }
.ticker__track i { font-style: normal; color: var(--red); margin: 0 14px; }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- Секции ---------- */
.sec { padding: 104px 0; scroll-margin-top: var(--sys-h); }
[id] { scroll-margin-top: var(--sys-h); }
.sec--cream { background: var(--cream); border-block: 1px solid var(--line); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--pains { padding-bottom: 88px; }

.sec-head { max-width: 780px; margin-bottom: 52px; }
.sec-head h2, .cta h2 {
  font-size: clamp(30px, 4.2vw, 52px); font-weight: 800;
  line-height: 1.06; letter-spacing: -.03em;
}
.sec-head__lead { margin-top: 18px; font-size: 19px; color: var(--muted); }

.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px; padding: 5px 12px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
}
.crumb b { color: var(--ink); font-weight: 700; }
.crumb b:not(:first-child)::before { content: "›"; margin-right: 8px; color: var(--red); }
.crumb--dark { background: rgba(255, 221, 0, .12); border-color: rgba(255, 221, 0, .3); color: rgba(255, 255, 255, .6); }
.crumb--dark b { color: var(--yellow); }

/* ---------- «Сообщения программы» ---------- */
.dialogs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dlg {
  display: flex; flex-direction: column;
  background: #fff; border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: var(--hard); overflow: hidden;
  rotate: var(--r, 0deg);
  transition: rotate .3s var(--ease), translate .3s var(--ease), box-shadow .3s var(--ease), opacity .7s var(--ease), transform .7s var(--ease);
}
.dlg:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 8px 10px 0 var(--ink); }
.dlg__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 8px 14px; font-size: 13px; font-weight: 700; background: var(--panel); border-bottom: 1px solid var(--line); }
.dlg__bar .icon { color: var(--muted); font-size: 14px; }
.dlg__body { display: flex; gap: 14px; align-items: flex-start; padding: 20px 18px 14px; flex: 1; }
.dlg__body p { font-size: 17px; font-weight: 600; line-height: 1.4; }
.dlg__ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; font-weight: 900; font-size: 19px; color: #fff; }
.dlg__ic--err { background: var(--red); }
.dlg__ic--warn { background: #F0A400; border-radius: 8px; }
.dlg__ic--q { background: #2E6BD6; }
.dlg__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 0 16px 16px; }
.dlg__foot .cbtn { min-width: 64px; justify-content: center; }

.bridge {
  position: relative;
  display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 32px;
  margin-top: 96px; padding: 30px 36px 30px 28px;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
}
.bridge__photo { position: absolute; left: 34px; bottom: 0; height: 250px; width: auto; filter: drop-shadow(0 8px 10px rgba(27, 27, 27, .2)); }
.bridge__text { grid-column: 2; }
.bridge__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 8px; }
.bridge__text p:last-child { color: var(--ink-2); font-weight: 500; max-width: 560px; }

/* ---------- Кому подойдёт ---------- */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who__card {
  padding: 26px 22px 28px;
  background: #fff; border: 2px solid var(--ink); border-radius: 16px;
  transition: translate .25s var(--ease), box-shadow .25s var(--ease), background .25s, opacity .7s var(--ease), transform .7s var(--ease);
}
.who__card:hover { translate: -3px -3px; box-shadow: 7px 7px 0 var(--ink); background: var(--yellow); }
.who__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; font-size: 22px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 12px; transition: background .25s, rotate .25s var(--ease); }
.who__card:hover .who__ic { background: #fff; rotate: -6deg; }
.who__card h3 { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 10px; }
.who__card p { font-size: 15.5px; color: var(--ink-2); }

/* ---------- Окно программы обучения ---------- */
.app { background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.app__bar { display: flex; align-items: flex-end; gap: 18px; height: 46px; padding: 0 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.app__dots { display: flex; gap: 6px; align-self: center; }
.app__dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; }
.app__dots i:first-child { background: var(--red); }
.app__dots i:nth-child(2) { background: var(--yellow); }
.app__tabs { display: flex; gap: 4px; }
.app__tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--muted); border-radius: 8px 8px 0 0; white-space: nowrap; }
.app__tab.is-active { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom: 0; }
.app__tab .icon { font-size: 11px; }

.app__body { display: grid; grid-template-columns: 260px 1fr; min-height: 470px; }
.app__nav { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; background: #FFF8D2; border-right: 1px solid var(--line); }
.app__nav button {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 12px; text-align: left;
  font-size: 15px; font-weight: 600;
  background: none; border: 1.5px solid transparent; border-radius: 10px; cursor: pointer;
  transition: background .15s, border-color .15s, translate .15s;
}
.app__nav button .icon { font-size: 18px; color: var(--muted); }
.app__nav button:hover { background: rgba(255, 255, 255, .7); translate: 2px 0; }
.app__nav button.is-active { background: var(--yellow); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.app__nav button.is-active .icon { color: var(--ink); }

.app__main { padding: 30px 34px 28px; min-width: 0; }
.mod[hidden] { display: none; }
.mod { animation: modIn .4s var(--ease); }
.mod__num { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.mod h3 { margin-top: 6px; font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.mod__lead { margin-top: 8px; color: var(--muted); font-size: 17px; }

.journal { margin-top: 22px; border: 1px solid var(--line-gray); border-radius: 8px; overflow: hidden; }
.journal__head, .journal li { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.9fr) 104px; gap: 16px; align-items: center; padding: 11px 16px; }
.journal__head { background: #F4F4EF; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line-gray); }
.journal li { font-size: 15px; border-bottom: 1px solid #EFEFEA; transition: background .15s; opacity: 0; animation: rowIn .45s var(--ease) forwards; }
.journal li:last-child { border-bottom: 0; }
.journal li:hover { background: #FFF6BF; }
.journal li:nth-child(1) { animation-delay: .05s; }
.journal li:nth-child(2) { animation-delay: .13s; }
.journal li:nth-child(3) { animation-delay: .21s; }
.journal li:nth-child(4) { animation-delay: .29s; }
.journal li b { font-weight: 700; }
.journal li span { color: var(--ink-2); }
.journal li i {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px 3px 7px; font-style: normal; font-size: 12px; font-weight: 700;
  color: var(--green); background: #E3F6EA; border-radius: 999px;
}
.journal li i::before { content: "✓"; font-weight: 900; }
.mod__result { margin-top: 18px; padding: 13px 16px; font-size: 15.5px; background: #FFF6BF; border-left: 4px solid var(--yellow-deep); border-radius: 0 8px 8px 0; }

.app__cmd { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #F7F7F2; border-top: 1px solid var(--line-gray); }
.app__status { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ---------- Шаги ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 34px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; border-radius: 4px; }
.steps::before { width: 100%; background: rgba(255, 255, 255, .12); }
.steps::after { width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) .3s; }
.steps.is-in::after { transform: scaleX(1); }
.step {
  position: relative; padding: 24px 22px 26px;
  background: #262624; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px;
  transition: translate .25s var(--ease), border-color .25s, background .25s;
}
.step:hover { translate: 0 -6px; border-color: var(--yellow); background: #2C2C29; }
.step__num { position: absolute; right: 20px; top: 20px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .35); }
.step__ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px; font-size: 24px; color: var(--ink); background: var(--yellow); border-radius: 13px; }
.step h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: rgba(255, 255, 255, .72); }

/* ---------- Преподаватель ---------- */
.about { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 72px; align-items: center; }
.portrait { position: relative; background: var(--yellow); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 10px 10px 0 var(--ink); }
.portrait__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 10px 16px; font-size: 13px; font-weight: 700; background: var(--panel); border-bottom: 2px solid var(--ink); border-radius: 18px 18px 0 0; }
.portrait__stage {
  position: relative; height: 500px; overflow: hidden; border-radius: 0 0 18px 18px;
  background:
    linear-gradient(rgba(27, 27, 27, .07) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(27, 27, 27, .07) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--yellow);
}
.portrait__stage img { position: absolute; left: 50%; top: 22px; width: auto; height: 152%; max-width: none; translate: -50% 0; filter: drop-shadow(0 14px 18px rgba(27, 27, 27, .2)); }
.stamp {
  position: absolute; right: -26px; bottom: 44px;
  display: grid; place-items: center; align-content: center;
  width: 124px; height: 124px; border-radius: 50%;
  font-size: 17px; font-weight: 900; line-height: 1.05; text-align: center; text-transform: uppercase; letter-spacing: .02em;
  color: #fff; background: var(--red); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  rotate: 12deg; animation: wobble 5s ease-in-out infinite;
}
.stamp .icon { font-size: 20px; stroke-width: 3; margin-top: 4px; }

.about__text .sec-head { margin-bottom: 26px; }
.about__text p + p { margin-top: 16px; }
.about__text > div:not(.sec-head) p { font-size: 18.5px; color: var(--ink-2); }
.quote {
  position: relative; margin-top: 30px; padding: 22px 26px 22px 30px;
  font-size: clamp(19px, 2vw, 23px); font-weight: 700; line-height: 1.35; letter-spacing: -.01em;
  background: var(--cream); border-left: 6px solid var(--red); border-radius: 0 14px 14px 0;
}
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.principles li { padding-top: 14px; border-top: 3px solid var(--ink); font-size: 16px; font-weight: 600; line-height: 1.4; }

/* ---------- «ОСВ навыков» ---------- */
.osv { background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.osv__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; padding: 16px 24px; background: var(--panel); border-bottom: 1px solid var(--line); }
.osv__bar b { font-size: 18px; font-weight: 800; }
.osv__bar span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.osv__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.3fr); border-bottom: 1px solid var(--line-gray); }
.osv__row > * { padding: 17px 24px; }
.osv__row > * + * { border-left: 1px solid var(--line-gray); }
.osv__row--head { background: #F4F4EF; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.osv__row--head > * { padding-block: 12px; }
.osv__row b { font-weight: 800; }
.osv__before { color: var(--muted); font-style: italic; }
.osv__after { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.osv__after .icon { margin-top: 3px; color: var(--green); stroke-width: 2.8; }
.osv__row:not(.osv__row--head):not(.osv__row--total) { transition: background .15s; }
.osv__row:not(.osv__row--head):not(.osv__row--total):hover { background: #FFF6BF; }
.osv__row--total { border-bottom: 0; background: var(--yellow); font-weight: 800; font-size: 18px; }
.osv__row--total > * + * { border-left-color: rgba(27, 27, 27, .25); }
.osv__row--total span:nth-child(2) { font-weight: 600; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* ---------- Форматы ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; max-width: 880px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px 28px;
  background: #fff; border: 2px solid var(--ink); border-radius: 20px;
  transition: translate .25s var(--ease), box-shadow .25s var(--ease), opacity .7s var(--ease), transform .7s var(--ease);
}
.plan:hover { translate: -3px -3px; box-shadow: 8px 8px 0 var(--ink); }
.plan--hit { background: var(--yellow); box-shadow: 8px 8px 0 var(--ink); }
.plan--hit:hover { box-shadow: 12px 12px 0 var(--ink); }
.plan__tag { position: absolute; top: -16px; right: 22px; padding: 6px 14px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--red); border: 2px solid var(--ink); border-radius: 999px; rotate: 3deg; }
.plan h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.plan__for { margin-top: 6px; color: var(--ink-2); font-weight: 500; }
.plan__price { margin-top: 18px; font-family: var(--mono); font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.plan__early { margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink-2); }
.plan__early b { font-family: var(--mono); font-size: 17px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.plans__note { margin-top: 30px; max-width: 880px; font-size: 17px; font-weight: 600; color: var(--ink-2); }
.streams { margin-top: 56px; max-width: 880px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.streams__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; padding: 16px 24px; background: var(--panel); border-bottom: 1px solid var(--line); }
.streams__bar b { font-size: 18px; font-weight: 800; }
.streams__bar span { font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.streams__head, .stream { display: grid; grid-template-columns: 64px minmax(0, 1.3fr) minmax(0, 1fr) 110px 110px; gap: 16px; align-items: center; padding: 12px 24px; }
.streams__head { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; background: #F4F4EF; border-bottom: 1px solid var(--line-gray); }
.stream { font-size: 16px; border-bottom: 1px solid #EFEFEA; transition: background .15s; }
.stream:last-child { border-bottom: 0; }
.stream:hover { background: #FFF6BF; }
.stream.is-next { background: #FFF2A6; }
.stream__date { font-weight: 700; }
.stream__early.is-off { color: var(--muted); }
.stream__btn { justify-content: center; }
.stream__tag { display: inline-block; margin-left: 10px; padding: 2px 9px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--red); border-radius: 999px; vertical-align: 2px; }
.plan ul { display: grid; gap: 12px; margin: 24px 0 30px; padding-top: 24px; border-top: 2px dashed rgba(27, 27, 27, .25); flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 30px; font-size: 16px; font-weight: 500; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFDD00' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--sys-h) + 32px); }
.faq__list { background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-gray); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 700; line-height: 1.3;
  transition: background .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+"; display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; font-size: 20px; font-weight: 700; line-height: 1;
  background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 7px;
  transition: rotate .25s var(--ease), background .2s, color .2s;
}
.faq summary:hover { background: #FFF6BF; }
.faq details[open] summary::before { content: "–"; background: var(--ink); color: var(--yellow); rotate: 180deg; }
.faq details p { padding: 0 24px 22px 66px; color: var(--ink-2); animation: modIn .35s var(--ease); }

/* ---------- Заявка ---------- */
.sec--cta { position: relative; overflow: hidden; background: var(--yellow); border-top: 2px solid var(--ink); padding-bottom: 0; }
.sec--cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(27, 27, 27, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 27, 27, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 25% 60%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 90% at 25% 60%, #000 0%, transparent 75%);
}
.cta { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.cta__copy { position: relative; min-height: 640px; }
.cta h2 { font-size: clamp(32px, 4.4vw, 56px); }
.cta__list { display: grid; gap: 12px; margin-top: 30px; font-size: 18px; font-weight: 600; max-width: 330px; }
.cta__list li { display: flex; align-items: center; gap: 12px; }
.cta__photo { position: absolute; right: -10px; bottom: 0; height: 440px; width: auto; max-width: none; filter: drop-shadow(0 14px 18px rgba(27, 27, 27, .2)); }

.docform { position: relative; margin-bottom: 104px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.docform__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 24px; background: var(--panel); border-bottom: 1px solid var(--line); }
.docform__bar b { font-size: 19px; font-weight: 800; }
.docform__bar .mono { font-size: 13px; color: var(--muted); }
.docform__body { display: grid; gap: 16px; padding: 26px 24px 8px; }
.field { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 6px 12px; }
.field > span { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.field input, .field select {
  width: 100%; min-width: 0; padding: 13px 14px;
  font-size: 16px; font-weight: 500;
  background: #fff; border: 1.5px solid #A9A9A0; border-radius: 8px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input::placeholder { color: #A5A295; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); background: #FFFBE0; box-shadow: 0 0 0 3px var(--yellow); }
.field__err { display: none; grid-column: 2; font-style: normal; font-size: 13px; font-weight: 600; color: var(--red); }
.is-invalid .field__err { display: block; }
.is-invalid input { border-color: var(--red); background: #FFF1F1; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.docform__cmd { padding: 18px 24px 24px; }
.docform__note { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.docform__done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 32px; text-align: center; background: #fff; animation: modIn .4s var(--ease); }
.docform__done[hidden] { display: none; }
.docform__done p { font-size: 18px; font-weight: 600; max-width: 320px; }
.docform__back { padding: 6px 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: underline; background: none; border: 0; border-radius: 6px; cursor: pointer; }
.docform__back:hover { color: var(--ink); }

/* ---------- Подвал ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 64px 0 28px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot__emblem { display: inline-block; margin: -8px 0 0 -10px; transition: rotate .3s var(--ease), scale .3s var(--ease); }
.foot__emblem img { width: 216px; height: auto; }
.foot__emblem:hover { rotate: -2deg; scale: 1.03; }
.foot__about { margin-top: 14px; max-width: 340px; }
.foot__nav, .foot__contacts { display: grid; gap: 10px; align-content: start; }
.foot__nav a, .foot__contacts a { text-decoration: none; justify-self: start; transition: color .15s; }
.foot__nav a:hover, .foot__contacts a:hover { color: var(--yellow); }
.foot__contacts b { color: #fff; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ---------- Уведомление ---------- */
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: min(330px, calc(100vw - 32px)); padding: 16px 40px 16px 20px;
  background: #fff; border: 2px solid var(--ink); border-left: 8px solid var(--yellow); border-radius: 12px;
  box-shadow: var(--hard);
  animation: toastIn .5s var(--ease);
}
.toast[hidden] { display: none; }
.toast b { display: block; font-size: 15px; font-weight: 800; }
.toast p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.toast a { display: inline-block; margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--red); }
.toast a[hidden] { display: none; }
.toast__x { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 28px; height: 28px; font-size: 14px; background: none; border: 0; border-radius: 6px; cursor: pointer; color: var(--muted); }
.toast__x:hover { background: #F1F1EC; color: var(--ink); }

.mcta { display: none; }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* у карточек свои hover-переходы — объединяем их с появлением */
.js .dlg.reveal, .js .who__card.reveal, .js .plan.reveal {
  transition:
    opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms),
    rotate .3s var(--ease), translate .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}

/* ---------- Анимации ---------- */
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 145, 61, .5); } 70% { box-shadow: 0 0 0 9px rgba(0, 145, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 145, 61, 0); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { 0% { scale: 1; } 40% { scale: 1.035; } 100% { scale: 1; } }
@keyframes modIn { from { opacity: 0; translate: 0 10px; } }
@keyframes rowIn { from { opacity: 0; translate: -10px 0; } to { opacity: 1; } }
@keyframes wobble { 0%, 100% { rotate: 12deg; } 50% { rotate: 6deg; } }
@keyframes toastIn { from { opacity: 0; translate: 0 24px; } }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1080px) {
  .who { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 48px; }
  .app__body { grid-template-columns: 220px 1fr; }
  .app__main { padding: 26px 24px; }
  .fcard--doc { left: 0; }
  .fcard--close { right: 0; }
  .win { inset: 7% 0 16% 4%; }
}

@media (max-width: 900px) {
  :root { --sys-h: 100px; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }

  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding: 36px 0 28px; }
  .hero__visual { height: 460px; max-width: 520px; width: 100%; margin-inline: auto; }
  .fcard--doc { top: 40%; }

  .dialogs { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .bridge { grid-template-columns: 110px 1fr; margin-top: 80px; padding: 26px 24px; }
  .bridge__photo { left: 18px; height: 210px; }
  .bridge .btn { grid-column: 2; justify-self: start; }

  .app__body { grid-template-columns: 1fr; min-height: 0; }
  .app__nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .app__nav::-webkit-scrollbar { display: none; }
  .app__nav button { flex: none; padding: 10px 14px; white-space: nowrap; }
  .app__nav button:hover { translate: 0 0; }

  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; margin-right: 26px; }
  .portrait__stage { height: 420px; }

  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq .sec-head { position: static; }

  .cta { grid-template-columns: 1fr; gap: 36px; }
  .cta__copy { min-height: 0; }
  .cta__photo { display: none; }
  .cta__list { max-width: none; }
  .docform { margin-bottom: 80px; }

  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }

  .mcta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55;
    display: flex; justify-content: center; padding: 16px;
    font-weight: 800; font-size: 16px; text-decoration: none; color: #fff;
    background: var(--red); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink);
    translate: 0 140%; transition: translate .35s var(--ease);
  }
  .mcta.is-on { translate: 0 0; }
  .toast { bottom: 84px; right: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .sys__link { display: none; }
  .sys__row { height: 54px; }
  .sections__row { height: 44px; }
  .sections__row a { padding: 6px 10px; font-size: 13.5px; }
  .logo__img { height: 46px; margin: -4px 0 -2px; }
  .logo__text b { font-size: 16px; }

  .hero__lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
  .hero__facts { gap: 10px; flex-direction: column; }
  .hero__visual { height: 440px; }
  /* на телефоне карточки уходят к краям и ниже — лицо остаётся открытым */
  .fcard { min-width: 0; font-size: 11.5px; border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); }
  .fcard__bar { padding: 6px 9px; font-size: 11px; }
  .fcard__body { padding: 8px 10px; gap: 8px; }
  .fcard--doc { left: -6px; top: 47%; }
  .fcard--close { display: none; }
  .fcard--osv { left: auto; right: -6px; bottom: 5%; }
  .win { inset: 6% 0 20% 4%; box-shadow: 6px 6px 0 var(--ink); }

  .dialogs { grid-template-columns: 1fr; gap: 18px; }
  .dlg { box-shadow: 4px 4px 0 var(--ink); }
  .dlg__body p { font-size: 16px; }
  .bridge { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; box-shadow: 6px 6px 0 var(--ink); }
  .bridge__photo { display: none; }
  .bridge__text, .bridge .btn { grid-column: 1; }

  .who { grid-template-columns: 1fr; gap: 14px; }
  .who__card { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 20px 18px; }
  .who__ic { grid-row: span 2; margin: 0; }
  .who__card h3 { margin: 0; align-self: center; }
  .who__card p { grid-column: 2; }

  .app { border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); }
  .app__tab:not(.is-active) { display: none; }
  .app__main { padding: 22px 16px; }
  .journal__head { display: none; }
  .journal li { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 14px; }
  .journal li span { grid-column: 1 / -1; grid-row: 2; font-size: 14.5px; }
  .app__cmd { flex-wrap: wrap; padding: 12px 14px; }
  .app__cmd .cbtn { flex: 1; justify-content: center; }
  .app__status { width: 100%; margin: 2px 0 0; text-align: center; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .principles { grid-template-columns: 1fr; gap: 14px; }
  .portrait { box-shadow: 6px 6px 0 var(--ink); margin-right: 22px; }
  .portrait__stage { height: 380px; }
  .stamp { width: 100px; height: 100px; font-size: 14px; right: -20px; }

  .osv { border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); }
  .osv__bar { padding: 14px 16px; }
  .osv__row--head { display: none; }
  .osv__row { grid-template-columns: 1fr; padding: 14px 16px; gap: 4px; }
  .osv__row > * { padding: 0; }
  .osv__row > * + * { border-left: 0; }
  .osv__row b { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
  .osv__row--total b { color: var(--ink); }

  .plan { padding: 28px 22px 22px; }
  .streams { margin-top: 40px; border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); }
  .streams__bar { padding: 14px 16px; }
  .streams__head { display: none; }
  .stream { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; }
  .stream__n { display: none; }
  .stream__date, .stream__early, .stream__seats { grid-column: 1; }
  .stream__early, .stream__seats { font-size: 14px; color: var(--ink-2); }
  .stream__early::before { content: "Ранняя оплата до "; }
  .stream__seats { font-family: var(--font); }
  .stream__seats::before { content: "Мест в группе: "; }
  .stream__btn { grid-column: 2; grid-row: 1 / span 3; }
  .faq summary { padding: 16px 16px; font-size: 16.5px; gap: 12px; }
  .faq details p { padding: 0 16px 18px 56px; }
  .faq__list { box-shadow: 6px 6px 0 var(--ink); }

  .docform { box-shadow: 6px 6px 0 var(--ink); }
  .docform__bar { padding: 14px 16px; }
  .docform__body { padding: 20px 16px 4px; }
  .docform__cmd { padding: 16px; }
  .field { grid-template-columns: 1fr; }
  .field__err { grid-column: 1; }

  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .foot { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .journal li { opacity: 1; }
  .steps::after { transform: scaleX(1); }
}
