/* ════════════════════════════════
   PROVIDER NETWORK
   jotno.ai — provider.css
════════════════════════════════ */

#provider-network {
    position: relative;
    padding: var(--sec-y) var(--sec-x) var(--sec-y);
}

/* Light pools from the opposite side of the core-solutions band, so the two
   stacked sections read as separate stages instead of one long field. */
#provider-network::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 42% 58% at 14% 50%, rgba(8, 145, 178, 0.07), transparent 70%),
        radial-gradient(ellipse 40% 46% at 88% 14%, rgba(34, 211, 238, 0.07), transparent 70%);
}

.pn-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
    gap: 3.6rem;
    max-width: var(--sec-max);
    margin: 0 auto;
}

/* ════ COPY ════ */
.pn-copy {
    min-width: 0;
}

.pn-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(14, 116, 144, 0.78);
    margin-bottom: 1.25rem;
}

.pn-eyebrow-line {
    width: 26px;
    height: 1px;
    background: rgba(8, 145, 178, 0.55);
    flex-shrink: 0;
}

.pn-title {
    font-family: 'Playfair Display', 'Plus Jakarta Sans', serif;
    font-size: clamp(1.95rem, 3vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.12;
    color: var(--text);
    margin-bottom: 1.1rem;
}

/* RULE accent — see the accent map in common.css. A 2px hairline tucked
   under the phrase instead of the brush stroke: this band asks the reader
   for something, so the accent points at it rather than highlighting it. */
.pn-title-accent {
    color: var(--primary-dark);
    padding-bottom: 0.1em;
    background-image: linear-gradient(90deg, var(--primary), var(--cyan));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.pn-lead {
    font-size: 0.98rem;
    line-height: 1.78;
    font-weight: 500;
    color: var(--muted);
    max-width: 52ch;
}

/* ════ ROLES ════
   The seven professions sit under a quiet label rather than a heading, so
   the group reads as one field of the copy instead of a second section. */
.pn-roles {
    margin-top: 1.9rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(15, 32, 54, 0.09);
}

.pn-roles-label {
    display: block;
    margin-bottom: 0.85rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.75;
}

.pn-role-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
}

.pn-role-list li {
    padding: 0.42rem 0.88rem;
    border-radius: 50px;
    border: 1px solid rgba(15, 32, 54, 0.09);
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.pn-role-list li:hover {
    border-color: rgba(8, 145, 178, 0.28);
    background: rgba(8, 145, 178, 0.07);
    color: var(--primary-dark);
}

/* ════ CTAs ════ */
.pn-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.9rem;
}

/* Section-scale variants of the shared nav buttons, locked to one height */
.pn-btns .btn-primary,
.pn-btns .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0 1.5rem;
    font-size: 0.9rem;
}

.pn-btns .btn-outline {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pn-btns svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.pn-btns .btn-primary:hover svg,
.pn-btns .btn-outline:hover svg {
    transform: translateX(3px);
}

/* ════ JOURNEY CARD ════ */
.pn-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    padding: 1.35rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
    border: 1px solid rgba(15, 32, 54, 0.07);
    border-radius: 26px;
    box-shadow:
        0 1px 2px rgba(15, 32, 54, 0.04),
        0 30px 64px -22px rgba(15, 32, 54, 0.22);
}

.pn-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.15rem 0.5rem 1rem;
    border-bottom: 1px solid rgba(15, 32, 54, 0.06);
    margin-bottom: 1.3rem;
}

.pn-card-label {
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
}

.pn-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    padding: 0.28rem 0.65rem;
    border-radius: 50px;
    background: rgba(8, 145, 178, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.16);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.pn-card-tag i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulse 2s infinite;
}

/* ─── STEPS ───
   One rail, three stops. The connector is drawn per step rather than as a
   single absolute line, so the last stop can end the rail cleanly. */
.pn-steps {
    list-style: none;
    padding: 0 0.35rem;
}

.pn-step {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 1rem;
    padding-bottom: 1.5rem;
}

.pn-step:last-child {
    padding-bottom: 0.35rem;
}

/* Rail segment running from this stop down to the next one */
.pn-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 34px;
    bottom: 6px;
    width: 1.5px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(8, 145, 178, 0.28), rgba(8, 145, 178, 0.1));
}

.pn-step-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(8, 145, 178, 0.24);
    background: var(--white);
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

/* The final stop is the destination, so it fills in instead of counting */
.pn-step.is-final .pn-step-mark {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.pn-step-mark svg {
    width: 15px;
    height: 15px;
}

.pn-step-body {
    min-width: 0;
    padding-top: 0.2rem;
}

.pn-step-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.pn-step.is-final .pn-step-name {
    color: var(--primary-dark);
}

.pn-step-desc {
    display: block;
    font-size: 0.84rem;
    line-height: 1.65;
    font-weight: 500;
    color: var(--muted);
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {

    .pn-btns svg,
    .pn-role-list li {
        transition: none;
    }

    .pn-card-tag i {
        animation: none;
    }
}
