/* =================================== */
/* =================================== */
/* =================================== */
/* D. O. 2026 */
/* =====OCTOBER 2026 For Statoplan =====*/
/* ========== rules page ============== */
/* =================================== */
/* HTML CSS JS GSAP */
/* =================================== */
/* root styles (fonts, tokens, container) are shared: /assets/mainpage/css/root.css */
/* this file is only for this page, edit it freely */
/* =================================== */
/* 01. Header Section (logo + path) */
/* 02. Page Hero */
/* 02a. Shared: card hover, section heading */
/* 03. Document layout (contents + text) */
/* 04. Document text */
/* 07. More links */
/* 08. Footer Section */
/* 09. Cookie Banner */
/* 10. Fab button (overrides for /assets/mainpage/fabbutton) */
/* 11. Motion */
/* every section has its own "Responsive Start / End" block right after it */
/* tablet + phone (<=1024): blocks turn flat, like on the main page          */
/* =================================== */


/* 01. Header Section Start */
/* logo; the path (breadcrumbs) is shown above the page title (02. Page Hero) */
header{
    position: relative;
    z-index: 2;
    padding-top: 36px;
}

.header__wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.header__logo-link{
    display: block;
    flex-shrink: 0;
}

.header__logo{
    width: 194px;
    height: auto;
}

.crumbs__list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    row-gap: 6px;
    list-style: none;
}

.crumbs__item{
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.crumbs__item + .crumbs__item::before{
    content: "/";
    margin: 0 12px;
    color: #4A4F56;
    font-weight: 400;
}

.crumbs__link{
    position: relative;
    transition: color .25s ease;
}

.crumbs__link::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.crumbs__link:hover::after{
    transform: scaleX(1);
}

.crumbs__link--home{
    color: var(--color-yellow);
}

.crumbs__link--section{
    color: var(--color-blue);
}

.crumbs__current{
    color: var(--color-white);
}
/* 01. Header Section End */

/* 01. Header Section Responsive Start */
@media (max-width: 1024px) {
    header{ padding-top: 28px; }
    .header__logo{ width: 170px; }
    .crumbs__item{ font-size: 12px; letter-spacing: 1px; }
    .crumbs__item + .crumbs__item::before{ margin: 0 9px; }
}

@media (max-width: 767px) {
    header{ padding-top: 22px; }
    .header__wrap{ flex-direction: column; align-items: flex-start; gap: 18px; }
    .header__logo{ width: 150px; }
    .crumbs__list{ justify-content: flex-start; }
    .crumbs__item{ font-size: 11px; letter-spacing: .6px; }
    .crumbs__item + .crumbs__item::before{ margin: 0 8px; }
    .crumbs__item:last-child{ white-space: normal; }
}
/* 01. Header Section Responsive End */


/* 02. Page Hero Start */
.page-hero{
    padding-top: 64px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--color-line);
}

.page-hero__prompt{
    color: var(--color-text-dim);
    font-size: 13px;
    line-height: 20px;
    letter-spacing: .4px;
}

.page-hero__title{
    max-width: 1100px;
    margin-top: 22px;
    color: var(--color-white);
    font-size: 50px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .3px;
}

.page-hero__sub{
    margin-top: 16px;
    color: var(--color-text-soft);
    font-size: 18px;
    line-height: 1.6;
}

.page-hero__meta{
    margin-top: 22px;
    color: var(--color-text-dim);
    font-size: 12px;
    line-height: 19.2px;
    letter-spacing: 1.1px;
}
/* 02. Page Hero End */

/* 02. Page Hero Responsive Start */
@media (max-width: 1280px) {
    .page-hero__title{ font-size: 44px; }
}

@media (max-width: 1024px) {
    .page-hero{ padding-top: 48px; padding-bottom: 40px; }
    .page-hero__title{ font-size: 38px; }
}

@media (max-width: 767px) {
    .page-hero{ padding-top: 36px; padding-bottom: 32px; }
    .page-hero__prompt{ font-size: 12px; }
    .page-hero__title{ margin-top: 14px; font-size: 27px; line-height: 1.2; }
    .page-hero__sub{ font-size: 15px; }
}

@media (max-width: 380px) {
    .page-hero__title{ font-size: 24px; }
}
/* 02. Page Hero Responsive End */


/* 02a. Shared: card hover, section heading Start */
.card-hover{
    position: relative;
}

.card-hover::after{
    content: "";
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -1px;
    height: 2px;
    z-index: 2;
    pointer-events: none;
    background: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}

.card-hover:hover::after{
    transform: scaleX(1);
}

.sec-head{
    display: flex;
    align-items: center;
    gap: 12px;
}

.sec-head__num{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 37px;
    height: 29px;
    padding: 0 9px;
    background: var(--color-white);
    color: var(--color-ink-page);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.sec-head__title{
    color: var(--color-white);
    font-size: 22px;
    font-weight: 800;
    line-height: 26.4px;
    letter-spacing: .2px;
}
/* 02a. Shared End */

/* 02a. Shared Responsive Start */
@media (max-width: 1024px) {
    .card-hover::after{ display: none; }
    .sec-head__num{ display: none; }
    .sec-head__title{ font-size: 24px; line-height: 1.25; }
}

@media (max-width: 767px) {
    .sec-head__title{ font-size: 19px; }
}
/* 02a. Shared Responsive End */

/* 03. Document layout Start */
/* contents on the left (sticky), the text in a card on the right */
.doc__grid{
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.doc--plain .doc__grid{
    grid-template-columns: minmax(0, 900px);
}

/* the contents column rides along with the screen while the text is read */
main{
    overflow: clip;                 /* root.css: hidden — that would switch sticky off */
}

.doc__aside{
    position: sticky;
    top: 24px;
    z-index: 5;
    align-self: start;
}

.toc{
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}

.toc__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-text-dim);
    font-size: 11px;
    letter-spacing: 1.6px;
    cursor: default;
}

.toc__count{
    color: var(--color-yellow);
}

.toc__sign{
    display: none;
}

.toc__list{
    max-height: calc(100vh - 120px);
    padding: 10px 0;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #4A4F56 transparent;
}

.toc__link{
    display: flex;
    gap: 10px;
    padding: 7px 20px;
    color: #B5BCC0;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .4px;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.toc__link b{
    flex-shrink: 0;
    color: var(--color-text-dim);
    font-weight: 400;
}

.toc__link:hover{
    color: var(--color-white);
}

.toc__link.is-active{
    color: var(--color-white);
    background: rgba(247, 181, 0, .06);
    box-shadow: inset 2px 0 0 var(--color-yellow);
}

.toc__link.is-active b{
    color: var(--color-yellow);
}

.doc__body{
    min-width: 0;
    padding: 44px 52px 52px;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}
/* 03. Document layout End */

/* 03. Document layout Responsive Start */
@media (max-width: 1280px) {
    .doc__grid{ grid-template-columns: 260px minmax(0, 1fr); }
    .doc__body{ padding: 36px 36px 44px; }
}

@media (max-width: 1024px) {
    /* contents become a fold-out list above the text, the text goes flat */
    .doc__grid,
    .doc--plain .doc__grid{ grid-template-columns: 1fr; gap: 28px; }
    /* the folded contents bar sticks to the top of the screen while reading */
    .doc__aside{ top: 0; margin: 0 -24px; }
    .toc{ border-left: 0; border-right: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
    .toc__head{ cursor: pointer; border-bottom: 0; padding: 0 24px; font-size: 12px; }
    .toc__link{ padding-left: 24px; padding-right: 24px; }
    .toc.is-open .toc__list{ max-height: 60vh; overflow-y: auto; }
    .toc__sign{ display: inline; color: var(--color-yellow); }
    .toc__list{ display: none; max-height: none; border-top: 1px solid var(--color-line); }
    .toc.is-open .toc__list{ display: block; }
    .toc__link{ font-size: 12px; padding-top: 8px; padding-bottom: 8px; }
    .doc__body{ padding: 0; background: none; border: 0; }
}

@media (max-width: 767px) {
    .doc__aside{ margin: 0 -16px; }
    .toc__head{ padding: 0 16px; }
    .toc__link{ padding: 8px 16px; }
}
/* 03. Document layout Responsive End */


/* 04. Document text Start */
.doc__body > :first-child{
    margin-top: 0;
}

.doc__h2{
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 48px;
    padding-top: 30px;
    border-top: 1px solid var(--color-line);
    color: var(--color-white);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .2px;
    scroll-margin-top: 24px;
}

.doc__body > .doc__h2:first-child{
    padding-top: 0;
    border-top: 0;
}

.doc__num{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 37px;
    height: 29px;
    margin-top: -1px;
    padding: 0 9px;
    background: var(--color-white);
    color: var(--color-ink-page);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.doc__body h3{
    margin-top: 30px;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    scroll-margin-top: 24px;
}

.doc__body h3::before{
    content: ">\00a0";
    color: var(--color-yellow);
}

.doc__sub{
    color: var(--color-yellow);
}

.doc__body p{
    margin-top: 14px;
    color: #D0D5DA;
    font-size: 15px;
    line-height: 1.75;
}

.doc__body ul{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    list-style: none;
}

.doc__body li{
    position: relative;
    padding-left: 22px;
    color: #D0D5DA;
    font-size: 15px;
    line-height: 1.7;
}

.doc__body li::before{
    content: ">";
    position: absolute;
    left: 0;
    color: var(--color-yellow);
}

.doc__body strong{
    color: var(--color-white);
    font-weight: 700;
}

.doc__body a{
    color: var(--color-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.doc__body a:hover{
    color: var(--color-yellow);
}
/* 04. Document text End */

/* 04. Document text Responsive Start */
@media (max-width: 1024px) {
    .doc__h2{ margin-top: 40px; padding-top: 26px; }
    .doc__h2, .doc__body h3{ scroll-margin-top: 72px; }   /* below the sticky contents bar */
}

@media (max-width: 767px) {
    .doc__h2{ gap: 10px; margin-top: 34px; padding-top: 22px; font-size: 16.5px; }
    .doc__num{ min-width: 32px; height: 25px; font-size: 11px; }
    .doc__body h3{ margin-top: 24px; font-size: 15px; }
    .doc__body p,
    .doc__body li{ font-size: 14px; line-height: 1.7; }
    .doc__body li{ padding-left: 18px; }
}
/* 04. Document text Responsive End */

/* 07. More links Start */
/* "читайте также" at the bottom: keeps the pages connected to each other */
.more__box{
    padding: 28px;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
}

.more__line{
    display: block;
    height: 1px;
    margin-top: 18px;
    background: var(--color-line);
}

.more__rows{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    margin-top: 8px;
}

.more__row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 45px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-line);
}

.more__row-t{
    color: var(--color-white);
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: .2px;
    transition: transform .25s ease, color .25s ease;
}

.more__row-t i{
    color: var(--color-yellow);
}

.more__row-go{
    flex-shrink: 0;
    color: var(--color-blue);
    font-size: 13px;
    transition: transform .25s ease;
}

.more__row:hover .more__row-t{
    color: var(--color-yellow);
    transform: translateX(6px);
}

.more__row:hover .more__row-go{
    transform: translateX(4px);
}

.more__back{
    display: inline-flex;
    align-items: center;
    min-height: 37.6px;
    margin-top: 24px;
    padding: 2px 14px 0;
    border: 1px solid var(--color-yellow);
    color: var(--color-yellow);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: 1.1px;
    transition: background-color .25s ease, color .25s ease;
}

.more__back:hover{
    background: var(--color-yellow);
    color: #000;
}
/* 07. More links End */

/* 07. More links Responsive Start */
@media (max-width: 1024px) {
    .more{ border-top: 1px solid var(--color-line); padding-top: 40px; }
    .more__box{ padding: 0; background: none; border: 0; }
    .more__line{ display: none; }
    .more__rows{ grid-template-columns: 1fr; margin-top: 18px; }
    .more__row{ justify-content: flex-start; min-height: 0; padding: 3px 0; border: 0; }
    .more__row-t{ font-size: 16px; line-height: 26px; }
    .more__row-t i{ color: var(--color-text-dim); font-weight: 400; }
    .more__row-go{ display: none; }
    .more__row:hover .more__row-t{ transform: none; }
    .more__back{ min-height: 0; margin-top: 18px; padding: 0; border: 0; font-size: 16px; letter-spacing: .2px; }
    .more__back:hover{ background: none; color: #FFC52E; }
}

@media (max-width: 767px) {
    .more{ padding-top: 34px; }
    .more__row-t, .more__back{ font-size: 14px; line-height: 22px; letter-spacing: 0; }
}
/* 07. More links Responsive End */


/* 08. Footer Section Start */
.footer{
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-top: 1px solid var(--color-line);
    background: var(--color-ink-footer);
}

.footer__top{
    display: grid;
    grid-template-columns: 416fr 290.66fr 290.67fr 250.67fr;
    padding-top: 56px;
}

.footer__col-main{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__logo svg{
    width: 160px;
    height: auto;
}

.footer__tagline{
    margin-top: 20px;
    color: var(--color-white);
    font-size: 14px;
    line-height: 22.4px;
}

.footer__col-title{
    color: var(--color-text-dim);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: 1.6px;
}

.footer__col-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 23px;
}

.footer__link{
    color: var(--color-white);
    font-size: 14px;
    line-height: 22.4px;
    transition: color .2s ease, transform .2s ease;
}

.footer__link span{
    color: var(--color-text-dim);
    transition: color .2s ease;
}

.footer__link:hover{
    color: var(--color-yellow);
    transform: translateX(4px);
}

.footer__link:hover span{
    color: var(--color-yellow);
}

/* legal text + big outlined STRATOPLAN with the yellow block cursor */
.footer__mid{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 21px;
    padding-bottom: 33px;
}

.footer__legal{
    flex-shrink: 0;
    width: 292px;
    color: var(--color-text-dim);
    font-size: 12px;
    line-height: 22.4px;
}

.footer__brand{
    display: flex;
    align-items: center;
    font-size: min(149.3px, 10.2vw);
    user-select: none;
}

.footer__brand-text{
    color: transparent;
    -webkit-text-stroke: 1px var(--color-line-brand);
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -.015em;
    white-space: nowrap;
}

.footer__brand-cursor{
    flex-shrink: 0;
    width: .42em;
    height: .72em;
    margin-left: .045em;
    background: var(--color-yellow);
    box-shadow: 0 0 30px 4px rgba(247, 181, 0, .3);
    animation: amBlink 1.1s steps(1) infinite;
}

.footer__bottom{
    border-top: 1px solid var(--color-line);
}

.footer__bottom-in{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 46.59px;
}

.footer__copy{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-dim);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: 1.2px;
}

.footer__dot{
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--color-blue);
    box-shadow: 0 0 8px 2px rgba(46, 184, 255, .55);
    animation: amPulse 2.4s ease-in-out infinite;
}

.footer__up{
    color: var(--color-white);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    transition: color .2s ease;
}

.footer__up:hover{
    color: var(--color-yellow);
}
/* 08. Footer Section End */

/* 08. Footer Section Responsive Start */
@media (max-width: 1280px) {
    .footer__legal{ width: 260px; font-size: 11px; line-height: 20px; }
    .footer__brand{ font-size: 9.6vw; }
}

@media (max-width: 1024px) {
    /* reference: "БЫСТРЫЕ ССЫЛКИ: [ ... ] [ ... ]" in one flow */
    .footer__top{ display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 40px; }
    .footer__col-main{ width: 100%; margin-bottom: 26px; }
    .footer__col:not(.footer__col-main){ display: contents; }
    .footer__col-title{ display: none; }
    .footer__col-content{ display: contents; }
    .footer__top::before{
        content: "БЫСТРЫЕ ССЫЛКИ:";
        order: 1;
        color: var(--color-text-dim);
        font-size: 13px;
        line-height: 24px;
        letter-spacing: .6px;
    }
    .footer__col-main{ order: 0; }
    .footer__link{ order: 2; font-size: 13px; line-height: 24px; letter-spacing: .6px; text-transform: uppercase; }
    .footer__link span{ display: none; }
    .footer__link::before{ content: "[\00a0"; color: var(--color-text-dim); }
    .footer__link::after{ content: "\00a0]"; color: var(--color-text-dim); }
    .footer__link:hover{ transform: none; }

    .footer__mid{ flex-direction: column-reverse; align-items: flex-start; gap: 24px; margin-top: 36px; padding-bottom: 28px; }
    .footer__legal{ width: auto; max-width: 520px; }
    .footer__brand{ font-size: 13.6vw; }
}

@media (max-width: 767px) {
    .footer__top::before,
    .footer__link{ font-size: 12px; letter-spacing: .3px; }
    .footer__copy, .footer__up{ font-size: 10px; letter-spacing: .6px; }
    .footer__bottom-in{ min-height: 56px; padding: 10px 0; }
    .footer__brand{ font-size: 14.4vw; }
    .footer__bottom-r{ flex-direction: column; align-items: flex-end; gap: 4px; }
    .footer__cookie{ font-size: 10px; letter-spacing: .6px; }
}
/* 08. Footer Section Responsive End */


/* 08a. Footer: cookie settings link */
.footer__bottom-r{
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer__cookie{
    color: var(--color-text-dim);
    font-size: 11px;
    line-height: 17.6px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    transition: color .2s ease;
}

.footer__cookie:hover{
    color: var(--color-yellow);
}
/* 08a. Footer: cookie settings link End */


/* 09. Cookie Banner Start */
/* terminal window in the middle of a dimmed, locked page (until a choice is made); */
/* logic in /assets/mainpage/js/consent.js */
html.cookie-lock,
html.cookie-lock body{
    overflow: hidden;
}

.cookie-backdrop{
    position: fixed;
    inset: 0;
    z-index: 2147483050;            /* above the page and the fab button */
    background: rgba(17, 19, 21, .72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.cookie-backdrop.is-open{
    opacity: 1;
    pointer-events: auto;
}

.cookie{
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 2147483100;
    width: 560px;
    max-width: calc(100% - 48px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: rgba(38, 40, 44, .98);
    border: 1px solid var(--color-line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    opacity: 0;
    transform: translate(-50%, calc(-50% + 16px));
    transition: opacity .35s ease, transform .35s ease;
}

.cookie[hidden]{
    display: none;
}

.cookie.is-open{
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* yellow terminal ticks in the corners (same as the black header plate) */
.cookie::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(#F7B500, #F7B500) left top / 10px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) left top / 1px 10px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 10px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 1px 10px no-repeat;
}

.cookie__bar{
    display: flex;
    align-items: center;
    gap: 4px;
    height: 34px;
    padding: 0 18px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-text-dim);
    font-size: 11px;
    letter-spacing: .4px;
    white-space: nowrap;
}

.cookie__caret{
    flex-shrink: 0;
    width: 7px;
    height: 13px;
    background: var(--color-yellow);
    animation: amBlink 1s steps(1) infinite;
}

.cookie__view{
    padding: 20px 20px 18px;
}

.cookie__view[hidden]{
    display: none;
}

.cookie__title{
    color: var(--color-white);
    font-size: 15px;
    font-weight: 800;
    line-height: 20px;
    letter-spacing: .3px;
}

.cookie__text{
    margin-top: 10px;
    color: #C5CAD0;
    font-size: 12.5px;
    line-height: 1.65;
}

.cookie__text a,
.cookie__opt-text a{
    color: var(--color-blue);
    transition: color .2s ease;
}

.cookie__text a:hover{
    color: var(--color-yellow);
}

/* accept and reject have the same size and level (EU rule: refusing is as easy as accepting) */
.cookie__btns{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.cookie__btn{
    height: 42px;
    padding: 1px 12px 0;
    border: 1px solid #4A4F56;
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}

.cookie__btn:hover{
    border-color: var(--color-yellow);
    color: var(--color-yellow);
}

.cookie__btn--y{
    border-color: var(--color-yellow);
    background: var(--color-yellow);
    color: var(--color-ink-page);
}

.cookie__btn--y:hover{
    background: #FFC52E;
    color: var(--color-ink-page);
}

.cookie__btn:active{
    transform: translateY(1px);
}

.cookie__link{
    margin-top: 14px;
    color: var(--color-text-dim);
    font-size: 12px;
    letter-spacing: .4px;
    transition: color .2s ease;
}

.cookie__link:hover{
    color: var(--color-yellow);
}

/* settings */
.cookie__list{
    margin-top: 14px;
    border-top: 1px solid var(--color-line);
}

.cookie__opt{
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
}

.cookie__opt-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

label.cookie__opt-head{
    cursor: pointer;
}

.cookie__opt-name{
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
}

.cookie__opt-name::before{
    content: ">\00a0";
    color: var(--color-yellow);
}

.cookie__opt-always{
    color: var(--color-yellow);
    font-size: 10.5px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.cookie__opt-text{
    margin-top: 6px;
    color: var(--color-text-dim);
    font-size: 11.5px;
    line-height: 1.6;
}

/* switch */
.cookie__switch-in{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cookie__switch{
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 20px;
    border: 1px solid #4A4F56;
    transition: border-color .25s ease;
}

.cookie__switch::before{
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 12px;
    height: 12px;
    background: var(--color-text-dim);
    transition: transform .25s ease, background-color .25s ease;
}

.cookie__switch-in:checked + .cookie__switch{
    border-color: var(--color-yellow);
}

.cookie__switch-in:checked + .cookie__switch::before{
    background: var(--color-yellow);
    transform: translateX(20px);
}

.cookie__switch-in:focus-visible + .cookie__switch{
    outline: 1px solid var(--color-yellow);
    outline-offset: 2px;
}
/* 09. Cookie Banner End */

/* 09. Cookie Banner Responsive Start */
@media (max-width: 767px) {
    /* phones: a sheet at the bottom of the dimmed screen */
    .cookie{
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        transform: translateY(16px);
    }
    .cookie.is-open{ transform: none; }
    .cookie__view{ padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); }
    .cookie__bar{ padding: 0 16px; }
    .cookie__title{ font-size: 14px; }
    .cookie__text{ font-size: 12px; line-height: 1.6; }
    .cookie__btns{ grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
    .cookie__btn{ height: 44px; }
}

@media (prefers-reduced-motion: reduce){
    .cookie{ transition: none; }
    .cookie__caret{ animation: none; }
}
/* 09. Cookie Banner Responsive End */


/* 10. Fab button Start */
/* the widget itself lives in assets/mainpage/fabbutton (shared, not edited);  */
/* its css is printed inline after this file, so every rule here starts with   */
/* "body" to win. Look: terminal window, square, yellow accent like the page.  */
body .fab{
    --fab-accent: #F7B500 !important;       /* inline var from fab.php is overridden */
    --fab-accent-rgb: 247 181 0 !important;
    font-family: var(--font-main);
    color: var(--color-white);
}

body .fab-backdrop{
    background: rgba(17, 19, 21, .55);
}

/* toggle: dark square with yellow ticks */
body .fab__toggle,
body .fab.is-light .fab__toggle{
    width: 56px;
    height: 56px;
    border-radius: 0;
    color: var(--color-yellow);
    background-color: rgba(38, 40, 44, .92);
    background-image: none;
    border: 1px solid var(--color-line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

body .fab__toggle::after{
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        linear-gradient(#F7B500, #F7B500) left top / 8px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) left top / 1px 8px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 8px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 1px 8px no-repeat;
}

body .fab__toggle:hover{
    transform: translateY(-2px);
    border-color: var(--color-yellow);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .55);
}

body .fab__toggle:focus-visible{
    outline: 1px solid var(--color-yellow);
    outline-offset: 3px;
}

/* square pulse instead of the round one */
body .fab__toggle::before{
    inset: -5px;
    border-radius: 0;
    border: 1px solid rgba(247, 181, 0, .6);
}

body .fab__icon{
    width: 24px;
    height: 24px;
}

body .fab__icon svg{
    stroke-width: 1.6;
}

body .fab__dot,
body .fab.is-light .fab__dot{
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 0;
    background: var(--color-yellow);
    box-shadow: 0 0 8px 2px rgba(247, 181, 0, .45);
    animation: amBlink 1.1s steps(1) infinite;
}

/* hint bubble: small terminal line */
body .fab__bubble{
    padding: 12px 38px 12px 14px;
    border-radius: 0;
    background: var(--color-ink-card);
    border: 1px solid var(--color-line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

body .fab__bubble-title{
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2px;
}

body .fab__bubble-title::before{
    content: ">\00a0";
    color: var(--color-yellow);
}

body .fab__bubble-sub{
    margin-top: 4px;
    color: var(--color-text-dim);
    font-size: 12px;
}

body .fab__bubble-close{
    color: var(--color-text-dim);
}

body .fab__bubble-close:hover{
    color: var(--color-yellow);
}

/* menu panel */
body .fab__panel{
    width: 300px;
    padding: 0 0 8px;
    border-radius: 0;
    background: rgba(38, 40, 44, .97);
    border: 1px solid var(--color-line);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
}

body .fab__panel::after{
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        linear-gradient(#F7B500, #F7B500) left top / 10px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) left top / 1px 10px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 10px 1px no-repeat,
        linear-gradient(#F7B500, #F7B500) right bottom / 1px 10px no-repeat;
}

body .fab__title{
    margin-bottom: 8px;
    padding: 0 16px;
    height: 34px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-text-dim);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.2px;
}

body .fab__title::after{
    content: "";
    width: 7px;
    height: 13px;
    margin-left: 6px;
    background: var(--color-yellow);
    animation: amBlink 1s steps(1) infinite;
}

body .fab__list{
    gap: 0;
    padding: 0 8px;
}

body .fab__item{
    gap: 12px;
    padding: 9px 8px;
    border-radius: 0;
}

body .fab__item:hover,
body .fab__item:focus-visible{
    background: rgba(247, 181, 0, .06);
}

body .fab__ico,
body .fab__item--ghost .fab__ico{
    flex-basis: 38px;
    height: 38px;
    border-radius: 0;
    background: var(--color-ink-input);
    border: 1px solid var(--color-line);
    color: var(--color-yellow);
}

body .fab__ico svg{
    width: 18px;
    height: 18px;
}

body .fab__item:hover .fab__ico,
body .fab__item:focus-visible .fab__ico,
body .fab__item--ghost:hover .fab__ico,
body .fab__item--ghost:focus-visible .fab__ico{
    transform: none;
    border-color: var(--color-yellow);
    background: var(--color-yellow);
    color: var(--color-ink-page);
}

body .fab__label{
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

body .fab__sub{
    color: var(--color-text-dim);
    font-size: 11.5px;
    letter-spacing: .2px;
}

body .fab__item:hover .fab__label{
    color: var(--color-yellow);
}
/* 10. Fab button End */

/* 10. Fab button Responsive Start */
@media (max-width: 480px) {
    body .fab__toggle,
    body .fab.is-light .fab__toggle{ width: 52px; height: 52px; }
    body .fab__panel{ width: min(300px, calc(100vw - 32px)); }
}

@media (prefers-reduced-motion: reduce){
    body .fab__dot,
    body .fab__title::after{ animation: none; }
}
/* 10. Fab button Responsive End */

/* 11. Motion Start */
/* anti-flash: [data-a] blocks stay hidden until js/app.js has set their start state */
html.am-js [data-a]{
    visibility: hidden;
}

.am-caret{
    display: inline-block;
    width: .58em;
    height: 1.05em;
    margin-left: .06em;
    vertical-align: -.16em;
    background: var(--am-yellow);
    animation: amBlink 1s steps(1) infinite;
}

.am-caret.is-typing{
    animation: none;
}

@keyframes amBlink{
    0%, 100%{ opacity: 1; }
    50%{ opacity: 0; }
}

@keyframes amPulse{
    0%, 100%{ box-shadow: 0 0 8px 2px rgba(46, 184, 255, .55); opacity: 1; }
    50%{ box-shadow: 0 0 14px 4px rgba(46, 184, 255, .25); opacity: .6; }
}

@media (prefers-reduced-motion: reduce){
    .am-caret,
    .footer__brand-cursor,
    .footer__dot{
        animation: none;
    }
}
/* 11. Motion End */


/* =================================== */
/* =================================== */
/* =================================== */
/* D. O. 2026 */
/* =====OCTOBER 2026 For Statoplan =====*/
/* =================================== */
/* =================================== */
/* HTML CSS JS GSAP */
/* =================================== */
