/*
 * TTLock new homepage
 * Isolated styles: every selector begins with .tt-home
 */

.tt-home {
    --tt-home-navy: #081c34;
    --tt-home-navy-2: #0d2948;
    --tt-home-blue: #1473e6;
    --tt-home-blue-dark: #075fc7;
    --tt-home-text: #10233e;
    --tt-home-muted: #607087;
    --tt-home-line: #e5ebf2;
    --tt-home-soft: #f5f8fc;
    --tt-home-white: #fff;
    --tt-home-radius: 22px;
    --tt-home-shadow: 0 16px 44px rgba(12, 39, 72, .10);

    width: 100%;
    overflow: hidden;
    background: var(--tt-home-white);
    color: var(--tt-home-text);
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.tt-home,
.tt-home * {
    box-sizing: border-box;
}

.tt-home img {
    max-width: 100%;
}

.tt-home a {
    color: inherit;
    text-decoration: none;
}

.tt-home a:visited {
    color: inherit;
}

.tt-home a:hover {
    color: inherit;
}

.tt-home h1,
.tt-home h2,
.tt-home h3,
.tt-home p,
.tt-home ul,
.tt-home ol {
    margin-top: 0;
}

.tt-home h1,
.tt-home h2,
.tt-home h3 {
    color: var(--tt-home-text);
}

.tt-home-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.tt-home-section {
    padding: 92px 0;
}

.tt-home-section--soft {
    background: var(--tt-home-soft);
}

.tt-home-section--navy .tt-home-shell {
    padding: 64px 48px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 10%, rgba(26, 120, 232, .28), transparent 34%),
        linear-gradient(135deg, var(--tt-home-navy), var(--tt-home-navy-2));
}

@media (max-width: 820px) {
    .tt-home-section--navy .tt-home-shell {
        padding: 48px 28px;
        border-radius: 22px;
    }
}

@media (max-width: 560px) {
    .tt-home-section--navy .tt-home-shell {
        padding: 36px 18px;
        border-radius: 18px;
    }
}
.tt-home-eyebrow {
    margin-bottom: 12px;
    color: var(--tt-home-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tt-home-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}

.tt-home-heading--center {
    justify-content: center;
    text-align: center;
}

.tt-home-heading h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.tt-home-heading > a {
    flex: 0 0 auto;
    color: var(--tt-home-blue);
    font-weight: 700;
}

.tt-home-heading > a:hover {
    color: var(--tt-home-blue-dark);
}

.tt-home-heading--light h2,
.tt-home-heading--light .tt-home-eyebrow {
    color: #fff;
}

/* HERO */

.tt-home-hero {
    position: relative;
    padding: 78px 0 70px;
    background:
        radial-gradient(circle at 8% 18%, rgba(20, 115, 230, .11), transparent 30%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.tt-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
    align-items: center;
    gap: 72px;
}

.tt-home-hero__content {
    position: relative;
    z-index: 2;
}

.tt-home-hero__title {
    max-width: 720px;
    margin-bottom: 24px;
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 1.02;
    letter-spacing: .015em;
}

.tt-home-hero__text {
    max-width: 650px;
    margin-bottom: 30px;
    color: var(--tt-home-muted);
    font-size: 19px;
    line-height: 1.65;
}

.tt-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.tt-home-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.tt-home-button:hover {
    transform: translateY(-2px);
}

.tt-home-button--primary {
    background: var(--tt-home-blue);
    color: #fff !important;
    box-shadow: 0 13px 28px rgba(20, 115, 230, .25);
}

.tt-home-button--primary:hover {
    background: var(--tt-home-blue-dark);
}

.tt-home-button--secondary {
    border-color: #c9d7e8;
    background: #fff;
    color: var(--tt-home-text) !important;
}

.tt-home-button--secondary:hover {
    border-color: var(--tt-home-blue);
    box-shadow: 0 10px 25px rgba(12, 39, 72, .08);
}

.tt-home-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tt-home-trust li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 15px 14px;
    border: 1px solid var(--tt-home-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 10px 24px rgba(14, 39, 68, .05);
}

.tt-home-trust strong,
.tt-home-trust small {
    display: block;
}

.tt-home-trust strong {
    font-size: 13px;
    line-height: 1.25;
}

.tt-home-trust small {
    margin-top: 3px;
    color: var(--tt-home-muted);
    font-size: 11px;
    line-height: 1.25;
}

.tt-home-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eaf3ff;
    color: var(--tt-home-blue);
}

.tt-home-icon svg,
.tt-home-benefit__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tt-home-hero__visual {
    position: relative;
    min-height: 560px;
    border-radius: 30px;
    background: linear-gradient(135deg, #dce8f5, #f8fbff);
}

.tt-home-hero__glow {
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(20, 115, 230, .23);
    filter: blur(65px);
}

.tt-home-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
    box-shadow: var(--tt-home-shadow);
}

.tt-home-app-card {
    position: absolute;
    right: -34px;
    bottom: -34px;
    display: grid;
    width: 230px;
    gap: 10px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 20px 46px rgba(8, 28, 52, .18);
    backdrop-filter: blur(18px);
}

.tt-home-app-card__label {
    color: var(--tt-home-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tt-home-app-card__lock {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tt-home-blue);
    color: #fff;
}

.tt-home-app-card__lock svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.tt-home-app-card strong,
.tt-home-app-card small {
    display: block;
}

.tt-home-app-card strong {
    font-size: 16px;
    line-height: 1.35;
}

.tt-home-app-card small {
    color: var(--tt-home-muted);
    font-size: 12px;
    line-height: 1.45;
}

/* SOLUTIONS */

.tt-home-solutions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tt-home-solution {
    overflow: hidden;
    border: 1px solid var(--tt-home-line);
    border-radius: var(--tt-home-radius);
    background: #fff;
    box-shadow: 0 10px 32px rgba(12, 39, 72, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.tt-home-solution:hover {
    transform: translateY(-5px);
    box-shadow: var(--tt-home-shadow);
}

.tt-home-solution > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.tt-home-solution__body {
    display: block;
    padding: 24px;
}

.tt-home-solution__body strong,
.tt-home-solution__body small,
.tt-home-solution__body span {
    display: block;
}

.tt-home-solution__body strong {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.25;
}

.tt-home-solution__body small {
    min-height: 44px;
    margin-bottom: 20px;
    color: var(--tt-home-muted);
    font-size: 14px;
    line-height: 1.55;
}

.tt-home-solution__body > span {
    color: var(--tt-home-blue);
    font-size: 13px;
    font-weight: 800;
}

/* BENEFITS */

.tt-home-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tt-home-benefit {
    display: flex;
    gap: 20px;
    padding: 30px;
    border: 1px solid var(--tt-home-line);
    border-radius: var(--tt-home-radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(12, 39, 72, .06);
}

.tt-home-benefit__icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eaf3ff;
    color: var(--tt-home-blue);
}

.tt-home-benefit h3 {
    margin-bottom: 9px;
    font-size: 20px;
    line-height: 1.25;
}

.tt-home-benefit p {
    margin-bottom: 0;
    color: var(--tt-home-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* PRODUCTS */

.tt-home-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tt-home-product {
    overflow: hidden;
    border: 1px solid var(--tt-home-line);
    border-radius: var(--tt-home-radius);
    background: #fff;
    box-shadow: 0 12px 34px rgba(12, 39, 72, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.tt-home-product:hover {
    transform: translateY(-5px);
    box-shadow: var(--tt-home-shadow);
}

.tt-home-product__media {
    padding: 18px;
    background: #f1f5f9;
}

.tt-home-product__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    object-fit: cover;
}

.tt-home-product__body {
    padding: 28px;
}

.tt-home-product__body small {
    color: var(--tt-home-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.tt-home-product__body h3 {
    margin: 8px 0 10px;
    font-size: 23px;
}

.tt-home-product__body p {
    min-height: 48px;
    margin-bottom: 22px;
    color: var(--tt-home-muted);
    font-size: 14px;
}

.tt-home-product__body span {
    color: var(--tt-home-blue);
    font-size: 13px;
    font-weight: 800;
}

/* STEPS */

.tt-home-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tt-home-steps li {
    position: relative;
    padding: 29px 25px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 19px;
    background: rgba(255,255,255,.075);
}

.tt-home-steps li > span {
    display: block;
    margin-bottom: 30px;
    color: #68aaff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tt-home-steps h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 20px;
}

.tt-home-steps p {
    margin-bottom: 0;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    line-height: 1.65;
}

/* CASES */

.tt-home-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tt-home-case {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: 25px;
    background: var(--tt-home-navy);
    box-shadow: var(--tt-home-shadow);
}

.tt-home-case img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.tt-home-case:hover img {
    transform: scale(1.04);
}

.tt-home-case__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,18,34,.05), rgba(5,18,34,.9));
}

.tt-home-case__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 34px;
    color: #fff;
}

.tt-home-case__content small,
.tt-home-case__content strong,
.tt-home-case__content span {
    display: block;
}

.tt-home-case__content small {
    margin-bottom: 9px;
    color: #87baff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tt-home-case__content strong {
    max-width: 470px;
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.2;
}

.tt-home-case__content span {
    max-width: 460px;
    color: rgba(255,255,255,.8);
    font-size: 14px;
}

/* FAQ */

.tt-home-faq {
    max-width: 900px;
    margin: 0 auto;
}

.tt-home-faq__item {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--tt-home-line);
    border-radius: 15px;
    background: #fff;
}

.tt-home-faq__item button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    color: var(--tt-home-text);
    font-size: 16px;
    font-weight: 800;
    text-align: left;
    text-shadow: none;
}

.tt-home-faq__item button:hover {
    background: #f9fbfe;
}

.tt-home-faq__item button span {
    color: var(--tt-home-blue);
    font-size: 23px;
    font-weight: 400;
}

.tt-home-faq__answer {
    padding: 0 24px 22px;
}

.tt-home-faq__answer p {
    margin-bottom: 0;
    color: var(--tt-home-muted);
}

/* CONTACT */

.tt-home-contact {
    padding: 26px 0 92px;
    background: var(--tt-home-soft);
}

.tt-home-contact__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 46px 52px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 30%, rgba(105, 174, 255, .35), transparent 30%),
        linear-gradient(135deg, #dcebff, #eef6ff);
}

.tt-home-contact__box h2 {
    margin-bottom: 12px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
}

.tt-home-contact__box p:last-child {
    max-width: 700px;
    margin-bottom: 0;
    color: var(--tt-home-muted);
    font-size: 17px;
}

.tt-home-contact__actions {
    display: flex;
    min-width: 220px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.tt-home-contact__link {
    color: var(--tt-home-blue) !important;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.tt-home-editor-content {
    padding: 0 0 60px;
    background: var(--tt-home-white);
}

.tt-home-editor-content:empty {
    display: none;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .tt-home-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }

    .tt-home-hero__visual {
        min-height: 500px;
    }

    .tt-home-app-card {
        right: 18px;
    }

    .tt-home-solutions {
        grid-template-columns: repeat(2, 1fr);
    }

    .tt-home-benefits,
    .tt-home-products {
        grid-template-columns: 1fr;
    }

    .tt-home-benefit {
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
    .tt-home-shell {
        width: min(100% - 32px, 720px);
    }

    .tt-home-section {
        padding: 68px 0;
    }

    .tt-home-hero {
        padding: 52px 0 64px;
    }

    .tt-home-hero__grid {
        grid-template-columns: 1fr;
    }

    .tt-home-hero__title {
        font-size: clamp(39px, 10vw, 58px);
    }

    .tt-home-hero__visual {
        min-height: 480px;
    }

    .tt-home-trust {
        grid-template-columns: 1fr;
    }

    .tt-home-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
    }

    .tt-home-heading--center {
        align-items: center;
    }

    .tt-home-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .tt-home-cases {
        grid-template-columns: 1fr;
    }

    .tt-home-contact__box {
        align-items: flex-start;
        flex-direction: column;
        padding: 38px 30px;
    }

    .tt-home-contact__actions {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .tt-home {
        font-size: 15px;
    }

    .tt-home-shell {
        width: min(100% - 24px, 520px);
    }

    .tt-home-section {
        padding: 54px 0;
    }

    .tt-home-hero {
        padding-top: 38px;
    }

    .tt-home-hero__title {
        margin-bottom: 18px;
        font-size: 39px;
    }

    .tt-home-hero__text {
        font-size: 16px;
    }

    .tt-home-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tt-home-button {
        width: 100%;
    }

    .tt-home-hero__visual {
        min-height: 390px;
        border-radius: 22px;
    }

    .tt-home-app-card {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
    }

    .tt-home-solutions {
        grid-template-columns: 1fr;
    }

    .tt-home-solution__body small {
        min-height: 0;
    }

    .tt-home-heading h2 {
        font-size: 32px;
    }

    .tt-home-benefit {
        gap: 15px;
        padding: 23px 20px;
    }

    .tt-home-benefit__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .tt-home-product__body {
        padding: 23px;
    }

    .tt-home-steps {
        grid-template-columns: 1fr;
    }

    .tt-home-case {
        min-height: 340px;
    }

    .tt-home-case__content {
        padding: 26px 22px;
    }

    .tt-home-case__content strong {
        font-size: 24px;
    }

    .tt-home-contact {
        padding-bottom: 60px;
    }

    .tt-home-contact__box {
        padding: 30px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tt-home *,
    .tt-home *::before,
    .tt-home *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* SYNCHRONIZED HERO SLIDER */

.tt-home-hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    background: #dce8f5;
    box-shadow: var(--tt-home-shadow);
}

.tt-home-hero-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.tt-home-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    transition: opacity .65s ease, visibility .65s ease, transform 1.1s ease;
}

.tt-home-hero-slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.tt-home-hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tt-home-hero-slider__dots {
    position: absolute;
    left: 24px;
    bottom: 22px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    background: rgba(8, 28, 52, .38);
    backdrop-filter: blur(10px);
}

.tt-home-hero-slider__dots button {
    width: 8px;
    min-width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.58);
    box-shadow: none;
    text-shadow: none;
    transition: width .25s ease, background-color .25s ease;
}

.tt-home-hero-slider__dots button:hover {
    background: #fff;
}

.tt-home-hero-slider__dots button.is-active {
    width: 24px;
    background: #fff;
}

.tt-home-app-card {
    z-index: 8;
    transition: opacity .22s ease, transform .22s ease;
}

.tt-home-app-card.is-changing {
    opacity: 0;
    transform: translateY(8px);
}

.tt-home-app-card__lock svg {
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 560px) {
    .tt-home-hero-slider__dots {
        left: 14px;
        bottom: 14px;
    }
}
