:root{
  --bg:#F8FAFC;
  --bg-elev:#FFFFFF;
  --text:#0F172A;
  --muted:#6B7280;
  --brand:#6366F1;
  --brand-2:#8B5CF6;
  --card:#FFFFFF;
  --border:#E5E7EB;
  --ok:#0EA5E9;
  --warn:#D97706;
  --danger:#DC2626;
  --bg-gradient:linear-gradient(135deg,#EEF2FF 0%,#E0F2FE 40%,#F5F3FF 100%);
  --footer-gradient:linear-gradient(135deg,#1E293B 0%,#020617 100%);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html,body,*{
  cursor:auto;
}
button,a{
  cursor:pointer;
}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg-gradient);
}

/* Небольшие анимации по умолчанию */
a, button, .btn, .card, .module-card, .module-download-links .btn{
  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .15s ease;
}

/* Контейнер */
.container{width:min(1200px,92%);margin-inline:auto}

/* Header */
.site-header{
  position:sticky;
  top:0;
  background:rgba(248,250,252,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(148,163,184,.3);
  z-index:20;
}
.header-inner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.logo-link{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;cursor:pointer}
.logo-img{height:44px;width:auto;display:block;transition:transform .2s ease,filter .2s ease}
.logo-img:hover{transform:scale(1.04);filter:brightness(1.05)}
.header-title{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  font-size:.98rem;
  line-height:1.35;
  font-weight:600;
  color:var(--text);
  margin:0;
  max-width:calc(100% - 140px - 320px - 24px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:center;
  pointer-events:none;
}
.header-right{display:flex;align-items:center;gap:8px;flex-shrink:0}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:16px}
.site-nav a{
  color:var(--text);
  text-decoration:none;
  padding:6px 10px;
  border-radius:999px;
  font-size:.9rem;
}
.site-nav a:hover{
  background:rgba(99,102,241,.08);
}
.nav-toggle{
  display:none;
  background:none;
  border:1px solid var(--border);
  color:var(--text);
  border-radius:999px;
  padding:6px 10px;
  font-size:.9rem;
}
@media (max-width:820px){
  .logo-img{height:36px}
}
@media (max-width:768px){
  .header-title{display:none}
}
@media (max-width:820px){
  .nav-toggle{display:inline-block}
  .site-nav{position:absolute;inset:60px 0 auto 0;padding:12px 4%;}
  .site-nav ul{
    flex-direction:column;
    background:var(--bg-elev);
    border:1px solid var(--border);
    border-radius:14px;
    padding:8px;
    display:none;
    box-shadow:0 18px 40px rgba(15,23,42,.18);
  }
  .site-nav.open ul{display:flex}
}

/* Hero — та же ширина .container, что у блока ниже; внутренние поля как у .contact-cta__inner (24px) */
.hero{
  position:relative;
  overflow:hidden;
  min-height:42vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-bg{
  position:absolute;
  inset:0;
  background:transparent;
  opacity:1;
  pointer-events:none;
}
.hero-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.6) 1px,transparent 1px);
  background-size:48px 48px;
  opacity:.45;
}
.hero-inner{
  position:relative;
  z-index:1;
  padding:72px 24px 56px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(28px,4vw,48px);
  align-items:center;
  justify-items:stretch;
}
.hero-main{
  min-width:0;
  justify-self:start;
  width:100%;
  max-width:36rem;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.hero__title{
  font-size:clamp(2rem,5vw,3rem);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.02em;
  margin:0 0 16px;
  padding:0;
  color:var(--text);
  width:100%;
}
@keyframes hero-word-shimmer{
  0%{
    color:var(--text);
    -webkit-text-fill-color:var(--text);
    background-image:none;
    background-position:0 50%;
    filter:none;
    text-shadow:none;
  }
  10%{
    color:transparent;
    -webkit-text-fill-color:transparent;
    background-image:linear-gradient(
      105deg,
      #3d4a63 0%,
      #5c4ad1 14%,
      #6366f1 30%,
      #8b7fd6 46%,
      #4fb3e8 62%,
      #6366f1 78%,
      #3d4a63 100%
    );
    background-size:260% 100%;
    background-position:0% 50%;
    -webkit-background-clip:text;
    background-clip:text;
    filter:drop-shadow(0 0 8px rgba(99,102,241,.32)) drop-shadow(0 0 18px rgba(56,189,248,.18));
  }
  48%{
    background-position:100% 50%;
    filter:drop-shadow(0 0 12px rgba(99,102,241,.38)) drop-shadow(0 0 24px rgba(14,165,233,.2));
  }
  82%{
    background-position:100% 50%;
    filter:drop-shadow(0 0 6px rgba(99,102,241,.2));
  }
  100%{
    color:var(--text);
    -webkit-text-fill-color:var(--text);
    background-image:none;
    -webkit-background-clip:border-box;
    background-clip:border-box;
    filter:none;
    text-shadow:none;
  }
}
.hero__title--shimmer{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:.32em .4em;
  justify-content:flex-start;
  cursor:default;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.hero__title--shimmer .hero__word{
  display:inline-block;
  position:relative;
  cursor:pointer;
  color:inherit;
  transition:text-shadow .5s ease,filter .5s ease;
}
.hero__title--shimmer .hero__word:hover{
  text-shadow:0 0 16px rgba(99,102,241,.25),0 0 28px rgba(56,189,248,.12);
}
.hero__title--shimmer a.hero__word--link{
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  background-image:linear-gradient(105deg,var(--brand),var(--brand-2) 45%,var(--ok));
  background-size:0 2px;
  background-repeat:no-repeat;
  background-position:0 100%;
  transition:
    background-size .4s cubic-bezier(.4,0,.2,1),
    text-shadow .45s ease,
    filter .45s ease;
}
.hero__title--shimmer a.hero__word--link:hover{
  background-size:100% 2px;
  text-shadow:0 0 18px rgba(99,102,241,.3),0 0 32px rgba(56,189,248,.14);
  filter:drop-shadow(0 0 10px rgba(99,102,241,.12));
}
.hero__title--shimmer a.hero__word--link:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:3px;
  border-radius:3px;
}
.hero__title--shimmer .hero__word.is-shimmering{
  animation:hero-word-shimmer 2.45s cubic-bezier(.45,0,.25,1) forwards;
}
@media (prefers-reduced-motion:reduce){
  .hero__title--shimmer .hero__word:hover{
    text-shadow:none;
  }
  .hero__title--shimmer a.hero__word--link{
    transition:opacity .2s ease;
    background-size:100% 1px;
  }
  .hero__title--shimmer a.hero__word--link:hover{
    text-shadow:none;
    filter:none;
  }
  .hero__title--shimmer .hero__word.is-shimmering{
    animation:none;
  }
}
.hero__lead{
  font-size:clamp(1rem,1.8vw,1.125rem);
  line-height:1.6;
  color:var(--muted);
  margin:0 0 28px;
  padding:0;
  max-width:36em;
  width:100%;
}
.hero-main .cta-row{
  margin:0;
  width:100%;
  justify-content:flex-start;
}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}
.hero-visual{
  display:flex;
  justify-content:center;
  align-items:center;
  min-width:0;
  justify-self:center;
  width:100%;
  max-width:420px;
  padding-inline:clamp(8px,2vw,16px);
  perspective:880px;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.hero-visual__stage{
  width:100%;
  max-width:min(100%,380px);
  display:flex;
  justify-content:center;
  align-items:center;
  transform-style:preserve-3d;
}
.hero-visual__img{
  width:100%;
  height:auto;
  display:block;
  transform-origin:50% 52%;
  backface-visibility:hidden;
  transition:
    transform .7s cubic-bezier(.34,.08,.09,1),
    filter .65s ease;
}
@media (hover:hover) and (pointer:fine){
  .hero-visual:hover .hero-visual__img{
    transform:rotateY(-11deg) rotateX(5deg) scale(1.035);
    filter:drop-shadow(0 14px 32px rgba(79,70,229,.26)) drop-shadow(0 0 22px rgba(99,102,241,.2));
  }
}
@keyframes hero-vr-tap-tilt{
  0%{
    transform:rotateY(0) rotateX(0) scale(1);
    filter:none;
  }
  40%{
    transform:rotateY(-10deg) rotateX(4deg) scale(1.03);
    filter:drop-shadow(0 12px 28px rgba(79,70,229,.22)) drop-shadow(0 0 18px rgba(14,165,233,.14));
  }
  100%{
    transform:rotateY(0) rotateX(0) scale(1);
    filter:none;
  }
}
.hero-visual--tap .hero-visual__img{
  animation:hero-vr-tap-tilt 1.05s cubic-bezier(.4,0,.2,1) forwards;
}
@media (prefers-reduced-motion:reduce){
  .hero-visual:hover .hero-visual__img{
    transform:none;
    filter:none;
  }
  .hero-visual--tap .hero-visual__img{
    animation:none;
  }
}
@media (max-width:900px){
  .hero-inner{
    grid-template-columns:1fr;
    gap:36px;
    padding-top:56px;
    padding-bottom:48px;
  }
  .hero-main{
    justify-self:center;
    max-width:36rem;
    align-items:center;
    text-align:center;
  }
  .hero__title,
  .hero__lead{
    text-align:center;
  }
  .hero__title--shimmer{
    justify-content:center;
  }
  .hero-main .cta-row{
    justify-content:center;
  }
  .hero-visual{
    order:2;
    max-width:none;
    padding-inline:0;
  }
  .hero-main{
    order:1;
  }
  .hero-visual__stage{
    max-width:min(320px,85vw);
  }
}

/* Триггер мини-игры: клик по VR-иллюстрации */
.hero-visual__game-trigger{
  appearance:none;
  -webkit-appearance:none;
  border:none;
  background:transparent;
  padding:0;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:min(100%,380px);
  cursor:pointer;
  font:inherit;
  color:inherit;
  border-radius:16px;
  transition:box-shadow .2s ease,transform .15s ease;
}
.hero-visual__game-trigger:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:4px;
}
.hero-visual__game-trigger:hover .hero-visual__img{
  filter:drop-shadow(0 10px 28px rgba(79,70,229,.22));
}

/* VR-змейка (оверлей) */
body.vr-snake-active{
  overflow:hidden;
}
.vr-snake-overlay{
  position:fixed;
  inset:0;
  z-index:10050;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(12px,3vw,24px);
  background:rgba(15,23,42,.42);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease,visibility .28s ease;
}
.vr-snake-overlay.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.vr-snake-dialog{
  width:min(440px,100%);
  max-height:min(92vh,720px);
  overflow:auto;
  border-radius:20px;
  border:1px solid rgba(99,102,241,.28);
  background:linear-gradient(165deg,rgba(255,255,255,.82) 0%,rgba(239,246,255,.76) 55%,rgba(224,242,254,.72) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 24px 60px rgba(49,46,129,.2);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}
.vr-snake-dialog__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px 12px;
  border-bottom:1px solid rgba(99,102,241,.14);
}
.vr-snake-dialog__title{
  margin:0;
  font-size:clamp(1.05rem,2.4vw,1.2rem);
  font-weight:800;
  letter-spacing:-.02em;
  background:linear-gradient(115deg,#312E81,#6366F1 45%,#0EA5E9);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
@supports not (background-clip:text){
  .vr-snake-dialog__title{color:#312E81;}
}
.vr-snake-dialog__close{
  flex-shrink:0;
  width:40px;
  height:40px;
  border:none;
  border-radius:12px;
  background:rgba(99,102,241,.12);
  color:#4338CA;
  font-size:1.5rem;
  line-height:1;
  cursor:pointer;
  transition:background .2s ease,color .2s ease;
}
.vr-snake-dialog__close:hover{
  background:rgba(99,102,241,.22);
  color:#1E1B4B;
}
.vr-snake-intro{
  padding:16px 20px 20px;
  text-align:center;
}
.vr-snake-intro__text{
  margin:0 0 10px;
  font-size:1rem;
  font-weight:600;
  color:var(--text);
  line-height:1.45;
}
.vr-snake-intro__hint{
  margin:0 0 18px;
  font-size:.875rem;
  color:var(--muted);
  line-height:1.5;
}
.vr-snake-play{
  padding:0 16px 18px;
}
.vr-snake-hud{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 4px 12px;
  font-size:.9rem;
  color:#4338CA;
}
.vr-snake-hud strong{
  color:#1E1B4B;
}
.vr-snake-canvas-wrap{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(99,102,241,.22);
  background:rgba(255,255,255,.35);
  box-shadow:0 4px 20px rgba(99,102,241,.1);
  touch-action:none;
}
.vr-snake-canvas-wrap canvas{
  display:block;
  width:100%;
  height:auto;
  vertical-align:middle;
}
.vr-snake-pad{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  margin-top:12px;
}
.vr-snake-pad__row{
  display:flex;
  gap:8px;
  justify-content:center;
}
.vr-snake-pad__btn{
  width:52px;
  height:48px;
  border-radius:12px;
  border:1px solid rgba(99,102,241,.35);
  background:rgba(255,255,255,.75);
  color:#4338CA;
  font-size:1.15rem;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.vr-snake-pad__btn:active{
  transform:scale(.96);
  background:rgba(99,102,241,.15);
}
.vr-snake-actions{
  margin-top:14px;
  display:flex;
  justify-content:center;
}
.vr-snake-btn{
  min-height:44px;
}
.vr-snake-gameover{
  padding:20px 20px 24px;
  text-align:center;
}
.vr-snake-gameover__msg{
  margin:0 0 10px;
  font-weight:650;
  color:var(--text);
  line-height:1.45;
}
.vr-snake-gameover__score{
  margin:0 0 18px;
  color:var(--muted);
  font-size:.95rem;
}
.vr-snake-gameover__btns{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:stretch;
}
@media (min-width:480px){
  .vr-snake-gameover__btns{
    flex-direction:row;
    justify-content:center;
  }
}
@media (prefers-reduced-motion:reduce){
  .vr-snake-overlay{
    transition:none;
  }
}

/* Кнопки */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  color:var(--text);
  text-decoration:none;
  background:#F9FAFB;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(15,23,42,.08);
}
.btn:hover{
  border-color:#CBD5F5;
  background:#EEF2FF;
  transform:translateY(-1px) scale(1.01);
  box-shadow:0 10px 30px rgba(15,23,42,.12);
}
.btn-primary{
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  border-color:transparent;
  color:#FFFFFF;
  font-weight:600;
}
.hero__cta{
  padding:14px 24px;
  font-size:1rem;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(99,102,241,.4);
}
.hero__cta:hover{
  transform:translateY(-1px) scale(1.02);
  box-shadow:0 14px 40px rgba(79,70,229,.45);
}
.hero__cta:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:2px;
}
.btn-ghost{
  background:transparent;
  border-color:transparent;
  color:var(--muted);
}

/* Sections */
.video-overview{padding:56px 0}
.video-overview h2{
  margin:0 0 24px;
  font-size:clamp(1.5rem,3vw,1.9rem);
}
.video-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
.video-wrapper{
  position:relative;
  width:100%;
  padding-bottom:56.25%;
  height:0;
  overflow:hidden;
  border-radius:14px;
  background:#000;
  box-shadow:0 10px 30px rgba(15,23,42,.25);
}
.video-wrapper:not(:last-child){margin-bottom:32px}
.video-wrapper video,
.video-wrapper iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:contain;
  border:0;
}
@media (max-width:900px){
  .video-grid{
    grid-template-columns:1fr;
  }
  .video-wrapper:not(:last-child){
    margin-bottom:24px;
  }
}

/* About / вспомогательные блоки (если используются) */
.about{padding:0}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.about__grid{max-width:min(900px,92%);margin-inline:auto}
.about__block{max-width:38em}
.about__heading{
  font-size:1.25rem;
  font-weight:600;
  margin:0 0 12px;
  color:var(--text);
}
.about__text{
  font-size:.9375rem;
  line-height:1.6;
  margin:0;
  color:var(--text);
}
@media (max-width:900px){
  .grid-2{grid-template-columns:1fr}
  .about__block{max-width:100%}
}
.feature-list{
  margin:0;
  padding-left:20px;
  color:var(--muted);
  line-height:1.6;
  font-size:.9375rem;
}

/* Ряд с заявкой (раньше — две колонки с VR-сценами) */
.info-row{
  padding:48px 0 56px;
}
.info-row__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:48px;
  align-items:stretch;
}
.info-row__grid--single{
  grid-template-columns:minmax(0,1fr);
  gap:0;
}
@media (max-width:900px){
  .info-row__grid{
    grid-template-columns:1fr;
  }
}

/* Коммерческая секция: заявка на услуги */
.contact-cta{
  padding:0;
}
.contact-cta__inner{
  background:var(--bg-elev);
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 10px 30px rgba(15,23,42,.08);
  padding:24px;
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:32px;
  height:100%;
}
.contact-cta__text{
  flex:2 1 0;
  min-width:0;
}
.contact-cta__title{
  margin:0 0 10px;
  font-size:clamp(1.4rem,2.6vw,1.8rem);
  font-weight:600;
  letter-spacing:-0.02em;
  color:var(--text);
}
.contact-cta__subtitle{
  margin:0 0 14px;
  font-size:.95rem;
  line-height:1.6;
  color:var(--muted);
}
.contact-cta__list{
  margin:0;
  padding-left:20px;
  font-size:.92rem;
  line-height:1.6;
  color:var(--text);
}
.contact-cta__list li+li{
  margin-top:4px;
}
.contact-cta__actions{
  flex:1 1 0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}
.contact-cta__btn{
  width:100%;
  justify-content:center;
}

.request-contacts{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:16px;
  font-size:.85rem;
  line-height:1.45;
  width:100%;
}
.contact-row{
  display:grid;
  grid-template-columns:80px auto 1fr;
  column-gap:6px;
  align-items:baseline;
}
.contact-label,
.contact-note{
  color:#4b5563;
}
.request-contacts a{
  color:var(--brand);
  text-decoration:none;
  word-break:break-word;
}
.request-contacts a:hover{
  text-decoration:underline;
}
@media (max-width:640px){
  .contact-row{
    grid-template-columns:1fr;
    gap:2px;
  }
}

/* Универсальная карточка для информационных блоков */
.info-card{
  background:var(--bg-elev);
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 10px 30px rgba(15,23,42,.08);
  padding:24px;
  height:100%;
}
.info-card__actions{
  margin-top:16px;
}

@media (max-width:900px){
  .contact-cta__inner{
    flex-direction:column;
    align-items:stretch;
    padding:22px 18px;
  }
  .info-card{
    padding:22px 18px;
  }
  .contact-cta__actions{
    align-items:stretch;
  }
}
@media (max-width:640px){
  .contact-cta{
    padding:0;
  }
}

/* Карточки (общие) */
.highlights{padding:40px 0 56px}
.cards-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
.card{
  display:flex;
  flex-direction:column;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  box-shadow:0 10px 30px rgba(15,23,42,.08);
}
.card:hover{
  box-shadow:0 14px 40px rgba(15,23,42,.12);
  transform:translateY(-3px);
}
.card__title{
  font-size:1.0625rem;
  font-weight:600;
  margin:0 0 8px;
  line-height:1.35;
  color:var(--text);
}
.card__text{
  font-size:.9375rem;
  line-height:1.5;
  margin:0;
  color:var(--muted);
  flex:1;
}
@media (max-width:900px){.cards-3{grid-template-columns:1fr}}
@media (max-width:767px){
  .highlights{padding:32px 0 48px}
  .card{padding:20px}
  .hero__cta{width:100%;justify-content:center}
}

/* Page header */
.page .page-header{padding:32px 0 18px;border-bottom:1px solid var(--border)}
.page .page-header h1{margin:0 0 6px;font-size:1.7rem}

/* Modules — секция «Модули курса» */
.modules-list{padding:32px 0 56px}
.modules-list__container{max-width:min(1100px,92%);margin-inline:auto}

.module-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:module;
}
.module-cards .module-card{counter-increment:module}
.module-cards .module-card::before{
  content:'';
  display:none;
}

/* Карточка модуля */
.module-card--centered{
  grid-column:1 / -1;
  justify-self:stretch;
  width:100%;
  max-width:100%;
}
.module-card{
  display:flex;
  flex-direction:column;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  box-shadow:0 10px 30px rgba(15,23,42,.08);
}
.module-card:hover{
  box-shadow:0 14px 40px rgba(15,23,42,.12);
  transform:translateY(-2px);
}

/* Video block on module pages (e.g., video tasks) */
.module-video{
  width:100%;
  height:420px;
  max-height:520px;
  object-fit:cover;
  border-radius:16px;
  display:block;
  margin:24px 0;
  background:#000;
}
.module-video-task p{margin:0}
.module-video-task h3{margin:0 0 12px}
.module-video-task__download{margin-top:18px}

/* Модуль 3: раскрывающийся длинный текст (details) */
.module-collapse.module-collapse--m3{
  interpolate-size:allow-keywords;
  margin:clamp(12px,2.5vw,20px) 0 0;
  border-radius:16px;
  border:1px solid rgba(99,102,241,.22);
  background:linear-gradient(165deg,rgba(255,255,255,.96) 0%,rgba(248,250,255,.94) 100%);
  box-shadow:0 4px 26px rgba(99,102,241,.09);
  overflow:hidden;
}
.lecture-content > .module-collapse--m3{
  margin-top:clamp(14px,2.8vw,22px);
}
.module-collapse--m3::details-content{
  transition:height .42s ease;
}
.module-collapse__summary{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:clamp(12px,2.2vw,16px);
  padding:clamp(16px,3vw,22px);
  cursor:pointer;
  list-style:none;
  font-weight:500;
  color:var(--text);
}
.module-collapse__summary::-webkit-details-marker,
.module-collapse__summary::marker{
  display:none;
}
.module-collapse__summary:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:2px;
  border-radius:12px;
}
.module-collapse__preview{
  margin:0;
  font-size:clamp(.95rem,1.9vw,1.05rem);
  line-height:1.66;
  color:var(--text);
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
.module-collapse[open] .module-collapse__preview{
  display:none;
}
.module-collapse__cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  align-self:flex-start;
  padding:10px 18px;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(99,102,241,.18),rgba(14,165,233,.12));
  border:1px solid rgba(99,102,241,.3);
  font-size:.9rem;
  font-weight:650;
  color:#3730A3;
}
.module-collapse__chevron{
  display:inline-block;
  font-size:.62rem;
  line-height:1;
  transition:transform .35s ease;
  color:#4F46E5;
}
.module-collapse[open] .module-collapse__chevron{
  transform:rotate(-180deg);
}
.module-collapse__less{display:none}
.module-collapse[open] .module-collapse__more{display:none}
.module-collapse[open] .module-collapse__less{display:inline}
.module-collapse__inner{
  padding:clamp(14px,2.5vw,20px) clamp(16px,3vw,22px) clamp(18px,3vw,26px);
  border-top:1px solid rgba(99,102,241,.14);
  overflow-x:auto;
}
/* Контент «Практика» вне .lecture-content */
.module-collapse__inner > p,
.module-collapse__inner li{
  font-size:clamp(.95rem,1.85vw,1.02rem);
  line-height:1.68;
}
.module-collapse__inner > p{
  margin:0 0 14px;
}
.module-collapse__inner h2,
.module-collapse__inner h3,
.module-collapse__inner h4{
  margin:clamp(18px,3vw,24px) 0 10px;
  color:var(--text);
}
.module-collapse__inner h2:first-child,
.module-collapse__inner h3:first-child,
.module-collapse__inner h4:first-child{
  margin-top:0;
}
.module-collapse__inner > ul{
  margin:0 0 16px;
  padding-left:1.35rem;
}
.module-collapse__inner table{
  width:100%;
  min-width:520px;
  border-collapse:collapse;
  margin:16px 0;
  font-size:.9rem;
}
.module-collapse__inner th,
.module-collapse__inner td{
  border:1px solid rgba(148,163,184,.5);
  padding:8px 10px;
  vertical-align:top;
}
.module-collapse__inner th{
  background:rgba(99,102,241,.08);
  font-weight:650;
}
.lecture-content .module-collapse__inner h3{
  margin:clamp(20px,3vw,26px) 0 10px;
  font-size:1.08rem;
  font-weight:650;
}
.lecture-content .module-collapse__inner .lecture-list{
  margin:0 0 14px;
}
@media (prefers-reduced-motion:reduce){
  .module-collapse--m3::details-content{transition:none}
  .module-collapse__chevron{transition:none}
}

/* Раскрытие основного текста в блоке «Основы проектирования VR-контента» */
.lecture-content--m2-b1 .lec-m2b1__article > .module-collapse--m2b1{
  margin-top:clamp(10px,2vw,18px);
}
.lecture-content--m2-b1 .module-collapse--m2b1.module-collapse--m3{
  background:linear-gradient(165deg,rgba(255,255,255,.72) 0%,rgba(248,250,255,.9) 100%);
  box-shadow:0 2px 18px rgba(99,102,241,.07);
  border-color:rgba(99,102,241,.18);
}

/* «Создаём VR-задания с нуля»: раскрывающийся основной материал */
.lecture-content--m2-create > .module-collapse--m2create{
  margin-top:clamp(10px,2vw,18px);
}
.lecture-content--m2-create .module-collapse--m2create.module-collapse--m3{
  background:linear-gradient(165deg,rgba(255,255,255,.72) 0%,rgba(248,250,255,.9) 100%);
  box-shadow:0 2px 18px rgba(99,102,241,.07);
  border-color:rgba(99,102,241,.18);
}

/* «Поиск платформ для VR-контента»: материал после оглавления */
.lecture-content--m2-plat > .module-collapse--m2plat{
  margin-top:clamp(10px,2vw,18px);
}
.lecture-content--m2-plat .module-collapse--m2plat.module-collapse--m3{
  background:linear-gradient(165deg,rgba(255,255,255,.72) 0%,rgba(248,250,255,.9) 100%);
  box-shadow:0 2px 18px rgba(99,102,241,.07);
  border-color:rgba(99,102,241,.18);
}

/* Lecture (DOCX content) */
.lecture-content{
  margin:0;
  padding:0;
}
.lecture-content > *:not(:last-child){
  margin-bottom:14px;
}
.lecture-content p{
  margin:0;
  line-height:1.65;
  color:var(--text);
}
.lecture-content h2{
  margin:18px 0 10px;
  font-size:1.35rem;
  font-weight:700;
}
.lecture-content h3{
  margin:18px 0 10px;
  font-size:1.08rem;
  font-weight:650;
}
.lecture-content h4{
  margin:14px 0 8px;
  font-size:1rem;
  font-weight:650;
  color:var(--text);
}
.lecture-content .lecture-list{
  margin:0 0 14px;
  padding-left:22px;
}
.lecture-content .lecture-list li{
  margin:6px 0;
}
.lecture-content .lecture-list--bullet{
  list-style:disc;
  margin-top:8px;
  margin-bottom:0;
}
.lecture-content .lecture-list .lecture-list--bullet{
  margin-top:6px;
}

/* Модуль 2, блок 1: «Основы проектирования VR-контента» */
.panel.lecture-content--m2-b1{
  padding:clamp(22px,4vw,36px);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(248,250,255,.99) 52%,rgba(239,246,255,.96) 100%);
  border:1px solid rgba(99,102,241,.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 20px 50px rgba(99,102,241,.1);
}
.lecture-content--m2-b1 > *:not(:last-child){
  margin-bottom:clamp(20px,3.2vw,32px);
}
.lecture-content--m2-b1 .lec-m2b1__header{
  text-align:center;
  padding-bottom:clamp(18px,3vw,26px);
  margin-bottom:0;
  border-bottom:1px solid rgba(99,102,241,.14);
}
.lecture-content--m2-b1 .lec-m2b1__page-title{
  margin:0;
  font-size:clamp(1.22rem,2.8vw,1.45rem);
  font-weight:800;
  line-height:1.35;
  letter-spacing:-.02em;
  text-wrap:balance;
  background:linear-gradient(115deg,#0F172A 0%,#4338CA 40%,#2563EB 78%,#0369A1 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
@supports not (background-clip:text){
  .lecture-content--m2-b1 .lec-m2b1__page-title{color:var(--text);}
}
.lecture-content--m2-b1 .lec-m2b1__toc{
  margin:0;
  padding:clamp(16px,2.8vw,22px) clamp(18px,3vw,24px);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(99,102,241,.1) 0%,rgba(14,165,233,.08) 100%);
  border:1px solid rgba(99,102,241,.22);
  box-shadow:0 4px 22px rgba(99,102,241,.07);
}
.lecture-content--m2-b1 .lec-m2b1__toc-title{
  margin:0 0 clamp(14px,2.2vw,18px);
  font-size:.8rem;
  font-weight:780;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:center;
  color:#4338CA;
}
.lecture-content--m2-b1 .lec-m2b1__toc-title::after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  margin:12px auto 0;
  border-radius:3px;
  background:linear-gradient(90deg,#6366F1,#0EA5E9);
}
.lecture-content--m2-b1 .lec-m2b1__toc-list{
  margin:0;
  padding-left:0;
  list-style:none;
  counter-reset:lec-m2b1-toc;
}
.lecture-content--m2-b1 .lec-m2b1__toc-list > li{
  position:relative;
  counter-increment:lec-m2b1-toc;
  margin:0 0 clamp(12px,2vw,16px);
  padding-left:2.65rem;
  min-height:1.5rem;
  line-height:1.58;
  font-size:clamp(.96rem,1.9vw,1.04rem);
  color:var(--text);
}
.lecture-content--m2-b1 .lec-m2b1__toc-list > li:last-child{margin-bottom:0}
.lecture-content--m2-b1 .lec-m2b1__toc-list > li::before{
  content:counter(lec-m2b1-toc);
  position:absolute;
  left:0;
  top:.12em;
  width:1.75rem;
  height:1.75rem;
  font-size:.7rem;
  font-weight:800;
  line-height:1.75rem;
  text-align:center;
  color:#fff;
  border-radius:9px;
  background:linear-gradient(145deg,#6366F1,#4F46E5);
  box-shadow:0 2px 10px rgba(79,70,229,.28);
}
.lecture-content--m2-b1 .lec-m2b1__toc-list--accordion > li{
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
.lecture-content--m2-b1 .lec-m2b1__toc-list--accordion > li::before{
  top:14px;
}
.lecture-content--m2-b1 .lec-m2b1__toc-trigger{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  width:100%;
  margin:0;
  padding:10px 12px;
  min-height:48px;
  text-align:left;
  font:inherit;
  color:inherit;
  cursor:pointer;
  border:1px solid rgba(99,102,241,.28);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.92) 0%,rgba(248,250,255,.88) 100%);
  box-shadow:0 2px 12px rgba(99,102,241,.06);
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
  -webkit-tap-highlight-color:transparent;
}
.lecture-content--m2-b1 .lec-m2b1__toc-trigger:hover{
  border-color:rgba(99,102,241,.45);
  box-shadow:0 4px 18px rgba(99,102,241,.12);
}
.lecture-content--m2-b1 .lec-m2b1__toc-trigger:focus-visible{
  outline:2px solid #6366F1;
  outline-offset:2px;
}
.lecture-content--m2-b1 .lec-m2b1__toc-trigger-label{
  flex:1;
  min-width:0;
  font-weight:650;
  line-height:1.5;
}
.lecture-content--m2-b1 .lec-m2b1__toc-chevron{
  flex-shrink:0;
  width:1.35rem;
  height:1.35rem;
  margin-top:.15em;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:rgba(99,102,241,.1);
  color:#4338CA;
  transition:transform .35s cubic-bezier(.4,0,.2,1),background .25s ease;
}
.lecture-content--m2-b1 .lec-m2b1__toc-chevron::after{
  content:"";
  width:.42em;
  height:.42em;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-.08em) rotate(45deg);
}
.lecture-content--m2-b1 .lec-m2b1__toc-trigger[aria-expanded="true"] .lec-m2b1__toc-chevron{
  background:rgba(99,102,241,.18);
  transform:rotate(0);
}
.lecture-content--m2-b1 .lec-m2b1__toc-trigger[aria-expanded="true"] .lec-m2b1__toc-chevron::after{
  transform:translateY(.06em) rotate(-135deg);
}
.lecture-content--m2-b1 .lec-m2b1__toc-panel{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .4s cubic-bezier(.4,0,.2,1);
}
.lecture-content--m2-b1 .lec-m2b1__toc-panel.is-open{
  grid-template-rows:1fr;
}
.lecture-content--m2-b1 .lec-m2b1__toc-panel-inner{
  min-height:0;
  overflow:hidden;
  padding:0 2px 2px;
}
.lecture-content--m2-b1 .lec-m2b1__toc-panel.is-open .lec-m2b1__toc-panel-inner{
  padding-top:clamp(10px,2vw,14px);
  padding-bottom:clamp(4px,1vw,8px);
}
.lecture-content--m2-b1 .lec-m2b1__toc-panel-inner > .lec-m2b1__chapter:first-child{
  margin-top:0;
}
.lecture-content--m2-b1 .lec-m2b1__toc-panel-inner p{
  font-size:clamp(.98rem,1.95vw,1.06rem);
  line-height:1.74;
  max-width:65ch;
  margin-left:auto;
  margin-right:auto;
}
@media (prefers-reduced-motion:reduce){
  .lecture-content--m2-b1 .lec-m2b1__toc-panel{
    transition:none;
  }
  .lecture-content--m2-b1 .lec-m2b1__toc-chevron,
  .lecture-content--m2-b1 .lec-m2b1__toc-trigger{
    transition:none;
  }
}
.lecture-content--m2-b1 .lec-m2b1__article{
  margin:0;
  padding-top:clamp(4px,1.2vw,8px);
}
.lecture-content--m2-b1 .lec-m2b1__article > *:not(:last-child){
  margin-bottom:clamp(16px,2.6vw,24px);
}
.lecture-content--m2-b1 .lec-m2b1__article p{
  font-size:clamp(.98rem,1.95vw,1.06rem);
  line-height:1.74;
  max-width:65ch;
  margin-left:auto;
  margin-right:auto;
}
.lecture-content--m2-b1 .lec-m2b1__lead{
  margin:clamp(4px,1.5vw,10px) auto clamp(18px,3vw,26px);
  padding-bottom:clamp(16px,2.6vw,22px);
  border-bottom:1px solid rgba(99,102,241,.16);
  text-align:center;
  max-width:40rem;
  font-size:clamp(1.1rem,2.5vw,1.26rem);
  font-weight:800;
  line-height:1.38;
  letter-spacing:-.018em;
  text-wrap:balance;
  color:#312E81;
}
.lecture-content--m2-b1 .lec-m2b1__chapter{
  margin:clamp(28px,4.5vw,44px) auto clamp(14px,2.2vw,18px);
  padding:clamp(12px,2vw,16px) clamp(14px,2.4vw,18px);
  max-width:65ch;
  font-size:clamp(1.04rem,2.25vw,1.16rem);
  font-weight:800;
  line-height:1.4;
  letter-spacing:-.015em;
  color:#1E1B4B;
  border-radius:14px;
  border-left:4px solid #6366F1;
  background:linear-gradient(90deg,rgba(99,102,241,.11) 0%,rgba(255,255,255,0) 92%);
  box-shadow:0 2px 16px rgba(99,102,241,.06);
}
.lecture-content--m2-b1 .module-collapse__inner > .lec-m2b1__chapter:first-of-type{
  margin-top:0;
}
.lecture-content--m2-b1 .lec-m2b1__subhead{
  margin:clamp(24px,3.8vw,34px) auto clamp(10px,1.8vw,14px);
  max-width:65ch;
  font-size:clamp(1rem,2.05vw,1.12rem);
  font-weight:750;
  line-height:1.42;
  letter-spacing:-.012em;
  color:#3730A3;
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.lecture-content--m2-b1 .lec-m2b1__subhead::before{
  content:"";
  flex-shrink:0;
  width:4px;
  margin-top:.4em;
  height:1.05em;
  border-radius:3px;
  background:linear-gradient(180deg,#6366F1,#0EA5E9);
  box-shadow:0 1px 4px rgba(99,102,241,.25);
}
.lecture-content--m2-b1 .lec-m2b1__subhead--conclusion{
  margin-top:clamp(32px,5vw,42px);
  padding-top:clamp(18px,3vw,24px);
  border-top:1px dashed rgba(99,102,241,.28);
}
.lecture-content--m2-b1 .lec-m2b1__subhead--conclusion::before{
  margin-top:.5em;
}
.lecture-content--m2-b1 strong{
  font-weight:780;
  color:#3730A3;
}
.lecture-content--m2-b1 .lec-m2b1__step-list{
  margin:clamp(18px,2.8vw,24px) auto;
  padding:0;
  max-width:min(65ch,100%);
  list-style:none;
  counter-reset:lec-m2b1-step;
}
.lecture-content--m2-b1 .lec-m2b1__step-list > li{
  counter-increment:lec-m2b1-step;
  position:relative;
  margin:0 0 clamp(14px,2.2vw,18px);
  padding:clamp(14px,2.5vw,18px) clamp(16px,2.8vw,22px) clamp(14px,2.5vw,18px) clamp(50px,7vw,58px);
  border-radius:14px;
  border:1px solid rgba(99,102,241,.2);
  background:rgba(255,255,255,.82);
  box-shadow:0 2px 16px rgba(15,23,42,.04);
  line-height:1.68;
  font-size:clamp(.96rem,1.85vw,1.04rem);
  color:var(--text);
}
.lecture-content--m2-b1 .lec-m2b1__step-list > li:last-child{margin-bottom:0}
.lecture-content--m2-b1 .lec-m2b1__step-list > li::before{
  content:counter(lec-m2b1-step);
  position:absolute;
  left:14px;
  top:14px;
  width:28px;
  height:28px;
  font-size:.82rem;
  font-weight:800;
  line-height:28px;
  text-align:center;
  color:#fff;
  border-radius:10px;
  background:linear-gradient(135deg,#6366F1,#2563EB);
  box-shadow:0 2px 12px rgba(37,99,235,.32);
}
.lecture-content--m2-b1 .lec-m2b1__sources{
  margin:clamp(32px,5vw,44px) auto 0;
  padding-top:clamp(22px,3.5vw,30px);
  max-width:65ch;
  border-top:1px solid rgba(148,163,184,.38);
}
.lecture-content--m2-b1 .lec-m2b1__sources-title{
  margin:0 0 14px;
  font-size:.86rem;
  font-weight:780;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--muted);
}
.lecture-content--m2-b1 .lec-m2b1__sources-list{
  margin:0;
  padding-left:1.35rem;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.58;
}
.lecture-content--m2-b1 .lec-m2b1__sources-list li{
  margin:10px 0;
}
@media (max-width:767px){
  .panel.lecture-content--m2-b1{padding:18px 16px 22px}
  .lecture-content--m2-b1 .lec-m2b1__toc-list > li{padding-left:2.35rem}
  .lecture-content--m2-b1 .lec-m2b1__step-list > li{
    padding:14px 14px 14px clamp(46px,11vw,52px);
  }
  .lecture-content--m2-b1 .lec-m2b1__step-list > li::before{
    left:12px;
    top:14px;
  }
}

/* Модуль 2: «Создаём VR-задания с нуля» (DPVR / 360°) */
.panel.lecture-content--m2-create{
  padding:clamp(22px,4vw,36px);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(248,250,255,.99) 52%,rgba(239,246,255,.96) 100%);
  border:1px solid rgba(99,102,241,.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 20px 50px rgba(99,102,241,.1);
}
.lecture-content--m2-create > *:not(:last-child){
  margin-bottom:clamp(20px,3.2vw,32px);
}
.lecture-content--m2-create .lec-m2cr__header{
  text-align:center;
  padding-bottom:clamp(18px,3vw,26px);
  margin-bottom:0;
  border-bottom:1px solid rgba(99,102,241,.14);
}
.lecture-content--m2-create .lec-m2cr__page-title{
  margin:0;
  font-size:clamp(1.18rem,2.7vw,1.42rem);
  font-weight:800;
  line-height:1.32;
  letter-spacing:-.02em;
  text-wrap:balance;
  background:linear-gradient(115deg,#0F172A 0%,#4338CA 40%,#2563EB 78%,#0369A1 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
@supports not (background-clip:text){
  .lecture-content--m2-create .lec-m2cr__page-title{color:var(--text);}
}
.lecture-content--m2-create .lec-m2cr__card-lead{
  margin:clamp(12px,2.2vw,16px) 0 0;
  font-size:clamp(1.06rem,2.4vw,1.22rem);
  font-weight:780;
  line-height:1.35;
  letter-spacing:-.018em;
  color:#4F46E5;
  text-wrap:balance;
}
.lecture-content--m2-create .lec-m2cr__intro{
  margin:0;
  padding:clamp(16px,2.8vw,22px) clamp(16px,3vw,22px);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(255,255,255,.88) 0%,rgba(238,242,255,.5) 100%);
  border:1px solid rgba(99,102,241,.16);
  box-shadow:0 4px 20px rgba(99,102,241,.05);
}
.lecture-content--m2-create .lec-m2cr__intro > *:not(:last-child){
  margin-bottom:clamp(14px,2.2vw,18px);
}
.lecture-content--m2-create .lec-m2cr__intro p{
  margin:0;
  font-size:clamp(.98rem,1.95vw,1.06rem);
  line-height:1.72;
  max-width:65ch;
  margin-left:auto;
  margin-right:auto;
}
.lecture-content--m2-create .lec-m2cr__tagline{
  font-weight:520;
  text-align:center;
  max-width:42rem;
}
.lecture-content--m2-create .lec-m2cr__goals-label{
  margin:0 auto 10px;
  max-width:65ch;
}
.lecture-content--m2-create .lec-m2cr__goals-list{
  margin:0 auto;
  max-width:65ch;
  padding-left:0;
  list-style:none;
  counter-reset:lec-m2cr-goal;
}
.lecture-content--m2-create .lec-m2cr__goals-list > li{
  position:relative;
  counter-increment:lec-m2cr-goal;
  margin:0 0 clamp(10px,1.8vw,14px);
  padding-left:2.5rem;
  line-height:1.58;
  font-size:clamp(.95rem,1.85vw,1.03rem);
}
.lecture-content--m2-create .lec-m2cr__goals-list > li:last-child{margin-bottom:0}
.lecture-content--m2-create .lec-m2cr__goals-list > li::before{
  content:counter(lec-m2cr-goal);
  position:absolute;
  left:0;
  top:.1em;
  width:1.65rem;
  height:1.65rem;
  font-size:.68rem;
  font-weight:800;
  line-height:1.65rem;
  text-align:center;
  color:#fff;
  border-radius:8px;
  background:linear-gradient(145deg,#6366F1,#4F46E5);
  box-shadow:0 2px 8px rgba(79,70,229,.22);
}
.lecture-content--m2-create .lec-m2cr__block-title{
  margin:clamp(4px,1.2vw,10px) auto 0;
  padding:clamp(12px,2vw,16px) clamp(14px,2.5vw,20px);
  max-width:48rem;
  text-align:center;
  font-size:clamp(1.02rem,2.2vw,1.14rem);
  font-weight:800;
  line-height:1.4;
  letter-spacing:-.015em;
  color:#312E81;
  text-wrap:balance;
  border-radius:14px;
  background:linear-gradient(95deg,rgba(99,102,241,.1),rgba(14,165,233,.08));
  border:1px solid rgba(99,102,241,.2);
  box-shadow:0 2px 14px rgba(99,102,241,.06);
}
.lecture-content--m2-create .lec-m2cr__toc{
  margin:0;
  padding:clamp(16px,2.8vw,22px) clamp(18px,3vw,24px);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(99,102,241,.1) 0%,rgba(14,165,233,.08) 100%);
  border:1px solid rgba(99,102,241,.22);
  box-shadow:0 4px 22px rgba(99,102,241,.07);
}
.lecture-content--m2-create .lec-m2cr__toc-title{
  margin:0 0 clamp(14px,2.2vw,18px);
  font-size:.8rem;
  font-weight:780;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:center;
  color:#4338CA;
}
.lecture-content--m2-create .lec-m2cr__toc-title::after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  margin:12px auto 0;
  border-radius:3px;
  background:linear-gradient(90deg,#6366F1,#0EA5E9);
}
.lecture-content--m2-create .lec-m2cr__toc-list{
  margin:0;
  padding-left:0;
  list-style:none;
  counter-reset:lec-m2cr-toc;
}
.lecture-content--m2-create .lec-m2cr__toc-list > li{
  position:relative;
  counter-increment:lec-m2cr-toc;
  margin:0 0 clamp(12px,2vw,16px);
  padding-left:2.65rem;
  min-height:1.5rem;
  line-height:1.58;
  font-size:clamp(.96rem,1.9vw,1.04rem);
  color:var(--text);
}
.lecture-content--m2-create .lec-m2cr__toc-list > li:last-child{margin-bottom:0}
.lecture-content--m2-create .lec-m2cr__toc-list > li::before{
  content:counter(lec-m2cr-toc);
  position:absolute;
  left:0;
  top:.12em;
  width:1.75rem;
  height:1.75rem;
  font-size:.7rem;
  font-weight:800;
  line-height:1.75rem;
  text-align:center;
  color:#fff;
  border-radius:9px;
  background:linear-gradient(145deg,#6366F1,#4F46E5);
  box-shadow:0 2px 10px rgba(79,70,229,.28);
}
.lecture-content--m2-create .lec-m2cr__toc-list--accordion > li{
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
.lecture-content--m2-create .lec-m2cr__toc-list--accordion > li::before{
  top:14px;
}
.lecture-content--m2-create .lec-m2cr__toc-trigger{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  width:100%;
  margin:0;
  padding:10px 12px;
  min-height:48px;
  text-align:left;
  font:inherit;
  color:inherit;
  cursor:pointer;
  border:1px solid rgba(99,102,241,.28);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.92) 0%,rgba(248,250,255,.88) 100%);
  box-shadow:0 2px 12px rgba(99,102,241,.06);
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
  -webkit-tap-highlight-color:transparent;
}
.lecture-content--m2-create .lec-m2cr__toc-trigger:hover{
  border-color:rgba(99,102,241,.45);
  box-shadow:0 4px 18px rgba(99,102,241,.12);
}
.lecture-content--m2-create .lec-m2cr__toc-trigger:focus-visible{
  outline:2px solid #6366F1;
  outline-offset:2px;
}
.lecture-content--m2-create .lec-m2cr__toc-trigger-label{
  flex:1;
  min-width:0;
  font-weight:650;
  line-height:1.5;
}
.lecture-content--m2-create .lec-m2cr__toc-chevron{
  flex-shrink:0;
  width:1.35rem;
  height:1.35rem;
  margin-top:.15em;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:rgba(99,102,241,.1);
  color:#4338CA;
  transition:transform .35s cubic-bezier(.4,0,.2,1),background .25s ease;
}
.lecture-content--m2-create .lec-m2cr__toc-chevron::after{
  content:"";
  width:.42em;
  height:.42em;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-.08em) rotate(45deg);
}
.lecture-content--m2-create .lec-m2cr__toc-trigger[aria-expanded="true"] .lec-m2cr__toc-chevron{
  background:rgba(99,102,241,.18);
}
.lecture-content--m2-create .lec-m2cr__toc-trigger[aria-expanded="true"] .lec-m2cr__toc-chevron::after{
  transform:translateY(.06em) rotate(-135deg);
}
.lecture-content--m2-create .lec-m2cr__toc-panel{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .4s cubic-bezier(.4,0,.2,1);
}
.lecture-content--m2-create .lec-m2cr__toc-panel.is-open{
  grid-template-rows:1fr;
}
.lecture-content--m2-create .lec-m2cr__toc-panel-inner{
  min-height:0;
  overflow:hidden;
  padding:0 2px 2px;
}
.lecture-content--m2-create .lec-m2cr__toc-panel.is-open .lec-m2cr__toc-panel-inner{
  padding-top:clamp(10px,2vw,14px);
  padding-bottom:clamp(4px,1vw,8px);
}
.lecture-content--m2-create .lec-m2cr__toc-panel-inner > .lec-m2cr__chapter:first-child{
  margin-top:0;
}
.lecture-content--m2-create .lec-m2cr__toc-panel-inner p{
  font-size:clamp(.98rem,1.95vw,1.06rem);
  line-height:1.72;
  max-width:65ch;
  margin-left:auto;
  margin-right:auto;
}
@media (prefers-reduced-motion:reduce){
  .lecture-content--m2-create .lec-m2cr__toc-panel{
    transition:none;
  }
  .lecture-content--m2-create .lec-m2cr__toc-chevron,
  .lecture-content--m2-create .lec-m2cr__toc-trigger{
    transition:none;
  }
}
.lecture-content--m2-create .lec-m2cr__article{
  margin:0;
  padding-top:clamp(4px,1.2vw,8px);
}
.lecture-content--m2-create .lec-m2cr__article > *:not(:last-child){
  margin-bottom:clamp(14px,2.3vw,20px);
}
.lecture-content--m2-create .lec-m2cr__article p{
  font-size:clamp(.98rem,1.95vw,1.06rem);
  line-height:1.72;
  max-width:65ch;
  margin-left:auto;
  margin-right:auto;
}
.lecture-content--m2-create .lec-m2cr__chapter{
  margin:clamp(26px,4.2vw,40px) auto clamp(12px,2vw,16px);
  padding:clamp(12px,2vw,16px) clamp(14px,2.4vw,18px);
  max-width:65ch;
  font-size:clamp(1.04rem,2.25vw,1.16rem);
  font-weight:800;
  line-height:1.4;
  letter-spacing:-.015em;
  color:#1E1B4B;
  border-radius:14px;
  border-left:4px solid #6366F1;
  background:linear-gradient(90deg,rgba(99,102,241,.11) 0%,rgba(255,255,255,0) 92%);
  box-shadow:0 2px 16px rgba(99,102,241,.06);
}
.lecture-content--m2-create .lec-m2cr__article > .lec-m2cr__chapter:first-of-type{
  margin-top:clamp(10px,2vw,16px);
}
.lecture-content--m2-create .lec-m2cr__h4{
  margin:clamp(20px,3.2vw,28px) auto clamp(8px,1.4vw,12px);
  max-width:65ch;
  font-size:clamp(.98rem,2.05vw,1.08rem);
  font-weight:750;
  line-height:1.4;
  letter-spacing:-.01em;
  color:#4338CA;
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.lecture-content--m2-create .lec-m2cr__h4::before{
  content:"";
  flex-shrink:0;
  width:3px;
  margin-top:.42em;
  height:1em;
  border-radius:3px;
  background:linear-gradient(180deg,#818CF8,#0EA5E9);
  box-shadow:0 1px 3px rgba(99,102,241,.2);
}
.lecture-content--m2-create strong{
  font-weight:780;
  color:#3730A3;
}
.lecture-content--m2-create .lec-m2cr__num-list{
  margin:0 auto clamp(6px,1.2vw,10px);
  max-width:65ch;
  padding-left:0;
  list-style:none;
  counter-reset:lec-m2cr-li;
}
.lecture-content--m2-create .lec-m2cr__num-list > li{
  counter-increment:lec-m2cr-li;
  position:relative;
  margin:0 0 clamp(8px,1.5vw,12px);
  padding-left:2.35rem;
  line-height:1.65;
  font-size:clamp(.96rem,1.88vw,1.04rem);
  color:var(--text);
}
.lecture-content--m2-create .lec-m2cr__num-list > li:last-child{margin-bottom:0}
.lecture-content--m2-create .lec-m2cr__num-list > li::before{
  content:counter(lec-m2cr-li);
  position:absolute;
  left:0;
  top:.22em;
  min-width:1.45rem;
  height:1.45rem;
  padding:0 4px;
  font-size:.68rem;
  font-weight:800;
  line-height:1.45rem;
  text-align:center;
  color:#fff;
  border-radius:7px;
  background:linear-gradient(135deg,#6366F1,#2563EB);
  box-shadow:0 1px 8px rgba(37,99,235,.22);
}
.lecture-content--m2-create .lec-m2cr__num-list .lecture-list--bullet{
  margin:8px 0 4px;
  padding-left:1.1rem;
  list-style:disc;
  color:var(--text);
}
.lecture-content--m2-create .lec-m2cr__num-list .lecture-list--bullet li{
  margin:6px 0;
  padding-left:0;
}
.lecture-content--m2-create .lec-m2cr__num-list .lecture-list--bullet li::before{
  display:none;
}
.lecture-content--m2-create .lec-m2cr__sources{
  margin:clamp(28px,4.5vw,40px) auto 0;
  padding-top:clamp(22px,3.5vw,30px);
  max-width:65ch;
  border-top:1px solid rgba(148,163,184,.38);
}
.lecture-content--m2-create .lec-m2cr__sources-title{
  margin:0 0 14px;
  font-size:.86rem;
  font-weight:780;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--muted);
}
.lecture-content--m2-create .lec-m2cr__sources-list{
  margin:0;
  padding-left:1.35rem;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.58;
}
.lecture-content--m2-create .lec-m2cr__sources-list a{
  word-break:break-word;
}
@media (max-width:767px){
  .panel.lecture-content--m2-create{padding:18px 16px 22px}
  .lecture-content--m2-create .lec-m2cr__goals-list > li,
  .lecture-content--m2-create .lec-m2cr__toc-list > li{padding-left:2.35rem}
  .lecture-content--m2-create .lec-m2cr__num-list > li{padding-left:2.15rem}
}

/* Модуль 2: «Поиск платформы для VR-контента» */
.panel.lecture-content--m2-plat{
  padding:clamp(22px,4vw,36px);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(248,250,255,.99) 52%,rgba(239,246,255,.96) 100%);
  border:1px solid rgba(99,102,241,.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 20px 50px rgba(99,102,241,.1);
}
.lecture-content--m2-plat > *:not(:last-child){
  margin-bottom:clamp(20px,3.2vw,32px);
}
.lecture-content--m2-plat .lec-m2plat__header{
  text-align:center;
  padding-bottom:clamp(18px,3vw,26px);
  margin-bottom:0;
  border-bottom:1px solid rgba(99,102,241,.14);
}
.lecture-content--m2-plat .lec-m2plat__page-title{
  margin:0;
  font-size:clamp(1.2rem,2.75vw,1.44rem);
  font-weight:800;
  line-height:1.32;
  letter-spacing:-.02em;
  text-wrap:balance;
  background:linear-gradient(115deg,#0F172A 0%,#4338CA 40%,#2563EB 78%,#0369A1 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
@supports not (background-clip:text){
  .lecture-content--m2-plat .lec-m2plat__page-title{color:var(--text);}
}
.lecture-content--m2-plat .lec-m2plat__card-lead{
  margin:clamp(12px,2.2vw,16px) 0 0;
  font-size:clamp(1.04rem,2.35vw,1.18rem);
  font-weight:780;
  line-height:1.35;
  letter-spacing:-.016em;
  color:#4F46E5;
  text-wrap:balance;
}
.lecture-content--m2-plat .lec-m2plat__toc{
  margin:0;
  padding:clamp(16px,2.8vw,22px) clamp(18px,3vw,24px);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(99,102,241,.1) 0%,rgba(14,165,233,.08) 100%);
  border:1px solid rgba(99,102,241,.22);
  box-shadow:0 4px 22px rgba(99,102,241,.07);
}
.lecture-content--m2-plat .lec-m2plat__toc-title{
  margin:0 0 clamp(14px,2.2vw,18px);
  font-size:.8rem;
  font-weight:780;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:center;
  color:#4338CA;
}
.lecture-content--m2-plat .lec-m2plat__toc-title::after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  margin:12px auto 0;
  border-radius:3px;
  background:linear-gradient(90deg,#6366F1,#0EA5E9);
}
.lecture-content--m2-plat .lec-m2plat__toc-list{
  margin:0;
  padding-left:0;
  list-style:none;
  counter-reset:lec-m2plat-toc;
}
.lecture-content--m2-plat .lec-m2plat__toc-list > li{
  position:relative;
  counter-increment:lec-m2plat-toc;
  margin:0 0 clamp(10px,1.8vw,14px);
  padding-left:2.65rem;
  min-height:1.45rem;
  line-height:1.55;
  font-size:clamp(.94rem,1.85vw,1.02rem);
  color:var(--text);
}
.lecture-content--m2-plat .lec-m2plat__toc-list > li:last-child{margin-bottom:0}
.lecture-content--m2-plat .lec-m2plat__toc-list > li::before{
  content:counter(lec-m2plat-toc);
  position:absolute;
  left:0;
  top:.1em;
  width:1.7rem;
  height:1.7rem;
  font-size:.68rem;
  font-weight:800;
  line-height:1.7rem;
  text-align:center;
  color:#fff;
  border-radius:9px;
  background:linear-gradient(145deg,#6366F1,#4F46E5);
  box-shadow:0 2px 10px rgba(79,70,229,.28);
}
.lecture-content--m2-plat .lec-m2plat__article{
  margin:0;
  padding-top:clamp(4px,1.2vw,8px);
}
.lecture-content--m2-plat .lec-m2plat__article > *:not(:last-child){
  margin-bottom:clamp(14px,2.3vw,20px);
}
.lecture-content--m2-plat .lec-m2plat__article p{
  font-size:clamp(.98rem,1.95vw,1.06rem);
  line-height:1.72;
  max-width:65ch;
  margin-left:auto;
  margin-right:auto;
}
.lecture-content--m2-plat .lec-m2plat__chapter{
  margin:clamp(24px,4vw,38px) auto clamp(10px,1.8vw,14px);
  padding:clamp(12px,2vw,16px) clamp(14px,2.4vw,18px);
  max-width:65ch;
  font-size:clamp(1.03rem,2.2vw,1.14rem);
  font-weight:800;
  line-height:1.38;
  letter-spacing:-.015em;
  color:#1E1B4B;
  border-radius:14px;
  border-left:4px solid #6366F1;
  background:linear-gradient(90deg,rgba(99,102,241,.11) 0%,rgba(255,255,255,0) 92%);
  box-shadow:0 2px 16px rgba(99,102,241,.06);
}
.lecture-content--m2-plat .module-collapse__inner > .lec-m2plat__article > .lec-m2plat__chapter:first-of-type{
  margin-top:0;
}
.lecture-content--m2-plat .lec-m2plat__chapter--recommend{
  margin-top:clamp(28px,4.5vw,40px);
  padding-top:clamp(16px,2.8vw,22px);
  border-top:1px dashed rgba(99,102,241,.28);
  border-left-color:#0EA5E9;
  background:linear-gradient(90deg,rgba(14,165,233,.1) 0%,rgba(255,255,255,0) 92%);
}
.lecture-content--m2-plat .lec-m2plat__h4{
  margin:clamp(18px,3vw,26px) auto clamp(8px,1.4vw,12px);
  max-width:65ch;
  font-size:clamp(.97rem,2vw,1.06rem);
  font-weight:750;
  line-height:1.38;
  letter-spacing:-.01em;
  color:#4338CA;
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.lecture-content--m2-plat .lec-m2plat__h4::before{
  content:"";
  flex-shrink:0;
  width:3px;
  margin-top:.4em;
  height:1em;
  border-radius:3px;
  background:linear-gradient(180deg,#818CF8,#0EA5E9);
  box-shadow:0 1px 3px rgba(99,102,241,.2);
}
.lecture-content--m2-plat strong{
  font-weight:780;
  color:#3730A3;
}
.lecture-content--m2-plat .lec-m2plat__num-list{
  margin:0 auto;
  max-width:65ch;
  padding-left:0;
  list-style:none;
  counter-reset:lec-m2plat-num;
}
.lecture-content--m2-plat .lec-m2plat__num-list > li{
  counter-increment:lec-m2plat-num;
  position:relative;
  margin:0 0 clamp(8px,1.5vw,12px);
  padding-left:2.35rem;
  line-height:1.65;
  font-size:clamp(.96rem,1.88vw,1.04rem);
  color:var(--text);
}
.lecture-content--m2-plat .lec-m2plat__num-list > li:last-child{margin-bottom:0}
.lecture-content--m2-plat .lec-m2plat__num-list > li::before{
  content:counter(lec-m2plat-num);
  position:absolute;
  left:0;
  top:.2em;
  min-width:1.45rem;
  height:1.45rem;
  padding:0 4px;
  font-size:.68rem;
  font-weight:800;
  line-height:1.45rem;
  text-align:center;
  color:#fff;
  border-radius:7px;
  background:linear-gradient(135deg,#6366F1,#2563EB);
  box-shadow:0 1px 8px rgba(37,99,235,.22);
}
.lecture-content--m2-plat .lec-m2plat__article ul.lecture-list--bullet{
  margin:0 auto;
  max-width:65ch;
  padding-left:1.2rem;
  line-height:1.62;
  font-size:clamp(.96rem,1.88vw,1.04rem);
}
.lecture-content--m2-plat .lec-m2plat__article ul.lecture-list--bullet > li{
  margin:clamp(7px,1.2vw,10px) 0;
}
.lecture-content--m2-plat .lec-m2plat__article ul.lecture-list--bullet ul.lecture-list--bullet{
  margin-top:8px;
  margin-bottom:4px;
}
.lecture-content--m2-plat .lec-m2plat__article a{
  word-break:break-word;
}
@media (max-width:767px){
  .panel.lecture-content--m2-plat{padding:18px 16px 22px}
  .lecture-content--m2-plat .lec-m2plat__toc-list > li{padding-left:2.4rem}
  .lecture-content--m2-plat .lec-m2plat__num-list > li{padding-left:2.15rem}
}

/* Модуль 1 — технические разделы: образовательное оформление */
.edu-back-wrap{
  display:flex;
  justify-content:flex-start;
  margin:0 0 clamp(12px,3vw,20px);
}
.lecture-content--edu-module1{
  padding:clamp(20px,4vw,32px);
  line-height:1.7;
  background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(248,250,252,.99) 100%);
  border:1px solid rgba(99,102,241,.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,.85) inset,
    0 24px 48px rgba(99,102,241,.08);
  border-radius:20px;
}
.lecture-content--edu-module1 > *:not(:last-child){
  margin-bottom:clamp(14px,2.5vw,20px);
}
.lecture-content--edu-module1 p{
  line-height:1.75;
  max-width:72ch;
}
.lecture-content--edu-module1 .edu-module-header{
  margin:0 0 clamp(18px,3.5vw,26px);
  padding:clamp(16px,3vw,24px);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(99,102,241,.11) 0%,rgba(139,92,246,.09) 50%,rgba(14,165,233,.09) 100%);
  border:1px solid rgba(99,102,241,.22);
}
.lecture-content--edu-module1 .edu-module-kicker{
  margin:0 0 8px;
  font-size:.8rem;
  font-weight:650;
  letter-spacing:.07em;
  text-transform:uppercase;
  color:#4F46E5;
}
.lecture-content--edu-module1 h2{
  margin:0;
  font-size:clamp(1.28rem,3.6vw,1.68rem);
  font-weight:800;
  line-height:1.28;
  letter-spacing:-.02em;
  background:linear-gradient(115deg,#0F172A 0%,#4338CA 38%,#7C3AED 72%,#0369A1 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
@supports not (background-clip:text){
  .lecture-content--edu-module1 h2{color:var(--text);}
}
.lecture-content--edu-module1 .edu-callout{
  margin:0 0 clamp(16px,3vw,22px);
  padding:clamp(14px,2.5vw,20px) clamp(16px,3vw,22px);
  border-radius:14px;
  border-left:4px solid var(--brand);
  background:linear-gradient(90deg,rgba(99,102,241,.1) 0%,rgba(255,255,255,.65) 100%);
  box-shadow:0 6px 24px rgba(99,102,241,.08);
}
.lecture-content--edu-module1 .edu-callout p{
  margin:0;
  max-width:none;
}
.lecture-content--edu-module1 .edu-lead-block{
  margin:0 0 clamp(16px,3vw,22px);
  padding:clamp(14px,2.5vw,20px);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(14,165,233,.09) 0%,rgba(99,102,241,.06) 100%);
  border:1px solid rgba(14,165,233,.28);
}
.lecture-content--edu-module1 .edu-lead-block p{
  margin:0 0 14px;
  max-width:none;
}
.lecture-content--edu-module1 .edu-lead-block p:last-child{margin-bottom:0}
.lecture-content--edu-module1{
  interpolate-size:allow-keywords;
}
.lecture-content--edu-module1 details.edu-section.edu-accordion{
  margin:0;
  padding:0;
  overflow:hidden;
  border-radius:16px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(148,163,184,.38);
  box-shadow:0 10px 32px rgba(15,23,42,.06);
}
.lecture-content--edu-module1 details.edu-section.edu-accordion::details-content{
  transition:height .38s ease;
}
.lecture-content--edu-module1 .edu-accordion__summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:clamp(14px,2.5vw,18px) clamp(14px,2.8vw,20px);
  cursor:pointer;
  list-style:none;
  border-radius:15px;
  background:linear-gradient(95deg,rgba(99,102,241,.14),rgba(14,165,233,.1));
  border:1px solid rgba(99,102,241,.22);
  box-shadow:0 2px 12px rgba(99,102,241,.08);
}
.lecture-content--edu-module1 details.edu-section.edu-accordion[open] > .edu-accordion__summary{
  border-radius:15px 15px 0 0;
  border-bottom:1px solid rgba(99,102,241,.14);
  box-shadow:none;
}
.lecture-content--edu-module1 .edu-accordion__summary::-webkit-details-marker,
.lecture-content--edu-module1 .edu-accordion__summary::marker{
  display:none;
}
.lecture-content--edu-module1 .edu-accordion__summary:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:2px;
}
.lecture-content--edu-module1 .edu-accordion__title{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0;
  flex:1;
  min-width:0;
  padding:0;
  border:none;
  background:none;
  font-size:clamp(1.02rem,2.3vw,1.14rem);
  font-weight:750;
  color:#3730A3;
  text-align:left;
}
.lecture-content--edu-module1 .edu-section-icon{
  flex-shrink:0;
  font-size:1.22em;
  line-height:1.15;
  filter:drop-shadow(0 2px 4px rgba(99,102,241,.25));
}
.lecture-content--edu-module1 .edu-section-title{
  flex:1;
  min-width:0;
}
.lecture-content--edu-module1 .edu-accordion__chevron{
  flex-shrink:0;
  width:10px;
  height:10px;
  margin-top:4px;
  border-right:2.5px solid #4F46E5;
  border-bottom:2.5px solid #4F46E5;
  transform:rotate(45deg);
  transition:transform .32s ease;
}
.lecture-content--edu-module1 details.edu-section.edu-accordion[open] > .edu-accordion__summary .edu-accordion__chevron{
  transform:rotate(-135deg);
  margin-top:8px;
}
.lecture-content--edu-module1 .edu-accordion__body{
  padding:clamp(16px,2.8vw,22px) clamp(16px,3vw,24px) clamp(18px,3vw,26px);
  border-top:1px solid transparent;
}
.lecture-content--edu-module1 details.edu-section.edu-accordion[open] .edu-accordion__body{
  border-top-color:rgba(148,163,184,.22);
}
.lecture-content--edu-module1 .edu-accordion__body > p:last-child,
.lecture-content--edu-module1 .edu-accordion__body > ol:last-child,
.lecture-content--edu-module1 .edu-accordion__body > ul:last-child{
  margin-bottom:4px;
}
.lecture-content--edu-module1 .edu-accordion__body p{
  margin:0 0 12px;
}
.lecture-content--edu-module1 .edu-accordion__body .lecture-list{
  margin:0 0 12px;
}
.lecture-content--edu-module1 .edu-accordion__body h4{
  margin:18px 0 10px;
  padding:8px 12px 8px 14px;
  border-left:3px solid var(--brand-2);
  font-size:clamp(.95rem,2vw,1.02rem);
  font-weight:700;
  color:#4338CA;
  background:linear-gradient(90deg,rgba(139,92,246,.1),transparent);
  border-radius:0 10px 10px 0;
}
.lecture-content--edu-module1 details.edu-accordion--nested{
  margin:0 0 12px;
  padding:0;
  overflow:hidden;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.4);
  background:rgba(248,250,252,.85);
  box-shadow:0 4px 16px rgba(15,23,42,.05);
}
.lecture-content--edu-module1 details.edu-accordion--nested::details-content{
  transition:height .34s ease;
}
.lecture-content--edu-module1 .edu-accordion__summary--nested{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  list-style:none;
  padding:12px 14px;
  border-radius:11px;
  background:linear-gradient(90deg,rgba(129,140,248,.12),rgba(224,231,255,.35));
  border:1px solid rgba(99,102,241,.15);
  box-shadow:none;
}
.lecture-content--edu-module1 .edu-accordion__summary--nested::-webkit-details-marker,
.lecture-content--edu-module1 .edu-accordion__summary--nested::marker{
  display:none;
}
.lecture-content--edu-module1 .edu-accordion__summary--nested:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:2px;
}
.lecture-content--edu-module1 details.edu-accordion--nested[open] > .edu-accordion__summary--nested{
  border-radius:11px 11px 0 0;
  border-bottom:1px solid rgba(148,163,184,.28);
}
.lecture-content--edu-module1 .edu-accordion__h4-title{
  margin:0;
  flex:1;
  min-width:0;
  padding:0;
  border:none;
  background:none;
  font-size:clamp(.94rem,2vw,1.02rem);
  font-weight:700;
  color:#4338CA;
  text-align:left;
}
.lecture-content--edu-module1 .edu-accordion__chevron--nested{
  width:8px;
  height:8px;
  border-width:2px;
  margin-top:3px;
}
.lecture-content--edu-module1 details.edu-accordion--nested[open] > .edu-accordion__summary--nested .edu-accordion__chevron--nested{
  margin-top:6px;
}
.lecture-content--edu-module1 .edu-accordion__body--nested{
  padding:12px 14px 14px 16px;
  border-top:1px solid rgba(226,232,240,.9);
}
.lecture-content--edu-module1 .edu-accordion__body--nested p{
  margin:0 0 10px;
}
.lecture-content--edu-module1 .edu-accordion__body--nested .lecture-list{
  margin:0 0 10px;
}
.lecture-content--edu-module1 .lecture-list li{
  margin:8px 0;
  line-height:1.68;
}
.lecture-content--edu-module1 .lecture-list li::marker{
  color:var(--brand);
}
.lecture-content--edu-module1 a{
  color:#4F46E5;
  font-weight:500;
  word-break:break-word;
}
.lecture-content--edu-module1 a:hover{
  color:#7C3AED;
}
.lecture-content--edu-module1 .muted.small{
  display:block;
  margin-top:clamp(18px,3.5vw,26px);
  padding:14px 16px;
  border-radius:12px;
  background:rgba(100,116,139,.09);
  border:1px solid rgba(148,163,184,.45);
  line-height:1.6;
  max-width:none;
}
@media (max-width:767px){
  .lecture-content--edu-module1{
    padding:18px 16px;
    border-radius:18px;
  }
  .lecture-content--edu-module1 .edu-module-header{
    padding:14px 16px;
  }
  .lecture-content--edu-module1 .edu-accordion__body{
    padding:14px 14px 18px;
  }
  .lecture-content--edu-module1 .edu-accordion__body--nested{
    padding:12px 12px 14px;
  }
  .lecture-content--edu-module1 p{
    max-width:none;
  }
}
@media (prefers-reduced-motion:reduce){
  .lecture-content--edu-module1 details.edu-section.edu-accordion::details-content,
  .lecture-content--edu-module1 details.edu-accordion--nested::details-content{
    transition:none;
  }
  .lecture-content--edu-module1 .edu-accordion__chevron,
  .lecture-content--edu-module1 .edu-accordion__chevron--nested{
    transition:none;
  }
}

/* Модуль 1 — «Меры предосторожности при VR для детей» */
.panel.lecture-content--child-safety{
  padding:clamp(20px,4vw,34px);
  border-radius:22px;
  border:2px solid rgba(249,115,22,.45);
  background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,247,237,.45) 55%,rgba(238,242,255,.5) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.92) inset,
    0 22px 56px rgba(234,88,12,.11),
    0 10px 36px rgba(79,70,229,.1);
}
.lecture-content--child-safety{
  font-size:clamp(.9375rem,1.55vw,1rem);
  interpolate-size:allow-keywords;
}
.lecture-content--child-safety > *:not(:last-child){
  margin-bottom:clamp(14px,2.6vw,20px);
}
.lecture-content--child-safety p{
  line-height:1.74;
  max-width:70ch;
}
.lecture-content--child-safety .vr-safety-hero{
  text-align:center;
  margin:0 0 clamp(18px,3.5vw,26px);
  padding:clamp(20px,4vw,32px) clamp(16px,3vw,28px);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(99,102,241,.15) 0%,rgba(14,165,233,.12) 40%,rgba(251,146,60,.16) 100%);
  border:1px solid rgba(99,102,241,.3);
  box-shadow:0 14px 44px rgba(79,70,229,.14),0 0 0 1px rgba(255,255,255,.55) inset;
}
.lecture-content--child-safety .vr-safety-hero__icons{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:12px 16px;
  margin:0 0 14px;
}
.lecture-content--child-safety .vr-safety-hero__icon{
  font-size:clamp(1.65rem,4.2vw,2.1rem);
  line-height:1;
  filter:drop-shadow(0 3px 8px rgba(99,102,241,.22));
}
.lecture-content--child-safety .vr-safety-hero__icon--warn{
  filter:drop-shadow(0 3px 10px rgba(234,88,12,.4));
}
.lecture-content--child-safety .vr-safety-hero__kicker{
  margin:0 0 10px;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:#6D28D9;
}
.lecture-content--child-safety .vr-safety-hero__title{
  margin:0;
  font-size:clamp(1.32rem,4.2vw,1.82rem);
  font-weight:800;
  line-height:1.22;
  letter-spacing:-.03em;
  color:#1E1B4B;
  text-wrap:balance;
}
.lecture-content--child-safety h2.vr-safety-hero__title{
  margin:0;
}
.lecture-content--child-safety .vr-safety-intro{
  margin:0 0 clamp(16px,3vw,22px);
  padding:clamp(16px,3vw,24px);
  border-radius:16px;
  background:linear-gradient(100deg,rgba(59,130,246,.11),rgba(255,255,255,.88));
  border:1px solid rgba(37,99,235,.3);
  box-shadow:0 8px 30px rgba(37,99,235,.1);
}
.lecture-content--child-safety .vr-safety-intro p{
  max-width:none;
}
.lecture-content--child-safety .vr-safety-intro .lecture-list li{
  line-height:1.66;
}
.lecture-content--child-safety .vr-safety-chapter{
  margin:0 0 clamp(14px,2.8vw,20px);
  border-radius:16px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(148,163,184,.42);
  box-shadow:0 12px 40px rgba(15,23,42,.08);
}
.lecture-content--child-safety div.vr-safety-chapter{
  padding:clamp(18px,3vw,26px);
}
.lecture-content--child-safety details.vr-safety-accordion{
  padding:0;
  overflow:hidden;
}
.lecture-content--child-safety details.vr-safety-accordion::details-content{
  transition:height .38s ease;
}
.lecture-content--child-safety .vr-safety-accordion__summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:clamp(14px,2.5vw,18px) clamp(14px,2.8vw,20px);
  cursor:pointer;
  list-style:none;
  border-radius:15px;
  background:linear-gradient(95deg,rgba(99,102,241,.16),rgba(14,165,233,.11));
  border:1px solid rgba(99,102,241,.22);
  box-shadow:0 2px 12px rgba(99,102,241,.08);
}
.lecture-content--child-safety details.vr-safety-accordion[open] > .vr-safety-accordion__summary{
  border-radius:15px 15px 0 0;
  border-bottom:1px solid rgba(99,102,241,.15);
  box-shadow:none;
}
.lecture-content--child-safety .vr-safety-accordion__summary::-webkit-details-marker,
.lecture-content--child-safety .vr-safety-accordion__summary::marker{
  display:none;
}
.lecture-content--child-safety .vr-safety-accordion__summary:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:2px;
}
.lecture-content--child-safety .vr-safety-accordion__title{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:0;
  flex:1;
  min-width:0;
  padding:0;
  border:none;
  border-radius:0;
  font-size:clamp(1.02rem,2.5vw,1.2rem);
  font-weight:800;
  line-height:1.32;
  color:#312E81;
  background:none;
  text-align:left;
}
.lecture-content--child-safety .vr-safety-accordion__title::before{
  content:"";
  flex-shrink:0;
  width:8px;
  height:8px;
  margin-top:.5em;
  border-radius:50%;
  background:linear-gradient(135deg,var(--brand),#0EA5E9);
  box-shadow:0 0 0 3px rgba(99,102,241,.22);
}
.lecture-content--child-safety .vr-safety-accordion__chevron{
  flex-shrink:0;
  width:10px;
  height:10px;
  margin-top:4px;
  border-right:2.5px solid #4F46E5;
  border-bottom:2.5px solid #4F46E5;
  transform:rotate(45deg);
  transition:transform .32s ease;
}
.lecture-content--child-safety details.vr-safety-accordion[open] > .vr-safety-accordion__summary .vr-safety-accordion__chevron{
  transform:rotate(-135deg);
  margin-top:8px;
}
.lecture-content--child-safety .vr-safety-accordion__body{
  padding:clamp(16px,2.8vw,22px) clamp(16px,3vw,24px) clamp(18px,3vw,26px);
  border-top:1px solid transparent;
}
.lecture-content--child-safety details.vr-safety-accordion[open] .vr-safety-accordion__body{
  border-top-color:rgba(148,163,184,.25);
}
.lecture-content--child-safety .vr-safety-chapter--summary > h3,
.lecture-content--child-safety .vr-safety-chapter--sources > h3{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:0 0 16px;
  padding:12px 14px;
  border-radius:12px;
  font-size:clamp(1.04rem,2.5vw,1.22rem);
  font-weight:800;
  line-height:1.3;
  color:#312E81;
  background:linear-gradient(90deg,rgba(99,102,241,.13),rgba(14,165,233,.09));
  border-left:4px solid var(--brand);
}
.lecture-content--child-safety .vr-safety-chapter--summary > h3::before,
.lecture-content--child-safety .vr-safety-chapter--sources > h3::before{
  content:"";
  flex-shrink:0;
  width:8px;
  height:8px;
  margin-top:.5em;
  border-radius:50%;
  background:linear-gradient(135deg,var(--brand),#0EA5E9);
  box-shadow:0 0 0 3px rgba(99,102,241,.22);
}
.lecture-content--child-safety .vr-safety-chapter h4{
  margin:18px 0 10px;
  padding:8px 12px 8px 14px;
  font-size:clamp(.94rem,2vw,1.03rem);
  font-weight:750;
  color:#3730A3;
  border-left:3px solid rgba(99,102,241,.55);
  background:linear-gradient(90deg,rgba(129,140,248,.13),transparent);
  border-radius:0 10px 10px 0;
}
.lecture-content--child-safety .vr-safety-h4--alert{
  border-left-color:#DC2626;
  background:linear-gradient(90deg,rgba(252,165,165,.22),rgba(255,247,237,.55));
  color:#991B1B;
}
.lecture-content--child-safety .vr-safety-chapter--summary > h3{
  background:linear-gradient(90deg,rgba(14,165,233,.12),rgba(99,102,241,.1));
  border-left-color:#0EA5E9;
}
.lecture-content--child-safety .vr-safety-chapter--sources > h3{
  background:linear-gradient(90deg,rgba(99,102,241,.14),rgba(167,139,250,.1));
  border-left-color:#7C3AED;
}
.lecture-content--child-safety .lecture-list li{
  margin:7px 0;
  line-height:1.68;
}
.lecture-content--child-safety .lecture-list li::marker{
  color:var(--brand);
}
.lecture-content--child-safety a{
  color:#4338CA;
  font-weight:500;
  word-break:break-word;
}
.lecture-content--child-safety a:hover{
  color:#C2410C;
}
.module-download-links .btn.module-btn--child-safety{
  background:linear-gradient(135deg,#5B21B6 0%,#6366F1 38%,#2563EB 78%);
  border:2px solid rgba(251,146,60,.55);
  color:#fff;
  font-weight:600;
  box-shadow:0 8px 28px rgba(91,33,182,.28),0 0 0 1px rgba(255,255,255,.12) inset;
}
.module-download-links .btn.module-btn--child-safety:hover{
  filter:brightness(1.06);
  border-color:rgba(251,146,60,.75);
}
.module-download-links .btn.module-btn--child-safety:focus-visible{
  outline:2px solid #EA580C;
  outline-offset:2px;
}
@media (max-width:767px){
  .lecture-content--child-safety div.vr-safety-chapter{padding:16px 14px}
  .lecture-content--child-safety .vr-safety-accordion__body{
    padding:14px 14px 18px;
  }
  .lecture-content--child-safety p{max-width:none}
}
@media (prefers-reduced-motion:reduce){
  .lecture-content--child-safety details.vr-safety-accordion::details-content{
    transition:none;
  }
  .lecture-content--child-safety .vr-safety-accordion__chevron{
    transition:none;
  }
}

.lecture-table-wrap{
  overflow-x:auto;
  margin:16px 0;
  border-radius:16px;
}
.lecture-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border:1px solid rgba(148,163,184,.45);
}
.lecture-table th,
.lecture-table td{
  padding:10px 12px;
  border:1px solid rgba(148,163,184,.45);
  vertical-align:top;
  font-size:.95rem;
  line-height:1.4;
}
.lecture-table th{
  background:rgba(99,102,241,.08);
  font-weight:650;
}
@media (max-width:900px){
  .module-video{height:300px;max-height:380px}
}
@media (max-width:767px){
  .module-video{height:210px;max-height:280px}
}
.module-card__header{flex:0 0 auto;margin-bottom:20px}
.module-card__title{
  margin:0 0 8px;
  font-size:1.125rem;
  font-weight:600;
  line-height:1.35;
  color:var(--text);
}
.module-card__desc{
  margin:0;
  font-size:.9375rem;
  line-height:1.5;
  color:var(--muted);
}

.module-download-links{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:auto;
}
.module-download-links .btn{
  width:100%;
  min-height:44px;
  padding:12px 16px;
  font-size:.9375rem;
  font-weight:500;
  text-align:center;
  white-space:normal;
  word-break:break-word;
  border-radius:14px;
}
.module-download-links .btn-primary{
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  border:none;
  color:#fff;
}
@media (max-width:900px){
  .module-cards{grid-template-columns:1fr;gap:20px}
  .module-card--centered{max-width:100%;justify-self:stretch}
}
@media (max-width:767px){
  .modules-list{padding:24px 0 40px}
  .module-card{padding:20px}
  .module-card__header{margin-bottom:16px}
  .module-card__title{font-size:1.0625rem}
}

/* Блок кнопок на странице модуля (Модуль 3: шаблон, сценарии, назад) */
.module-actions{padding:24px 0 32px}
.module-actions__links{display:flex;flex-direction:column;gap:12px;max-width:400px}
.module-actions__links .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 16px;text-align:center;text-decoration:none;white-space:normal;word-break:break-word;border-radius:10px;cursor:pointer}
.module-actions__links .btn{border-radius:14px;}
.module-actions__links .btn-primary{background:linear-gradient(135deg,var(--brand),var(--brand-2));border:none;color:#fff;font-weight:500}
.module-actions__links .btn-primary:hover{filter:brightness(1.08)}
.module-actions__links .btn-primary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
@media (max-width:767px){.module-actions__links{max-width:100%}}

/* Docs */
.docs-section{padding:24px 0 40px}
.panel{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:20px}
.panel.lecture-content--edu-module1{
  padding:clamp(20px,4vw,32px);
  border-radius:20px;
}
.muted{color:var(--muted)}
.small{font-size:12px}
.file-list{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.url-input-row{display:flex;gap:8px;margin:8px 0}
.url-input-row input{flex:1;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:#101632;color:var(--text)}
.viewer-wrap{margin-top:16px}
.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.viewer{height:70vh;background:#ffffff;border:1px solid var(--border);border-radius:12px;overflow:hidden}
.viewer{border-radius:16px;}
.viewer iframe{width:100%;height:100%;border:0;background:#ffffff}

/* Footer */
.site-footer{
  margin-top:48px;
  background:var(--footer-gradient);
  color:#E5E7EB;
}
.footer-inner{
  display:flex;
  flex-direction:column;
  gap:8px;
  justify-content:center;
  align-items:center;
  padding:24px 0 8px;
  text-align:center;
}
.footer-links ul{list-style:none;margin:8px 0 0;padding:0}
.footer-links a{color:#E5E7EB;text-decoration:none}
.footer-links a:hover{text-decoration:underline}
.footer-copy{
  padding:4px 0 20px;
  color:#9CA3AF;
  text-align:center;
}

/* Utilities */
.hidden{display:none}
