/* -------- Global layout -------- */

body {
    margin: 0;
    padding: 32px 20px;
    font-family: system-ui, -apple-system, Segoe UI, sans-serif;
    background: #ffffff;
    color: #1f1f1f;
    line-height: 1.65;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 820px;
    width: 100%;
}

/* -------- Header -------- */

.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.header img {
    width: 96px;
    height: 96px;
    margin-bottom: 16px;
}

.header h1 {
    font-size: 2.3rem;
    margin: 0;
    font-weight: 700;
}

.header p {
    margin-top: 8px;
    font-size: 1.15rem;
    color: #6f6f6f;
}

/* -------- Typography -------- */

h2 {
    margin-top: 2.2rem;
    font-size: 1.55rem;
}

p,
li {
    font-size: 1.05rem;
}

/* -------- CTA button -------- */

.button-primary {
    display: inline-block;
    padding: 12px 20px;
    background: #0d6efd;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 20px;
    font-size: 1.12rem;
    transition: 0.2s ease;
}

.button-primary:hover {
    opacity: 0.85;
}

/* -------- Link -------- */

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* -------- Cards (store boxes) -------- */

.cards {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    padding: 20px;
    border-radius: 12px;
    width: 280px;
    text-align: center;
    text-decoration: none;
    color: #1f1f1f;
    transition: 0.2s;
}

.store-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
}

.card:hover {
    border-color: #0d6efd;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #6f6f6f;
    font-size: 0.97rem;
}

/* -------- Footer -------- */

footer {
    margin-top: 3rem;
    font-size: 0.9rem;
    text-align: center;
    color: #6f6f6f;
}

.center-link {
    text-align: center;
    margin: 25px 0 10px 0;
}

.privacy-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d6efd;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* -------- Dark mode (prefers-color-scheme) -------- */

@media (prefers-color-scheme: dark) {
    body {
        background: #111111;
        color: #e6e6e6;
    }

    .header p {
        color: #aaaaaa;
    }

    .card {
        background: #1a1a1a;
        border-color: #333333;
        color: #e6e6e6;
    }

    .privacy-link {
        color: #4aa3ff;
    }

    .card p {
        color: #aaaaaa;
    }

    footer {
        color: #aaaaaa;
    }

    a {
        color: #4aa3ff;
    }

    .button-primary {
        background: #4aa3ff;
    }

    .button-primary:hover {
        background: #2e8de6;
    }
}
