:root {
    --bg: #f7f7f7;
    --text: #111;
    --pink: #fb2f83;
    --teal: #53c9d5;
    --line: #111
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif
}

body {
    min-height: 100vh
}

.site-header {
    height: 122px;
    border-bottom: 4px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    background: #fafafa
}

.brand {
    font-size: 28px;
    text-decoration: none;
    color: #111
}

.nav {
    display: flex;
    gap: 38px
}

.nav a {
    color: #111;
    text-decoration: none;
    font-size: 14px
}

.nav a.active {
    text-decoration: underline;
    text-underline-offset: 7px
}

.page {
    min-height: calc(100vh - 122px);
    padding: 7vh 4% 5vh
}

.hero {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 6vw;
    align-items: center;
    min-height: 70vh
}

.hero h1, .content h1 {
    font-size: 68px;
    line-height: 1.02;
    font-weight: 400;
    margin: 0 0 36px
}

.hero p, .copy p {
    font-size: 20px;
    line-height: 1.4;
    max-width: 760px
}

.logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 85px
}

.app-logo {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.artcart-logo {
    height: 200px;
}

.colorphoria-logo {
    height: 72px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #050505;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    width: 460px;
    max-width: 100%;
    height: 76px;
    margin-top: 110px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px
}

.two-col {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 6vw;
    align-items: start
}

.copy {
    max-width: 850px
}

.copy p {
    font-size: 17px;
    line-height: 1.42
}

.screens {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 24px;
    align-items: start
}

.screens img {
    width: 100%;
    max-height: 760px;
    object-fit: cover;
    object-position: top;
    background: #fdeef4
}

.single-screen {
    display: flex;
    justify-content: center
}

.single-screen img {
    max-height: 760px;
    max-width: 560px;
    width: 100%;
    object-fit: contain
}

.small-note {
    margin-top: 48px;
    font-size: 16px
}

.small-note a {
    color: #111
}

.about-image {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: left center
}

.policy {
    max-width: 900px;
    margin: 0 auto
}

.policy h1 {
    font-size: 56px;
    font-weight: 400
}

.policy h2 {
    font-size: 22px;
    margin-top: 34px
}

.policy p, .policy li {
    font-size: 17px;
    line-height: 1.55
}

.policy a {
    color: #111
}

.footer {
    border-top: 4px solid #111;
    padding: 70px 4%;
    text-align: center;
    font-size: 28px;
    margin-top: 40px
}

@media (max-width: 850px) {
    .site-header {
        height: auto;
        padding: 24px 6%;
        gap: 20px;
    }

    .nav {
        gap: 18px;
    }

    .page {
        min-height: 0;
        padding: 48px 6%;
    }

    /* Desktop columns become a single vertical flow on tablets/phones. */
    .hero,
    .two-col {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero {
        min-height: 0;
        align-items: start;
    }

    .hero h1,
    .content h1 {
        font-size: clamp(42px, 10vw, 54px);
        margin-bottom: 28px;
    }

    .hero p,
    .copy p,
    .policy p,
    .policy li {
        font-size: 16px;
    }

    .copy,
    .hero > section,
    .two-col > * {
        min-width: 0;
        width: 100%;
    }

    .logos {
        width: 100%;
        gap: 44px;
        padding: 8px 0;
    }

    .app-logo {
        max-width: min(100%, 520px);
        height: auto;
    }

    .artcart-logo {
        width: min(100%, 440px);
    }

    .colorphoria-logo {
        width: min(82%, 360px);
    }

    .button {
        width: min(100%, 460px);
        height: 64px;
        margin-top: 44px;
    }

    /* App screenshots stack and fit the viewport instead of staying side-by-side. */
    .screens {
        grid-template-columns: 1fr;
        gap: 28px;
        width: 100%;
    }

    .screens img,
    .single-screen img,
    .about-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
    }

    .screens img {
        object-fit: contain;
    }

    .single-screen {
        width: 100%;
    }

    .about-image {
        aspect-ratio: auto;
        object-position: center;
    }

    .policy {
        width: 100%;
        max-width: 100%;
    }

    .policy h1 {
        font-size: 44px;
    }
}

@media (max-width: 520px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 6%;
    }

    .brand {
        font-size: 24px;
    }

    .nav {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .nav a {
        font-size: 13px;
    }

    .page {
        padding: 38px 6% 48px;
    }

    .hero,
    .two-col {
        gap: 36px;
    }

    .hero h1,
    .content h1 {
        font-size: clamp(38px, 12vw, 48px);
    }

    .button {
        width: 100%;
        margin-top: 36px;
    }

    .logos {
        gap: 34px;
    }

    .artcart-logo {
        width: 92%;
    }

    .colorphoria-logo {
        width: 74%;
    }

    .small-note {
        margin-top: 32px;
        overflow-wrap: anywhere;
    }

    .policy h1 {
        font-size: 40px;
    }

    .footer {
        padding: 48px 6%;
        font-size: 24px;
    }
}
