@media (max-width: 1199px) {
    .site-header .site-main-menu li > a {
        margin: 0 0.9rem;
        font-size: 1.4rem;
    }

    .session-step {
        column-gap: 104px;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 9px;
    }

    /* mobile menu (structure kept from template) */
    .site-header .header-inner .site-nav .menu-wrapper {
        flex-direction: column;
    }

    .toggle-menu {
        position: absolute;
        right: 18px;
        width: 26px;
        top: 50%;
        transform: translateY(-50%);
        display: block;
        height: 24px;
        cursor: pointer;
    }

    .toggle-menu .bar {
        width: 26px;
        height: 2px;
        display: block;
        float: left;
        margin: 3px auto;
        transition: all 0.3s ease-in-out;
    }

    .site-header .header-inner {
        text-align: center;
        padding: 10px 16px;
    }

    .site-header .site-mobile-logo {
        display: block;
        text-align: left;
    }

    .site-nav .site-logo {
        display: none;
    }

    .site-header .site-nav {
        position: fixed;
        width: 300px !important;
        height: 100vh;
        background: var(--surface);
        border-left: 1px solid var(--border);
        top: 0;
        right: -100%;
        display: block !important;
        transition: all 0.5s ease-in-out;
        overflow-y: auto;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
    }

    .site-header .site-nav .site-main-menu {
        display: block;
        width: 100%;
        padding-bottom: 50px;
        text-align: left;
        margin: 0;
    }

    .site-header .site-nav .site-main-menu li {
        padding: 0;
        margin: 0;
    }

    .site-header .site-nav .site-main-menu li > a {
        display: block;
        margin: 0;
        padding: 14px 32px;
        font-weight: 600;
        font-size: 1.7rem;
        color: var(--ink);
    }

    .site-header .site-nav .site-main-menu li > a.active,
    .site-header .site-nav .site-main-menu li > a.current_page {
        color: var(--primary-bright);
    }

    .site-header .site-nav > .btn {
        display: none;
    }

    .sidebar-open .site-header .site-nav {
        right: 0;
    }

    .sidebar-open .menu-wrapper:before {
        opacity: 1;
        visibility: visible;
    }

    .close-menu {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        padding: 26px 24px;
        color: var(--ink-soft);
        cursor: pointer;
    }

    .close-menu span {
        font-size: 15px;
    }

    .site-header {
        margin-top: 12px;
    }

    /* hero stacks */
    .hero {
        padding: 5rem 0 7rem;
    }

    .hero__split {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    .hero__text {
        max-width: 620px;
        margin: 0 auto;
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__cta,
    .hero__facts {
        justify-content: center;
    }

    .hero__rings {
        width: 520px;
        height: 520px;
    }

    /* timeline: rail moves to the left edge, steps stack */
    .session__track::before {
        left: 26px;
        transform: none;
    }

    .session-step {
        display: block;
        padding: 0 0 6rem 76px;
    }

    .session-step:last-child {
        padding-bottom: 0;
    }

    .session-step__mark {
        top: 0;
        left: 0;
        transform: none;
    }

    .session-step__copy,
    .session-step--flip .session-step__copy {
        max-width: 560px;
        margin: 0 0 3.2rem;
        text-align: left;
    }

    .session-step__visual {
        align-items: flex-start;
    }

    .session-step__visual .omni {
        margin: 0;
    }

    .serp-note {
        text-align: left;
    }

    /* rules: intro above the sheet */
    .rules__split {
        grid-template-columns: 1fr;
        gap: 4.8rem;
    }

    .rules__intro {
        position: static;
        max-width: 620px;
    }

    /* closer stacks */
    .closer__inner {
        flex-direction: column;
        gap: 4rem;
        text-align: center;
    }

    .closer__copy .text {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-card {
        min-height: 0;
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .title {
        font-size: 3.8rem;
    }

    .title-big {
        font-size: 4.8rem;
    }

    .section-head__title,
    .rules__title,
    .closer__title {
        font-size: 3.4rem;
    }

    .session,
    .rules {
        padding: 7rem 0;
    }

    .session-step__title {
        font-size: 2.4rem;
    }

    .rule-sheet__row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 2.8rem 0;
    }

    .rule-sheet__key {
        padding-top: 0;
    }

    .footer-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav-wrapper {
        gap: 32px;
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    .container,
    .header-container {
        padding: 0 16px;
    }

    .title-big {
        font-size: 4rem;
    }

    .hero__rings {
        width: 380px;
        height: 380px;
    }

    .omni__bar {
        font-size: 1.6rem;
        padding: 13px 14px;
    }

    .omni__row {
        padding: 8px 14px;
        font-size: 1.45rem;
    }

    .session-step {
        padding-left: 66px;
    }

    /* popup scaled to 260px: cursor tracks the TikTok checkbox */
    .popup-shot,
    .popup-shot img {
        width: 260px;
    }

    .popup-shot__cursor {
        top: 146px;
        left: 233px;
    }

    .site-token {
        width: 68px;
    }

    .ruler__stop {
        font-size: 1.35rem;
    }

    .contact-card {
        padding: 2.8rem 2.4rem;
    }

    .return-to-top.back-top {
        bottom: 5rem;
    }
}

@media (max-width: 480px) {
    .title-big {
        font-size: 3.6rem;
    }

    .btn_main,
    .btn_ghost {
        width: 100%;
    }

    .hero__facts {
        flex-direction: column;
        align-items: center;
    }

    .session__track::before {
        left: 22px;
    }

    .session-step {
        padding-left: 58px;
    }

    .session-step__mark {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .popup-shot,
    .popup-shot img {
        width: 240px;
    }

    .popup-shot__cursor {
        top: 135px;
        left: 215px;
    }

    .omni__hint {
        display: none;
    }

    .closer__ring {
        flex-basis: 170px;
        width: 170px;
        height: 170px;
    }

    .closer__ring svg {
        width: 170px;
        height: 170px;
    }

    .closer__time {
        font-size: 3.2rem;
    }
}
