:root {
    --background: #0a2430;
    --foreground: #ffffff;
    --accent-start: #00c0df;
    --accent-end: #00ff9f;
    --layout-max: 1440px;
    --page-gutter: clamp(20px, 8.25vw, 119px);
    --header-height: clamp(128px, 21.3vh, 218px);
    --compact-header-height: clamp(88px, 11.72vh, 120px);
    --compact-logo-size: clamp(78px, 9.77vh, 100px);
    --compact-logo-top: clamp(5px, 0.8vh, 8px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--background);
    scroll-behavior: smooth;
}

body {
    position: relative;
    isolation: isolate;
    min-width: 320px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow-x: hidden;
    color: var(--foreground);
    background: var(--background);
    font-family: "Figtree", Arial, sans-serif;
}

body::before {
    position: fixed;
    z-index: 1;
    top: calc(var(--header-height) + clamp(16px, 4vh, 44px));
    right: clamp(-360px, -19vw, -180px);
    width: clamp(520px, 55vw, 820px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 255, 159, 0.075) 0%,
        rgba(0, 192, 223, 0.045) 34%,
        rgba(0, 192, 223, 0.016) 52%,
        transparent 68%
    );
    filter: blur(12px);
    mix-blend-mode: screen;
    pointer-events: none;
    content: "";
    transform-origin: center;
    animation: background-logo-glow 5s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes background-logo-glow {
    0%,
    100% {
        opacity: 0.38;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.72;
        transform: scale(1.05);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: var(--header-height);
    overflow: hidden;
    scroll-margin-top: 0;
    isolation: isolate;
}

.header {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--background);
    transition:
        height 420ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 320ms ease;
}

.header__inner {
    position: relative;
    width: min(100%, var(--layout-max));
    height: 100%;
    margin-inline: auto;
}

.site-header--downloads {
    height: var(--compact-header-height);
    background: #0e2b38;
}

.brand {
    position: absolute;
    top: clamp(12px, 2.45vh, 25px);
    left: clamp(24px, 6.39vw, 92px);
    width: clamp(125px, 16.3vh, 167px);
    aspect-ratio: 1;
    overflow: visible;
    transition:
        top 420ms cubic-bezier(0.22, 1, 0.36, 1),
        left 420ms cubic-bezier(0.22, 1, 0.36, 1),
        width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header--downloads .brand {
    top: var(--compact-logo-top);
    left: var(--page-gutter);
    width: var(--compact-logo-size);
}

.brand__glow,
.brand__brain,
.brand__title {
    position: absolute;
    display: block;
    object-fit: contain;
}

.brand__glow {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.58;
    transform-origin: center;
    animation: brand-glow-pulse 4s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes brand-glow-pulse {
    0%,
    100% {
        opacity: 0.58;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.92;
        transform: scale(1.07);
    }
}

.brand__brain {
    top: 22.75%;
    left: 12.58%;
    width: 77.85%;
    height: 50.9%;
}

.brand__title {
    top: 73.65%;
    left: 8.38%;
    width: 83.84%;
    height: 26.35%;
}

.nav {
    position: absolute;
    top: clamp(58px, 9.48vh, 97px);
    right: clamp(24px, 8.33vw, 120px);
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.67vw, 24px);
    font-size: clamp(13px, min(1.1vw, 1.8vh), 16px);
    font-weight: 700;
    transition:
        top 420ms cubic-bezier(0.22, 1, 0.36, 1),
        gap 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header--downloads .nav {
    top: calc((var(--compact-header-height) - 32px) / 2);
    gap: clamp(10px, 1.25vw, 18px);
}

.nav__link {
    display: grid;
    width: clamp(68px, 5.42vw, 78px);
    min-height: 32px;
    border-radius: 7px;
    place-items: center;
    transition: color 180ms ease, transform 180ms ease, filter 180ms ease;
}

.nav__link:hover,
.nav__link:focus-visible {
    color: var(--accent-end);
    transform: translateY(-1px);
}

.nav__link:focus-visible {
    outline: 2px solid var(--accent-start);
    outline-offset: 3px;
}

.nav__login {
    position: relative;
    height: 32px;
    color: var(--background);
}

.nav__login::before {
    position: absolute;
    z-index: -1;
    width: 63px;
    height: 24px;
    border-radius: 7px;
    background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    content: "";
}

.nav__login:hover,
.nav__login:focus-visible {
    color: var(--background);
    filter: brightness(1.08);
}

.hero {
    position: relative;
    z-index: 2;
    width: min(48vw, 691px);
    margin-left: max(var(--page-gutter), calc((100vw - var(--layout-max)) / 2 + 119px));
    padding-top: clamp(32px, 12.9vh, 132px);
}

.hero__title,
.hero__tagline {
    margin: 0;
    font-family: "Montserrat", "Arial Black", sans-serif;
    font-weight: 900;
}

.hero__title {
    max-width: 691px;
    font-size: clamp(64px, min(6.67vw, 10vh), 96px);
    line-height: 1;
    letter-spacing: clamp(-2.5px, -0.17vw, -1px);
}

.hero__description {
    max-width: 566px;
    margin: clamp(20px, 3.13vh, 32px) 0 0 1px;
    font-size: clamp(18px, min(1.74vw, 2.8vh), 25px);
    line-height: 1.05;
}

.hero__tagline {
    max-width: 691px;
    margin: clamp(36px, 8.5vh, 87px) 0 0 4px;
    font-size: clamp(28px, min(2.78vw, 4.5vh), 40px);
    line-height: 1;
    letter-spacing: clamp(-1px, -0.07vw, -0.3px);
}

.brain-art {
    position: fixed;
    z-index: 0;
    top: calc(var(--header-height) + 8px);
    right: -24px;
    left: auto;
    width: clamp(500px, min(47.1vw, 85.55vh), 678px);
    height: auto;
    object-fit: contain;
    object-position: left top;
    pointer-events: none;
    user-select: none;
}

/* Segunda tela: visão geral */
.routine-page {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    color: #0e2a37;
    background: #ffffff;
    scroll-margin-top: 0;
    isolation: isolate;
}

.routine-page__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    align-items: center;
    padding: calc(var(--header-height) + clamp(72px, 11.23vh, 115px)) var(--page-gutter) 80px;
}

.routine-page__title {
    width: min(779px, 100%);
    margin: 0;
    font-family: "Montserrat", "Arial Black", sans-serif;
    font-size: clamp(48px, min(6vw, 7.3vh), 74px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: clamp(-2px, -0.14vw, -0.8px);
    text-align: center;
}

.routine-page__title span {
    color: transparent;
    background: linear-gradient(180deg, #00c0df 49.519%, #00ff9f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.routine-page__description {
    width: min(530px, 100%);
    margin: clamp(36px, 5.47vh, 56px) 0 0;
    font-size: clamp(19px, min(1.74vw, 2.45vh), 25px);
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.routine-page__art {
    position: absolute;
    z-index: 1;
    top: calc(var(--header-height) + 8px);
    right: -24px;
    left: auto;
    width: clamp(500px, min(47.1vw, 85.55vh), 678px);
    max-width: none;
    height: auto;
    opacity: 0;
    filter: brightness(0) saturate(100%) invert(14%) sepia(18%) saturate(1320%) hue-rotate(153deg) brightness(91%);
    pointer-events: none;
    transform: translateX(28px);
    transition:
        opacity 850ms ease,
        filter 850ms ease,
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
    user-select: none;
}

.routine-page--visible .routine-page__art {
    opacity: 0.09;
    filter: brightness(0) saturate(100%) invert(14%) sepia(18%) saturate(1320%) hue-rotate(153deg) brightness(180%);
    transform: translateX(0);
}

/* Terceira tela: downloads */
.downloads-page {
    position: relative;
    z-index: 2;
    min-height: max(100vh, 990px);
    min-height: max(100svh, 990px);
    padding-top: var(--compact-header-height);
    overflow: hidden;
    background: transparent;
    scroll-margin-top: 0;
    isolation: isolate;
}

.downloads-content {
    position: relative;
    z-index: 2;
    width: min(100%, var(--layout-max));
    margin-inline: auto;
    padding-top: clamp(130px, 19.63vh, 201px);
}

.downloads-title {
    width: 270px;
    margin: 0 0 0 clamp(24px, 13.33vw, 192px);
    font-family: "Montserrat", "Arial Black", sans-serif;
    font-size: clamp(34px, min(2.78vw, 4vh), 40px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.download-list {
    display: grid;
    gap: clamp(38px, 4.88vh, 50px);
    width: min(600px, calc(100% - 40px));
    margin: clamp(56px, 7.42vh, 76px) 0 0 clamp(26px, 9.51vw, 137px);
}

.download-option {
    display: flex;
    width: fit-content;
    min-height: 50px;
    align-items: center;
    gap: clamp(24px, 2.43vw, 35px);
    border-radius: 8px;
    font-size: clamp(19px, min(1.74vw, 2.45vh), 25px);
    line-height: 1;
    transition: color 180ms ease, transform 180ms ease;
}

.download-option:hover,
.download-option:focus-visible {
    color: var(--accent-end);
    transform: translateX(4px);
}

.download-option:focus-visible {
    outline: 2px solid var(--accent-start);
    outline-offset: 8px;
}

.download-option__icon {
    display: block;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    object-fit: contain;
}

.download-option--browser .download-option__icon {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    margin-left: -5px;
    margin-right: -5px;
}

.download-option--browser {
    margin-top: -3px;
}

.download-devices {
    position: absolute;
    z-index: 3;
    top: 232px;
    left: calc(50% + 41px);
    width: min(32.15vw, 463px);
    aspect-ratio: 1;
    isolation: isolate;
    pointer-events: none;
}

.download-devices::before {
    position: absolute;
    z-index: 1;
    top: 48%;
    left: 43%;
    width: 112%;
    height: 92%;
    border-radius: 50%;
    background: radial-gradient(
        ellipse,
        rgba(0, 255, 159, 0.12) 0%,
        rgba(0, 192, 223, 0.07) 36%,
        rgba(0, 192, 223, 0.025) 56%,
        transparent 74%
    );
    filter: blur(24px);
    content: "";
    transform: translate(-50%, -50%);
}

.download-devices__composite {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.download-option strong {
    font-weight: 800;
}

.site-footer {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    height: clamp(168px, 16.4vh, 180px);
    background: #08171f;
}

.site-footer__inner {
    position: relative;
    width: min(100%, var(--layout-max));
    height: 100%;
    margin-inline: auto;
}

.footer-brand {
    position: absolute;
    top: 32px;
    left: clamp(24px, 8.06vw, 116px);
    width: 130px;
    height: 36px;
}

.footer-brand__brain,
.footer-brand__title {
    position: absolute;
    display: block;
    object-fit: contain;
}

.footer-brand__brain {
    top: 0;
    left: 0;
    width: 50px;
    height: 33px;
}

.footer-brand__title {
    top: 7px;
    left: 42px;
    width: 88px;
    height: 28px;
}

.site-footer__tagline {
    position: absolute;
    top: 79px;
    left: clamp(24px, 8.33vw, 120px);
    max-width: min(360px, calc(100% - (2 * var(--page-gutter))));
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
}

.footer-nav {
    position: absolute;
    top: 43px;
    right: clamp(24px, 8.33vw, 120px);
    display: flex;
    align-items: center;
    gap: clamp(22px, 2.3vw, 33px);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1px;
}

.site-footer .footer-nav__contact {
    display: grid;
    min-width: 76px;
    height: 24px;
    padding-inline: 9px;
    border-radius: 7px;
    place-items: center;
    color: var(--background);
    background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
}

.site-footer .footer-nav__contact:hover,
.site-footer .footer-nav__contact:focus-visible {
    color: var(--background);
    filter: brightness(1.08);
}

.site-footer__bottom {
    position: absolute;
    top: 122px;
    right: clamp(24px, 8.33vw, 120px);
    left: clamp(24px, 8.33vw, 120px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(217, 217, 217, 0.05);
    font-size: 12px;
    line-height: 1;
}

.site-footer__bottom p {
    margin: 0;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: clamp(22px, 2.3vw, 33px);
}

.legal-nav a,
.site-footer a {
    transition: color 180ms ease;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--accent-end);
}

/* Tablets e notebooks estreitos */
@media (max-width: 900px) {
    :root {
        --page-gutter: clamp(24px, 6vw, 54px);
        --header-height: clamp(142px, 20vh, 175px);
        --compact-header-height: 104px;
        --compact-logo-size: 86px;
        --compact-logo-top: 6px;
    }

    .header {
        height: clamp(142px, 20vh, 175px);
    }

    .brand {
        top: 10px;
        left: var(--page-gutter);
        width: clamp(112px, 16vh, 132px);
    }

    .nav {
        top: clamp(55px, 8vh, 70px);
        right: var(--page-gutter);
        gap: clamp(8px, 2vw, 18px);
        font-size: clamp(13px, min(2vw, 2.2vh), 15px);
    }

    .nav__link {
        width: clamp(64px, 10vw, 76px);
    }

    .hero {
        width: min(78vw, 620px);
        margin-left: var(--page-gutter);
        padding-top: clamp(34px, 7vh, 64px);
    }

    .hero__title {
        font-size: clamp(52px, min(10vw, 9.5vh), 78px);
    }

    .hero__description {
        max-width: min(68vw, 520px);
        font-size: clamp(18px, 2.7vw, 21px);
        line-height: 1.1;
    }

    .hero__tagline {
        max-width: min(72vw, 550px);
        margin-top: clamp(38px, 7vh, 58px);
        font-size: clamp(28px, min(5vw, 4.5vh), 38px);
    }

    .brain-art {
        top: clamp(250px, 34vh, 330px);
        right: auto;
        left: 42%;
        width: clamp(540px, 82vw, 678px);
        opacity: 0.68;
    }

    .routine-page__title {
        width: min(660px, 92%);
        font-size: clamp(42px, min(5.8vw, 7vh), 58px);
    }

    .routine-page__description {
        width: min(530px, 88%);
        font-size: clamp(18px, min(2.2vw, 2.8vh), 23px);
    }

    .routine-page__art {
        top: calc(var(--header-height) + 22px);
        right: auto;
        left: 42%;
        width: clamp(540px, 82vw, 678px);
    }
}

/* Celulares */
@media (max-width: 560px) {
    :root {
        --page-gutter: clamp(16px, 5.3vw, 24px);
        --header-height: 148px;
        --compact-header-height: 84px;
        --compact-logo-size: 72px;
        --compact-logo-top: 4px;
    }

    .header {
        height: 148px;
    }

    .brand {
        top: 6px;
        width: 108px;
    }

    .nav {
        top: 108px;
        right: var(--page-gutter);
        left: var(--page-gutter);
        justify-content: flex-end;
        gap: clamp(4px, 3vw, 14px);
        font-size: clamp(12px, 3.7vw, 14px);
    }

    .nav__link {
        width: clamp(68px, 21vw, 78px);
        min-height: 36px;
    }

    .nav__login {
        height: 36px;
    }

    .hero {
        width: auto;
        margin: 0;
        padding: clamp(28px, 6vh, 52px) var(--page-gutter) 64px;
    }

    .hero__title {
        max-width: 100%;
        font-size: clamp(40px, min(13.2vw, 9.5vh), 66px);
        letter-spacing: -1.3px;
        overflow-wrap: anywhere;
    }

    .hero__description {
        max-width: min(92%, 440px);
        margin-top: clamp(22px, 4vh, 30px);
        font-size: clamp(17px, 4.8vw, 20px);
        line-height: 1.15;
    }

    .hero__tagline {
        max-width: 100%;
        margin: clamp(48px, 8vh, 68px) 0 0;
        font-size: clamp(27px, min(8vw, 5.5vh), 34px);
        line-height: 1.04;
    }

    .brain-art {
        top: clamp(365px, 47vh, 450px);
        right: auto;
        left: 15%;
        width: clamp(560px, 175vw, 680px);
        opacity: 0.48;
    }

    .routine-page__content {
        padding-inline: var(--page-gutter);
    }

    .routine-page__title {
        width: 100%;
        font-size: clamp(27px, min(8.7vw, 6.5vh), 44px);
        line-height: 1.02;
        letter-spacing: -0.9px;
    }

    .routine-page__description {
        width: 100%;
        margin-top: clamp(28px, 4.5vh, 38px);
        font-size: clamp(15px, 4.1vw, 19px);
        line-height: 1.1;
    }

    .routine-page__art {
        top: calc(var(--header-height) + 54px);
        left: 15%;
        width: clamp(560px, 175vw, 680px);
    }
}

/* Celulares muito estreitos */
@media (max-width: 360px) {
    .nav {
        right: 10px;
        left: 10px;
        gap: 2px;
    }

    .nav__link {
        width: 72px;
        font-size: 12px;
    }

    .hero__title {
        font-size: clamp(38px, 12.7vw, 46px);
    }
}

/* Monitores baixos e dispositivos em orientação horizontal */
@media (max-height: 620px) and (min-width: 561px) {
    :root {
        --header-height: 112px;
        --compact-header-height: 78px;
        --compact-logo-size: 68px;
        --compact-logo-top: 4px;
    }

    .header {
        height: 112px;
    }

    .brand {
        top: 4px;
        width: 102px;
    }

    .nav {
        top: 38px;
        font-size: clamp(13px, 2.8vh, 15px);
    }

    .hero {
        padding-top: 20px;
        padding-bottom: 28px;
    }

    .hero__title {
        font-size: clamp(48px, 8.5vh, 62px);
    }

    .hero__description {
        max-width: 510px;
        margin-top: 16px;
        font-size: clamp(16px, 3.2vh, 19px);
    }

    .hero__tagline {
        margin-top: 24px;
        font-size: clamp(25px, 5vh, 31px);
    }

    .brain-art {
        top: calc(var(--header-height) + 8px);
        width: min(46vw, 510px);
        opacity: 0.7;
    }

    .routine-page__title {
        font-size: clamp(38px, 9.3vh, 56px);
    }

    .routine-page__description {
        margin-top: 30px;
        font-size: clamp(17px, 3.6vh, 21px);
    }

    .routine-page__art {
        top: calc(var(--header-height) + 8px);
        width: min(46vw, 510px);
    }
}

/* Celulares deitados: conteúdo em duas colunas para aproveitar a largura */
@media (max-height: 500px) and (max-width: 900px) and (orientation: landscape) {
    :root {
        --header-height: 92px;
        --compact-header-height: 72px;
        --compact-logo-size: 62px;
        --compact-logo-top: 4px;
    }

    .header {
        height: 92px;
    }

    .brand {
        left: 18px;
        width: 84px;
    }

    .nav {
        top: 28px;
        right: 18px;
        left: auto;
        font-size: 13px;
    }

    .hero {
        width: 62vw;
        margin-left: 24px;
        padding: 14px 0 24px;
    }

    .hero__title {
        font-size: clamp(38px, 8.5vh, 48px);
    }

    .hero__description {
        max-width: 56vw;
        margin-top: 12px;
        font-size: 15px;
    }

    .hero__tagline {
        margin-top: 18px;
        font-size: clamp(22px, 5.5vh, 28px);
    }

    .brain-art {
        top: calc(var(--header-height) + 8px);
        right: auto;
        left: 58%;
        width: min(52vw, 420px);
        opacity: 0.62;
    }

    .routine-page__title {
        width: min(620px, 78vw);
        font-size: clamp(34px, 10vh, 46px);
    }

    .routine-page__content {
        padding-top: calc(var(--header-height) + 42px);
    }

    .routine-page__description {
        width: min(530px, 82vw);
        margin-top: 24px;
        font-size: 17px;
    }

    .routine-page__art {
        top: calc(var(--header-height) + 8px);
        left: 58%;
        width: min(52vw, 420px);
    }
}

@media (max-width: 900px) {
    .downloads-page {
        min-height: max(100svh, 940px);
        background: transparent;
    }

    .downloads-content {
        padding-top: clamp(56px, 8vh, 72px);
    }

    .downloads-title {
        width: auto;
        margin-left: var(--page-gutter);
        text-align: left;
    }

    .download-list {
        width: min(46vw, 360px);
        gap: clamp(34px, 5vh, 44px);
        margin-top: clamp(52px, 7vh, 66px);
        margin-left: var(--page-gutter);
    }

    .download-option {
        gap: clamp(18px, 2.8vw, 26px);
        font-size: clamp(17px, 2.5vw, 21px);
    }

    .download-option__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .download-option--browser .download-option__icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .download-devices {
        top: 104px;
        left: 52%;
        width: min(46vw, 430px);
    }

    .site-footer {
        height: 200px;
    }
}

@media (max-width: 560px) {
    .downloads-page {
        min-height: max(100svh, 1220px);
        background: transparent;
    }

    .downloads-content {
        padding-top: clamp(38px, 6vh, 48px);
    }

    .downloads-title {
        font-size: clamp(29px, 8vw, 34px);
    }

    .download-list {
        width: calc(100% - (2 * var(--page-gutter)));
        gap: clamp(30px, 5vh, 40px);
        margin-top: clamp(42px, 6vh, 56px);
    }

    .download-option {
        gap: clamp(18px, 5vw, 28px);
        font-size: clamp(16px, 4.3vw, 19px);
    }

    .download-option__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .download-option--browser .download-option__icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        margin-left: -4px;
        margin-right: -4px;
    }

    .download-devices {
        top: 410px;
        left: 50%;
        width: min(430px, calc(100% - (2 * var(--page-gutter))));
        transform: translateX(-50%);
    }

    .site-footer {
        height: 245px;
    }

    .footer-brand {
        top: 26px;
        left: var(--page-gutter);
    }

    .site-footer__tagline {
        top: 78px;
        left: var(--page-gutter);
    }

    .site-footer__bottom {
        top: 142px;
        right: var(--page-gutter);
        left: var(--page-gutter);
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        line-height: 1.25;
    }

    .legal-nav {
        justify-content: flex-start;
        row-gap: 12px;
    }

}

@media (max-height: 500px) and (max-width: 900px) and (orientation: landscape) {
    .downloads-page {
        min-height: 700px;
        background: transparent;
    }

    .downloads-content {
        padding-top: 24px;
    }

    .downloads-title {
        font-size: 30px;
    }

    .download-list {
        width: 44vw;
        gap: 18px;
        margin-top: 28px;
    }

    .download-option {
        min-height: 42px;
        font-size: 17px;
    }

    .download-option__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .download-option--browser .download-option__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .download-devices {
        top: 8px;
        left: 60%;
        width: min(38vw, 310px);
        transform: none;
    }

    .site-footer {
        height: 180px;
    }

    .footer-brand {
        top: 20px;
    }

    .site-footer__tagline {
        top: 64px;
    }

    .site-footer__bottom {
        top: 100px;
        flex-direction: row;
        align-items: flex-end;
        gap: 10px;
    }

}

@media (max-width: 900px) {
    body::before {
        top: calc(var(--header-height) + 90px);
        right: auto;
        left: 42%;
        width: 700px;
    }
}

@media (max-width: 560px) {
    body::before {
        top: calc(var(--header-height) + 140px);
        left: 7%;
        width: 650px;
    }
}

@media (max-height: 500px) and (max-width: 900px) and (orientation: landscape) {
    body::before {
        top: calc(var(--header-height) + 4px);
        left: 52%;
        width: 500px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
