* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: #fff;
    color: #2c3134;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 1;
    text-decoration: none;
}

.container {
    width: min(100% - 32px, 1140px);
    margin: 0 auto;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.site-nav .container {
    display: flex;
    align-items: center;
    min-height: 72px;
}

.brand-link,
.brand-link img {
    display: block;
}

.brand-link img {
    height: 32px;
    max-width: 230px;
    object-fit: contain;
}

.product-hero {
    padding: 96px 0 48px;
    background: #e7f3ff;
}

.product-hero-panel {
    display: grid;
    min-height: 320px;
    place-items: center;
    background-image: url("app/bg.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.product-hero-image {
    display: block;
    width: min(100%, 485px);
    height: auto;
}

.app-showcase {
    padding: 48px 0 58px;
    background: #fff;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
}

.app-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    min-height: 188px;
    padding: 20px 0;
    border-bottom: 1px solid #e9edf3;
}

.app-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.app-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 14px;
    align-items: start;
    min-width: 0;
}

.app-heading {
    min-width: 0;
}

.app-heading h2 {
    margin: 0;
    color: #2f3337;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.app-heading p,
.app-description {
    margin: 0;
}

.app-heading p {
    color: #b8bdc4;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.app-action {
    align-self: center;
    padding: 7px 12px;
    border-radius: 6px;
    background: #2878ff;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

.app-action:hover {
    background: #1769ee;
}

.app-description {
    grid-column: 1 / -1;
    margin-top: 14px;
    color: #4f555d;
    font-size: 14px;
    line-height: 1.58;
}

.site-footer {
    padding: 50px 0;
    background: #fff;
    color: #4b4c4d;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
}

.footer-section,
.footer-brand {
    padding: 0 12px;
}

.footer-section h3 {
    margin: 0 0 12px;
    color: #2c3134;
    font-size: 16px;
    font-weight: 400;
}

.footer-section ul,
.footer-brand ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section li,
.footer-brand li {
    margin: 0;
}

.footer-section a {
    color: #4b4c4d;
    font-size: 14px;
    opacity: 0.8;
}

.footer-brand img {
    display: block;
    height: 40px;
    max-width: 230px;
    object-fit: contain;
}

.footer-brand ul {
    margin-top: 10px;
}

#icp-link {
    color: #767676;
    font-size: 12px;
}

.iso-link {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    color: #707070;
    font-size: 12px;
}

.iso-link img {
    width: 18px;
    height: 18px;
}

@media (max-width: 900px) {
    .app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1140px);
    }

    .site-nav .container {
        min-height: 64px;
    }

    .product-hero {
        padding-top: 84px;
    }

    .product-hero-panel {
        min-height: 240px;
    }

    .app-showcase {
        padding: 30px 0 44px;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }

    .app-card {
        grid-template-columns: 56px minmax(0, 1fr);
        min-height: 0;
        padding: 18px 0;
    }

    .app-icon {
        width: 48px;
        height: 48px;
    }

    .app-copy {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .app-action {
        justify-self: start;
    }

    .app-description {
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
