@charset "UTF-8";

@import url("reset.css?v1");
@import url("fonts.css");
@import url("swiper-bundle.min.css");

:root {
  --app-height: 100vh;
  --headroom-height: auto;

  --c0: #f7f7f7;
  --c1: #1f1132;
  --c2: #ffffff;
  --c3: #0166ff;
  --c4: rgba(31, 17, 50, 0.8);
  --c5: #00d6ce;
  --c6: rgba(31, 17, 50, 0.2);
  --c7: rgba(31, 17, 50, 0.5);
  --c8: #2b64f6;

  --g1: linear-gradient(to right, var(--c5), var(--c3));

  --wr: 110rem;
  --awr: calc(-1 * var(--wr));

  --gap: 20rem;
  --sl: max(1px, 1rem);

  --br1: 36rem;
  --br2: 32rem;
  --br3: 60rem;
  --br4: 50rem;

  --f-xs: max(12px, 14rem);
  --f-s: max(14px, 18rem);
  --f-d: max(14px, 20rem);
  --f-m: max(14px, 24rem);
  --f-b: max(14px, 32rem);
  --f-l: max(14px, 42rem);
  --f-xl: max(14px, 50rem);
  --f-xxl: max(14px, 70rem);

  --mw: 1920px;

  --btn: max(48px, 60rem);
}

/* globals */

@media screen {
  html {
    font-size: 0.052vw;
    background-color: var(--c0);
  }

  .document {
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    font-size: var(--f-d);
    line-height: 1.2;
    color: var(--c1);
    background-color: var(--c0);
    letter-spacing: normal;
  }

  .popup-active {
  }

  .wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--wr);
    max-width: var(--mw);
  }

  .preloader {
    background-color: var(--c0);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.25s 1s;
    display: flex;
    color: var(--c1);
    will-change: transform;
  }

  .loading {
    pointer-events: none;
  }
  .loading .preloader {
    transition-duration: 0s;
    opacity: 1;
    visibility: visible;
  }

  .icon {
    display: flex;
    max-height: 100%;
    align-items: center;
    justify-content: center;
    line-height: 0;
    max-width: 100%;
    width: auto;
    height: auto;
  }
  .cover,
  .contain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: center;
    pointer-events: none;
  }
  .cover {
    object-fit: cover;
  }
  .contain {
    object-fit: contain;
  }
  .fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  .button {
    display: inline-flex;
    justify-content: center;
    max-width: 100%;
    user-select: none;
    cursor: pointer;
    align-items: center;
    z-index: 1;
    position: relative;
  }
  .button:not(.fill) {
    overflow: hidden;
  }
  .button-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 0 0.1em;
  }
  .button-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10rem;
  }
  .button-icon:first-child {
    margin-left: 0;
  }
  .button-icon:last-child {
    margin-right: 0;
  }

  .button__default {
    height: var(--btn);
    border-radius: 999rem;
    padding: 0 24rem;
    border: var(--sl) solid var(--c6);
  }
  .button__default .button-text {
    font-weight: 500;
    font-size: var(--f-s);
  }

  .button__back .button-icon {
    width: 0.5em;
    height: 1em;
    font-size: var(--f-s);
  }
  .button__back .button-text {
    font-weight: 500;
    font-size: var(--f-s);
  }

  .button__wide {
    width: 100%;
  }

  .title {
    line-height: 1.1;
    font-weight: 500;
    width: 100%;
    letter-spacing: -0.06em;
  }
  .title__large {
    font-size: var(--f-xxl);
  }
  .title__default {
    font-size: var(--f-xl);
  }
  .title__medium {
    font-size: var(--f-l);
  }

  .subtitle {
    margin: 40rem 0 0;
    color: var(--c4);
    max-width: 580rem;
  }
  .subtitle a {
    color: var(--c3);
  }

  .container {
    display: flex;
    flex-direction: column;
    min-height: var(--app-height);
  }

  .header {
    margin-bottom: 90rem;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-gap: 50rem;
    align-items: center;
    padding: 20rem 0;
  }
  .topbar-logo {
    max-width: 175rem;
  }
  .topbar-nav ul {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 30rem;
    font-size: var(--f-s);
    font-weight: 500;
  }

  .main {
    margin-top: 0;
    flex: auto;
    display: flex;
    flex-direction: column;
  }

  .section {
    position: relative;
    z-index: 1;
    overflow-x: clip;
    padding-top: 200rem;
  }
  .section:first-child {
    padding-top: 0;
  }
  .section:only-child {
    flex: auto;
  }

  .section-header {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .section-header:not(:last-child) {
    margin-bottom: 60rem;
  }
  .section-header .subtitle a {
  }

  .footer {
    overflow: hidden;
    margin-top: 200rem;
    padding-bottom: 50rem;
  }
  .footer-grid {
    background-image: var(--g1);
    background-color: var(--c3);
    color: var(--c2);
    margin: 0 -80rem;
    padding: 80rem 80rem 70rem;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0 var(--gap);
    grid-template-areas: "f1 f1 . f2" "f3 f3 . ." "f4 f4 . .";
    display: grid;
    border-radius: var(--br4);
  }
  .f1 {
    grid-area: f1;
    max-width: 230rem;
  }
  .f2 {
    grid-area: f2;
    display: flex;
    justify-content: center;
    font-size: var(--f-s);
  }
  .f2 ul {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 1em;
  }
  .f3 {
    grid-area: f3;
    margin-top: 60rem;
    font-size: var(--f-xs);
    font-weight: 400;
  }
  .f4 {
    grid-area: f4;
    margin-top: 20rem;
    font-size: var(--f-xs);
    font-weight: 400;
  }

  .carousel-buttons {
    display: grid;
    grid-auto-flow: column;
    grid-gap: var(--gap);
  }
  .carousel-button {
    cursor: pointer;
    border-radius: 50%;
    width: max(32px, 36rem);
    height: max(32px, 36rem);
    background-color: var(--c2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .textbox h2 {
    line-height: 1.2;
    font-weight: 500;
    width: 100%;
    letter-spacing: -0.02em;
    font-size: var(--f-b);
    margin: 80rem 0 20rem;
  }
  .textbox h2:first-child {
    margin-top: 0;
  }
  .textbox a {
    text-decoration: underline;
  }
  .textbox ul {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 0.5em;
  }
  .textbox li {
    position: relative;
    padding-left: 1.5em;
  }
  .textbox li::before {
    content: "\2022";
    position: absolute;
    top: 0;
    left: 0;
    width: 1.5em;
    text-align: center;
  }

  .share {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 20rem;
  }
  .share-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max(28px, 32rem);
    height: max(28px, 32rem);
  }
}

/* cards */

@media screen {
  .card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    user-select: none;
  }

  .card-title {
    font-size: var(--f-b);
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  .card-1 .card-header {
    position: relative;
    overflow: hidden;
    display: flex;
    border-radius: var(--br1);
    box-shadow: inset 0 0 0 var(--sl) var(--c6);
  }
  .card-1 .card-header::before {
    content: "";
    flex: none;
    width: 0;
    padding-top: 100%;
  }
  .card-1 .card-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .card-1 .card-media img {
    object-position: top;
  }
  .card-1 .card-content {
    margin: 24rem 0 auto;
  }
  .card-1 .card-subtitle {
    margin-top: 8rem;
    color: var(--c7);
    max-width: 400rem;
  }
  .card-1 .card-footer {
    margin-top: 24rem;
  }

  .card-2 {
    flex-direction: row;
  }
  .card-2 .card-header {
    position: relative;
    overflow: hidden;
    display: flex;
    flex: none;
    border-radius: var(--br3);
    width: 50%;
    z-index: 1;
  }
  .card-2 .card-header::before {
    content: "";
    flex: none;
    width: 0;
    padding-top: 60%;
  }
  .card-2 .card-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .card-2 .card-inner {
    order: -1;
    background-color: var(--c2);
    flex: 1;
    padding: 70rem;
    border-radius: var(--br3) 0 0 var(--br3);
    margin-right: calc(-1 * var(--br3));
    padding-right: calc(70rem + var(--br3));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .card-2 .card-content {
    max-width: 650rem;
    margin-bottom: auto;
  }
  .card-2 .card-pretitle {
    color: var(--c7);
    font-weight: 500;
    font-size: var(--f-m);
    letter-spacing: -0.06em;
    margin-bottom: 40rem;
  }
  .card-2 .card-footer {
    margin-top: 50rem;
  }
}

/* sections */

@media screen {
  .s1-2 {
    text-align: center;
    max-width: 1320rem;
    margin: 0 auto;
  }
  .s1-3 {
    margin-top: 100rem;
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 60rem;
  }
  .s1-3::before {
    content: "";
    flex: none;
    width: 0;
    padding-top: 50%;
  }

  .s2-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--gap);
    align-items: flex-start;
  }
  .s2-1-2 {
    color: var(--c4);
    max-width: 650rem;
  }
  .s2-2 {
    margin-top: 90rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--gap);
    counter-reset: index;
  }
  .s2-3 {
    background-color: var(--c2);
    padding: 40rem;
    border-radius: var(--br4);
    min-height: 420rem;
  }
  .s2-3::before {
    content: counter(index, decimal-leading-zero);
    counter-increment: index;
    margin-bottom: 80rem;
    width: max(64px, 72rem);
    height: max(64px, 72rem);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--c0);
  }
  .s2-3-1 {
    max-width: 610rem;
    color: var(--c4);
  }
  .s2-3-1 a {
    color: var(--c3);
    text-decoration: underline;
  }

  .s3-1 {
    text-align: center;
  }
  .s3-1 .subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .s3-2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 70rem var(--gap);
  }
  .s3-2:not(:first-child) {
    margin-top: 100rem;
  }
  .s3-3 {
    position: relative;
  }
  .s3-3-1 {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    border-radius: var(--br2);
  }
  .s3-3-1::before {
    content: "";
    flex: none;
    width: 0;
    padding-top: 100%;
  }
  .s3-3-2 {
    margin-top: 1em;
    font-size: var(--f-m);
    letter-spacing: -0.06em;
    font-weight: 500;
  }

  .s4-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: var(--gap);
  }

  .s5-1 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: var(--gap);
  }
  .s5-2 {
    grid-column: 2/5;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 0;
  }
  .s5-3 {
    position: relative;
    display: flex;
    border-radius: var(--br1);
    overflow: hidden;
  }
  .s5-3::before {
    content: "";
    flex: none;
    width: 0;
    padding-top: 120%;
  }
  .s5-4 {
    background-color: var(--c2);
    padding: 32rem;
    border-radius: var(--br2);
    grid-column: 2/4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .s5-5-1 {
    font-weight: 500;
  }
  .s5-5-2 {
    margin-top: 4rem;
    color: var(--c7);
  }
  .s5-6 {
    margin-top: 50rem;
    max-width: 480rem;
  }
  .s5-6-1 {
    font-weight: 500;
  }
  .s5-6-2 {
    margin-top: 30rem;
  }

  .s6-2 {
    margin: 0 calc(-1 * var(--sl));
  }
  .s6-2 .swiper-slide {
    padding: 0 var(--sl);
  }
  .s6-3 {
    margin-top: 60rem;
    display: flex;
    justify-content: center;
  }

  .s7-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: -10rem;
    position: relative;
  }
  .s7-1::before {
    transform: translate(-90%, -40%);
    background-image: radial-gradient(closest-side, var(--c5), transparent);
  }
  .s7-1::after {
    transform: translate(-10%, -35%);
    background-image: radial-gradient(closest-side, var(--c8), transparent);
  }
  .s7-1::before,
  .s7-1::after {
    content: "";
    position: absolute;
    height: 100%;
    aspect-ratio: 1/1;
    top: 50%;
    left: 50%;
    z-index: -1;
    filter: blur(80px);
  }
  .s7-2 {
    flex: 1;
    max-width: 400rem;
    background-color: var(--c2);
    margin: 10rem;
    border-radius: var(--br4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70rem 20rem;
    flex-direction: column;
    text-align: center;
    position: relative;
  }
  .s7-2-1 {
    font-size: var(--f-xxl);
    font-weight: 500;
    letter-spacing: -0.06em;
  }
  .s7-2-2 {
    margin-top: 10rem;
    color: var(--c4);
    line-height: 1.1;
    font-size: var(--f-s);
    font-weight: 500;
    padding: 0 50rem;
  }

  .s8-2 {
    margin-bottom: 30rem;
  }
  .s8-3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-gap: 80rem var(--gap);
    grid-template-areas: "a5 a4" "a5 a6";
  }
  .s8-4 {
    grid-area: a4;
  }
  .s8-4-2 {
    margin-top: 30rem;
    font-size: var(--f-m);
    line-height: 1.3;
    letter-spacing: -0.06em;
    font-weight: 500;
  }
  .s8-5 {
    grid-area: a5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: var(--gap);
  }
  .s8-5-1 {
    grid-column: 1/4;
    position: relative;
    box-shadow: inset 0 0 0 var(--sl) var(--c6);
    overflow: hidden;
    display: flex;
    border-radius: var(--br1);
  }
  .s8-5-1::before {
    content: "";
    flex: none;
    width: 0;
    padding-top: 110%;
  }
  .s8-5-1 img {
    object-position: top;
  }
  .s8-6 {
    grid-area: a6;
    max-width: 800rem;
  }

  .s9-1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 100rem var(--gap);
  }
  .s9-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .s9-4-1 {
    font-weight: 500;
    font-size: var(--f-s);
    margin-bottom: 40rem;
  }
  .s9-2 {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1100rem 1fr;
    align-items: baseline;
    grid-gap: 50rem;
  }
  .s9-5 {
    grid-column: 1/-1;
    position: relative;
    overflow: hidden;
    display: flex;
    border-radius: var(--br3);
  }
  .s9-5::before {
    content: "";
    flex: none;
    width: 0;
    padding-top: 40%;
  }
  .s9-6 {
    grid-column: 2/4;
  }
  .s9-7 {
    margin-bottom: 56rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .s9-7-1 {
    margin-right: 20rem;
    opacity: 0.4;
    user-select: none;
  }
  .s9-8-1 {
    margin-bottom: 56rem;
    text-align: center;
  }
  .s9-8-1 .title {
    line-height: 1.2;
  }

  .s10-2 .swiper {
    margin-left: calc(-1 * var(--gap));
  }
  .s10-2 .swiper-slide {
    padding-left: var(--gap);
  }
  .s10-3 {
    margin-top: 60rem;
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 1023.98px) {
  :root {
    --wr: 16rem;

    --gap: 12rem;

    --f-xs: 12rem;
    --f-s: 14rem;
    --f-d: 14rem;
    --f-m: 14rem;
    --f-b: 20rem;
    --f-l: 20rem;
    --f-xl: 28rem;
    --f-xxl: 32rem;

    --mw: 680rem;

    --br1: 24rem;
    --br2: 24rem;
    --br3: 24rem;
    --br4: 24rem;

    --btn: 45rem;
  }

  html {
    font-size: 1px;
  }

  .desktop {
    display: none !important;
  }

  .subtitle {
    margin-top: 24rem;
  }

  .header {
    margin-bottom: 48rem;
    position: sticky;
    top: 0;
    background-color: var(--c0);
    z-index: 999;
  }
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 16rem 0;
    position: relative;
    z-index: 2;
  }
  .topbar-logo {
    max-width: 124rem;
    position: relative;
    background-image: url(../img/mg-logo-white-2.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  .topbar-logo img {
    transition: all 0.25s;
  }
  .topbar-nav {
    display: none;
  }

  .topbar-menu {
    position: relative;
    width: 56rem;
    height: 56rem;
    background-color: var(--c2);
    color: var(--c1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 99;
  }
  .topbar-menu-inner {
    position: relative;
    color: currentColor;
    height: var(--sl);
    width: 24rem;
  }
  .topbar-menu-inner::before,
  .topbar-menu-inner::after {
    content: "";
    position: absolute;
    background-color: currentColor;
    height: 100%;
    width: 100%;
    left: 0;
    transition: all 0s;
  }
  .topbar-menu-inner::before {
    bottom: 4rem;
  }
  .topbar-menu-inner::after {
    top: 4rem;
  }

  .footer {
    padding-bottom: 0;
    margin-top: 96rem;
  }
  .footer-grid {
    margin: 0 var(--awr);
    padding: 32rem var(--wr);
    border-radius: 24rem 24rem 0 0;
    grid-template-columns: auto;
    grid-gap: 0;
    grid-template-areas: "f1" "f2" "f3" "f4";
  }
  .f1 {
    max-width: 124rem;
  }
  .f2 {
    justify-content: flex-start;
    margin-top: 72rem;
  }
  .f3 {
    margin-top: 48rem;
  }
  .f4 {
    margin-top: 24rem;
  }

  .subtitle br {
    display: none;
  }

  .textbox h2 {
    margin: 48rem 0 16rem;
  }

  .card-1 .card-content {
    margin-top: 16rem;
  }

  .card-2 {
    flex-direction: column;
  }
  .card-2 .card-inner {
    margin: 0;
    padding: 32rem;
    border-radius: var(--br1);
    min-height: calc(100vw - 2 * var(--wr));
  }
  .card-2 .card-header {
    margin-top: 12rem;
    width: 100%;
  }
  .card-2 .card-pretitle {
    margin-bottom: 12rem;
  }

  .section {
    padding-top: 96rem;
  }

  .section-header {
    align-items: flex-start;
    text-align: left;
  }
  .section-header:not(:last-child) {
    margin-bottom: 24rem;
  }

  .s1-2 {
    margin: 0;
    text-align: left;
  }
  .s1-3 {
    margin-top: 40rem;
    border-radius: 24rem;
  }
  .s1-3::before {
    padding-top: 100%;
  }

  .s2-1 {
    grid-template-columns: auto;
    grid-gap: 24rem;
  }
  .s2-2 {
    margin-top: 48rem;
    grid-template-columns: auto;
  }
  .s2-3 {
    border-radius: 24rem;
    padding: 24rem;
    min-height: 0;
  }
  .s2-3::before {
    width: 56rem;
    height: 56rem;
  }

  .s3-1 {
    text-align: left;
  }
  .s3-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 24rem 16rem;
  }
  .s3-2:not(:first-child) {
    margin-top: 48rem;
  }
  .s3-3-1 {
    border-radius: 12rem;
  }

  .s4-1 {
    grid-template-columns: auto;
    grid-gap: 40rem;
  }

  .s5-1 {
    grid-template-columns: auto;
  }
  .s5-2 {
    grid-column: auto;
    grid-template-columns: auto;
    grid-gap: 12rem;
    grid-template-rows: 1fr 1fr;
  }
  .s5-3 {
    order: 1;
  }
  .s5-3::before {
    padding-top: 100%;
  }
  .s5-4 {
    grid-column: auto;
  }
  .s5-6-2 {
    margin-top: 24rem;
  }

  .s6-3 {
    margin-top: 24rem;
  }

  .s7-1 {
    margin: -6rem;
    flex-direction: column;
  }
  .s7-1::before,
  .s7-1::after {
    height: 50%;
  }
  .s7-2 {
    margin: 6rem;
    padding: 24rem;
    min-height: 200rem;
  }
  .s7-2-2 {
    padding: 0;
    font-size: var(--f-xs);
  }

  .s8-2 {
    margin-bottom: 48rem;
  }
  .s8-3 {
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-gap: 0;
    grid-template-areas: "a4" "a5" "a6";
  }
  .s8-4-2 {
    margin-top: 12rem;
  }
  .s8-5 {
    margin-top: 36rem;
  }
  .s8-5-1 {
    grid-column: 1/-1;
  }
  .s8-5-1::before {
    padding-top: 100%;
  }
  .s8-6 {
    margin-top: 48rem;
  }

  .s9-1 {
    grid-gap: 0;
    grid-template-columns: auto;
  }
  .s9-2 {
    grid-template-columns: auto;
    grid-gap: 48rem;
  }
  .s9-4 {
    align-items: flex-start;
    text-align: left;
  }
  .s9-4-1 {
    margin-bottom: 12rem;
  }
  .s9-5 {
    margin-top: 36rem;
  }
  .s9-5::before {
    padding-top: 100%;
  }
  .s9-6 {
    grid-column: auto;
    margin-top: 48rem;
  }
  .s9-7 {
    margin-bottom: 48rem;
    align-items: flex-start;
    flex-direction: column;
  }
  .s9-7-1 {
    margin-right: 0;
    margin-bottom: 12rem;
  }
  .s9-8-1 {
    margin-bottom: 16rem;
    text-align: left;
  }

  .s10-2 .swiper {
    margin-left: var(--awr);
  }
  .s10-2 .swiper-slide {
    padding-left: var(--wr);
  }
  .s10-3 {
    margin-top: 24rem;
  }

  .popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    background-color: var(--c3);
    color: var(--c2);
    overflow: auto;
    display: flex;
    min-height: var(--app-height);
    transition: transform 0.25s;
    transform: translateY(-110%);
  }
  .popup-inner {
    display: flex;
    flex-direction: column;
    padding: var(--headroom-height) var(--wr) 32rem;
    transition: opacity 0.25s 0.25s;
    opacity: 0;
  }
  .popup-nav {
    margin-bottom: auto;
    flex: auto;
    padding: 48rem 0;
  }
  .popup-nav ul {
    display: grid;
    grid-template-columns: auto;
    grid-gap: var(--gap);
    font-size: var(--f-xxl);
    letter-spacing: -0.06em;
    font-weight: 500;
    line-height: 1.1;
  }
  .popup-footer {
    font-size: var(--f-xs);
    opacity: 0.8;
    display: grid;
    grid-template-columns: auto;
    grid-gap: 48rem;
  }
  .popup-footer ul {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 8rem;
    font-size: var(--f-d);
  }

  .popup-active {
    overflow: hidden;
  }
  .popup-active .header .popup {
    transform: translateY(0);
  }
  .popup-active .header .popup-inner {
    opacity: 1;
  }
  .popup-active .topbar-menu-inner::before {
    bottom: 0;
    transform: rotate(-45deg);
  }
  .popup-active .topbar-menu-inner::after {
    top: 0;
    transform: rotate(45deg);
  }
  .popup-active .topbar-logo img {
    visibility: hidden;
    opacity: 0;
  }
}

@media screen and (min-width: 1024px) {
  .mobile {
    display: none !important;
  }

  .s9-8-2 .textbox p:first-child {
    font-size: var(--f-m);
    line-height: 1.3;
  }
  .s9-8-2 .textbox p:first-child:not(:last-child) {
    margin-bottom: 80rem;
  }
}

@media screen and (min-width: 1920px) {
  html {
    font-size: 1px;
  }
}

/* hover animations */

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .textbox a,
  .topbar-nav a,
  .subtitle a,
  .f2 a,
  .button__back .button-text,
  .share-item {
    transition: opacity 0.25s;
  }

  .textbox a:hover,
  .topbar-nav a:hover,
  .subtitle a:hover,
  .f2 a:hover,
  .button__back:hover .button-text,
  .share-item:hover {
    opacity: 0.5;
  }

  .carousel-button,
  .button__default {
    transition: all 0.15s;
  }

  .carousel-button:hover {
    background-color: var(--c1);
    color: var(--c2);
  }

  .button__default:hover {
    background-color: var(--c1);
    color: var(--c2);
    border-color: var(--c1);
  }

  .card-media,
  .s3-3-1 img {
    transition: transform 0.25s;
    will-change: transform;
  }

  .card-1:hover .card-media {
    transform: scale(1.05);
  }
  .s3-3:hover img {
    transform: scale(1.1);
  }
}
