:root {
    --bg-color: #fafaf7;
    --text-color: #333333;
    --heading-color: #2c3e50;
    --bullet-color: #3498db;
    --link-color: #0066cc;
}

.app-store-badge {
    display: inline-grid;
    line-height: 0;
    position: relative;
}

.app-store-badge::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    background-image: url('/app-store-black.svg'), url('/app-store-white.svg');
}

.app-store-badge img {
    grid-area: 1 / 1;
    display: block;
}

.app-store-logo-light {
    visibility: visible;
}

.app-store-logo-dark {
    visibility: hidden;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #e0e0e0;
        --heading-color: #9ab3ce;
        --bullet-color: #61afef;
        --link-color: #4da6ff;
    }

    .app-store-logo-light {
        visibility: hidden;
    }

    .app-store-logo-dark {
        visibility: visible;
    }
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1,
h2 {
    color: var(--heading-color);
}

footer {
    text-align: left;
}

.feature-list {
    list-style-type: none;
    padding-left: 0;
}

.feature-list li:before {
    content: '• ';
    color: var(--bullet-color);
}

a {
    color: var(--link-color);
    text-decoration: underline;
}

a:hover,
a:focus {
    text-decoration: none;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.page-header h1 {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.app-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 16px;
}
