html {
    height: 100%;
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

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

.container {
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    padding: 24px;
    background: radial-gradient(1200px 600px at 50% -10%, #1c4e84 0%, #0f2a48 45%, #0a1d33 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    text-align: center;
}

/* Card */
.card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    color: #1d1d1f;
    border-radius: 24px;
    padding: 40px 32px 32px;
    box-shadow: 0 24px 60px rgba(3, 16, 31, 0.45), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.app-mark {
    width: 100%;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* App icon: the SVG is itself a rounded-square tile, shown at size with a soft
   neutral shadow for lift (standard app-store icon treatment). The radius matches
   the artwork's own corners (rx 80 of 512 ≈ 15.6%) so the shadow hugs the shape. */
.app-icon {
    width: 92px;
    height: 92px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(9, 34, 48, 0.28), 0 1px 3px rgba(0, 0, 0, 0.14);
}

.card h1 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.subtitle {
    margin: 0 0 28px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #6e6e73;
}

/* Store badges */
.badges {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.store-badge {
    /* button and a render identically: border-box + reset native control defaults
       so the App Store (<button>) and Google Play (<a>) badges are the same size */
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 230px;
    height: 58px;
    margin: 0;
    padding: 0 20px;
    border: none;
    border-radius: 13px;
    background: #000;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30);
}

.store-badge:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.store-badge:focus-visible {
    outline: 3px solid #22b8ff;
    outline-offset: 3px;
}

.store-badge .glyph {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-badge .glyph svg {
    width: 100%;
    height: 100%;
    display: block;
}

.store-badge .label {
    text-align: left;
    line-height: 1.1;
}

.store-badge .label .small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.92;
    letter-spacing: 0.02em;
}

.store-badge .label .big {
    display: block;
    margin-top: 2px;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hint {
    margin: 26px 0 0;
    font-size: 0.78rem;
    color: #a1a1a6;
}

@media (max-width: 480px) {
    .card {
        padding: 32px 22px 26px;
    }
}
