:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f5f6;
    color: #182025;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background: #f3f5f6;
}

.page {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.site-nav {
    display: flex;
    gap: 24px;
    margin-bottom: 72px;
    font-weight: 700;
}

.site-nav a {
    color: #486069;
    text-decoration: none;
}

.site-nav a:hover {
    color: #182025;
}

.site-nav span {
    color: #126e82;
}

.page-header {
    margin-bottom: 48px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #126e82;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: 0;
}

.subtitle {
    max-width: 520px;
    margin: 18px 0 0;
    color: #58666c;
    font-size: 18px;
    line-height: 1.5;
}

.app-list {
    border-top: 1px solid #ccd3d6;
}

.app-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    padding: 20px 0;
    border-bottom: 1px solid #ccd3d6;
    color: #182025;
    text-decoration: none;
}

.app-item img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 8px;
}

.app-copy {
    display: grid;
    min-width: 0;
    gap: 6px;
}

.app-copy strong {
    font-size: 21px;
}

.app-copy span {
    overflow-wrap: anywhere;
    color: #66747a;
    line-height: 1.4;
}

.open-label {
    color: #126e82;
    font-weight: 750;
}

.app-item:hover .open-label {
    color: #0a4f5e;
}

.app-item:focus-visible,
.site-nav a:focus-visible {
    outline: 3px solid #126e82;
    outline-offset: 5px;
}

@media (max-width: 480px) {
    .page {
        padding-top: 24px;
    }

    .site-nav {
        margin-bottom: 56px;
    }

    h1 {
        font-size: 42px;
    }

    .app-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .app-item img {
        width: 64px;
        height: 64px;
    }

    .open-label {
        grid-column: 2;
    }
}

@media (prefers-color-scheme: dark) {
    :root,
    body {
        color-scheme: dark;
        background: #15191b;
        color: #f3f5f6;
    }

    .site-nav a,
    .subtitle,
    .app-copy span {
        color: #aeb9bd;
    }

    .site-nav span,
    .eyebrow,
    .open-label {
        color: #77d6df;
    }

    .app-list,
    .app-item {
        border-color: #394247;
    }

    .app-item {
        color: #f3f5f6;
    }
}
