/* Shared public-site navigation, decorative assets and footer. */
[data-site-header]{display:contents}
.site-header{z-index:50;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
.site-header .header-action{margin-left:auto}
.site-header nav{align-items:center}.site-header nav>a{white-space:nowrap}.site-header .header-action{gap:17px}.site-menu-toggle{display:none}.lessons-menu{position:relative}.lessons-menu summary{list-style:none;cursor:pointer;display:flex;gap:12px;align-items:center;color:#5a52fa;min-height:44px}.lessons-menu summary::-webkit-details-marker{display:none}.lessons-menu summary>span{font-size:21px;transition:transform .2s}.lessons-menu[open] summary>span{transform:rotate(180deg)}.lessons-menu summary:focus-visible{outline:3px solid #5a52fa;outline-offset:5px;border-radius:5px}.lessons-dropdown{position:absolute;left:-25px;top:calc(100% + 23px);width:365px;background:#fff;padding:23px;border:1px solid #eeeaf4;border-radius:22px;box-shadow:0 18px 50px #3b305b1c}.lessons-dropdown a{display:flex;align-items:center;gap:13px;min-height:49px;font-size:16px;border-radius:10px;padding:8px}.lessons-dropdown a:hover,.lessons-dropdown a[aria-current]{background:#f1edff}.lessons-dropdown a>span{font-size:10px;color:#99919e}.lessons-dropdown a>i{font-style:normal;margin-left:auto}.menu-eyebrow{display:block;font-size:9px;color:#8c8398;letter-spacing:.08em;padding:0 8px 12px}.lessons-dropdown .menu-quiz{background:#fff5a6;margin-top:10px}.back-top{position:fixed;z-index:40;right:25px;bottom:23px;width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:#dfdafa;color:#171717;border:1px solid #ffffffad;box-shadow:0 5px 20px #221b3c16;transition:background .2s,color .2s}.back-top svg{width:28px;height:28px}.back-top:hover{color:#fff;background:#171717}body:has(dialog[open]) .back-top{visibility:hidden}
/* Play&Practice: editorial white surface, original type, lemon accent. */
.site-footer{margin-top:36px;margin-bottom:24px;border-radius:34px;background:#fff;color:#171717;padding:44px 42px 24px;overflow:hidden}
.footer-intro{display:grid;grid-template-columns:1fr 1.12fr;align-items:center;gap:40px;padding:0 0 40px;border-bottom:1px solid #e9e9e9}
.footer-wordmark{display:flex;align-items:center;gap:28px}.footer-wordmark img{width:115px;height:auto}.footer-wordmark>span{font-size:18px;line-height:1.5;color:#777}
.footer-invitation{display:grid;grid-template-columns:1fr auto;column-gap:24px;row-gap:12px;align-items:center}.footer-invitation p{font-size:clamp(29px,3.1vw,46px);line-height:1.13;letter-spacing:-.045em;grid-row:1/span 2}.footer-invitation mark{background:#fff27e;padding:0 .12em;border-radius:100px;white-space:nowrap}.footer-invitation .button{font-size:15px;min-height:58px;padding:16px 24px;gap:32px;white-space:nowrap}.footer-invitation .button span{font-size:29px}.footer-invitation>span{font-size:10px;color:#8d8d8d;text-align:center}
.footer-grid{display:grid;grid-template-columns:1.18fr 1fr 1fr 1.04fr;gap:30px;padding:34px 0 38px}.footer-column{min-width:0}.footer-index{display:block;font-size:9px;letter-spacing:.06em;color:#a1a1a1;margin-bottom:24px}.footer-column h3{font-size:19px;letter-spacing:-.025em;margin:0 0 20px}.footer-column>a{display:block;width:fit-content;font-size:13px;line-height:1.5;color:#777;margin-bottom:12px;transition:color .18s}.footer-column>a:hover{color:#171717;text-decoration:underline;text-underline-offset:4px}.footer-column .footer-phone{font-size:20px;letter-spacing:-.03em;color:#171717;margin-bottom:11px;white-space:nowrap}.footer-column .footer-telegram{display:flex;align-items:center;gap:10px;margin-top:23px;font-size:12px;color:#171717;background:#f4f3f7;padding:12px 15px;border-radius:100px;white-space:nowrap}.footer-telegram svg{width:21px;height:21px;color:#8b7cde}.footer-telegram>span{font-size:20px;margin-left:10px}
.footer-signature{display:flex;gap:.23em;justify-content:space-between;align-items:baseline;padding:16px 0 29px;font-size:clamp(38px,6.2vw,90px);line-height:1.05;letter-spacing:-.06em;white-space:nowrap}.footer-signature>span:nth-child(2){color:#aaa}.footer-dot{display:inline-block;color:#171717;position:relative;z-index:0}.footer-dot:before{content:'';position:absolute;width:.7em;height:.7em;background:#fff27e;border-radius:50%;z-index:-1;bottom:-.02em;left:50%;transform:translateX(-50%)}.footer-bottom{border-top:1px solid #e9e9e9;padding-top:22px;font-size:10px;line-height:1.5;display:flex;justify-content:space-between;gap:20px;color:#999}
@media(max-width:1150px){.site-header{gap:24px}.site-header .header-contact{display:none}.site-footer{padding:35px 28px 24px}.footer-intro{grid-template-columns:.9fr 1.1fr;gap:20px}.footer-wordmark{gap:17px}.footer-wordmark img{width:90px}.footer-wordmark>span{font-size:14px}.footer-invitation{column-gap:16px}.footer-invitation .button{font-size:13px;gap:15px;padding:14px 17px}.footer-invitation>span{font-size:9px}.footer-grid{gap:23px}.footer-column .footer-phone{font-size:17px}.footer-column .footer-telegram{padding:10px;font-size:11px;gap:6px}.footer-column>a{font-size:12px}}
@media(max-width:850px){.site-header nav{display:none;position:absolute;left:0;right:0;top:80px;background:#fff;border-radius:20px;padding:24px;box-shadow:0 20px 35px #241b411c}.site-header nav.is-open{display:flex;align-items:stretch;flex-direction:column;gap:8px}.site-header nav>a{padding:12px 8px}.site-header .header-action{margin-left:auto;font-size:12px;padding:11px 17px;min-height:42px}.site-menu-toggle{display:flex;width:28px;height:40px;gap:6px;flex-direction:column;justify-content:center;background:none;border:0;padding:0}.site-menu-toggle i{width:24px;height:1px;background:#171717}.lessons-menu summary{padding-inline:8px;justify-content:space-between}.lessons-dropdown{position:static;width:100%;border:0;box-shadow:none;padding:9px 4px 14px}.lessons-dropdown a{font-size:15px;min-height:45px}.menu-eyebrow{display:none}.footer-intro{grid-template-columns:1fr;gap:35px;padding-bottom:30px}.footer-wordmark img{width:85px}.footer-wordmark>span{font-size:15px}.footer-invitation p{font-size:38px}.footer-invitation .button{font-size:15px;gap:30px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px 40px;padding-bottom:20px}.footer-column>a{font-size:14px}.footer-column .footer-phone{font-size:21px}.footer-column .footer-telegram{font-size:13px;padding:12px 15px}.footer-signature{font-size:6.3vw}.footer-index{margin-bottom:18px}}
@media(max-width:580px){.site-header{gap:13px;padding-inline:15px}.site-header .header-action{font-size:11px;padding-inline:15px;gap:10px}.site-header .logo img{width:50px}.site-header nav{max-height:calc(100dvh - 110px);overflow:auto}.site-footer{padding:28px 22px 20px;border-radius:25px;margin-top:24px;margin-bottom:10px}.footer-wordmark{gap:24px}.footer-wordmark img{width:78px}.footer-wordmark>span{font-size:13px}.footer-invitation{grid-template-columns:1fr;gap:12px}.footer-invitation p{font-size:38px;grid-row:auto;margin-bottom:12px}.footer-invitation .button{justify-content:space-between;font-size:16px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px 22px}.footer-index{font-size:8px;margin-bottom:15px}.footer-column h3{font-size:18px;margin-bottom:17px}.footer-column>a{font-size:12px;margin-bottom:11px}.footer-contacts{grid-column:1/-1}.footer-column .footer-phone{font-size:24px}.footer-column .footer-telegram{font-size:13px;margin-top:17px}.footer-column:last-child{grid-column:1/-1}.footer-column:last-child a{max-width:270px}.footer-signature{flex-wrap:wrap;justify-content:flex-start;font-size:clamp(31px,8.3vw,47px);gap:.1em .22em;white-space:normal;padding:15px 0 25px;letter-spacing:-.05em}.footer-bottom{flex-wrap:wrap;gap:8px 15px;font-size:9px}.footer-bottom>span:last-child{margin-left:auto}.back-top{width:45px;height:45px;right:16px;bottom:16px}.back-top svg{width:25px}}
@media(prefers-reduced-motion:reduce){.back-top,.lessons-menu summary>span,.footer-column>a{transition:none}}
/* Seasonal campaign: every element stays inside the header and participates in
   one stable grid. Nothing is absolutely positioned across neighbouring cells. */
.site-header.has-promo{gap:clamp(18px,2vw,26px);margin-top:18px;top:14px;min-height:72px;padding:6px 18px;overflow:visible;background:linear-gradient(110deg,rgba(255,255,255,.92) 47%,rgba(244,234,255,.94) 77%,rgba(255,247,220,.96));box-shadow:0 8px 28px #35224509,inset 0 1px 0 #fff}
.site-header.has-promo .logo,.site-header.has-promo nav,.site-header.has-promo .site-menu-toggle{position:relative;z-index:3}
.header-promo{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:18px;min-width:0;flex:1 1 auto;margin-left:auto;color:var(--txt)}
.promo-art{position:relative;width:72px;height:58px;display:grid;place-items:center;pointer-events:none;z-index:2}
.promo-art:before{content:'';position:absolute;inset:8px 5px 3px;border-radius:50%;background:radial-gradient(ellipse,#7d5c9f20,transparent 70%)}
.promo-art img{position:relative;width:74px;height:74px;max-width:none;object-fit:contain;filter:drop-shadow(0 6px 5px #4d246426);transform:none}
.promo-spark{display:none}
.promo-copy{min-width:0;position:relative;z-index:2}
.promo-eyebrow{display:block;font-size:8px;line-height:1;letter-spacing:.1em;color:#7d638f;margin-bottom:4px}
.header-promo .promo-title{font-size:18px;line-height:1.05;font-weight:400;letter-spacing:-.04em;max-width:280px;margin:0}
.promo-offer{display:flex;align-items:center;gap:7px;width:max-content;margin-top:5px;padding:4px 8px 4px 4px;white-space:nowrap;border:1px solid rgba(81,68,95,.1);border-radius:100px;background:rgba(255,255,255,.55)}
.promo-offer-label{font-size:9px;font-weight:400;line-height:1.15;background:#fff27e;border:1px solid #f5e899;border-radius:100px;padding:3px 7px;box-shadow:none;transform:none}
.promo-note{font-size:8.5px;color:#8a778e}
.site-header .promo-action{position:relative;z-index:2;flex-shrink:0;gap:14px;min-height:48px;padding:12px 20px;font-size:13px;white-space:nowrap;background:#fff27e;box-shadow:0 3px 0 #e9d967,0 7px 14px #77562414;border:1px solid #fff8b5;transition:transform .2s,box-shadow .2s,background .2s}
.site-header .promo-action>span{font-size:20px;line-height:1}
.site-header .promo-action:hover{background:#171717;color:#fff;border-color:#171717;box-shadow:0 3px 0 #4a405b,0 9px 15px #472f5d23;transform:translateY(2px)}
.header-promo:after{display:none}
.header-promo[data-theme="everyday"] .promo-art img{width:72px;height:72px}
@media(min-width:1231px){
  .header-promo{
    grid-template-columns:clamp(72px,5.5vw,88px) minmax(0,1fr) clamp(182px,14vw,220px);
    gap:clamp(16px,1.6vw,24px);
    margin-left:0;
  }
  .promo-art{justify-self:center;width:78px;height:60px}
  .promo-art img{width:78px;height:78px}
  .promo-copy{
    display:grid;
    grid-template-columns:minmax(205px,1fr) auto;
    grid-template-rows:auto auto;
    column-gap:clamp(14px,1.4vw,22px);
    align-items:center;
  }
  .promo-eyebrow{grid-column:1;grid-row:1}
  .header-promo .promo-title{grid-column:1;grid-row:2;max-width:none}
  .promo-offer{grid-column:2;grid-row:1 / span 2;margin-top:0}
  .site-header .promo-action{justify-self:stretch;width:100%;min-width:0;justify-content:space-between}
}
@media(min-width:1500px){
  .site-header.has-promo{gap:28px;padding-inline:24px}
  .site-header.has-promo nav{gap:26px}
  .promo-art{width:84px;height:62px}
  .promo-art img{width:82px;height:82px}
  .promo-copy{grid-template-columns:auto auto;justify-content:start;column-gap:26px}
  .promo-eyebrow{font-size:8px}
  .header-promo .promo-title{font-size:21px;white-space:nowrap}
  .promo-offer-label{font-size:10px;padding:4px 9px}
  .promo-note{font-size:9px}
  .site-header .promo-action{font-size:14px;padding-inline:26px}
}
@media(min-width:1101px) and (max-width:1230px){.site-header.has-promo{gap:20px;padding-inline:19px}.site-header.has-promo nav{gap:17px;font-size:14px}.header-promo{grid-template-columns:minmax(0,1fr) 190px;gap:18px}.promo-art{display:none}.header-promo .promo-title{font-size:18px;max-width:none}.site-header .promo-action{font-size:13px;padding-inline:18px;gap:12px;justify-content:space-between}.promo-note{display:inline}}
@media(max-width:1230px){.site-header.has-promo nav{display:none;position:absolute;left:0;right:0;top:calc(100% + 12px);background:#fff;border:1px solid #eeeaf4;border-radius:20px;padding:24px;box-shadow:0 20px 35px #241b411c;max-height:calc(100dvh - 155px);overflow:auto}.site-header.has-promo nav.is-open{display:flex;align-items:stretch;flex-direction:column;gap:8px}.site-header.has-promo nav>a{padding:12px 8px}.site-header.has-promo .site-menu-toggle{display:flex;flex-shrink:0;width:28px;height:40px;gap:6px;flex-direction:column;justify-content:center;background:none;border:0;padding:0}.site-header.has-promo .site-menu-toggle i{width:24px;height:1px;background:#171717}.site-header.has-promo .lessons-menu summary{padding-inline:8px;justify-content:space-between}.site-header.has-promo .lessons-dropdown{position:static;width:100%;border:0;box-shadow:none;padding:9px 4px 14px}.site-header.has-promo .lessons-dropdown a{font-size:15px;min-height:45px}.site-header.has-promo .menu-eyebrow{display:none}.header-promo:after{display:none}}
@media(min-width:761px) and (max-width:1100px){.header-promo{grid-template-columns:minmax(0,1fr) 170px;gap:16px}.promo-art{display:none}.header-promo .promo-title{max-width:none}.site-header .promo-action{justify-content:space-between}}
@media(min-width:601px) and (max-width:760px){.site-header.has-promo{gap:15px;padding-inline:15px}.site-header.has-promo .logo img{width:52px;height:auto}.header-promo{grid-template-columns:minmax(0,1fr) 148px;gap:12px}.promo-art{display:none}.header-promo .promo-title{font-size:16px;max-width:none}.site-header .promo-action{padding-inline:14px;font-size:12px;gap:10px;justify-content:space-between}.promo-note{display:none}.promo-eyebrow{font-size:7px}}
@media(max-width:600px){
  .site-header.has-promo{
    display:grid;
    grid-template-columns:58px minmax(0,1fr) 64px 95px;
    grid-template-rows:38px 38px;
    column-gap:4px;
    row-gap:2px;
    padding:6px 8px;
    margin-top:8px;
    top:6px;
    min-height:0;
    border-radius:22px;
    isolation:isolate;
  }
  .site-header.has-promo:after{
    content:'';
    position:absolute;
    z-index:0;
    inset:3px;
    border:1px solid rgba(139,105,190,.12);
    border-radius:18px;
    background:
      radial-gradient(circle at 93% 10%,rgba(255,242,126,.7) 0 3px,transparent 4px),
      linear-gradient(118deg,rgba(244,238,255,.98),rgba(251,247,255,.98) 62%,rgba(255,249,224,.97));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
    pointer-events:none;
  }
  .site-header.has-promo .logo{
    grid-column:1;
    grid-row:1 / span 2;
    z-index:2;
    align-self:stretch;
    display:grid;
    place-content:center;
    justify-items:center;
    gap:3px;
    padding-right:6px;
    border-right:1px solid rgba(123,96,163,.14);
  }
  .site-header.has-promo .logo:after{content:'HALLOWEEN';font-size:5.5px;line-height:1;letter-spacing:.14em;color:#9876bd}
  .site-header.has-promo .logo img{width:50px;height:auto}
  .header-promo{display:contents}
  .site-header.has-promo .site-menu-toggle{
    grid-column:4;
    grid-row:1;
    z-index:5;
    display:grid;
    place-items:center;
    justify-self:end;
    align-self:center;
    width:36px;
    height:36px;
    padding:0;
    border:1px solid rgba(105,83,138,.1);
    border-radius:50%;
    background:rgba(255,255,255,.86);
    box-shadow:0 5px 15px rgba(57,40,80,.08);
  }
  .site-header.has-promo .site-menu-toggle:before{content:'';width:16px;height:16px;background:radial-gradient(circle,#171717 0 1.8px,transparent 2.2px) 0 0/5.33px 5.33px}
  .site-header.has-promo .site-menu-toggle i{display:none;position:absolute;width:18px;height:1.5px;background:#171717}
  .site-header.has-promo .site-menu-toggle[aria-expanded="true"]:before{display:none}
  .site-header.has-promo .site-menu-toggle[aria-expanded="true"] i{display:block}
  .site-header.has-promo .site-menu-toggle[aria-expanded="true"] i:first-of-type{transform:rotate(45deg)}
  .site-header.has-promo .site-menu-toggle[aria-expanded="true"] i:last-of-type{transform:rotate(-45deg)}
  .site-header .promo-action{
    grid-column:4;
    grid-row:2;
    justify-self:end;
    align-self:center;
    width:95px;
    min-width:0;
    min-height:36px;
    height:36px;
    padding:0 9px;
    gap:8px;
    overflow:hidden;
    border-radius:100px;
    border-color:#171717;
    background:#171717;
    color:#fff;
    font-size:10.5px;
    box-shadow:0 5px 13px rgba(23,23,23,.16);
  }
  .site-header .promo-action:before{content:none}
  .site-header .promo-action>span{display:block;width:auto;height:auto;font-size:18px;line-height:1}
  .site-header .promo-action:hover{background:#171717;color:#fff;border-color:#171717;box-shadow:0 5px 13px rgba(23,23,23,.16);transform:none}
  .promo-copy{grid-column:2;grid-row:1 / span 2;z-index:2;align-self:center;min-width:0;padding:0 2px}
  .promo-eyebrow{display:none}
  .header-promo .promo-title{font-size:15.5px;line-height:.98;max-width:none;white-space:pre-line;text-wrap:balance}
  .promo-offer{display:block;width:auto;margin-top:5px;padding:0;border:0;border-radius:0;background:none}
  .promo-offer-label{font-size:8px;line-height:1.1;color:#696270;background:none;border:0;border-radius:0;padding:0;white-space:normal}
  .promo-note{display:none}
  .promo-art{display:grid;grid-column:3;grid-row:1 / span 2;width:64px;height:78px;z-index:2;align-self:center;justify-self:center;overflow:visible}
  .promo-art:before{inset:43px 1px 0}
  .promo-art img{position:relative;width:72px;height:72px;max-width:none;filter:drop-shadow(0 5px 4px #4d24642b);transform:translate(-4px,-1px)}
  .site-header.has-promo nav{z-index:10;top:calc(100% + 8px);max-height:calc(100dvh - 120px)}
}
@media(max-width:359px){
  .site-header.has-promo{grid-template-columns:52px minmax(0,1fr) 56px 80px;column-gap:3px;padding-inline:6px}
  .site-header.has-promo .logo{padding-right:5px}
  .site-header.has-promo .logo img{width:46px}
  .site-header.has-promo .logo:after{font-size:5px;letter-spacing:.1em}
  .site-header.has-promo .site-menu-toggle{width:34px;height:34px}
  .header-promo .promo-title{font-size:12.5px}
  .promo-offer-label{font-size:7px}
  .promo-art{width:56px}
  .promo-art img{width:64px;height:64px;transform:translate(-5px,-1px)}
  .site-header .promo-action{width:80px;padding-inline:7px;gap:5px;font-size:8.8px}
}
@media(prefers-reduced-motion:reduce){.site-header .promo-action{transition:none}}

/* Official participant mark, with its original colours and clear space. */
.footer-identity{display:grid;gap:28px;justify-items:start}
.footer-skolkovo{display:inline-flex;padding:12px 0;align-items:center;border-radius:8px}
.footer-skolkovo img{display:block;width:210px;max-width:100%;height:auto}
.footer-skolkovo:focus-visible{outline:2px solid #6654ff;outline-offset:8px}
@media(max-width:580px){.footer-identity{gap:20px}.footer-skolkovo img{width:180px}}

/* Translucent glass: blur the page, keep navigation and campaign crisp. */
.site-header,.site-header.has-promo{
  background:linear-gradient(115deg,rgba(255,255,255,.23),rgba(255,255,255,.03) 43%,rgba(231,222,255,.12) 76%,rgba(255,244,203,.14)),rgba(255,255,255,.46);
  backdrop-filter:blur(24px) saturate(175%);
  -webkit-backdrop-filter:blur(24px) saturate(175%);
  border:1px solid rgba(255,255,255,.68);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 1px 0 0 rgba(255,255,255,.42),inset 0 -1px 0 rgba(255,255,255,.32),0 8px 32px rgba(40,32,58,.07),0 1px 3px rgba(40,32,58,.04);
}
@media(max-width:600px){
  .site-header,.site-header.has-promo{background:linear-gradient(115deg,rgba(255,255,255,.18),rgba(235,225,255,.08) 70%,rgba(255,245,210,.12)),rgba(255,255,255,.55);backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%)}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header,.site-header.has-promo{background:rgba(250,249,253,.94)}
}
@media(prefers-reduced-transparency:reduce){
  .site-header,.site-header.has-promo{background:#faf9fd;backdrop-filter:none;-webkit-backdrop-filter:none}
}
.site-header .promo-eyebrow{color:#51445f}
.site-header .promo-note{color:#55515b}
.site-header .lessons-menu summary{color:#4432ad}

/* Participant mark sits below the left edge of the closing signature. */
.footer-signature{padding-bottom:18px}
.footer-affiliation{display:flex;justify-content:flex-start;padding:0 0 24px}
.footer-affiliation .footer-skolkovo{padding:0}

/* Current section in the shared public navigation. */
.site-header nav>a[aria-current]{color:var(--accent)}

/* Public business identity, matching the existing site documents and footer. */
.site-footer .footer-legal{margin:24px 0 0;color:var(--muted);font-size:11px;line-height:1.7;overflow-wrap:anywhere}
