html,
body {
    background-color: white;
    font-family: "Inter", sans-serif;
    color: black;
    margin: 0;
    padding: 0;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    font-feature-settings: "pnum" on, "lnum" on, "cv01" on, "cv02" on;
}

/* ссылки */

a {
    color: black;
    border-bottom: 3px solid black;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    font-weight: 700;
}

a:hover {
    color: red;
    border-bottom: 3px solid red;
}

b,
strong {
    font-weight: 700;
}

/* elements for authenticated/not-authenticated users */

[data-authenticated="pending"] ._only_not_authenticated,
[data-authenticated="pending"] ._only_authenticated,
[data-authenticated="pending"] #credential_picker_container {
    display: none !important;
}

[data-authenticated="false"] ._only_authenticated {
    display: none !important;
}

[data-authenticated="true"] ._only_not_authenticated,
[data-authenticated="true"] #credential_picker_container {
    display: none !important;
}
/* лейаут */

.Notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    color: #505050;
    padding: 8px 18px 8px 14px;
    border-radius: 10px;
    z-index: 10000;
    opacity: 1;
    border: 1px solid #dedede;
    animation: notifier 1.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: scale(1);
}

@keyframes notifier {
    0% {
        opacity: 0;
        bottom: 0px;
        transform: scale(0.95);
    }

    75% {
        opacity: 0;
        bottom: 0px;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        bottom: 24px;
        transform: scale(1);
    }
}

.Notification:hover {
    border: 1px solid #c8c8c8;
}

.Notification-icon {
    width: 32px;
    padding-right: 12px;
    margin-bottom: -10px;
}

.Notification-description {
    margin: 8px 0 8px 0;
    display: inline-block;
    padding: 0;
    font-weight: normal !important;
}

.MobileSidebar-video {
    position: relative;
    display: none;
    width: 100%;
}

.Layer-wrapper,
.Introduction-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 924px;
    margin: auto;
}

.Layer-wrapper._apps {
    max-width: 1080px;
}

.Layer-wrapper._apps .Layer-title {
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 32px;
}

.Content {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.Sidebar {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 0px 0px 80px 0px;
    box-sizing: border-box;
    background-color: black;
    text-align: center;
    color: white;
}

.Sidebar-video {
    position: relative;
    display: block;
    width: 100%;
}

.MobileSidebar {
    position: relative;
    display: none;
    width: 100%;
    min-height: 620px;
    height: auto;
    padding: 0px;
    box-sizing: border-box;
    background: black;
    color: white;
    transition: margin-right 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    text-align: center;
    z-index: 2;
}

.SigninMenu {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: auto;
    padding: 20px;
    box-sizing: border-box;
}

.SocialButtons a {
    text-decoration: none;
    border-bottom: none !important;
}

.Videocover {
    position: relative;
    overflow: hidden;
    box-shadow: rgb(51, 51, 51, 0.4) 0px 15px 35px -10px;
    border-radius: 8px;
}

.Videocover video {
    width: 100%;
}

.RoadmapStars {
    display: block;
    width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.Introduction {
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 96px;
    background: #f8f8f9;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow: hidden;
}

.Introduction-title {
    margin-bottom: 12px !important;
    text-align: center;
}

.Introduction-description {
    max-width: 85%;
    margin: auto;
    margin-bottom: 44px;
    text-align: center;
}

.Layer {
    width: 100%;
    height: auto;
    padding: 80px 60px;
    box-sizing: border-box;
}

@media (max-width: 720px) {
    .Layer {
        padding: 20px 15px;
    }
}

.Layer._lightgrey {
    background: #f2f4f4;
    padding-bottom: 0;
}

.Layer._orgineze {
    padding-top: 100px !important;
    background: #f8f8f9;
}

.Layer._black {
    position: relative;
    padding: 100px 60px 60px 60px;
    background: #111111;
    color: white;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.Layer._black a {
    color: #cec72f;
    border-bottom: 3px solid #cec72f;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    font-weight: 600;
}

.Layer._black a:hover {
    color: red;
    border-bottom: 3px solid red;
}

.Layer._black .Text {
    color: white;
}

.Layer._apps {
    display: block;
    padding-top: 16px;
    text-align: center;
    background: #f8f8f9;
}

.Layer._boards {
    background-color: #f8f8f9;
}

.Layer._withBottomBorder {
    padding-bottom: 0 !important;
    background: #f8f8f9;
    border-bottom: 1px solid rgb(221, 221, 221);
}

.Layer-picture._app {
    width: 224px;
    margin: auto;
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    padding: 10px;
    box-sizing: border-box;
    background: white;
}

.Layer-picture._app._googleplay {
    margin-top: 19px;
}

.Layer-title {
    margin-bottom: 40px;
    margin-top: 10px;
    text-align: center;
    font-size: 72px;
    line-height: 88px;
    font-family: "Inter", sans-serif;
    letter-spacing: -1px;
    font-weight: 600;
}

.SubColumn {
    width: 50%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-right: 25px;
    margin-bottom: 20px;
}

.ColumnPicture {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-right: 40px;
    margin-bottom: 60px;
    margin-top: 40px;
    position: relative;
    z-index: 100;
}

.ColumnPicture-videoWrapper {
    position: relative;
    margin-bottom: 10px;
    border-radius: 24px;
    overflow: hidden;
}

.ColumnPicture-videoWrapper video {
    width: 100%;
}

.Column._left {
    width: 33%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-right: 40px;
    margin-bottom: 60px;
    margin-top: 40px;
    position: relative;
    z-index: 100;
}

.QuotesColumn {
    width: 32%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 24px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.Quote {
    padding-right: 25px;
    margin-bottom: 70px;
    margin-top: 30px;
}

.Quote:before {
    content: url("quote.svg");
    position: relative;
    bottom: 5px;
    width: 20px;
    height: 82px;
}

.DesignAward {
    display: block;
    margin-top: 40px;
}

.DesignAward a {
    border-bottom: none;
}

.Quote-text {
    font-weight: 700;
    font-size: 30px;
    line-height: 34px;
    margin-top: 5px;
    margin-bottom: 10px;
    letter-spacing: -0.4;
}

.AdditionalWrapper._small,
.Quote-text._small {
    font-weight: 700;
    font-size: 18px;
    line-height: 23px;
    margin-top: 5px;
    margin-bottom: 10px;
    letter-spacing: -0.4;
}

.AdditionalWrapper._large,
.Quote-text._large {
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 40px;
    letter-spacing: -0.4;
    line-height: 42px;
}

.Column._right {
    width: 66%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-right: 25px;
    margin-bottom: 20px;
    margin-top: 80px;
}

/* типографика */

h1 {
    font-size: 72px;
    line-height: 88px;
    margin: 0;
    margin-bottom: 40px;
    margin-top: 10px;
    font-family: "Inter", sans-serif;
    letter-spacing: -1px;
    font-weight: 600;
}

h2 {
    font-size: 36px;
    line-height: 44px;
    margin: 0px 0px 35px 0px;
    font-weight: 700;
    letter-spacing: -0.3;
}

.Roadmap-title {
    margin-top: 30px;
    margin-bottom: 100px;
    text-align: center;
}

.SigninMenu-logo {
    margin: 0;
    font-size: 44px;
    line-height: 66px;
    letter-spacing: -0.1px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
}

.SigninMenu-logolead {
    margin: 0;
    margin-bottom: 30px;
    color: #828282;
    font-size: 40px;
    line-height: 53px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: -0.3;
}

.ResponsiveDescription {
    font-size: 24px;
    line-height: 36px;
    margin-top: 0;
    margin-top: 40px;
    margin-bottom: 30px;
    letter-spacing: -0.3;
    opacity: 0.85;
}

.Layer-description._apps {
    margin-top: 0;
    margin-bottom: 8px;
    opacity: 0.7;
}

.Label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}

.Text,
.Quote-author {
    font-size: 15px;
    line-height: 23px;
    margin-top: 0px;
    color: #000000;
    margin-bottom: 2px;
}

.Comment._withMargin {
    margin-bottom: 15px;
}

.SocialButtons-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0);
    margin-right: 10px !important;
    margin-left: -4px !important;
    margin-top: -10px !important;
    display: inline-block !important;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.SocialButtons-img:hover {
    background: rgba(0, 0, 0, 0);
    border: 2px solid rgba(0, 0, 0, 1);
}

.Climblottie {
    width: 130%;
    margin-left: -35%;
    margin-bottom: -2px;
}

@media (min-width: 1280px) {
    .Climblottie {
        width: 1280px;
        margin: 0 auto;
    }
}

.Lottiecover {
    width: 100%;
    margin: 0px auto;
    display: block;
    box-sizing: border-box;
}

.IntroVideo {
    width: 100%;
    margin: 0px auto;
    display: block;
    box-sizing: border-box;
}

.Column._right img {
    margin-bottom: 15px;
}

.ColumnPicture-img {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    border-radius: 10px;
}

.Layer-floor {
    display: none;
    width: 100%;
    height: auto;
    padding: 70px;
    font-size: 24px;
    font-weight: 300;
    text-align: center;
    color: white;
    background: blue;
    box-sizing: border-box;
}

.explore-button {
    position: absolute;
    right: 0px;
    left: 820px;
    width: 180px;
    height: 180px;
    margin: auto;
    margin-top: 25px;
    padding: 60px 20px 20px 20px;
    background: rgb(218 218 32);
    border-radius: 50%;
    border: 3px solid black;
    z-index: 10000;
    text-align: center;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: black !important;
    transform: rotate(15deg) scale(1);
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.explore-button:hover {
    background: black;
    animation: none;
    color: white !important;
    transform: rotate(18deg) scale(1.1);
    cursor: pointer;
}

.SigninMenu-linkContent._google {
    background: #000000;
    box-shadow: 0 0 0 2px #ffffff;
    color: #fff;
}

.SigninMenu-linkContent._apple-facebook {
    background: #000000;
    box-shadow: 0 0 0 2px #ffffff;
    color: #fff;
}

.SigninMenu-linkContent._email {
    color: #000000;
    background: #ffffff;
    box-shadow: 0 0 0 2px #ffffff;
}

.SigninMenu-linkContent._email:active {
    background: #9d9ea2;
    box-shadow: 0 0 0 2px #000000;
}

.Introduction-signUpButton {
    max-width: 250px !important;
    background: #1e1e1f;
    box-shadow: 0 0 0 2px #000000;
    color: white;
}

.Introduction-signUpButton:hover {
    border: none;
}

.TweeterReviews {
    color: black;
    background: white;
    border: 2px solid #000000;
    max-width: 340px !important;
    line-height: 44px;
    padding: 4px !important;
}

.TweeterReviews-img {
    display: inline-block !important;
    width: 44px;
    height: 44px;
    margin-bottom: -15px;
    padding-right: 4px;
}

.SigninMenu-link {
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    opacity: 60%;
    width: auto;
    display: block;
    padding: 8px 16px 8px 16px;
    transition: all 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.MobileNavigator-link_additional {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px 8px 14px;
    margin-top: 24px;
    color: #c2c2c2;
    box-shadow: 0px 5px 8px 0px rgba(34, 60, 80, 0.1);
    font-size: 16px;
    font-weight: normal;
}

.MobileNavigator-link_additional:hover {
    color: #ffffff;
}

.MobileNavigator-link_additional img {
    width: 32px;
    padding-right: 12px;
}

.SigninMenu-link img {
    width: 22px;
    height: 22px;
    margin-bottom: -5px;
    padding-right: 12px;
}

.SigninMenu-link:hover {
    background: #333333;
    color: white;
    opacity: 100%;
}

.SigninMenu-link:active {
    background: #2b2b2b;
    color: #828488;
}

.AppColumn {
    width: 228px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    z-index: 100;
}

.Appstore {
    box-sizing: border-box;
    margin-top: 12px;
}

.Appstore_desk img {
    margin-top: 24px;
    box-sizing: border-box;
}

.Appstore_desk._googleplay img {
    margin-top: 27px;
}

.Appstore_desk {
    transition: all 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
    opacity: 1;
}

.Appstore_desk:hover {
    opacity: 0.85;
}

.Navigator-link,
.SigninMenu-link,
.MobileNavigator-link_additional,
.MobileSidebar a {
    border-bottom: none !important;
}

.SigninMenu-link {
    display: block;
}

.SigninMenu-link:hover {
    border-bottom: none;
}

.MobileNavigator-link_additional p {
    margin: 0;
}

.MobileNavigator {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.Header-button {
    border: none;
}

.Introduction-introvideo {
    width: 1400px;
    height: auto;
    left: 0;
    right: 0;
    margin: auto;
    position: relative;
    margin-bottom: 0px;
    transform-origin: top center;
    transform: scale(1);
    transition: all 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.AdditionalWrapper._large,
.Introduction-introvideo._large {
    margin-top: 70px;
}

.ResponsiveVideo {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    box-shadow: rgb(51 51 51 / 16%) 0px 5px 5px -3px;
    border-radius: 8px;
    border: 1px solid #cdcdcd;
    overflow: hidden;
}

.ResponsiveVideo._videoMargin {
    margin-top: 48px;
}

.ResponsiveVideo iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.SigninMenu {
    position: absolute;
    top: 54px;
    right: 20px;
    width: 250px;
    padding: 8px 0 8px 0;
    border-radius: 8px;
    background: #1e1e1f;
    border: 2px solid #1e1e1f;
    box-sizing: border-box;
    transition: all 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.16);
    visibility: hidden;
    opacity: 0;
    z-index: 10000;
}

#Introduction-loginBlock_2 {
    left: 50%;
    top: unset;
    margin-top: 5px;
    margin-left: -125px;
    -webkit-box-shadow: 0px 7px 15px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 7px 15px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 7px 15px 0px rgba(0, 0, 0, 0.2);
}

.ShowLogin_2 {
    margin-top: 0px;
    visibility: visible;
    opacity: 1;
}

.ShowLogin {
    visibility: visible;
    opacity: 1;
    top: 64px;
}

.FacebookShare-button {
    float: left;
    padding-right: 12px;
}

._sign-button {
    color: #969696;
    background: #000000;
    box-shadow: 0 0 0 1px #000000;
    font-weight: 400 !important;
}

._sign-button:hover {
    color: #ffffff;
}

._sign-button:active {
    color: #ffffff;
    background: #282828;
    box-shadow: 0 0 0 1px #000000;
}

._apple-facebook:hover {
    background: #444444;
    box-shadow: 0 0 0 1px #314b82;
}

._google:hover {
    background: #444444;
    box-shadow: 0 0 0 1px #314b82;
}

.Introduction-signUpButton:hover {
    color: white;
    background: #4e4e4e;
    box-shadow: 0 0 0 2px #4e4e4e;
}

._apple-facebook:active {
    background: #33569b;
    box-shadow: 0 0 0 1px #33569b;
}

._google:active {
    background: #b73226;
    box-shadow: 0 0 0 1px #b73226;
}

._apple-facebook,
._google,
._email,
._sign-button,
.Introduction-signUpButton,
.TweeterReviews,
.SigninMenu-linkContent {
    display: block;
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: auto;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-size: 21px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.TweeterReviews:hover {
    background: #d0d0d0 !important;
}

.TweeterReviews:active {
    background: #c2c2c2 !important;
}

.LikesOnSocials {
    margin-top: 15px;
}

.icon {
    position: absolute;
    top: 83px;
    left: 80px;
    margin: auto;
    width: 86px;
    height: 86px;
    animation: icon 5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.Videofade {
    transform: scale(0.96);
    opacity: 0.15;
}

@media (max-width: 2100px) {
    .Introduction-introvideo {
        width: 1800px;
    }
}

@media (max-width: 1800px) {
    .Introduction-introvideo {
        width: 1600px;
    }
}

@media (max-width: 1600px) {
    .Introduction-introvideo {
        width: 1400px;
    }
}

@media (max-width: 1400px) {
    .Introduction-introvideo {
        width: 1150px;
    }
}

@media (max-width: 1260px) {
    .Introduction-introvideo {
        width: 900px;
    }

    .explore-button {
        left: 530px;
        margin-top: -15px;
        width: 140px;
        height: 140px;
        font-size: 18px;
        line-height: 24px;
        padding: 47px 20px 20px 20px;
        border: 3px solid black;
    }
}

@media (max-width: 980px) {
    .MobileSidebar {
        display: block;
    }

    .MobileSidebar .SigninMenu {
        position: relative;
        left: 0;
        right: 0;
        top: -80px;
        bottom: 0;
        width: 100%;
        max-width: 600px;
        padding: 20px;
        margin: auto;
        background: none;
        border: none;
        box-sizing: border-box;
        opacity: 1;
        visibility: visible;
    }

    .Notification {
        display: none;
    }

    .Layer._apps {
        display: none;
    }

    ._apple-facebook,
    ._google,
    ._email,
    ._sign-button {
        font-size: 16px;
        padding: 16px;
    }

    .Introduction-signUpButton {
        font-size: 16px;
        padding: 10px;
        margin-top: 30px;
    }

    ._email {
        max-width: 300px !important;
    }

    .MobileSidebar-video {
        display: block;
    }

    .Introduction {
        display: none;
    }

    .Introduction-introvideo {
        width: 100%;
        height: auto;
    }

    .SigninMenu-logo {
        font-size: 40px;
        line-height: 52px;
    }

    .SigninMenu-logolead {
        font-size: 40px;
        line-height: 53px;
    }

    .Appstore {
        display: block;
        margin: 12px auto;
    }
}

@media (max-width: 760px) {
    .RoadmapStars {
        width: 100%;
    }

    .Introduction-introvideo {
        width: 100%;
        left: 0%;
        height: auto;
    }

    .Layer._black {
        padding: 80px 60px;
    }

    .TweeterReviews {
        font-size: 16px;
        max-width: 100% important;
        line-height: 33px;
        padding: 4px !important;
    }

    .TweeterReviews-img {
        display: inline-block !important;
        width: 32px;
        height: 32px;
        margin-bottom: -10px;
        padding-right: 4px;
    }

    .ColumnPicture {
        width: 100%;
        padding-right: 0px;
        margin-bottom: 25px;
        margin-top: 25px;
    }

    .Column._right,
    .SubColumn {
        width: 100%;
    }

    .Column._left {
        width: 100%;
        padding-right: 0px;
        margin-bottom: 25px;
        margin-top: 25px;
    }

    .QuotesColumn {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
        margin-bottom: 0px;
        margin-top: 0px;
    }

    .explore-button {
        left: 55%;
        margin-top: 9px;
        width: 100px;
        height: 100px;
        font-size: 16px;
        line-height: 23px;
        padding: 26px 16px 20px 16px;
        border: 2px solid black;
    }

    .Quote-text,
    .AdditionalWrapper._small,
    .AdditionalWrapper._large,
    .Quote-text._small,
    .Quote-text._large {
        font-size: 15px;
        line-height: 18px;
        margin-bottom: 3px;
    }

    .ResponsiveDescription {
        font-size: 16px;
        line-height: 24px;
        margin-top: 0;
        margin-bottom: 15px;
    }

    p {
        font-size: 14px;
        line-height: 18px;
        margin-top: 10px;
        margin-bottom: 25px;
    }

    h1,
    .Layer-title {
        font-size: 36px;
        line-height: 44px;
        margin: 0;
        margin-bottom: 20px;
        font-weight: 600;
        letter-spacing: -1px;
    }

    .Text,
    .Quote-author {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 20px;
    }

    .Quote:before {
        content: url("quote-small.svg");
        position: relative;
        bottom: 5px;
        height: 46px;
    }

    .Quote {
        margin-bottom: 30px;
        margin-top: 20px;
    }

    .SigninMenu-logo {
        font-size: 30px;
        line-height: 36px;
    }

    .SigninMenu-logolead {
        color: #b7b7b7;
        font-size: 30px;
        line-height: 36px;
        font-weight: 400;
    }

    .SocialButtons-img {
        width: 40px;
        height: 40px;
        margin-right: 7px;
    }

    .SocialButtons {
        margin-top: 40px;
    }

    .LikesOnSocials {
        margin-bottom: 0;
    }

    .MobileNavigator {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .Layer {
        padding: 30px 20px;
    }

    .Layer._black {
        padding: 30px 20px;
    }

    .SigninMenu-logolead {
        font-size: 30px;
        line-height: 36px;
        color: #b7b7b7;
        font-weight: 400;
    }

    .QuotesColumn {
        padding-left: 0px;
        padding-right: 0px;
    }

    h1,
    .Layer-title {
        margin: 0;
        margin-bottom: 18px;
        font-size: 30px;
        line-height: 36px;
    }

    .ResponsiveDescription {
        font-size: 15px;
        line-height: 19px;
    }
}

/* Header */

.Header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    background-color: #000;
    height: 70px;
    padding: 16px 24px;
    font-size: 16px;
    line-height: 20px;
}

.Logo {
    max-width: 150px;
    height: auto;
}

.Logo img {
    display: block;
}

.Navigator {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-left: auto;
}

.Navigator-link {
    text-decoration: none !important;
    margin-left: 16px;
    color: #fff;
    opacity: 0.8;
    font-weight: 400;
    transition: opacity 0.25s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.Header-button {
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    margin-left: 16px;
    box-sizing: border-box;
    background: #fff;
    color: #000;
    white-space: nowrap;
}

.Header-button:hover {
    color: #000;
    border: 0;
}

.Navigator-link:hover,
.Navigator-link._active {
    opacity: 0.4;
    color: #fff;
}

/* Language picker — mirrors LanguageMenu in the app's public header */

.LanguageMenu {
    position: relative;
    margin-left: 16px;
}

.LanguageMenu-target {
    appearance: none;
    border: none;
    background: none;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    /* Fades through `color`, not `opacity`: animating opacity gives the button
       its own compositing layer and the globe twitches a pixel sideways. */
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.25s ease;
}

.LanguageMenu-target:hover,
.LanguageMenu-target[aria-expanded='true'] {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0s;
}

.LanguageMenu-target-icon {
    flex: none;
}

.LanguageMenu-target-label {
    white-space: nowrap;
}

.LanguageMenu-popup {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 5000;
    /* Wide enough for the beta note; the language names alone would size the
       menu to about half this. */
    width: 280px;
    max-height: calc(100vh - 90px);
    overflow: auto;
    padding: 8px 0;
    background-color: #1b1b1b;
    border: 1px solid #666;
    border-radius: 8px;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.35);
    font-size: 14px;
    text-align: left;
    user-select: none;
    animation: language-menu-fade-in 120ms ease-out;
}

@keyframes language-menu-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .LanguageMenu-popup {
        animation: none;
    }
    .LanguageMenu-target {
        transition: none;
    }
}

.LanguageMenu-title {
    margin: 0;
    padding: 4px 12px 4px 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #616161;
}

.LanguageBetaBadge {
    display: inline-block;
    vertical-align: middle;
    /* Deliberately darker than the app's orange, which only reaches 2.9:1
       against white, and this is small text. */
    background: #c2410c;
    color: #fff;
    border-radius: 3px;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.LanguageMenu-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px 32px 4px 14px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #fff;
    text-decoration: none !important;
    border: 0;
}

.LanguageMenu-option:hover,
.LanguageMenu-option:focus-visible {
    background: rgba(164, 164, 164, 0.1);
    color: #fff;
    border: 0;
}

.LanguageMenu-option-checkmark {
    position: absolute;
    right: 12px;
}

.LanguageMenu-separator {
    margin: 8px 0;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #333;
}

.LanguageBetaNotice {
    margin: 0;
    padding: 4px 12px 4px 14px;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.7);
    cursor: default;
}

.LanguageBetaNotice-link {
    color: inherit;
    font-weight: 400;
    text-decoration: underline;
    border: 0;
}

.LanguageBetaNotice-link:hover {
    color: #fff;
    border: 0;
}

@media (max-width: 799px) {
    .Header {
        /* The nav wraps to two or three lines down here, depending on how long
           the language's words are, so the bar grows instead of clipping. */
        height: auto;
        min-height: 70px;
        padding: 12px 10px;
        font-size: 14px;
        position: relative;
    }
    .Navigator,
    .Navigator-link {
        margin-left: 8px;
    }
    .Header-button {
        margin-left: 8px;
        padding: 8px;
    }
    .LanguageMenu {
        margin-left: 8px;
        /* Hands the popup's positioning over to the header below, which is
           wide enough to hold it. */
        position: static;
    }
    /* Only the globe fits next to the sign-in button on a phone. */
    .LanguageMenu-target-label {
        display: none;
    }
    /* Anchored to the globe, a 280px menu would hang off the left edge, so on
       a phone it spans the header instead. */
    .LanguageMenu-popup {
        left: 10px;
        right: 10px;
        width: auto;
    }
}

.Credits {
    display: grid;
    grid-template-areas:
        "Lead Lead Lead"
        "Team Contributors Links";
    line-height: 140%;
    gap: 10px;
}

.Credits h2 {
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
    padding: 0;
}

.Credits-Lead {
    grid-area: Lead;
    padding-bottom: 20px;
    font-size: 120%;
    line-height: 140%;
}

.Credits-Team {
    grid-area: Team;
}

.Credits-Contributors {
    grid-area: Contributors;
}

.Credits-Links {
    grid-area: Links;
}

.Credits-Person {
    font-weight: bold;
    margin: 0;
    margin-bottom: 0.5em;
}

@media (max-width: 760px) {
    .Credits {
        grid-template-areas:
            "Lead Lead"
            "Team Contributors"
            "Links Links";
    }

    .Credits-Lead {
        padding-bottom: 0;
    }

    .Credits {
        font-size: 100%;
        line-height: 140%;
    }

    a {
        border-bottom-width: 2px;
    }
}
