@import url("../config.css");

html,
body {
    overflow-x: hidden;
}

body:has(main.provider-landing) {
    background: linear-gradient(180deg, #fffef8 0%, #fff9ee 48%, #ffffff 100%);
}

body:has(main.provider-landing) header.header-app {
    box-shadow: none;
    margin-bottom: 0;
}

body:has(main.provider-landing) .container-div-logout {
    top: 5.7rem;
}

.provider-landing {
    --provider-hero-navy: #08134a;
    --provider-hero-navy-soft: #14205c;
    --provider-hero-teal: #028da2;
    --provider-hero-teal-dark: #007f93;
    --provider-hero-aqua: #32d2cf;
    --provider-hero-line: #e3edf2;
    --provider-hero-muted: #596184;
    --provider-hero-shadow: 0 18px 48px rgba(9, 33, 69, 0.1);
    color: #17324d;
    background:
        radial-gradient(circle at top left, rgba(99, 196, 202, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(138, 202, 185, 0.24), transparent 25%),
        linear-gradient(180deg, #fffef8 0%, #fff9ee 48%, #ffffff 100%);
    padding: 0 0 4rem;
    margin: -10px 0 0;
    width: 100%;
    position: relative;
    z-index: 0;
}

.provider-hero {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) 18.125rem 26.875rem;
    justify-content: center;
    gap: 3.35rem;
    padding: 0 clamp(1.875rem, 4vw, 4.75rem) 3.125rem;
    align-items: start;
    position: relative;
    width: min(73rem, calc(100% - 2rem));
    margin: 0 auto;
    overflow: visible;
}

.provider-strip,
.provider-section,
.provider-cta {
    width: min(1110px, calc(100% - 28px));
    margin: 0 auto;
}

.provider-pill,
.provider-section__heading span {
    display: grid;
}
.provider-pill,
.provider-section__heading span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 2px solid rgba(1, 139, 161, 0.62);
    border-radius: 0.5rem;
    padding: 0.5625rem 1rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1;
    color: var(--provider-hero-teal-dark);
    background: rgba(255, 255, 255, 0.7);
}

.provider-hero__content {
    padding-top: 1.5625rem;
    max-width: 15.75rem;
}

.provider-hero__title {
    margin: 1.9375rem 0 0;
    font-size: clamp(2.3rem, 3.9vw, 3.3rem);
    line-height: 1.08;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--provider-hero-navy);
    letter-spacing: -0.04em;
}

.provider-hero__title span {
    display: block;
}

.provider-hero__title span:nth-child(n + 3) {
    color: var(--provider-hero-teal);
}

.provider-hero__lead {
    max-width: 30rem;
    margin: 1.75rem 0 0;
    color: var(--provider-hero-navy-soft);
    font-size: 1.0625rem;
    line-height: 1.65;
    font-weight: 700;
}

.provider-hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    margin: 3rem 0 0;
    max-width: 34rem;
}

.provider-hero__metrics article,
.provider-card,
.provider-signup-card,
.provider-stats article {
    border: 1px solid rgba(18, 61, 99, 0.08);
    box-shadow: 0 20px 45px rgba(18, 61, 99, 0.08);
}

.provider-hero__metrics article {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: left;
}

.provider-hero__metrics strong,
.provider-strip strong,
.provider-card h3,
.provider-stats strong,
.provider-cta strong {
    display: block;
    color: #123d63;
}

.provider-hero__metrics strong {
    margin-top: 0.875rem;
    font-size: 0.75rem;
    font-weight: 900;
}

.provider-hero__metrics span,
.provider-strip span,
.provider-signup-card p,
.provider-card p,
.provider-stats span,
.provider-cta span {
    color: #5f7181;
    line-height: 1.5;
}

.provider-hero__metrics article > span:last-child {
    display: block;
    margin-top: 0.625rem;
    color: var(--provider-hero-navy-soft);
    font-size: 0.75rem;
    line-height: 1.8;
    font-weight: 600;
}

.provider-hero__metrics article > span:last-child:not(.provider-hero__metric-icon) {
    display: none;
}

.provider-hero__metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--provider-hero-teal);
}

.provider-hero__metric-icon svg,
.provider-hero__trust svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.provider-hero__actions,
.provider-hero__trust,
.provider-stats,
.provider-grid {
    display: grid;
}

.provider-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 3rem;
    padding: 0 1.15rem;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.provider-btn:hover {
    transform: translateY(-1px);
}

.provider-btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0095ad, #007b99);
    box-shadow: 0 15px 30px rgba(0, 127, 153, 0.16);
}

.provider-btn--block {
    width: 100%;
}

.provider-btn--hero {
    width: 17.625rem;
    min-height: 3.625rem;
    border-radius: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 900;
}

.provider-hero__trust {
    grid-template-columns: max-content;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

.provider-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 16rem;
    padding: 0.95rem 1.15rem;
    border-radius: 1rem;
    border: 1px solid rgba(8, 19, 74, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(9, 33, 69, 0.08);
    color: var(--provider-hero-navy-soft);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
}

.provider-hero__image-card .provider-hero__trust {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.05rem;
    padding-left: 2.4rem;
}

.provider-hero__image-card .provider-hero__trust span {
    width: min(100%, 16.8rem);
    justify-content: center;
    text-align: center;
    padding: 0.95rem 1.15rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(8, 19, 74, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 253, 0.98));
    box-shadow: 0 16px 34px rgba(9, 33, 69, 0.1);
}

.provider-hero__trust svg {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--provider-hero-teal);
    stroke-width: 2.2;
}

.provider-hero__scene {
    position: relative;
    min-height: 32.5rem;
    margin-top: 1.5625rem;
    margin-left: 2.35rem;
    z-index: 1;
}

.provider-hero__image-card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.provider-hero__image-card img {
    display: block;
    width: 18.3125rem;
    max-width: none;
    margin-left: 0;
    transform: translateX(3.4875rem);
    object-fit: contain;
}

.provider-hero__testimonial {
    position: absolute;
    right: 0.45rem;
    bottom: 6.45rem;
    z-index: 2;
    width: 10.5rem;
    padding: 0.95rem 0.9rem 0.85rem;
    border: 1px solid rgba(8, 19, 74, 0.1);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 252, 253, 0.99));
    box-shadow: 0 18px 36px rgba(9, 33, 69, 0.14);
}

.provider-hero__testimonial-mark {
    color: var(--provider-hero-teal);
    font-size: 2rem;
    line-height: 0.8;
    font-weight: 900;
}

.provider-hero__testimonial p {
    margin: 0.45rem 0 0;
    color: var(--provider-hero-navy-soft);
    font-size: 0.72rem;
    line-height: 1.65;
    font-weight: 600;
}

.provider-hero__testimonial-rating {
    margin-top: 0.8rem;
    color: #f3b316;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
}

.provider-hero__testimonial strong,
.provider-hero__testimonial span {
    display: block;
}

.provider-hero__testimonial strong {
    margin-top: 0.55rem;
    color: var(--provider-hero-navy);
    font-size: 0.7rem;
    font-weight: 900;
}

.provider-hero__testimonial span {
    margin-top: 0.2rem;
    color: #6f7c97;
    font-size: 0.64rem;
    line-height: 1.4;
    font-weight: 600;
}

.provider-signup-card {
    position: relative;
    z-index: 4;
    min-height: 35rem;
    padding: 2rem 2.1875rem 1.6875rem;
    border: 1px solid rgba(208, 222, 230, 0.82);
    border-radius: 0.8125rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--provider-hero-shadow);
    align-self: start;
}

.provider-signup-card h2 {
    margin: 0;
    color: var(--provider-hero-navy);
    font-size: 1.1875rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 900;
}

.provider-signup-card > p {
    margin-top: 0.625rem;
    color: var(--provider-hero-navy-soft);
    font-size: 0.8125rem;
    font-weight: 600;
}

.provider-signup-card small {
    display: block;
    margin-top: .65rem;
    color: #8d8d8d;
    line-height: 1.35;
    text-align: center;
    font-size: .62rem;
}

.provider-signup-card small a {
    color: #0b6670;
}

.provider-signup-card__form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0;
    margin: 1.25rem 0;
}

.provider-signup-card__alert {
    margin-top: .75rem;
    border-radius: .9rem;
    padding: .75rem .85rem;
    background: #fff4f4;
    border: 1px solid #f1b0b7;
    color: #b42318;
    font-size: .72rem;
}

.provider-signup-card__alert ul {
    margin: 0;
    padding-left: 1rem;
}

.provider-signup-card__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.provider-signup-card__row--single {
    grid-template-columns: 1fr;
}

.provider-signup-card__row label {
    display: block;
    margin-bottom: 0.8125rem;
    color: #59617d;
    font-size: 0.6875rem;
    font-weight: 700;
}

.provider-signup-card__row label span {
    color: #7a839b;
    font-weight: 600;
}

.provider-signup-card__row input {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    height: 3.1875rem;
    width: 100%;
    margin-top: 0.4375rem;
    padding: 0 1rem;
    border-radius: 0.375rem;
    background: #fff;
    border: 1px solid #d8e4ea;
    box-shadow: none;
    color: var(--provider-hero-navy);
    font-size: 0.8125rem;
    font-weight: 700;
    outline: none;
}

.provider-signup-card__row input:focus {
    border-color: rgba(0, 141, 162, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 141, 162, 0.09);
}

.provider-signup-card__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.provider-signup-card .provider-btn--primary {
    width: 15rem;
    min-height: 3.4375rem;
    margin: 0.625rem auto 1.5rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 900;
    border: 0;
    cursor: pointer;
    background: linear-gradient(90deg, #37d4d0, #1eb7c4);
    box-shadow: 0 13px 30px rgba(30, 183, 196, 0.2);
}

.provider-signup-card .provider-btn--primary.provider-btn--block {
    width: 15rem;
}

.provider-signup-card__row input[name="email"] {
    background: linear-gradient(180deg, #eaf2ff, #d9e7fb);
    border-color: #cbd9ec;
}

.provider-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.provider-strip article {
    background: rgba(255, 255, 255, 0.76);
    border-radius: 24px;
    padding: 1.2rem;
    border: 1px solid rgba(18, 61, 99, 0.08);
}

.provider-section {
    padding-top: 4rem;
}

.provider-section__heading {
    max-width: 44rem;
    text-align: center;
    margin: 0 auto 2rem;
}

.provider-section__heading h2 {
    margin: .9rem 0 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    color: #123d63;
}

.provider-grid {
    gap: 1rem;
}

.provider-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.provider-grid--steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.provider-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 26px;
    padding: 1.4rem;
}

.provider-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #0b6670;
    background: rgba(99, 196, 202, 0.16);
    margin-bottom: 1rem;
}

.provider-card h3 {
    margin: 0 0 .6rem;
    font-size: 1.1rem;
}

.provider-section--accent {
    padding-bottom: 0;
}

.provider-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.provider-stats article {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 252, 0.94));
    border-radius: 28px;
    padding: 1.5rem;
    text-align: center;
}

.provider-stats strong {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: .4rem;
}

.provider-card--step {
    position: relative;
    overflow: hidden;
}

.provider-step {
    display: inline-flex;
    margin-bottom: 1rem;
    font-size: .86rem;
    font-weight: 800;
    color: #0b6670;
    background: rgba(99, 196, 202, 0.16);
    border-radius: 999px;
    padding: .35rem .7rem;
}

.provider-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, #143c61 0%, #2f7f9c 55%, #63c4ca 100%);
    border-radius: 32px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 26px 50px rgba(20, 60, 97, 0.24);
}

.provider-cta strong,
.provider-cta span {
    color: #ffffff;
}

.provider-cta strong {
    font-size: 1.4rem;
    margin-bottom: .3rem;
}

.provider-cta .provider-btn--primary {
    background: #ffffff;
    color: #143c61;
    box-shadow: none;
}

@media (max-width: 1080px) {
    .provider-grid--four,
    .provider-grid--steps,
    .provider-strip,
    .provider-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .provider-hero {
        grid-template-columns: minmax(0, 1fr) 18.75rem;
    }

    .provider-hero__scene {
        display: none;
    }
}

@media (max-width: 760px) {
    .provider-hero,
    .provider-hero__metrics,
    .provider-hero__trust,
    .provider-strip,
    .provider-grid--four,
    .provider-grid--steps,
    .provider-stats,
    .provider-cta {
        grid-template-columns: 1fr;
    }

    .provider-hero {
        grid-template-columns: 1fr;
        width: min(100%, calc(100% - 1.875rem));
        padding-top: 1rem;
    }

    .provider-signup-card__row {
        grid-template-columns: 1fr;
    }

    .provider-hero__content {
        padding-top: 0.75rem;
        max-width: none;
        text-align: center;
    }

    .provider-pill,
    .provider-hero__trust span {
        margin-inline: auto;
    }

    .provider-hero__trust {
        justify-content: center;
    }

    .provider-hero__lead,
    .provider-section__heading,
    .provider-hero__metrics {
        max-width: none;
    }

    .provider-hero__metrics article {
        text-align: center;
    }

    .provider-signup-card {
        min-height: auto;
        padding: 1.625rem 1.25rem;
    }

    .provider-signup-card .provider-btn--primary.provider-btn--block {
        width: 100%;
    }

    .provider-cta {
        display: grid;
        text-align: center;
    }

    .provider-btn,
    .provider-hero__actions .provider-btn {
        width: 100%;
    }
}
