/* ==============================================
   BASE RESETS
   ============================================== */
@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/sf-pro/SF-Pro.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/sf-pro/SF-Pro.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/sf-pro/SF-Pro.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/sf-pro/SF-Pro.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/sf-pro/SF-Pro.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/sf-pro/SF-Pro.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/sf-pro/SF-Pro.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/sf-pro/SF-Pro.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../fonts/sf-pro/SF-Pro.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #fff;
}

img {
    max-width: 100%;
}

section {
    width: 100%;
}

p:not(:last-child) {
    margin-bottom: 1em;
}

#page-header .header-wrapper {
    box-shadow: 0 1px 3px #070e271f;
}

/* ==============================================
   REUSABLE UI: Tag List
   ============================================== */
.tag-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag-list__item {
    padding: 6px 20px;
    display: block;
    background-color: #F7F7F8;
    border-radius: 100px;
    line-height: 20px;
}

/* ==============================================
   PAGE WRAPPER
   ============================================== */
.case-study {
    font-family: 'SF Pro Display', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.24px;
    color: #252525;
}

.case-study .container {
    max-width: 1400px;
    padding: 0 20px;
    margin: 0 auto;
}

.section-title {
    font-size: 30px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    color: #979797;
}

.section-subtitle {
    color: #737171;
    font-size: 20px;
    font-weight: 300;
}

.hero {
    border-radius: 12px;
    background: #F0F0F0;
    min-height: 680px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    margin-bottom: 120px;
}

.hero .hero_logo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
}

.hero .hero_logo svg {
    width: 100%;
    height: auto;
}

.hero img {
    position: relative;
    max-width: 827px;
    margin: 0 auto;
}

/* ==============================================
   SECTION: Overview
   ============================================== */
.overview {
    margin-bottom: 120px;
}

.overview .section-title {
    margin-bottom: 30px;
}

.overview__info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 120px;
}

.overview__intro {
    max-width: 422px;
}

.overview__details {
    max-width: 761px;
}

.overview__meta {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #E8E9EB;
}

.overview__meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 150px;
}

.overview__meta-label {
    color: #979797;
}

.overview__images {
    display: flex;
    gap: 17px;
}

.overview__image {
    padding: 50px 80px;
    border-radius: 12px;
    background: #F5F5F5;
}


.product {
    margin: 100px auto;
    max-width: 1200px;
    display: flex;
    gap: 70px;
}

.product__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1;
}

.product__image {
    flex: 1 1;
}


.identify {
    margin: 100px 0;
    display: flex;
    gap: 16px;
}


.process {
    margin: 100px auto;
    max-width: 900px;
}

.process__info {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.process__heading {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1;
}

.process__text {
    flex: 1 1;
}


.challenge {
    margin: 100px 0;
}

.challenge__heading {
    padding-bottom: 4px;
    border-bottom: 1px solid #C7C7CC;
    margin-bottom: 20px;
}

.challenge__row {
    display: flex;
    gap: 16px;
}

.challenge__item {
    flex: 1 1;
    padding: 20px;
    border-radius: 12px;
    background: #F5F5F5;
    
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.challenge__item .title {
    font-size: 80px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    line-height: normal;
    color: #C7C7CC;
}


.architecture {
    margin: 100px 0;
    display: flex;
    gap: 16px;
}

.architecture__info {

    flex: 1 1;
}

.architecture__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 80px;
}

.architecture__image {
    flex: 1 1;
    min-height: 464px;
    overflow: hidden;
    border-radius: 12px;
}

.architecture__image img {
    height: 100%;
    object-fit: cover;
    object-position: left;
}


.wireframes {
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
    aspect-ratio: 2/1;
    background-color: #000000;
    background-size: 70%;
    background-position: bottom right;
    background-repeat: no-repeat;
    position: relative;

    margin: 100px 0;
}

.wireframes:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, #000000 100%);
}



.wireframes__info {
    max-width: 484px;
    position: relative;
}

.wireframes__info .section-title {
    margin-bottom: 20px;
}

.wireframes__text {
    color: #FFFFFF;
}


.benefits {
    margin: 100px 0;
}

.benefits__heading {
    color: #C7C7CC;
    font-size: 74px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.benefits__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits__row {
    display: flex;
    gap: 20px;
}

.benefits__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits__col.small {
    max-width: 532px;
}

.benefits__item {
    padding: 20px;
    border-radius: 12px;
    background: #F5F5F5;
    display: flex;
    flex-direction: column;
    gap: 44px;
    justify-content: space-between;
    height: 100%;
}

.benefits__item .heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.benefits__item .name {
    color: #979797;
    font-size: 44px;
    font-weight: 300;
}

.benefits__item .title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}


.design {
    margin: 100px auto;
    max-width: 900px;
}

.design__header {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.design__header .section-title,
.design__header .design__description{
    flex: 1 1;
}

.design__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.design__row {
    display: flex;
    gap: 10px;
}

.design__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.design__item .title {
    color: #141414;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 5px;
}

.typography {
    margin: 100px 0;
}

.typography__heading {
    padding-bottom: 4px;
    border-bottom: 1px solid #C7C7CC;
    margin-bottom: 80px;
}

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

    display: flex;
    gap: 20px;
}

.typography__font {
    flex: 1 1;
}

.typography__size {
    flex: 1 1;
}

.typography__font .name {
    color: #252525;
    font-size: 128px;
    font-weight: 500;
    line-height: 0.9;
    margin-bottom: 15px;
}

.typography__font .weight {
    display: flex;
    justify-content: space-between;
    max-width: 358px;
}

.typography__font .weight .item {
    color: #252525;
    font-size: 20px;
    font-weight: 300;
    line-height: 0.9;
}

.typography__font .weight .item.light {
    font-weight: 200;
}

.typography__font .weight .item.regular {
    font-weight: 400;
}

.typography__font .weight .item.medium {
    font-weight: 500;
}

.typography__font .weight .item.semibold {
    font-weight: 600;
}

.typography__size .title {
    color: #979797;
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 28px;
}

.typography__size .letters {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    margin-bottom: 14px;
}

.typography__size .letters .large {
    color: #737171;
    font-size: 64px;
    font-weight: 500;
    line-height: 0.93;
}

.typography__size .letters .small {
    color: #C7C7CC;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.33;
    max-width: 243px;
}

.typography__size .sizes {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 35px 0 47px;
}

.typography__size .sizes:before {
    content: '';
    width: 100%;
    height: 1px;
    background: linear-gradient(-90deg, #252525 0%, #FFF 100%);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.typography__size .sizes .item {
    padding: 5px;
    position: relative;
}

.typography__size .sizes .item:before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    display: block;
    background: #D9D9D9;

    position: absolute;
    top: -1.5px;
    left: 50%;
    transform: translateX(-50%);
}

.typography__size .sizes .item.ten {
    font-size: 10px;
    color: #D9D9D9;
}
.typography__size .sizes .item.ten:before {
    background: #D9D9D9;
}

.typography__size .sizes .item.twelve {
    font-size: 12px;
    color: #BEBEBE;
}
.typography__size .sizes .item.twelve:before {
    background: #BEBEBE;
}

.typography__size .sizes .item.fourteen {
    font-size: 14px;
    color: #A4A4A4;
}
.typography__size .sizes .item.fourteen:before {
    background: #A4A4A4;
}

.typography__size .sizes .item.sixteen {
    font-size: 16px;
    color: #767676;
}
.typography__size .sizes .item.sixteen:before {
    background: #767676;
}

.typography__size .sizes .item.eighteen {
    font-size: 18px;
    color: #616161;
}
.typography__size .sizes .item.eighteen:before {
    background: #616161;
}

.typography__size .sizes .item.twenty {
    font-size: 20px;
    color: #474747;
}
.typography__size .sizes .item.twenty:before {
    background: #474747;
}


.colors {
    margin: 100px 0;
}

.colors__grid {
    display: flex;
    gap: 10px;
    min-height: 348px;
}

.colors__grid-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.colors__grid-item.heading {
    padding-right: 22px;
    justify-content: space-between;
}

.colors__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--color, #ffffff);
    background-color: var(--bg-color, #ffffff);
    padding: 6px;
    border-radius: 4px;
    flex: 0 0 auto;
}

.colors__grid-item:nth-child(2) .colors__item:first-child {
    flex: 1 1 auto;
    min-height: 0;
}

.colors__grid-item:nth-child(3) .colors__item {
    flex: 1 1 auto;
    min-height: 0;
}

.colors__grid-item:nth-child(4) .colors__item:nth-child(3),
.colors__grid-item:nth-child(4) .colors__item:nth-child(4),
.colors__grid-item:nth-child(4) .colors__item:nth-child(5) {
    flex: 1 1 auto;
    min-height: 0;
}

.colors__grid-item:nth-child(5) .colors__item {
    flex: 1 1 auto;
    min-height: 0;
}

.colors__grid-item:nth-child(6) .colors__item:nth-child(1),
.colors__grid-item:nth-child(6) .colors__item:nth-child(6) {
    flex: 1 1 auto;
    min-height: 0;
}

.colors__grid-item:nth-child(6) .colors__item:nth-child(1) {
    border: 0.5px solid #D9D9D9;
}

.colors__item .name {
    font-size: 10px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 4px;
}

.colors__item .color,
.colors__item .number {
    font-size: 10px;
    font-weight: 400;
    line-height: 10px;
}

.screen {
    margin: 100px 0;
    min-height: 680px;
    border-radius: 12px;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.screen__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
}

.screen__bg svg {
    width: 100%;
    height: auto;
}

.screen__image {
    max-width: 1000px;
    position: relative;
}


.flow {
    margin: 100px 0;
}

.flow__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 15px;
}

.flow__grid svg {
    width: 100%;
}

.flow__item:has(.flow__text) {
    align-content: flex-end;
}

.flow__heading-mobile,
.flow__item-mobile {
    display: none;
}



.technologies {
    margin: 100px 0;
}

.technologies__heading {
    color: #E8E9EB;
    font-size: 68px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}

.technologies__content {
    position: relative;
}

.technologies__content-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.technologies__content-image img {
    max-width: 800px;
    width: 100%;
}

.technologies__content-items {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    padding: 54px 80px;
    flex-wrap: wrap;
    gap: 245px;
    align-items: stretch;
}

.technologies__content-item {
    max-width: 324px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(245, 245, 245, 0.82);
}

.technologies__content-item .section-title {
    margin-bottom: 16px;
}


.application {
    margin: 100px 0;
}

.application__grid {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    gap: 60px 14px;

    border-radius: 12px;
    background: #F0F0F0;

    padding: 80px 12px;
}

.application__item:not(.small) {
    grid-column: span 2;
}


.conclusion {
    margin: 100px 0 170px;
    border-radius: 12px;
    background: #080808;
    padding: 20px;
    overflow: hidden;
}

.conclusion__content {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-right: 50px;
}

.conclusion__overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.conclusion__overlay svg {
    width: 100%;
    height: auto;
}

.conclusion__text {
    max-width: 484px;
    color: #FFFFFF;
}

.conclusion__image {
    position: relative;
    padding: 40px 0 0;
    margin-bottom: -20px;
    max-width: 575px;
}

.conclusion__image img {
    position: relative;
}

.conclusion__image:before {
    content: '';
    position: absolute;
    top: 200px;
    left: 0;
    width: 790.409px;
    height: 962.169px;
    transform: rotate(50.659deg);
    border-radius: 962.169px;
    background: #A9A9A9;
    filter: blur(200px);
}

@media (max-width: 1024px) {
    .challenge__item .title {
        font-size: 40px;
    }

    .architecture__content {
        padding: 0;
    }

    .wireframes {
        aspect-ratio: 2 / 2;
        background-size: 100%;
    }

    .wireframes:before {
        background: linear-gradient(180deg, #000000 35%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 70%, #000000 100%);
    }

    .benefits__heading {
        font-size: 40px;
    }

    .technologies__heading {
        font-size: 37px;
    }

    .technologies__content-items {
        padding: 60px 20px;
        gap: 20px;
    }

    .conclusion__text {
        max-width: 280px;
    }

    .conclusion__content {
        min-height: 500px;
    }

    .typography__content {
        gap: 80px;
    }

    .typography__font .name {
        font-size: 100px;
    }
}

@media (max-width: 768px) {
    .typography__content {
        flex-direction: column;
    }

    .benefits__row {
        flex-direction: column;
    }

    .challenge__row {
        flex-direction: column;
    }

    .overview__images {
        flex-direction: column;
    }

    .overview__info {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .product {
        flex-direction: column;
    }

    .hero {
        min-height: 580px;
        margin-bottom: 60px;
        overflow: hidden;
    }

    .hero .hero_logo {
        padding: 6px;
    }

    .hero img {
        width: 200%;
        max-width: 200%;
    }

    .overview .section-title {
        margin-bottom: 24px;
    }

    .overview__meta {
        flex-direction: column;
        gap: 12px;
        padding-top: 20px;
        margin-top: 20px;
    }

    .overview__image {
        padding: 35px 60px;
    }

    .overview {
        margin-bottom: 60px;
    }

    .product__info {
        gap: 24px;
    }

    .product {
        margin: 60px auto;
        gap: 40px;
    }

    .identify {
        margin: 60px 0;
        flex-direction: column;
    }

    .process {
        margin: 60px auto;
    }

    .process__info {
        gap: 24px;
        margin-bottom: 40px;
        flex-direction: column;
    }

    .process__info .section-title {
        margin-bottom: 6px;
    }

    .challenge {
        margin: 60px 0;
    }

    .challenge__item .title {
        font-size: 37px;
    }

    .architecture {
        margin: 60px 0;
        gap: 40px;
        flex-direction: column;
    }

    .architecture__content {
        gap: 24px;
    }

    .architecture__image {
        min-height: 317px;
        max-height: 317px;
        overflow: hidden;
    }

    .architecture__image img {
        max-width: 179%;
    }

    .wireframes {
        margin: 60px 0;
        aspect-ratio: 67 / 150;
        background-size: 170%;
        background-position: bottom left;
    }

    .wireframes:before {
        background: linear-gradient(180deg, #000000 44%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0) 70%, #000000 100%);
    }

    .benefits {
        margin: 60px 0;
    }

    .benefits__heading {
        max-width: 300px;
    }

    .benefits__item .name {
        font-size: 32px;
    }

    .design {
        margin: 60px auto;
    }

    .design__header {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }

    .design__row {
        flex-direction: column;
    }

    .typography {
        margin: 60px 0;
    }

    .typography__heading {
        margin-bottom: 40px;
    }

    .typography__font .name {
        font-size: 120px;
    }

    .colors {
        margin: 60px 0;
    }

    .colors__grid {
        flex-wrap: wrap;
    }

    .colors__grid-item.heading {
        min-width: 100%;
        padding-right: 0;
        gap: 24px;
        margin-bottom: 40px;
    }

    .colors__grid-item {
        min-width: calc(50% - 5px);
    }

    .colors__grid-item:not(.heading) {
        min-height: 380px;
    }

    .screen {
        margin: 60px 0;
        min-height: 440px;
        overflow: hidden;
        align-items: flex-end;
    }

    .screen__image {
        display: flex;
        justify-content: center;
    }

    .screen__image img {
        width: 200%;
        max-width: 200%;
    }

    .flow {
        margin: 60px 0;
    }

    .flow__heading-mobile {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }

    .flow__heading-mobile .flow__text {
        max-width: 250px;
    }

    .flow__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .flow__item .flow__heading,
    .flow__item:has(.flow__text) {
        display: none;
    }

    .flow__item-mobile {
        display: block;
    }

    .technologies {
        margin: 60px 0;
        overflow: hidden;
    }

    .technologies__heading {
        font-size: 40px;
        text-align: left;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .technologies__content-items {
        position: static;
        padding: 0;
    }

    .technologies__content {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
    }

    .technologies__content .section-title {
        font-size: 24px;
    }

    .technologies__content-image img {
        width: 200%;
        min-width: 200%;
    }

    .application {
        margin: 60px 0;
    }

    .application__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 20px;
    }

    .application__item.small,
    .application__item:nth-child(14),
    .application__item:nth-child(15) {
        display: none;
    }

    .application__item:not(.small) {
        grid-column: span 1;
    }

    .conclusion {
        margin: 60px 0;
    }

    .conclusion__content {
        flex-direction: column;
        padding-right: 0;
        padding-top: 50px;
    }

    .conclusion__text {
        max-width: 100%;
    }

}