:root {
    --bg: #1a1a2e;
    --text: #eee;
    --text-muted: #aaa;
    --accent: #f5c518;
    --border: #33334d;
}

body {
    font-family: system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Portal (index.html): the centered app picker, same look as the page Xvite used to serve here. */
.portal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0 1rem;
    text-align: center;
}

.portal h1 {
    font-size: 1.5rem;
    font-weight: normal;
}

.portal .app-links a {
    font-size: 1.25rem;
}

/* Policy pages */
.legal-page {
    max-width: 44rem;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.legal-page h1 {
    margin-bottom: 0.25rem;
}

.legal-page .legal-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0;
}

.legal-page h2 {
    margin-top: 2rem;
    font-size: 1.15rem;
}

.screenshot {
    margin: 1rem 0;
}

.screenshot img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border);
}

.screenshot figcaption {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Home page (index.html): legal-page layout plus a prominent Movie Sign link. */
.home .app-links a {
    font-size: 1.25rem;
}

.footer-links {
    margin-top: 2.5rem;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--text-muted);
}
