/* =========================================================
   TENACITY SOFT
   RESULTS / CASE STUDIES
========================================================= */

.ts-results,
.ts-results *,
.ts-results *::before,
.ts-results *::after {
    box-sizing: border-box;
}


.ts-results {
    --results-blue: #1688ff;
    --results-blue-light: #69c5ff;

    --results-yellow: #ffc400;
    --results-yellow-light: #ffe477;

    --results-text: #f4f7fc;
    --results-muted: #9eacbd;

    position: relative;

    z-index: 2;

    margin-top: -2px;

    padding:
        126px 0
        112px;

    overflow: hidden;

    isolation: isolate;

    background:
        radial-gradient(
            circle at 86% 28%,
            rgba(22, 136, 255, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 9% 72%,
            rgba(255, 196, 0, 0.025),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #020914 0%,
            #020b18 50%,
            #020914 100%
        );
}


/* =========================================================
   BACKGROUND
========================================================= */

.ts-results__background {
    position: absolute;

    inset: 0;

    z-index: -2;

    overflow: hidden;

    pointer-events: none;
}


.ts-results__grid {
    position: absolute;

    inset: 0;

    opacity: 0.065;

    background-image:
        linear-gradient(
            rgba(44, 124, 213, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(44, 124, 213, 0.08) 1px,
            transparent 1px
        );

    background-size:
        96px 96px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 14%,
            #000 86%,
            transparent
        );

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 14%,
            #000 86%,
            transparent
        );
}


.ts-results__glow {
    position: absolute;

    border-radius: 50%;

    filter:
        blur(145px);
}


.ts-results__glow--left {
    width: 540px;
    height: 540px;

    left: -380px;
    top: 32%;

    opacity: 0.075;

    background:
        var(--results-blue);
}


.ts-results__glow--right {
    width: 560px;
    height: 560px;

    right: -380px;
    bottom: 4%;

    opacity: 0.04;

    background:
        var(--results-yellow);
}


.ts-results__top-blend {
    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 180px;

    background:
        linear-gradient(
            to bottom,
            #020914,
            rgba(2, 9, 20, 0.96) 36%,
            transparent
        );
}


.ts-results__bottom-blend {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 150px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(2, 9, 20, 0.7),
            #020914
        );
}


/* =========================================================
   TRANSITION
========================================================= */

.ts-results-transition {
    position: absolute;

    width:
        min(
            calc(100% - 64px),
            1380px
        );

    height: 72px;

    left: 50%;
    top: 0;

    z-index: 3;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    transform:
        translateX(-50%);
}


.ts-results-transition__line {
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(22, 136, 255, 0.2)
        );
}


.ts-results-transition__line--right {
    background:
        linear-gradient(
            90deg,
            rgba(255, 196, 0, 0.2),
            transparent
        );
}


.ts-results-transition__center {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    margin-inline: 14px;

    border:
        1px solid rgba(91, 183, 255, 0.24);

    border-radius: 50%;

    color:
        var(--results-yellow);

    background:
        #04182d;

    box-shadow:
        0 0 22px rgba(22, 136, 255, 0.11);
}


.ts-results-transition__center svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CONTAINER
========================================================= */

.ts-results__container {
    position: relative;

    width:
        min(
            calc(100% - 64px),
            1380px
        );

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.ts-results__header {
    margin-bottom:
        clamp(58px, 6vw, 86px);
}


.ts-results__eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 20px;

    color:
        var(--results-blue-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.11em;
    text-transform: uppercase;
}


.ts-results__eyebrow-line {
    width: 28px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--results-yellow),
            rgba(255, 196, 0, 0.12)
        );
}


.ts-results__heading-grid {
    display: grid;

    grid-template-columns:
        minmax(500px, 1fr)
        minmax(390px, 0.68fr);

    align-items: end;

    gap:
        clamp(48px, 7vw, 120px);
}


.ts-results__title {
    max-width: 810px;

    margin: 0;

    color:
        var(--results-text);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            40px,
            3.55vw,
            60px
        );

    font-weight: 700;

    line-height: 1.04;

    letter-spacing: -0.052em;
}


.ts-results__title span {
    display: block;

    color:
        var(--results-yellow);
}


.ts-results__intro {
    max-width: 555px;

    margin-left: auto;
}


.ts-results__intro p {
    margin:
        0 0 18px;

    color:
        var(--results-muted);

    font-size: 16px;

    line-height: 1.75;
}


.ts-results__intro-note {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color:
        rgba(213, 226, 239, 0.76);

    font-size: 12px;

    line-height: 1.55;
}


.ts-results__intro-note svg {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    margin-top: 1px;

    fill: none;

    stroke:
        var(--results-yellow);

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.ts-results__experience {
    position: relative;

    border-top:
        1px solid rgba(71, 148, 224, 0.11);

    border-bottom:
        1px solid rgba(71, 148, 224, 0.11);
}


/* =========================================================
   STAGE
========================================================= */

.ts-results__stage {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 48%,
            rgba(22, 136, 255, 0.08),
            transparent 37%
        );
}


.ts-results__stage::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.11;

    background-image:
        linear-gradient(
            rgba(56, 135, 217, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(56, 135, 217, 0.08) 1px,
            transparent 1px
        );

    background-size:
        72px 72px;

    -webkit-mask-image:
        radial-gradient(
            circle at 73% 50%,
            #000,
            transparent 70%
        );

    mask-image:
        radial-gradient(
            circle at 73% 50%,
            #000,
            transparent 70%
        );
}


/* =========================================================
   RESULT PANEL
========================================================= */

.ts-result-panel {
    position: absolute;

    inset: 0;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(440px, 0.94fr)
        minmax(560px, 1.06fr);

    align-items: center;

    gap:
        clamp(55px, 7vw, 100px);

    padding:
        62px 54px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translate3d(25px, 0, 0);

    transition:
        opacity 420ms ease,
        visibility 420ms ease,
        transform 420ms
        cubic-bezier(
            0.18,
            0.75,
            0.2,
            1
        );
}


.ts-result-panel.is-active {
    position: relative;

    min-height: 650px;

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translate3d(0, 0, 0);
}


/* =========================================================
   CONTENT
========================================================= */

.ts-result-panel__content {
    position: relative;

    z-index: 4;
}


.ts-result-panel__sector {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    margin-bottom: 17px;

    padding:
        0 11px;

    border:
        1px solid rgba(105, 197, 255, 0.2);

    border-radius: 999px;

    color:
        var(--results-blue-light);

    background:
        rgba(22, 136, 255, 0.045);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}


.ts-result-panel__identity h3 {
    max-width: 660px;

    margin:
        0 0 18px;

    color:
        var(--results-text);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            29px,
            2.55vw,
            41px
        );

    font-weight: 650;

    line-height: 1.14;

    letter-spacing: -0.045em;
}


.ts-result-panel__identity > p {
    max-width: 620px;

    margin:
        0 0 34px;

    color:
        var(--results-muted);

    font-size: 14px;

    line-height: 1.72;
}


.ts-result-panel__story {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;

    margin-bottom: 35px;

    padding:
        25px 0;

    border-top:
        1px solid rgba(72, 150, 226, 0.11);

    border-bottom:
        1px solid rgba(72, 150, 226, 0.11);
}


.ts-result-story__label {
    display: block;

    margin-bottom: 8px;

    color:
        var(--results-blue-light);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}


.ts-result-story:nth-child(2)
.ts-result-story__label {
    color:
        var(--results-yellow);
}


.ts-result-story p {
    margin: 0;

    color:
        var(--results-muted);

    font-size: 12px;

    line-height: 1.62;
}


/* Outcomes */

.ts-result-panel__outcomes {
    display: flex;
    align-items: flex-start;

    gap:
        clamp(25px, 4vw, 54px);
}


.ts-result-outcome {
    position: relative;

    display: flex;
    flex-direction: column;

    gap: 5px;

    padding-left: 15px;
}


.ts-result-outcome::before {
    content: "";

    position: absolute;

    width: 3px;

    left: 0;
    top: 2px;
    bottom: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            to bottom,
            var(--results-blue-light),
            rgba(22, 136, 255, 0.2)
        );
}


.ts-result-outcome:last-child::before {
    background:
        linear-gradient(
            to bottom,
            var(--results-yellow),
            rgba(255, 196, 0, 0.2)
        );
}


.ts-result-outcome strong {
    color:
        var(--results-text);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 18px;
    font-weight: 700;
}


.ts-result-outcome span {
    color:
        var(--results-muted);

    font-size: 10px;

    line-height: 1.35;
}


/* =========================================================
   VISUAL
========================================================= */

.ts-result-panel__visual {
    position: relative;

    min-height: 500px;
}


/* =========================================================
   TOURISM SYSTEM
========================================================= */

.ts-tourism-system {
    position: absolute;

    width: 560px;
    height: 440px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);
}


.ts-tourism-system__screen {
    position: absolute;

    width: 500px;
    height: 355px;

    left: 46%;
    top: 47%;

    overflow: hidden;

    border:
        1px solid rgba(75, 170, 255, 0.24);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 37, 70, 0.97),
            rgba(3, 16, 31, 0.99)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 36px 75px rgba(0, 0, 0, 0.42),
        0 0 48px rgba(22, 136, 255, 0.09);

    transform:
        translate(-50%, -50%)
        perspective(1000px)
        rotateY(-5deg)
        rotateX(2deg);
}


.ts-tourism-system__toolbar {
    height: 42px;

    display: flex;
    align-items: center;

    gap: 6px;

    padding:
        0 15px;

    border-bottom:
        1px solid rgba(71, 151, 230, 0.12);
}


.ts-tourism-system__toolbar span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(119, 157, 195, 0.35);
}


.ts-tourism-system__toolbar span:first-child {
    background:
        var(--results-yellow);
}


.ts-tourism-system__toolbar i {
    width: 115px;
    height: 6px;

    margin-left: auto;

    border-radius: 999px;

    background:
        rgba(96, 152, 207, 0.12);
}


.ts-tourism-system__sidebar {
    position: absolute;

    width: 56px;

    left: 0;
    top: 42px;
    bottom: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 15px;

    padding-top: 21px;

    border-right:
        1px solid rgba(71, 151, 230, 0.12);
}


.ts-tourism-system__sidebar span {
    width: 20px;
    height: 20px;

    border-radius: 6px;

    background:
        rgba(89, 154, 218, 0.1);
}


.ts-tourism-system__sidebar span.is-active {
    background:
        rgba(22, 136, 255, 0.35);

    box-shadow:
        0 0 14px rgba(22, 136, 255, 0.22);
}


.ts-tourism-system__workspace {
    position: absolute;

    left: 56px;
    right: 0;
    top: 42px;
    bottom: 0;

    padding: 18px;
}


.ts-tourism-system__heading {
    display: flex;
    align-items: center;

    margin-bottom: 13px;
}


.ts-tourism-system__heading span {
    width: 110px;
    height: 11px;

    border-radius: 999px;

    background:
        rgba(226, 240, 254, 0.75);
}


.ts-tourism-system__heading i {
    width: 70px;
    height: 25px;

    margin-left: auto;

    border-radius: 7px;

    background:
        rgba(255, 196, 0, 0.75);
}


.ts-tourism-system__metrics {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 9px;

    margin-bottom: 11px;
}


.ts-tourism-system__metrics span {
    height: 58px;

    border:
        1px solid rgba(68, 153, 237, 0.12);

    border-radius: 9px;

    background:
        linear-gradient(
            145deg,
            rgba(15, 55, 94, 0.5),
            rgba(5, 24, 44, 0.75)
        );
}


.ts-tourism-system__body {
    display: grid;

    grid-template-columns:
        minmax(0, 1.48fr)
        minmax(100px, 0.68fr);

    gap: 10px;
}


.ts-tourism-system__calendar,
.ts-tourism-system__activity {
    height: 198px;

    border:
        1px solid rgba(68, 153, 237, 0.12);

    border-radius: 10px;

    background:
        rgba(3, 18, 35, 0.72);
}


.ts-tourism-system__calendar {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 7px;

    padding: 14px;
}


.ts-tourism-system__calendar span {
    border-radius: 5px;

    background:
        rgba(75, 142, 208, 0.1);
}


.ts-tourism-system__calendar span:nth-child(3),
.ts-tourism-system__calendar span:nth-child(7) {
    border:
        1px solid rgba(255, 196, 0, 0.23);

    background:
        rgba(255, 196, 0, 0.08);
}


.ts-tourism-system__activity {
    display: flex;
    flex-direction: column;

    gap: 12px;

    padding: 16px 13px;
}


.ts-tourism-system__activity span {
    height: 30px;

    border-radius: 6px;

    background:
        rgba(77, 143, 209, 0.09);
}


.ts-tourism-system__phone {
    position: absolute;

    width: 112px;
    height: 225px;

    right: 0;
    bottom: 5px;

    z-index: 5;

    padding:
        13px 10px;

    border:
        1px solid rgba(79, 171, 255, 0.29);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #082746,
            #03111f
        );

    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(22, 136, 255, 0.11);
}


.ts-tourism-system__speaker {
    width: 34px;
    height: 4px;

    display: block;

    margin:
        0 auto 12px;

    border-radius: 999px;

    background:
        rgba(111, 168, 222, 0.2);
}


.ts-tourism-system__mobile-hero {
    height: 82px;

    margin-bottom: 12px;

    border-radius: 13px;

    background:
        radial-gradient(
            circle,
            rgba(22, 136, 255, 0.26),
            rgba(5, 28, 52, 0.82)
        );
}


.ts-tourism-system__phone > span:not(.ts-tourism-system__speaker) {
    width: 100%;
    height: 8px;

    display: block;

    margin-bottom: 8px;

    border-radius: 999px;

    background:
        rgba(103, 160, 214, 0.15);
}


.ts-tourism-system__phone > span:last-child {
    width: 62%;
}


.ts-tourism-system__status {
    position: absolute;

    z-index: 6;

    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(75, 173, 255, 0.27);

    border-radius: 16px;

    color:
        var(--results-blue-light);

    background:
        rgba(4, 24, 46, 0.97);

    box-shadow:
        0 0 26px rgba(22, 136, 255, 0.14),
        0 18px 36px rgba(0, 0, 0, 0.3);
}


.ts-tourism-system__status svg {
    width: 29px;
    height: 29px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.ts-tourism-system__status--booking {
    left: 0;
    bottom: 38px;
}


.ts-tourism-system__status--payment {
    right: 45px;
    top: 5px;

    border-color:
        rgba(255, 196, 0, 0.25);

    color:
        var(--results-yellow);
}


/* =========================================================
   INSURANCE VISUAL
========================================================= */

.ts-insurance-web {
    position: absolute;

    width: 550px;
    height: 430px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);
}


.ts-insurance-web__browser {
    position: absolute;

    width: 490px;
    height: 345px;

    left: 48%;
    top: 48%;

    overflow: hidden;

    border:
        1px solid rgba(75, 170, 255, 0.23);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(7, 35, 67, 0.97),
            rgba(3, 16, 31, 0.99)
        );

    box-shadow:
        0 36px 75px rgba(0, 0, 0, 0.42),
        0 0 48px rgba(22, 136, 255, 0.08);

    transform:
        translate(-50%, -50%)
        perspective(1000px)
        rotateY(-5deg);
}


.ts-insurance-web__browser-top {
    height: 40px;

    display: flex;
    align-items: center;

    gap: 6px;

    padding:
        0 14px;

    border-bottom:
        1px solid rgba(71, 151, 230, 0.12);
}


.ts-insurance-web__browser-top span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(117, 153, 190, 0.36);
}


.ts-insurance-web__browser-top span:first-child {
    background:
        var(--results-yellow);
}


.ts-insurance-web__browser-top i {
    width: 220px;
    height: 7px;

    margin-left: auto;

    border-radius: 999px;

    background:
        rgba(84, 144, 202, 0.1);
}


.ts-insurance-web__navigation {
    height: 43px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding:
        0 18px;
}


.ts-insurance-web__navigation strong {
    width: 65px;
    height: 10px;

    margin-right: auto;

    border-radius: 999px;

    background:
        rgba(255, 196, 0, 0.58);
}


.ts-insurance-web__navigation span {
    width: 42px;
    height: 5px;

    border-radius: 999px;

    background:
        rgba(107, 157, 205, 0.13);
}


.ts-insurance-web__hero {
    display: grid;

    grid-template-columns:
        1fr 0.9fr;

    gap: 16px;

    height: 260px;

    padding:
        25px 21px;
}


.ts-insurance-web__copy {
    padding-top: 17px;
}


.ts-insurance-web__copy small {
    width: 74px;
    height: 6px;

    display: block;

    margin-bottom: 15px;

    border-radius: 999px;

    background:
        var(--results-yellow);
}


.ts-insurance-web__copy strong {
    width: 92%;
    height: 18px;

    display: block;

    margin-bottom: 8px;

    border-radius: 5px;

    background:
        rgba(230, 242, 255, 0.78);
}


.ts-insurance-web__copy strong:nth-child(3) {
    width: 69%;
}


.ts-insurance-web__copy p {
    width: 84%;
    height: 34px;

    margin:
        16px 0;

    border-radius: 5px;

    background:
        rgba(106, 158, 208, 0.11);
}


.ts-insurance-web__copy div {
    display: flex;

    gap: 9px;
}


.ts-insurance-web__copy i {
    width: 78px;
    height: 30px;

    border-radius: 7px;

    background:
        var(--results-blue);
}


.ts-insurance-web__copy i:last-child {
    width: 62px;

    border:
        1px solid rgba(111, 177, 239, 0.22);

    background:
        transparent;
}


.ts-insurance-web__person {
    position: relative;

    display: grid;
    place-items: end center;

    overflow: hidden;

    border-radius: 15px;

    background:
        radial-gradient(
            circle at 50% 34%,
            rgba(22, 136, 255, 0.22),
            rgba(4, 23, 44, 0.88)
        );
}


.ts-insurance-web__person span {
    width: 115px;
    height: 190px;

    display: block;

    border-radius:
        58px 58px
        20px 20px;

    background:
        linear-gradient(
            180deg,
            rgba(141, 188, 230, 0.46),
            rgba(41, 93, 145, 0.62)
        );
}


.ts-insurance-web__form {
    position: absolute;

    width: 160px;
    height: 205px;

    right: 0;
    bottom: 0;

    z-index: 5;

    display: flex;
    flex-direction: column;

    gap: 12px;

    padding:
        20px 15px;

    border:
        1px solid rgba(78, 171, 255, 0.28);

    border-radius: 18px;

    background:
        rgba(4, 23, 44, 0.98);

    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(22, 136, 255, 0.1);
}


.ts-insurance-web__form span {
    height: 30px;

    border:
        1px solid rgba(75, 148, 218, 0.13);

    border-radius: 7px;

    background:
        rgba(73, 138, 201, 0.08);
}


.ts-insurance-web__form i {
    height: 34px;

    margin-top: auto;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #ffdc59,
            #ffc400
        );
}


/* =========================================================
   FINANCE VISUAL
========================================================= */

.ts-finance-system {
    position: absolute;

    width: 540px;
    height: 430px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);
}


.ts-finance-system__screen {
    position: absolute;

    width: 490px;
    height: 360px;

    left: 48%;
    top: 48%;

    overflow: hidden;

    padding:
        18px;

    border:
        1px solid rgba(75, 170, 255, 0.24);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(8, 37, 70, 0.97),
            rgba(3, 16, 31, 0.99)
        );

    box-shadow:
        0 36px 75px rgba(0, 0, 0, 0.42),
        0 0 48px rgba(22, 136, 255, 0.09);

    transform:
        translate(-50%, -50%)
        perspective(1000px)
        rotateY(-5deg);
}


.ts-finance-system__toolbar {
    height: 28px;

    display: flex;
    align-items: center;

    gap: 6px;

    margin-bottom: 14px;
}


.ts-finance-system__toolbar span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(119, 157, 195, 0.35);
}


.ts-finance-system__toolbar span:first-child {
    background:
        var(--results-yellow);
}


.ts-finance-system__toolbar i {
    width: 110px;
    height: 6px;

    margin-left: auto;

    border-radius: 999px;

    background:
        rgba(96, 152, 207, 0.12);
}


.ts-finance-system__balance {
    position: relative;

    height: 75px;

    margin-bottom: 12px;

    padding:
        15px;

    border:
        1px solid rgba(69, 155, 239, 0.14);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(12, 48, 84, 0.62),
            rgba(4, 21, 39, 0.84)
        );
}


.ts-finance-system__balance small {
    width: 75px;
    height: 6px;

    display: block;

    margin-bottom: 10px;

    border-radius: 999px;

    background:
        rgba(105, 197, 255, 0.25);
}


.ts-finance-system__balance strong {
    width: 130px;
    height: 17px;

    display: block;

    border-radius: 5px;

    background:
        rgba(235, 244, 253, 0.78);
}


.ts-finance-system__balance span {
    position: absolute;

    width: 60px;
    height: 25px;

    right: 15px;
    top: 24px;

    border-radius: 7px;

    background:
        rgba(37, 220, 124, 0.12);
}


.ts-finance-system__chart {
    position: relative;

    height: 155px;

    margin-bottom: 12px;

    overflow: hidden;

    border:
        1px solid rgba(69, 155, 239, 0.14);

    border-radius: 12px;

    background-image:
        linear-gradient(
            rgba(58, 132, 207, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(58, 132, 207, 0.07) 1px,
            transparent 1px
        );

    background-size:
        42px 42px;
}


.ts-finance-system__chart svg {
    position: absolute;

    inset: 10% 4% 8% 4%;

    width: 92%;
    height: 82%;
}


.ts-finance-system__chart path {
    fill: none;

    stroke:
        var(--results-blue-light);

    stroke-width: 2;

    stroke-linecap: round;

    filter:
        drop-shadow(
            0 0 5px rgba(22, 136, 255, 0.8)
        );
}


.ts-finance-system__transactions {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 9px;
}


.ts-finance-system__transactions span {
    height: 48px;

    border:
        1px solid rgba(69, 155, 239, 0.13);

    border-radius: 9px;

    background:
        rgba(72, 139, 205, 0.08);
}


.ts-finance-system__wallet {
    position: absolute;

    width: 68px;
    height: 68px;

    right: 0;
    bottom: 15px;

    z-index: 5;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(255, 196, 0, 0.25);

    border-radius: 18px;

    color:
        var(--results-yellow);

    background:
        rgba(4, 24, 46, 0.98);

    box-shadow:
        0 0 28px rgba(255, 196, 0, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.34);
}


.ts-finance-system__wallet svg {
    width: 32px;
    height: 32px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.45;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   SELECTOR
========================================================= */

.ts-results__selector {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    border-top:
        1px solid rgba(72, 150, 226, 0.11);
}


.ts-result-tab {
    position: relative;

    min-height: 100px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding:
        19px 25px;

    border: 0;
    border-right:
        1px solid rgba(72, 150, 226, 0.1);

    color: inherit;

    background:
        rgba(3, 16, 31, 0.26);

    text-align: left;

    cursor: pointer;

    opacity: 0.57;

    transition:
        opacity 220ms ease,
        background-color 220ms ease;
}


.ts-result-tab:last-child {
    border-right: 0;
}


.ts-result-tab::after {
    content: "";

    position: absolute;

    height: 2px;

    left: 24px;
    right: 24px;
    bottom: 0;

    opacity: 0;

    background:
        linear-gradient(
            90deg,
            var(--results-blue),
            var(--results-blue-light)
        );

    transform:
        scaleX(0.3);

    transition:
        opacity 220ms ease,
        transform 220ms ease;
}


.ts-result-tab:hover,
.ts-result-tab:focus-visible,
.ts-result-tab.is-active {
    opacity: 1;

    background:
        rgba(22, 136, 255, 0.035);
}


.ts-result-tab.is-active::after {
    opacity: 1;

    transform:
        scaleX(1);
}


.ts-result-tab:focus-visible {
    outline:
        1px solid rgba(105, 197, 255, 0.34);

    outline-offset: -5px;
}


.ts-result-tab__marker {
    width: 10px;
    height: 10px;

    flex: 0 0 10px;

    border:
        1px solid rgba(65, 157, 245, 0.48);

    border-radius: 50%;

    background:
        #031426;

    transition:
        background-color 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}


.ts-result-tab:hover
.ts-result-tab__marker,

.ts-result-tab:focus-visible
.ts-result-tab__marker,

.ts-result-tab.is-active
.ts-result-tab__marker {
    border-color:
        var(--results-blue-light);

    background:
        var(--results-blue);

    box-shadow:
        0 0 8px rgba(105, 197, 255, 0.92),
        0 0 20px rgba(22, 136, 255, 0.4);
}


.ts-result-tab > span:last-child {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.ts-result-tab small {
    color:
        var(--results-blue-light);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.ts-result-tab strong {
    color:
        var(--results-text);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 16px;
    font-weight: 650;
}


/* =========================================================
   CLOSING
========================================================= */

.ts-results__closing {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 42px;

    margin-top:
        clamp(72px, 8vw, 108px);

    padding:
        29px 31px;

    overflow: hidden;

    border:
        1px solid rgba(75, 162, 247, 0.15);

    border-radius: 18px;

    background:
        linear-gradient(
            105deg,
            rgba(8, 30, 56, 0.82),
            rgba(4, 17, 32, 0.94)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.028),
        0 25px 60px rgba(0, 0, 0, 0.21);
}


.ts-results__closing::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -175px;
    top: -180px;

    border-radius: 50%;

    opacity: 0.2;

    background:
        radial-gradient(
            circle,
            rgba(255, 196, 0, 0.32),
            transparent 70%
        );
}


.ts-results__closing-copy {
    position: relative;

    z-index: 2;
}


.ts-results__closing-copy > span {
    display: block;

    margin-bottom: 8px;

    color:
        var(--results-blue-light);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}


.ts-results__closing-copy h3 {
    max-width: 830px;

    margin: 0;

    color:
        var(--results-text);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            21px,
            1.9vw,
            29px
        );

    font-weight: 620;

    line-height: 1.27;

    letter-spacing: -0.032em;
}


.ts-results__closing-button {
    position: relative;

    z-index: 3;

    min-height: 60px;

    display: inline-flex;
    align-items: center;

    gap: 14px;

    padding:
        9px 21px;

    border:
        1px solid rgba(255, 224, 98, 0.72);

    border-radius: 11px;

    color:
        #07101b;

    background:
        linear-gradient(
            135deg,
            #ffdc59,
            #ffc400 58%,
            #ffb800
        );

    box-shadow:
        0 14px 35px rgba(255, 196, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);

    text-decoration: none;

    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}


.ts-results__closing-button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 19px 43px rgba(255, 196, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.57);
}


.ts-results__closing-button > svg {
    width: 21px;
    height: 21px;

    flex: 0 0 21px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.ts-results__closing-button > span {
    display: flex;
    flex-direction: column;

    gap: 6px;
}


.ts-results__closing-button small {
    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    opacity: 0.67;
}


.ts-results__closing-button strong {
    font-size: 14px;
    font-weight: 850;

    white-space: nowrap;
}


/* =========================================================
   REVEAL
========================================================= */

[data-results-reveal] {
    opacity: 0;

    transform:
        translate3d(0, 24px, 0);

    transition:
        opacity 720ms ease,
        transform 720ms
        cubic-bezier(
            0.18,
            0.75,
            0.2,
            1
        );
}


[data-results-reveal].is-visible {
    opacity: 1;

    transform:
        translate3d(0, 0, 0);
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1280px) {

    .ts-results__container,
    .ts-results-transition {
        width:
            min(
                calc(100% - 48px),
                1220px
            );
    }


    .ts-result-panel {
        grid-template-columns:
            minmax(400px, 0.94fr)
            minmax(520px, 1.06fr);

        gap: 45px;

        padding:
            55px 42px;
    }


    .ts-tourism-system,
    .ts-insurance-web,
    .ts-finance-system {
        transform:
            translate(-50%, -50%)
            scale(0.9);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

    .ts-results {
        padding:
            118px 0
            94px;
    }


    .ts-results__container,
    .ts-results-transition {
        width:
            min(
                calc(100% - 38px),
                820px
            );
    }


    .ts-results__heading-grid {
        grid-template-columns: 1fr;

        gap: 23px;
    }


    .ts-results__intro {
        max-width: 650px;

        margin-left: 0;
    }


    .ts-results__stage {
        min-height: 980px;
    }


    .ts-result-panel {
        grid-template-columns: 1fr;

        align-content: start;

        gap: 42px;

        padding:
            55px 35px;
    }


    .ts-result-panel.is-active {
        min-height: 980px;
    }


    .ts-result-panel__content {
        max-width: 720px;
    }


    .ts-result-panel__visual {
        min-height: 470px;
    }


    .ts-results__selector {
        grid-template-columns: 1fr;
    }


    .ts-result-tab {
        min-height: 82px;

        border-right: 0;
        border-bottom:
            1px solid rgba(72, 150, 226, 0.1);
    }


    .ts-result-tab:last-child {
        border-bottom: 0;
    }


    .ts-result-tab::after {
        width: 2px;
        height: auto;

        left: 0;
        right: auto;
        top: 18px;
        bottom: 18px;

        transform:
            scaleY(0.3);
    }


    .ts-result-tab.is-active::after {
        transform:
            scaleY(1);
    }


    .ts-results__closing {
        grid-template-columns: 1fr;

        gap: 24px;
    }


    .ts-results__closing-button {
        justify-self: start;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

    .ts-results {
        padding:
            104px 0
            76px;
    }


    .ts-results__container,
    .ts-results-transition {
        width:
            calc(100% - 28px);
    }


    .ts-results-transition {
        height: 64px;
    }


    .ts-results__title {
        font-size:
            clamp(
                35px,
                10vw,
                46px
            );
    }


    .ts-results__intro p {
        font-size: 15px;

        line-height: 1.65;
    }


    .ts-results__stage {
        min-height: 1040px;
    }


    .ts-result-panel {
        gap: 30px;

        padding:
            44px 0;
    }


    .ts-result-panel.is-active {
        min-height: 1040px;
    }


    .ts-result-panel__identity h3 {
        font-size:
            clamp(
                28px,
                8vw,
                36px
            );
    }


    .ts-result-panel__identity > p {
        font-size: 14px;
    }


    .ts-result-panel__story {
        grid-template-columns: 1fr;

        gap: 21px;
    }


    .ts-result-panel__outcomes {
        display: grid;

        gap: 17px;
    }


    .ts-result-panel__visual {
        min-height: 410px;
    }


    .ts-tourism-system,
    .ts-insurance-web,
    .ts-finance-system {
        transform:
            translate(-50%, -50%)
            scale(0.71);
    }


    .ts-result-tab {
        padding:
            17px 15px;
    }


    .ts-result-tab strong {
        font-size: 15px;
    }


    .ts-results__closing {
        gap: 20px;

        margin-top: 66px;

        padding:
            24px 20px;
    }


    .ts-results__closing-button {
        width: 100%;

        justify-content: center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .ts-results__stage {
        min-height: 980px;
    }


    .ts-result-panel.is-active {
        min-height: 980px;
    }


    .ts-result-panel__visual {
        min-height: 350px;
    }


    .ts-tourism-system,
    .ts-insurance-web,
    .ts-finance-system {
        transform:
            translate(-50%, -50%)
            scale(0.59);
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ts-results *,
    .ts-results *::before,
    .ts-results *::after {
        animation-duration:
            0.01ms !important;

        transition-duration:
            0.01ms !important;
    }


    [data-results-reveal] {
        opacity: 1;

        transform: none;
    }

}