:root {
    color-scheme: light dark;

    --background: #F2F4F7;
    --surface: #FFFFFF;
    --fill: #F2F4F7;
    --labelPrimary: #0F1720;
    --labelSecondary: #5B6673;
    --separator: #E2E6EB;
    --outline: #C9CFD6;
    --accent: #0B7A5B;
    --accentSubtle: #E3F3EC;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #0B0F14;
        --surface: #161C23;
        --fill: #202830;
        --labelPrimary: #F3F5F7;
        --labelSecondary: #A3ADB8;
        --separator: #2A323B;
        --outline: #3A4650;
        --accent: #3DCB95;
        --accentSubtle: #16342A;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui,
        sans-serif;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: var(--labelPrimary);
    background: var(--background);
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
}

strong {
    font-weight: 600;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    padding: 64px 24px;
}

.app-icon {
    display: block;
    width: 120px;
    height: 120px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 2.125rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.tagline {
    color: var(--labelSecondary);
    line-height: 1.4;
    margin-bottom: 28px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    text-align: left;
    font-size: 0.9375rem;
    line-height: 1.4;
    margin-bottom: 36px;
}

.features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.features svg {
    flex-shrink: 0;
    stroke: var(--accent);
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.store-badges img {
    display: block;
    width: auto;
}

.app-store-badge img {
    height: 54px;
}

.google-play-badge img {
    height: 81px;
    margin: -13px;
}

.coming-soon {
    padding: 10px 20px;
    border: 1px solid var(--outline);
    border-radius: 999px;
    background: var(--surface);
    color: var(--labelSecondary);
    font-size: 0.9375rem;
    font-weight: 600;
}

.links {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    font-size: 0.8125rem;
}

.links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--labelSecondary);
    text-decoration: none;
}

.links a:hover {
    color: var(--labelPrimary);
}

.document {
    width: min(800px, calc(100% - 32px));
    margin: 16px auto 48px;
    padding: 24px 20px;
    border-radius: 14px;
    background: var(--surface);
}

@media (min-width: 768px) {
    .document {
        margin: 48px auto 64px;
        padding: 40px 48px;
    }
}

.document h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.document h2 {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-top: 32px;
    margin-bottom: 8px;
}

.document h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 6px;
}

.document p {
    margin-bottom: 16px;
}

.document ul,
.document ol {
    margin: 8px 0 16px 24px;
}

.document li {
    margin: 4px 0;
}

.document a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.document a:hover {
    text-decoration-thickness: 2px;
}

.last-updated {
    color: var(--labelSecondary);
    font-size: 0.8125rem;
}

.document .last-updated {
    margin-bottom: 24px;
}

.card,
.themed-card {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.card {
    background: var(--fill);
}

.themed-card {
    background: var(--accentSubtle);
}

.section-divider {
    border: none;
    border-top: 1px solid var(--separator);
    margin: 32px 0;
}

.important {
    text-transform: uppercase;
    font-weight: 600;
}

.document .no-margin-bottom {
    margin-bottom: 0;
}
