:root {
    --gps-ink: #122b45;
    --gps-muted: #637a91;
    --gps-blue: #126bd5;
    --gps-line: #dfe8f1;
    --gps-soft: #f4f8fc;
}

.th-gps-software-page {
    color: var(--gps-ink);
    background: #fff;
}

.th-gps-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.th-gps-eyebrow {
    color: #429fff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.th-gps-hero {
    position: relative;
    padding: 105px 0 72px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(31, 141, 242, .25), transparent 33%),
        linear-gradient(130deg, #061c35 0%, #0b3158 57%, #0c4779 100%);
}

.th-gps-hero::before {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    mask-image: linear-gradient(to right, #000, transparent 85%);
}

.th-gps-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(45px, 7vw, 90px);
}

.th-gps-hero h1 {
    max-width: 650px;
    margin: 12px 0 19px;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 780;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.th-gps-hero__copy > p {
    max-width: 620px;
    margin: 0;
    color: #c5d8ea;
    font-size: 15px;
    line-height: 1.75;
}

.th-gps-hero__actions {
    display: flex;
    margin-top: 29px;
    flex-wrap: wrap;
    gap: 11px;
}

.th-gps-button {
    display: inline-flex;
    min-height: 50px;
    padding: 0 19px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.th-gps-button:hover {
    transform: translateY(-2px);
}

.th-gps-button--primary {
    color: #fff !important;
    background: #1475df;
    box-shadow: 0 13px 30px rgba(3, 23, 46, .25);
}

.th-gps-button--secondary {
    color: #e2effb !important;
    border: 1px solid rgba(255,255,255,.23);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.th-gps-hero__proof {
    display: flex;
    margin-top: 27px;
    color: #9db7ce;
    font-size: 9px;
    font-weight: 700;
    flex-wrap: wrap;
    gap: 16px;
}

.th-gps-hero__proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.th-gps-hero__proof i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64d37f;
    box-shadow: 0 0 0 4px rgba(100, 211, 127, .12);
}

.th-gps-hero__visual {
    position: relative;
    padding: 11px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    background: rgba(255,255,255,.1);
    box-shadow: 0 35px 75px rgba(0, 11, 29, .34);
    transform: perspective(1100px) rotateY(-3deg);
    backdrop-filter: blur(12px);
}

.th-gps-hero__visual > img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.th-gps-hero__visual-bar {
    display: flex;
    height: 31px;
    padding: 0 8px;
    color: #c2d8ec;
    align-items: center;
    gap: 5px;
}

.th-gps-hero__visual-bar > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
}

.th-gps-hero__visual-bar small {
    margin-left: 7px;
    font-size: 8px;
}

.th-gps-hero__metric {
    position: absolute;
    right: -22px;
    bottom: -25px;
    display: grid;
    padding: 14px 17px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 13px;
    background: rgba(7, 35, 64, .94);
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.th-gps-hero__metric small {
    color: #88b2d5;
    font-size: 8px;
}

.th-gps-hero__metric strong {
    margin-top: 2px;
    color: #fff;
    font-size: 12px;
}

.th-gps-summary {
    padding: 65px 0;
}

.th-gps-summary__grid {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(40px, 7vw, 90px);
}

.th-gps-summary h2,
.th-gps-section-heading h2,
.th-gps-mobile h2,
.th-gps-cta h2 {
    margin: 8px 0 0;
    color: var(--gps-ink);
    font-size: clamp(29px, 4vw, 46px);
    font-weight: 780;
    letter-spacing: -.03em;
    line-height: 1.12;
}

.th-gps-summary p {
    margin: 0;
    color: var(--gps-muted);
    font-size: 14px;
    line-height: 1.85;
}

.th-gps-capabilities,
.th-gps-use-cases,
.th-gps-services {
    padding: 78px 0;
    background: var(--gps-soft);
}

.th-gps-section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.th-gps-section-heading > p {
    margin: 11px 0 0;
    color: var(--gps-muted);
    font-size: 13px;
}

.th-gps-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.th-gps-card-grid article {
    position: relative;
    min-height: 285px;
    padding: 24px;
    border: 1px solid var(--gps-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(25, 56, 89, .05);
}

.th-gps-card-grid article > small {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #b3c5d7;
    font-size: 9px;
    font-weight: 850;
}

.th-gps-card__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    color: var(--gps-blue);
    border-radius: 12px;
    background: #eaf4ff;
    align-items: center;
    justify-content: center;
}

.th-gps-card-grid h3 {
    margin: 49px 0 10px;
    color: #203a54;
    font-size: 16px;
    font-weight: 780;
}

.th-gps-card-grid p {
    margin: 0;
    color: #6d8297;
    font-size: 11px;
    line-height: 1.7;
}

.th-gps-outcomes {
    padding: 82px 0;
    background: linear-gradient(135deg, #071d35, #0b3f69);
}

.th-gps-section-heading--light h2 {
    color: #fff;
}

.th-gps-outcomes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.th-gps-outcomes__grid > div {
    display: grid;
    min-height: 120px;
    padding: 17px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 13px;
}

.th-gps-outcomes__grid img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.th-gps-outcomes__grid strong,
.th-gps-outcomes__grid small {
    display: block;
}

.th-gps-outcomes__grid strong {
    font-size: 12px;
}

.th-gps-outcomes__grid small {
    margin-top: 5px;
    color: #afc5da;
    font-size: 9px;
    line-height: 1.5;
}

.th-gps-use-cases {
    background: #fff;
}

.th-gps-story {
    display: grid;
    margin-top: 21px;
    overflow: hidden;
    border: 1px solid var(--gps-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(28, 53, 83, .07);
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    align-items: stretch;
}

.th-gps-story--reverse .th-gps-story__copy {
    order: 2;
}

.th-gps-story__copy {
    padding: clamp(30px, 5vw, 58px);
    align-self: center;
}

.th-gps-story__copy > span,
.th-gps-services__grid article span {
    color: var(--gps-blue);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.th-gps-story h3 {
    margin: 7px 0 12px;
    color: var(--gps-ink);
    font-size: 30px;
    font-weight: 780;
}

.th-gps-story p {
    margin: 0;
    color: var(--gps-muted);
    font-size: 12px;
    line-height: 1.75;
}

.th-gps-story ul {
    display: grid;
    margin: 19px 0 0;
    padding: 0;
    list-style: none;
    gap: 8px;
}

.th-gps-story li {
    position: relative;
    padding-left: 18px;
    color: #3e5871;
    font-size: 10px;
    font-weight: 700;
}

.th-gps-story li::before {
    position: absolute;
    top: 5px;
    left: 1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #32b46c;
    content: "";
}

.th-gps-story__visual {
    min-height: 390px;
    overflow: hidden;
    background: #eaf1f7;
}

.th-gps-story__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-gps-mobile {
    padding: 88px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #eef7ff, #fff);
}

.th-gps-mobile__inner {
    display: grid;
    grid-template-columns: minmax(420px, 1.1fr) minmax(300px, .9fr);
    align-items: center;
    gap: clamp(45px, 8vw, 100px);
}

.th-gps-mobile__visual {
    position: relative;
    display: flex;
    height: 500px;
    align-items: flex-end;
    justify-content: center;
}

.th-gps-mobile__visual::before {
    position: absolute;
    bottom: 25px;
    width: 440px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20,117,223,.18), transparent 68%);
    content: "";
}

.th-gps-mobile__visual img {
    position: relative;
    width: 29%;
    max-height: 460px;
    object-fit: contain;
    filter: drop-shadow(0 25px 30px rgba(19, 53, 84, .2));
}

.th-gps-mobile__visual img:nth-child(2) {
    z-index: 2;
    width: 34%;
    transform: translateY(-23px);
}

.th-gps-mobile__copy > p {
    margin: 18px 0 0;
    color: var(--gps-muted);
    font-size: 13px;
    line-height: 1.75;
}

.th-gps-store-links {
    display: flex;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.th-gps-store-links img {
    display: block;
    width: 158px;
    height: 48px;
}

.th-gps-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.th-gps-services__grid article {
    overflow: hidden;
    border: 1px solid var(--gps-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(24, 56, 88, .06);
}

.th-gps-services__grid article > img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.th-gps-services__grid article > div {
    padding: 23px;
}

.th-gps-services__grid h3 {
    margin: 6px 0 9px;
    color: #203a54;
    font-size: 17px;
    font-weight: 780;
}

.th-gps-services__grid p {
    margin: 0;
    color: #6c8196;
    font-size: 10px;
    line-height: 1.7;
}

.th-gps-cta {
    padding: 30px 0 70px;
    background: var(--gps-soft);
}

.th-gps-cta__inner {
    display: flex;
    padding: clamp(30px, 5vw, 52px);
    color: #fff;
    border-radius: 23px;
    background: linear-gradient(125deg, #08223e, #0f65aa);
    box-shadow: 0 25px 60px rgba(11, 50, 84, .18);
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.th-gps-cta h2 {
    color: #fff;
    font-size: clamp(27px, 3vw, 39px);
}

.th-gps-cta p {
    margin: 10px 0 0;
    color: #bcd3e7;
    font-size: 11px;
}

.th-gps-cta .th-gps-button {
    flex: 0 0 auto;
}

@media (max-width: 960px) {
    .th-gps-hero__inner,
    .th-gps-mobile__inner {
        grid-template-columns: 1fr;
    }

    .th-gps-card-grid,
    .th-gps-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-gps-outcomes__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-gps-story {
        grid-template-columns: 1fr 1fr;
    }

    .th-gps-mobile__copy {
        order: -1;
    }
}

@media (max-width: 700px) {
    .th-gps-shell {
        width: min(100% - 28px, 1180px);
    }

    .th-gps-hero {
        padding: 90px 0 58px;
    }

    .th-gps-hero__inner {
        gap: 42px;
    }

    .th-gps-hero__visual {
        transform: none;
    }

    .th-gps-hero__metric {
        right: 8px;
    }

    .th-gps-summary__grid,
    .th-gps-card-grid,
    .th-gps-outcomes__grid,
    .th-gps-services__grid {
        grid-template-columns: 1fr;
    }

    .th-gps-capabilities,
    .th-gps-use-cases,
    .th-gps-services,
    .th-gps-mobile,
    .th-gps-outcomes {
        padding: 60px 0;
    }

    .th-gps-story,
    .th-gps-story--reverse {
        grid-template-columns: 1fr;
    }

    .th-gps-story--reverse .th-gps-story__copy {
        order: 0;
    }

    .th-gps-story__visual {
        min-height: 260px;
    }

    .th-gps-mobile__visual {
        height: 390px;
    }

    .th-gps-mobile__visual::before {
        width: 100%;
    }

    .th-gps-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .th-gps-cta .th-gps-button {
        width: 100%;
    }
}
