@import url('style.css');

:root {
    --apps-bg: #ffffff;
    --apps-ink: #141414;
    --apps-muted: #666666;
    --apps-accent: #cf0106;
    --apps-font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.apps-page {
    min-height: 100vh;
    font-family: var(--apps-font);
    color: var(--apps-ink);
    background: var(--apps-bg);
}

.apps-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 40px;
}

.apps-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--apps-ink);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 34px;
}

.apps-logo img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.apps-card {
    width: min(100%, 560px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    text-align: center;
}

.apps-kicker {
    margin: 0 0 12px;
    color: var(--apps-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.apps-card h1 {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.apps-copy {
    margin: 16px auto 0;
    max-width: 30rem;
    color: var(--apps-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.apps-store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 34px;
}

.apps-store-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 0;
    padding: 8px 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--apps-ink);
    text-decoration: none;
    transition: opacity 160ms ease;
}

.apps-store-link:hover,
.apps-store-link:focus-visible {
    opacity: 0.72;
    outline: none;
}

.apps-store-link img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
}

.apps-store-link span {
    font-size: 0.95rem;
    font-weight: 600;
}

.apps-status {
    margin: 26px 0 0;
    color: var(--apps-muted);
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .apps-shell {
        justify-content: center;
        padding: 28px 20px 36px;
    }

    .apps-store-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .apps-store-link {
        padding: 4px 0;
    }
}
