.mobile-app-services {
    --app-accent: var(--sc-accent-ink);
    --app-border: var(--sc-line);
    --app-canvas: color-mix(in srgb, var(--sc-primary) 10%, var(--sc-surface));
}

.mobile-app-services .sc-hero {
    padding-bottom: clamp(44px, 7vw, 86px);
}

.mobile-app-services h1 {
    max-width: 13ch;
    margin-bottom: 24px;
    font-size: clamp(2.6rem, 4.7vw, 4.9rem);
    line-height: 1.04;
    text-wrap: balance;
}

.mobile-app-services .sc-actions {
    gap: 16px 28px;
}

.mobile-app-services .sc-actions .smpls-button.-underlined {
    color: var(--app-accent) !important;
}

.mobile-app-services .sc-section-heading > p {
    margin-top: 16px;
    font-size: 16px;
}

.mobile-app-services .sc-page-nav a {
    margin-left: 0;
    color: inherit;
}

.mobile-app-services .sc-page-nav a:hover {
    color: var(--app-accent);
}

.mobile-app-hero-previews {
    min-width: 0;
    margin: 0;
    text-align: center;
}

.mobile-app-hero-images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 30px);
    padding: clamp(22px, 4vw, 56px) 8%;
    isolation: isolate;
}

.mobile-app-hero-images::before {
    position: absolute;
    z-index: -1;
    inset: 14% 1%;
    border: 1px solid color-mix(in srgb, var(--sc-primary) 16%, var(--app-border));
    border-radius: 38% 62% 69% 31% / 54% 57% 43% 46%;
    background: radial-gradient(ellipse at 65% 30%, var(--app-canvas), transparent 74%);
    content: "";
}

.mobile-app-hero-images img {
    display: block;
    width: min(40%, 220px);
    height: auto;
    border: 1px solid rgb(255 255 255 / .55);
    border-radius: clamp(14px, 2vw, 26px);
    box-shadow: 0 22px 55px rgb(2 12 34 / .2);
}

.mobile-app-hero-images img:first-child {
    transform: translateY(4%) rotate(-8deg);
}

.mobile-app-hero-images img:last-child {
    transform: translateY(-4%) rotate(8deg);
}

.mobile-app-hero-previews figcaption {
    margin-top: 7px;
    color: var(--sc-muted);
    font-size: 13px;
}

.mobile-app-services-grid,
.mobile-app-project-grid,
.mobile-app-publishing-grid {
    display: grid;
    gap: clamp(16px, 2.5vw, 28px);
}

.mobile-app-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mobile-app-project-grid,
.mobile-app-publishing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-app-panel {
    min-width: 0;
    padding: clamp(20px, 3.3vw, 36px);
    border: 1px solid var(--app-border);
    border-radius: 24px;
    background: var(--sc-surface);
}

.mobile-app-panel h3 {
    font-size: clamp(1.18rem, 1.65vw, 1.55rem);
    line-height: 1.24;
}

.mobile-app-panel h3 + :is(p, ul) {
    margin-top: 14px;
}

.mobile-app-service-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 14px;
    background: var(--app-canvas);
    color: var(--app-accent);
    font-size: 20px;
}

.mobile-app-project {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.mobile-app-project-previews {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 2vw, 24px);
    padding: clamp(20px, 4vw, 48px) 8%;
}

.mobile-app-project-previews--gastro {
    background: linear-gradient(145deg, #ffefe9, #f3d7d7);
}

.mobile-app-project-previews--rally {
    background: linear-gradient(145deg, #ecf2fc, #ccd9ef);
}

.mobile-app-project-previews img {
    width: min(42%, 172px);
    height: auto;
    border-radius: clamp(10px, 1.25vw, 17px);
    box-shadow: 0 14px 28px rgb(21 35 60 / .19);
}

.mobile-app-project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(20px, 3.3vw, 36px);
}

.mobile-app-panel ul {
    display: grid;
    gap: 10px;
    padding-left: 1.25em;
    color: var(--sc-muted);
    list-style: disc;
}

.mobile-app-panel li::marker {
    color: var(--app-accent);
}

.mobile-app-project-content ul {
    margin-block: 18px 24px;
}

.mobile-app-project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--app-border);
}

.mobile-app-project-links a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 5px;
    color: var(--app-accent);
    font-weight: 650;
    white-space: nowrap;
}

.mobile-app-project-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mobile-app-services .mobile-app-platform {
    margin-bottom: 8px;
    color: var(--app-accent);
    font-size: 13px;
    font-weight: 650;
}

.mobile-app-split {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(24px, 6vw, 80px);
}

.mobile-app-split .sc-section-heading {
    margin-bottom: 0;
}

.mobile-app-maintenance > div {
    padding: 18px 0;
    border-top: 1px solid var(--app-border);
}

.mobile-app-maintenance > div:last-child {
    border-bottom: 1px solid var(--app-border);
}

.mobile-app-maintenance dt {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 650;
}

.mobile-app-maintenance dd {
    color: var(--sc-muted);
}

.mobile-app-services .mobile-app-contact {
    padding-top: 0;
}

.mobile-app-contact-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 5vw, 60px);
    border: 1px solid var(--app-border);
    border-radius: 28px;
    background: linear-gradient(140deg, var(--app-canvas), var(--sc-surface));
}

.mobile-app-contact-panel > div {
    flex: 1 1 26rem;
}

.mobile-app-contact-panel p {
    max-width: 55ch;
    margin-top: 14px;
}

.dark .mobile-app-services {
    --app-accent: color-mix(in srgb, var(--sc-primary) 44%, #dcecff);
    --app-canvas: color-mix(in srgb, var(--sc-primary) 20%, var(--sc-surface));
}

.dark .mobile-app-services .sc-hero .smpls-text-gradient {
    background-image: linear-gradient(115deg, #cde6ff, #84bfff) !important;
}

.dark .mobile-app-project-previews--gastro {
    background: linear-gradient(145deg, #442b37, #35222c);
}

.dark .mobile-app-project-previews--rally {
    background: linear-gradient(145deg, #283d59, #202b3f);
}

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

    .mobile-app-hero-images img {
        width: min(40%, 175px);
    }
}

@media (max-width: 720px) {
    .mobile-app-services-grid,
    .mobile-app-project-grid,
    .mobile-app-publishing-grid,
    .mobile-app-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .mobile-app-services h1 {
        font-size: clamp(2.25rem, 9.5vw, 3.45rem);
    }

    .mobile-app-hero-images img {
        width: min(42%, 170px);
    }

    .mobile-app-project-previews img {
        width: min(43%, 145px);
    }
}
