* {
    box-sizing: border-box;
    outline: none;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

:root {
    --background: #FFFFFF;
    --color: #1B1B1B;
    --height: 64px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #0E0E0E;
        --color: #E2E2E2;
    }
}


html {
    font-family: 'Inter', system-ui, sans-serif;
}

html,
body {
    height: 100%;
    overflow: auto;
    margin: 0;
    background-color: var(--background);
    color: var(--color);
}

.body {
    display: grid;
    grid-template-rows: var(--height) 1fr var(--height);
}

p,
a,
span {
    font-weight: 400;
    color: inherit;
    text-decoration: none;
}

p {
    font-size: 1rem;
    margin: 0;
}


a:active {
    opacity: 0.6;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    gap: 8px;
}

header span {
    font-size: 1.8rem;
    font-weight: bold;
}

#logo {
    height: 2rem;
    width: 2rem;
}

#logo path {
    fill: var(--color);
}


#main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}



#main h1 {
    font-weight: bold;
    font-size: 3rem;
    margin: 0;
    margin-top: 4rem;
}

#main h3 {
    font-weight: 400;
    font-size: 1.5rem;
    margin: 1rem 0;
    max-width: 900px;
}

#main p {
    max-width: 600px;
    font-size: 1rem;
    opacity: 0.7;
}


.store-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    gap: 16px;
    margin-top: 2rem;
}

.store-buttons a:first-of-type {
    align-self: flex-end;
}

.store-buttons a:last-of-type {
    align-self: flex-start;
}

.store-buttons a img {
    max-width: 100%;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
}

@media screen and (orientation: landscape) and (min-height: 600px),
(orientation: portrait) and (min-width: 600px) {
    :root {
        --height: 10vh;
    }

    #main h1 {
        font-weight: bold;
        font-size: 4rem;
    }

    #main h3 {
        font-size: 2rem;
    }

}

/* TERMS & PRIVACY */

#tp main {
    max-width: 640px;
    margin: auto;
    padding: 16px;
    display: grid;
    gap: 16px;
}

#tp header {
    display: block;
    max-width: 640px;
    margin: auto;
    padding: 16px;
}

#tp h1 {
    font-weight: bold;
    font-size: 1.6rem;
}

#tp p,
#tp li {
    margin-bottom: 1rem;
}

#tp a {
    text-decoration: underline;
}

/* 404 */
#notFound {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#notFound a {
    margin-top: 1rem;
    height: 40px;
    border-radius: 20px;
    display: grid;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    background-color: var(--color);
    color: var(--background);
    justify-self: center;
}