:root {
    --mobile-landing-bg-top: #0a0a0a;
    --mobile-landing-bg-bottom: #111;
    --mobile-landing-text: #eee;
    --mobile-landing-text-dim: #999;
    --mobile-landing-blue: #0e85d8;
    --mobile-landing-link: #444;

    /* Backward-compatible aliases used by the two landing-page templates. */
    --bg-gradient-top: var(--mobile-landing-bg-top);
    --bg-gradient-bottom: var(--mobile-landing-bg-bottom);
    --text-color: var(--mobile-landing-text);
    --text-dim: var(--mobile-landing-text-dim);
    --logo-color: var(--mobile-landing-blue);
    --accent-color: var(--mobile-landing-blue);
    --link-color: var(--mobile-landing-link);
}

html,
body {
    min-height: 100%;
    background-color: var(--mobile-landing-bg-bottom);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.mobile-landing-shell {
    min-height: 100dvh;
    position: relative;
    isolation: isolate;
    background: transparent !important;
}

body.mobile-landing-shell::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            var(--mobile-landing-bg-top),
            var(--mobile-landing-bg-bottom)
        );
}

.mobile-landing-footer {
    position: fixed;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 15px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;
}

.mobile-landing-footer a,
.mobile-landing-footer a:link,
.mobile-landing-footer a:visited,
.mobile-landing-footer a:hover,
.mobile-landing-footer a:active,
.mobile-landing-footer a:focus,
.mobile-landing-footer a:focus-visible {
    color: var(--mobile-landing-link);
    background: transparent;
    outline: none;
    box-shadow: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}
