.tri-home {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 190px);
    overflow: hidden;
    padding: clamp(1rem, 2.5vw, 2.75rem);
    border: 1px solid var(--tri-app-border, #dce4ef);
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at 92% 8%, rgba(9, 105, 255, .13), transparent 28rem),
        radial-gradient(circle at 6% 100%, rgba(35, 194, 155, .08), transparent 25rem),
        linear-gradient(145deg, #fff 0%, #f7faff 58%, #f1f6fd 100%);
}

.tri-home::before {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    content: "";
    border: 1px solid rgba(9, 105, 255, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 40px rgba(9, 105, 255, .025),
        0 0 0 80px rgba(9, 105, 255, .02);
    pointer-events: none;
}

.tri-home-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(390px, .65fr);
    gap: clamp(2rem, 4vw, 5rem);
    align-items: start;
    width: min(1500px, 100%);
    margin: 0 auto;
}

.tri-home-copy {
    min-width: 0;
    padding: clamp(.5rem, 1.5vw, 1.5rem) 0;
}

.tri-home-copy > :first-child,
.tri-home-copy .frame:first-child {
    margin-top: 0;
}

.tri-home-copy h1 {
    max-width: 900px;
    margin: 0 0 1.25rem;
    color: var(--tri-app-navy, #071b3d);
    font-size: clamp(2.15rem, 3.25vw, 4rem);
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.tri-home-copy h1::before {
    display: block;
    width: 3.5rem;
    height: .3rem;
    margin-bottom: 1.25rem;
    content: "";
    border-radius: 1rem;
    background: linear-gradient(90deg, #0969ff, #35a7ff);
}

.tri-home-copy p {
    max-width: 900px;
    color: var(--tri-app-muted, #65748b);
    font-size: clamp(1rem, 1.15vw, 1.16rem);
    line-height: 1.7;
}

.tri-home-copy p:first-of-type {
    margin-bottom: 1.75rem;
    color: #3d4e68;
    font-size: clamp(1.05rem, 1.3vw, 1.3rem);
}

.tri-home-copy ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    max-width: 980px;
    margin: 1.25rem 0 1.75rem;
    padding: 0;
    list-style: none;
}

.tri-home-copy li {
    position: relative;
    min-height: 64px;
    margin: 0;
    padding: .9rem 1rem .9rem 3rem;
    color: #253754;
    border: 1px solid rgba(165, 181, 204, .38);
    border-radius: .8rem;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 8px 26px rgba(23, 45, 76, .045);
    font-size: .93rem;
    line-height: 1.4;
}

.tri-home-copy li::before {
    position: absolute;
    top: .9rem;
    left: .9rem;
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    content: "✓";
    place-items: center;
    color: #0969ff;
    border-radius: .45rem;
    background: #e8f1ff;
    font-size: .78rem;
    font-weight: 800;
}

.tri-home-copy strong {
    color: var(--tri-app-navy, #071b3d);
}

.tri-home-copy p:last-child a,
.tri-home-copy .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: .35rem;
    padding: .7rem 1.25rem;
    color: #fff;
    border: 1px solid #0969ff;
    border-radius: .7rem;
    background: #0969ff;
    box-shadow: 0 10px 24px rgba(9, 105, 255, .2);
    font-weight: 700;
    text-decoration: none;
}

.tri-home-copy p:last-child a:hover,
.tri-home-copy p:last-child a:focus,
.tri-home-copy .btn:hover,
.tri-home-copy .btn:focus {
    color: #fff;
    border-color: #0758d6;
    background: #0758d6;
    box-shadow: 0 12px 28px rgba(9, 105, 255, .28);
    transform: translateY(-1px);
}

.tri-home-access {
    position: sticky;
    top: 94px;
    min-width: 0;
}

.tri-home-access .tri-auth {
    max-width: none;
    margin: 0;
}

.tri-home-access .tri-auth-card {
    box-shadow: 0 22px 55px rgba(22, 48, 86, .12) !important;
}

.tri-home-access .tri-auth-card > .card-body {
    padding: clamp(1.35rem, 2vw, 2rem);
}

.tri-home-access .alert-info {
    color: #29415f;
    border-color: #d9e7f8;
    background: #f3f8ff;
}

.tri-home-access .alert-info h2 {
    color: var(--tri-app-navy, #071b3d);
}

@media (max-width: 1199.98px) {
    .tri-home-hero {
        grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr);
        gap: 2rem;
    }

    .tri-home-copy ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 899.98px) {
    .tri-home {
        padding: 1.25rem;
    }

    .tri-home-hero {
        grid-template-columns: 1fr;
    }

    .tri-home-access {
        position: static;
        width: min(620px, 100%);
    }

    .tri-home-copy ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .tri-home {
        min-height: 0;
        padding: 1rem;
        border-radius: .9rem;
    }

    .tri-home-copy {
        padding-top: 0;
    }

    .tri-home-copy h1 {
        font-size: 2rem;
    }

    .tri-home-copy ul {
        grid-template-columns: 1fr;
    }

    .tri-home-copy li {
        min-height: 56px;
    }
}
