/* Shared by every page on fc.ms-electronics.at. Colours mirror the Fency app's
   Material palette (androidApp/.../ui/theme/Color.kt). */

:root {
    --bg: #eef3eb;
    --surface: #f6fbf3;
    --on-surface: #181d18;
    --muted: #52605a;
    --primary: #316a42;
    --on-primary: #ffffff;
    --border: #d5e0d3;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #101510;
        --surface: #171d17;
        --on-surface: #dfe4dc;
        --muted: #a4b0a4;
        --primary: #98d4a4;
        --on-primary: #003919;
        --border: #2a322a;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--bg);
    color: var(--on-surface);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
}

main {
    width: 100%;
    max-width: 30rem;
    padding: 2.5rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    text-align: center;
}

.mark {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.25rem;
    display: block;
    color: var(--primary);
}

h1 {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

p:last-of-type {
    margin-bottom: 1.75rem;
}

/* Store links. The same pair appears on every page — keep them in sync. */
.stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.stores a {
    flex: 1 1 11rem;
    padding: 0.7rem 1.25rem;
    border-radius: 0.75rem;
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 600;
    text-decoration: none;
}

.stores a:hover,
.stores a:focus-visible {
    filter: brightness(1.08);
}

footer {
    margin-top: 2rem;
    font-size: 0.8125rem;
    color: var(--muted);
}

footer a {
    color: inherit;
}
