@font-face {
    font-family: "Futura TOT";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/futura-tot-book.woff") format("woff");
}

@font-face {
    font-family: "Futura TOT";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/futura-tot-medium.woff") format("woff");
}

:root {
    color: #eff6f4;
    background: #05474c;
    font-family: "Futura TOT", "Segoe UI", sans-serif;
    line-height: 1.5;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100svh;
    margin: 0;
    isolation: isolate;
}

body::before {
    position: fixed;
    z-index: -2;
    inset: 0;
    background: url("/assets/background.jpg") center / cover no-repeat;
    content: "";
    transform: rotate(180deg);
}

body::after {
    position: fixed;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 82 83 / 65%), rgb(0 82 83 / 25%));
    content: "";
}

main {
    display: flex;
    min-height: 100svh;
    width: min(100%, 42rem);
    margin-inline: auto;
    padding: max(2rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.brand-logo {
    width: min(100%, 22rem);
    height: auto;
    margin-top: clamp(1rem, 7svh, 5rem);
    margin-bottom: clamp(2rem, 6svh, 4rem);
}

.app-identity {
    width: 100%;
}

.app-logo {
    display: block;
    width: 0;
    min-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

h1 {
    margin: 0;
    font-size: clamp(1.75rem, 7vw, 2.75rem);
    font-weight: 500;
    line-height: 1.2;
}

h1 span {
    display: block;
}

.app-name {
    display: grid;
    width: max-content;
    margin-inline: auto;
}

.download {
    width: 100%;
    margin-top: clamp(2rem, 8svh, 6rem);
}

nav {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1.25rem;
}

nav a {
    display: block;
    width: min(76%, 15rem);
    border-radius: 0.75rem;
    line-height: 0;
}

nav img {
    width: 100%;
    height: auto;
}

nav a:hover {
    filter: brightness(1.15);
}

nav a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 6px;
}

#status,
noscript p {
    max-width: 28rem;
    margin: 1.25rem auto 0;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    background: rgb(0 37 40 / 80%);
    font-size: 0.9375rem;
}

[hidden] {
    display: none;
}

@media (min-width: 48rem) and (min-height: 45rem) {
    .brand-logo {
        width: 24rem;
        margin-top: clamp(2rem, 9svh, 8rem);
        margin-bottom: clamp(3rem, 8svh, 6rem);
    }

    h1 {
        font-size: 2.75rem;
    }

    .download {
        margin-top: clamp(3rem, 9svh, 8rem);
    }
}

@media (max-height: 40rem) {
    .brand-logo {
        margin-top: 0;
        margin-bottom: 1.75rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .download {
        margin-top: 1.5rem;
    }
}
