*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-text-secondary: #555555;
    --color-accent: #2563eb;
    --color-border: #e5e7eb;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max-width: 720px;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    padding: 2rem 1.25rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

header {
    text-align: center;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2.5rem;
}

header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

header p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto 1.5rem;
}

.badge {
    display: inline-block;
    margin-top: 0.5rem;
}

.badge img {
    height: 56px;
    width: auto;
}

.screenshots {
    margin-bottom: 2.5rem;
}

.screenshots h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.screenshot-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.screenshot-grid img {
    height: 400px;
    width: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}

.screenshot-placeholder {
    height: 400px;
    width: 185px;
    border-radius: 12px;
    border: 2px dashed var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    text-align: center;
    flex-shrink: 0;
}

footer {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

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

footer a:hover {
    text-decoration: underline;
}

/* Privacy policy page */
.prose h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.prose .meta {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.prose h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.prose p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

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

.prose a:hover {
    text-decoration: underline;
}

.stub-notice {
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #713f12;
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.75rem;
    }

    .screenshot-grid img,
    .screenshot-placeholder {
        height: 300px;
        width: 139px;
    }
}
