/* ==========================================================================
   PRLinkUp — For Brands & Agencies
   Audience switch · Hero builder · Discover demo · Brief anatomy
   Pay demo · Agency workspace · Extras · Floating switch
   ========================================================================== */

/* ---------- Audience: show copy for the active audience only ---------- */
.bpage[data-aud="brand"] [data-only="agency"],
.bpage[data-aud="agency"] [data-only="brand"] {
    display: none !important;
}

/* ---------- Shared section heads ---------- */
.bsec-head__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 4rem;
    margin-top: clamp(1.25rem, 3vh, 2rem);
}

.bsec-head--center {
    text-align: center;
}

.bsec-head--center .bsec-title {
    max-width: 18ch;
    margin: clamp(1.25rem, 3vh, 2rem) auto 0;
}

.bsec-title {
    max-width: 16ch;
    font-size: clamp(2.2rem, 1rem + 3.6vw, 4.4rem);
    font-weight: var(--fw-black);
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--ink-950);
}

.bsec-title--light {
    margin-top: clamp(1.25rem, 3vh, 2rem);
    color: var(--white);
}

.bsec-lead {
    max-width: 380px;
    padding-bottom: 0.4em;
    font-size: clamp(1rem, 0.92rem + 0.3vw, 1.125rem);
    line-height: 1.6;
    color: var(--ink-600);
}

.bsec-lead--light {
    max-width: 44ch;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.75);
}

.bhero__title em,
.bsec-title em,
.bsec-title em .split-word {
    font-style: italic;
    background-image: linear-gradient(100deg, #5B3FF0 0%, #7A5DFF 35%, #B06AF8 70%, #E879F9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.bsec-title--light em,
.bsec-title--light em .split-word {
    background-image: linear-gradient(100deg, #C4B5FF 0%, #E9D5FF 50%, #F5B5FC 100%);
}

.bhero__title em,
.bsec-title em .split-word {
    padding-right: 0.06em;
}

/* ---------- Audience switch ---------- */
.aud-switch {
    position: relative;
    display: inline-flex;
    padding: 5px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -14px rgba(74, 47, 217, 0.35), inset 0 0 0 1px rgba(122, 93, 255, 0.14);
}

.aud-switch button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--r-pill);
    color: var(--ink-600);
    font-size: 14.5px;
    font-weight: var(--fw-semi);
    transition: color 0.4s;
}

.aud-switch__pill {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    border-radius: var(--r-pill);
    background: var(--ink-950);
    transition: translate 0.6s var(--ease-out), width 0.6s var(--ease-out);
}

.bpage[data-aud="brand"] [data-aud-btn="brand"],
.bpage[data-aud="agency"] [data-aud-btn="agency"] {
    color: var(--white);
}

.bpage[data-aud="agency"] .aud-switch__pill {
    translate: 100% 0;
}

.aud-switch--sm button {
    min-height: 38px;
    padding: 0 16px;
    font-size: 13.5px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.bhero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-h) + 3rem) 0 clamp(4rem, 3rem + 4vw, 7rem);
    background: #F7F5FF;
}

.bhero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bhero__glow {
    position: absolute;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(110px);
}

.bhero__glow--a {
    top: -25%;
    right: 5%;
    width: 50vw;
    background: #B4A3FF;
    opacity: 0.5;
    animation: drift-1 28s var(--ease-soft) infinite;
}

.bhero__glow--b {
    bottom: -40%;
    left: -10%;
    width: 45vw;
    background: #A5CBFF;
    opacity: 0.45;
    animation: drift-2 32s var(--ease-soft) infinite;
}

.bhero .grain {
    opacity: 0.06;
}

.bhero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.bhero__title {
    margin-top: clamp(1.5rem, 4vh, 2.25rem);
    font-size: clamp(2.6rem, 1rem + 4.2vw, 5.4rem);
    font-weight: var(--fw-black);
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--ink-950);
}

.bhero__lead {
    max-width: 44ch;
    margin-top: 22px;
    font-size: clamp(1rem, 0.92rem + 0.3vw, 1.15rem);
    line-height: 1.65;
    color: var(--ink-600);
}

.bhero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 32px;
}

.bhero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: var(--fw-medium);
    color: var(--ink-600);
}

.bhero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.bhero__trust i {
    color: var(--violet-500);
    font-size: 17px;
}

/* Audience copy swaps with a soft fade */
.bpage [data-only] {
    animation: aud-in 0.6s var(--ease-out);
}

@keyframes aud-in {
    from { opacity: 0; translate: 0 10px; }
}

/* ---------- Builder stage ---------- */
.bhero__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: clamp(500px, 62vh, 600px);
    padding: clamp(1.5rem, 3vw, 3rem);
    border-radius: 36px;
    background:
        radial-gradient(110% 90% at 100% 0%, #8B6CFF 0%, transparent 55%),
        linear-gradient(150deg, #3A22B8 0%, #6A4CF5 55%, #8B6CFF 100%);
    box-shadow: 0 60px 110px -40px rgba(74, 47, 217, 0.6);
}

.bhero__dots {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: radial-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1.3px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
}

.builder {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 16px;
    width: min(440px, 100%);
    padding: 22px;
    border-radius: 26px;
    color: var(--ink-900);
    font-size: 13.5px;
}

.builder small {
    display: block;
    font-size: 11.5px;
    font-weight: var(--fw-semi);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-600);
}

.builder__clients {
    display: flex;
    gap: 6px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(122, 93, 255, 0.2);
    overflow: hidden;
}

.builder__client {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 5px;
    border-radius: var(--r-pill);
    background: var(--gray-100);
    font-size: 12px;
    font-weight: var(--fw-semi);
    color: var(--ink-600);
}

.builder__client i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ink-400);
    color: var(--white);
    font-size: 10px;
    font-style: normal;
}

.builder__client.is-on {
    background: var(--ink-950);
    color: var(--white);
}

.builder__client.is-on i {
    background: var(--grad-orchid);
}

.builder__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.builder__head > div {
    flex: 1;
    min-width: 0;
}

.builder__logo {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--grad-primary);
    color: var(--white);
    font-size: 21px;
}

.builder__title {
    display: flex;
    align-items: center;
    min-height: 1.3em;
    font-size: 19px;
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
}

.builder__caret {
    width: 2px;
    height: 1em;
    margin-left: 2px;
    background: var(--violet-500);
    opacity: 0;
}

.builder.is-typing .builder__caret {
    animation: caret 0.8s steps(1) infinite;
}

@keyframes caret {
    50% { opacity: 1; }
}

.builder__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: var(--success-soft);
    color: #067A40;
    font-size: 12px;
    font-weight: var(--fw-semi);
}

.builder__status .badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.builder.is-draft .builder__status {
    background: var(--gray-100);
    color: var(--ink-600);
}

.builder.is-draft .builder__status .badge__dot {
    background: var(--ink-400);
}

.builder__row {
    display: grid;
    gap: 8px;
}

.builder__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.builder__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 12px;
    background: var(--violet-100);
    color: var(--violet-650);
    font-weight: var(--fw-semi);
}

.builder__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
}

.builder__money {
    font-size: 22px;
    font-weight: var(--fw-bold);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.builder__bar {
    height: 6px;
    border-radius: var(--r-pill);
    background: var(--gray-100);
    overflow: hidden;
}

.builder__bar span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--grad-primary);
    transform-origin: left center;
}

.builder__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: var(--fw-bold);
}

.builder__creators {
    display: flex;
    align-items: center;
}

.builder__avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 2.5px solid var(--white);
    border-radius: 50%;
    background: var(--g);
    color: var(--white);
    font-size: 11px;
    font-weight: var(--fw-semi);
}

.builder__avatar + .builder__avatar {
    margin-left: -10px;
}

.builder__more {
    margin-left: 10px;
    font-size: 12.5px;
    font-weight: var(--fw-semi);
    color: var(--violet-650);
}

.builder__launch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: var(--r-pill);
    background: var(--grad-primary);
    color: var(--white);
    font-weight: var(--fw-semi);
    box-shadow: 0 12px 26px -10px rgba(122, 93, 255, 0.7);
}

.builder__launch.is-pressed {
    animation: press 0.5s var(--ease-out);
}

@keyframes press {
    40% { scale: 0.95; }
}

.bhero__sticker {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: var(--fw-semi);
    color: var(--ink-900);
    animation: float 7s ease-in-out infinite;
}

.bhero__sticker i {
    color: var(--violet-500);
    font-size: 17px;
}

.bhero__sticker--a {
    top: 7%;
    right: 6%;
}

.bhero__sticker--b {
    bottom: 7%;
    left: 5%;
    color: var(--white);
    animation-delay: -3s;
}

.bhero__sticker--b i {
    color: var(--lavender);
}

@media (max-width: 1023px) {
    .bhero__layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .aud-switch:not(.aud-switch--sm) button {
        padding: 0 14px;
        font-size: 13.5px;
    }

    .bhero__stage {
        padding: 4.5rem 0.75rem;
        border-radius: 28px;
    }

    .builder {
        padding: 18px;
    }

    .builder__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bhero__sticker--a { top: 1rem; right: 1rem; }
    .bhero__sticker--b { bottom: 1rem; left: 1rem; }
}

/* ==========================================================================
   Discover — live demo
   ========================================================================== */
.discover {
    padding-block: clamp(5rem, 4rem + 5vw, 8rem);
    background: var(--white);
}

.demo {
    margin-top: clamp(2.25rem, 5vh, 3.5rem);
    padding: clamp(1rem, 2.5vw, 1.75rem);
    border-radius: 32px;
    background:
        radial-gradient(rgba(122, 93, 255, 0.12) 1px, transparent 1.3px) 0 0 / 20px 20px,
        #F7F5FF;
    box-shadow: inset 0 0 0 1px rgba(122, 93, 255, 0.1);
}

.demo__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(122, 93, 255, 0.12);
    font-size: 13.5px;
}

.demo__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: var(--white);
    font-weight: var(--fw-semi);
    box-shadow: var(--shadow-xs);
}

.demo__live span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-dot 2s var(--ease-soft) infinite;
}

.demo__count {
    color: var(--ink-600);
}

.demo__count b {
    color: var(--ink-950);
    font-variant-numeric: tabular-nums;
}

.demo__shortlist {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: var(--ink-950);
    color: var(--white);
    font-weight: var(--fw-semi);
}

.demo__shortlist i {
    color: #F0ABFC;
}

.demo__shortlist.is-bump {
    animation: bump 0.45s var(--ease-out);
}

@keyframes bump {
    40% { scale: 1.12; }
}

.demo__filters {
    display: grid;
    gap: 10px;
    padding-block: 16px;
}

.demo__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.demo__group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fchip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--color-border);
    color: var(--ink-900);
    font-size: 13.5px;
    font-weight: var(--fw-semi);
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.fchip:hover {
    box-shadow: inset 0 0 0 1px var(--violet-300);
}

.fchip.is-on {
    background: var(--grad-primary);
    box-shadow: 0 8px 18px -8px rgba(122, 93, 255, 0.7);
    color: var(--white);
}

.fchip--ghost.is-on {
    background: var(--ink-950);
    box-shadow: none;
}

.fchip__switch {
    position: relative;
    width: 30px;
    height: 18px;
    border-radius: var(--r-pill);
    background: var(--gray-200);
    transition: background-color 0.3s;
}

.fchip__switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-xs);
    transition: translate 0.4s var(--ease-out);
}

.fchip--toggle.is-on {
    background: var(--success-soft);
    box-shadow: inset 0 0 0 1px rgba(0, 210, 106, 0.4);
    color: #067A40;
}

.fchip--toggle.is-on .fchip__switch {
    background: var(--success);
}

.fchip--toggle.is-on .fchip__switch::after {
    translate: 12px 0;
}

.demo__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.ccard {
    position: relative;
    padding: 8px 8px 16px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: box-shadow 0.4s, translate 0.5s var(--ease-out);
}

.ccard:hover {
    translate: 0 -3px;
    box-shadow: var(--shadow-md), 0 18px 40px -20px rgba(122, 93, 255, 0.45);
}

.ccard[hidden] {
    display: none;
}

.ccard__cover {
    position: relative;
    display: block;
    height: 74px;
    border-radius: 16px;
    background: var(--g);
}

.ccard__niche,
.ccard__avail {
    position: absolute;
    top: 9px;
    padding: 3px 9px;
    border-radius: var(--r-pill);
    font-size: 10.5px;
    font-weight: var(--fw-semi);
}

.ccard__niche {
    left: 9px;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: var(--white);
}

.ccard__avail {
    top: auto;
    bottom: 9px;
    left: 9px;
    background: var(--success-soft);
    color: #067A40;
}

.ccard__save {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink-600);
    font-size: 15px;
    transition: scale 0.4s var(--ease-out);
}

.ccard__save:hover {
    scale: 1.12;
}

/* Two icons: outline (i.ph:not(.ph-fill)) and filled (i.ph-fill) */
.ccard__save i.ph-fill,
.ccard__save[aria-pressed="true"] i:not(.ph-fill) {
    display: none;
}

.ccard__save[aria-pressed="true"] i.ph-fill {
    display: block;
    color: #E0399A;
}

.ccard__avatar {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: -30px auto 8px;
    border: 3.5px solid var(--white);
    border-radius: 50%;
    background: var(--g);
    color: var(--white);
    font-size: 19px;
    font-weight: var(--fw-bold);
}

.ccard__name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding-inline: 6px;
    font-size: 15px;
    font-weight: var(--fw-semi);
}

.ccard__name i {
    flex-shrink: 0;
    color: var(--violet-500);
}

.ccard__handle {
    display: block;
    overflow: hidden;
    padding-inline: 8px;
    font-size: 12.5px;
    color: var(--ink-600);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ccard__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 12px 8px 0;
    padding: 9px 2px;
    border-radius: 14px;
    background: var(--gray-50);
}

.ccard__stats > span + span {
    border-left: 1px solid var(--color-border);
}

.ccard__stats b {
    display: block;
    font-size: 14px;
    font-weight: var(--fw-bold);
}

.ccard__stats small {
    font-size: 10.5px;
    color: var(--ink-600);
}

.ccard__rate {
    display: block;
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--ink-600);
}

.ccard__rate b {
    color: var(--violet-650);
    font-weight: var(--fw-bold);
}

.demo__empty[hidden] {
    display: none;
}

.demo__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 3rem 1rem;
    color: var(--ink-600);
}

@media (max-width: 600px) {
    .demo__shortlist {
        margin-left: 0;
    }

    .demo__group {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: -4px;
        padding-inline: 4px;
    }

    .demo__group::-webkit-scrollbar {
        display: none;
    }

    .fchip {
        flex-shrink: 0;
    }

    .demo__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ccard__stats > span:nth-child(2) {
        display: none;
    }

    .ccard__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ccard__stats > span:last-child {
        border-left: 1px solid var(--color-border);
    }

    .ccard__avail {
        display: none;
    }

    .ccard__name {
        font-size: 13.5px;
    }
}

/* ==========================================================================
   Brief anatomy
   ========================================================================== */
.brief {
    padding-block: clamp(5rem, 4rem + 5vw, 8rem);
    background: #F7F5FF;
}

.anatomy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-top: clamp(2.5rem, 6vh, 4rem);
}

.anatomy__col {
    display: grid;
    gap: clamp(1.5rem, 5vh, 2.75rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.callout {
    --line: 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.anatomy__col--left .callout {
    flex-direction: row-reverse;
    text-align: right;
}

/* Connector line towards the brief card */
.callout::after {
    content: "";
    position: absolute;
    top: 21px;
    width: clamp(1.5rem, 3vw, 3rem);
    height: 2px;
    background: linear-gradient(90deg, var(--violet-300), var(--violet-500));
    transform: scaleX(var(--line, 1));
}

.anatomy__col--left .callout::after {
    left: 100%;
    transform-origin: left center;
}

.anatomy__col--right .callout::after {
    right: 100%;
    background: linear-gradient(270deg, var(--violet-300), var(--violet-500));
    transform-origin: right center;
}

.callout__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--white);
    color: var(--violet-500);
    font-size: 20px;
    box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(122, 93, 255, 0.12);
}

.callout b {
    display: block;
    font-size: 17px;
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
}

.callout small {
    display: block;
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-600);
}

.bcard {
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 40px 80px -36px rgba(74, 47, 217, 0.45), inset 0 0 0 1px rgba(122, 93, 255, 0.1);
    font-size: 13.5px;
}

.bcard__top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bcard__top > div {
    flex: 1;
    min-width: 0;
}

.bcard__top b,
.bcard__top small {
    display: block;
}

.bcard__top b {
    font-size: 17px;
    font-weight: var(--fw-bold);
}

.bcard__top small {
    color: var(--ink-600);
}

.bcard__goal {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--gray-50);
    color: var(--ink-600);
    line-height: 1.55;
}

.bcard__goal b {
    display: block;
    margin-bottom: 2px;
    color: var(--ink-950);
    font-weight: var(--fw-semi);
}

.bcard__deliverables {
    display: grid;
    gap: 6px;
}

.bcard__deliverables span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--violet-100);
    color: var(--violet-650);
    font-weight: var(--fw-semi);
}

.bcard__deliverables em {
    margin-left: auto;
    font-style: normal;
    font-weight: var(--fw-medium);
    color: var(--ink-600);
}

.bcard__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bcard__meta > span {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--gray-50);
}

.bcard__meta small {
    display: block;
    color: var(--ink-600);
}

.bcard__meta b {
    display: block;
    margin-top: 2px;
    font-size: 17px;
    font-weight: var(--fw-bold);
}

.bcard__avatars {
    display: flex !important;
}

.bcard__avatars i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--white);
    font-size: 10px;
    font-weight: var(--fw-semi);
    font-style: normal;
}

.bcard__avatars i + i {
    margin-left: -8px;
}

.bcard__chat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--ink-950);
    color: var(--white);
    font-weight: var(--fw-semi);
}

.bcard__chat i {
    color: var(--lavender);
}

.bcard__new {
    margin-left: auto;
    padding: 2px 9px;
    border-radius: var(--r-pill);
    background: var(--grad-primary);
    font-size: 11.5px;
}

@media (max-width: 1023px) {
    .anatomy {
        grid-template-columns: minmax(0, 1fr);
    }

    .bcard {
        order: -1;
        width: min(440px, 100%);
        margin-inline: auto;
    }

    .anatomy__col {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .anatomy__col--left .callout {
        flex-direction: row;
        text-align: left;
    }

    .callout::after {
        display: none;
    }
}

/* ==========================================================================
   Pay demo (dark)
   ========================================================================== */
.bpay {
    position: relative;
    isolation: isolate;
    padding-block: clamp(5rem, 4rem + 5vw, 8rem);
    overflow: hidden;
    background: #0E0B26;
    color: var(--white);
}

.bpay__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bpay__glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    background: #4A2FD9;
    filter: blur(140px);
    opacity: 0.45;
}

.bpay .grain {
    opacity: 0.07;
}

.bpay__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.bpay__points {
    display: grid;
    gap: 16px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.bpay__points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.bpay__points i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    color: var(--lavender);
    font-size: 19px;
}

.bpay__points b {
    display: block;
    font-weight: var(--fw-semi);
}

.bpay__points span {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.68);
}

.paydemo {
    position: relative;
    display: grid;
    gap: 14px;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.paydemo__hint {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: rgba(232, 121, 249, 0.16);
    color: #F5B5FC;
    font-size: 12.5px;
    font-weight: var(--fw-semi);
}

.paydemo__wallets {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.pwallet {
    padding: 16px 18px;
    border-radius: 20px;
    background: var(--grad-twilight);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}

.pwallet--creator {
    background: linear-gradient(135deg, #2A1A8C, #4A2FD9);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.pwallet small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.pwallet > b {
    display: block;
    margin: 4px 0;
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
    font-weight: var(--fw-bold);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.pwallet__held {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.pwallet__held b {
    color: var(--white);
}

.pwallet.is-flash {
    animation: wallet-flash 0.9s var(--ease-out);
}

@keyframes wallet-flash {
    30% { box-shadow: 0 0 0 4px rgba(52, 232, 158, 0.6), 0 18px 40px -18px rgba(0, 0, 0, 0.6); }
}

.paydemo__arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--lavender);
}

.paydemo__coin {
    position: absolute;
    top: 50%;
    left: 22%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #FFFFFF, #EDE7FF 45%, #C4B5FF);
    color: var(--violet-700);
    font-weight: var(--fw-black);
    box-shadow: 0 0 30px rgba(232, 121, 249, 0.8);
    opacity: 0;
    pointer-events: none;
}

.submission {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: var(--white);
    color: var(--ink-900);
}

.submission__thumb {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    aspect-ratio: 9 / 13;
    border-radius: 14px;
    background: var(--grad-orchid);
    color: var(--white);
    font-size: 24px;
}

.submission__thumb em {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    font-size: 10px;
    font-style: normal;
}

.submission__body b {
    display: block;
    font-weight: var(--fw-semi);
}

.submission__body small {
    display: block;
    font-size: 12.5px;
    color: var(--ink-600);
}

.submission__status {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--warning-soft);
    color: #9A6100;
    font-size: 12px;
    font-weight: var(--fw-semi);
}

.submission__status.is-approved {
    background: var(--success-soft);
    color: #067A40;
}

.submission__status.is-changes {
    background: var(--violet-100);
    color: var(--violet-650);
}

.submission__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-column: 1 / -1;
}

.sbtn {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: var(--fw-semi);
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s, scale 0.3s var(--ease-out), opacity 0.3s;
}

.sbtn--ghost {
    box-shadow: inset 0 0 0 1px var(--color-border);
    color: var(--ink-900);
}

.sbtn--ghost:hover {
    background: var(--gray-100);
}

.sbtn--approve {
    flex: 1.4;
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 12px 26px -10px rgba(122, 93, 255, 0.8);
}

.sbtn--approve:hover {
    scale: 1.02;
}

.sbtn:disabled {
    opacity: 0.55;
    cursor: default;
    scale: 1;
}

.sbtn--approve.is-done {
    background: var(--success);
    box-shadow: none;
    opacity: 1;
}

.paydemo__toast[hidden] {
    display: none;
}

.paydemo__toast {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(0, 210, 106, 0.14);
    box-shadow: inset 0 0 0 1px rgba(0, 210, 106, 0.35);
    color: #8CF5C2;
    font-size: 14px;
    font-weight: var(--fw-semi);
}

.paydemo__toast:not([hidden]) {
    animation: aud-in 0.5s var(--ease-out);
}

.paydemo__toast button {
    margin-left: auto;
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1023px) {
    .bpay__layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .paydemo__wallets {
        grid-template-columns: minmax(0, 1fr);
    }

    .paydemo__arrow {
        justify-self: center;
        rotate: 90deg;
    }

    .paydemo__coin {
        display: none;
    }
}

/* ==========================================================================
   Agency workspace
   ========================================================================== */
.agency {
    padding-block: clamp(5rem, 4rem + 5vw, 8rem);
    background: var(--white);
}

.agency__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: clamp(2.5rem, 6vh, 4rem);
}

.agency__points {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.agency__points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.agency__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--violet-100);
    color: var(--violet-500);
    font-size: 21px;
}

.agency__points b {
    display: block;
    font-size: 17px;
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
}

.agency__points small {
    display: block;
    margin-top: 2px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink-600);
}

.agency__cta {
    padding-top: 6px;
}

.workspace {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 400px;
    border-radius: 30px;
    overflow: hidden;
    background: #0E0B26;
    color: var(--white);
    box-shadow: 0 50px 100px -40px rgba(14, 11, 38, 0.6);
}

.workspace__side {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.workspace__label {
    padding: 0 8px 8px;
    font-size: 11px;
    font-weight: var(--fw-semi);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.wclient {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    color: var(--white);
    text-align: left;
    transition: background-color 0.3s;
}

.wclient:hover {
    background: rgba(255, 255, 255, 0.06);
}

.wclient[aria-pressed="true"] {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.wclient > i,
.wpanel__head > i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--g, rgba(255, 255, 255, 0.1));
    font-style: normal;
    font-weight: var(--fw-bold);
}

.wclient b,
.wclient small {
    display: block;
}

.wclient b {
    font-size: 13.5px;
    font-weight: var(--fw-semi);
}

.wclient small {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.55);
}

.wclient--add {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.55);
}

.wclient--add i {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.workspace__main {
    display: grid;
    padding: 22px;
}

.wpanel {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    visibility: hidden;
    opacity: 0;
    translate: 0 12px;
    transition: opacity 0.3s, translate 0.3s, visibility 0s linear 0.3s;
}

.workspace[data-client="lumiere"] [data-client-panel="lumiere"],
.workspace[data-client="brewbay"] [data-client-panel="brewbay"],
.workspace[data-client="northpeak"] [data-client-panel="northpeak"] {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
    transition: opacity 0.5s var(--ease-out) 0.1s, translate 0.7s var(--ease-out) 0.1s, visibility 0s;
}

.wpanel__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wpanel__head > div {
    flex: 1;
    min-width: 0;
}

.wpanel__head b,
.wpanel__head small {
    display: block;
}

.wpanel__head b {
    font-size: 17px;
    font-weight: var(--fw-bold);
}

.wpanel__head small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.wpanel__new {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    background: var(--grad-primary);
    font-size: 12.5px;
    font-weight: var(--fw-semi);
    white-space: nowrap;
}

.wpanel__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.wpanel__stats span {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wpanel__stats small {
    display: block;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.6);
}

.wpanel__stats b {
    display: block;
    margin-top: 2px;
    font-size: clamp(1.15rem, 0.9rem + 0.7vw, 1.5rem);
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
}

.wpanel__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wpanel__list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 90px 40px;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 13.5px;
}

.wpanel__list b {
    overflow: hidden;
    font-weight: var(--fw-semi);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wpanel__list small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.wstatus {
    padding: 3px 10px;
    border-radius: var(--r-pill);
    font-size: 11.5px;
    font-weight: var(--fw-semi);
}

.wstatus--live   { background: rgba(0, 210, 106, 0.16); color: #5BF0A6; }
.wstatus--review { background: rgba(253, 176, 34, 0.16); color: #FFD27A; }
.wstatus--draft  { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); }

.wprogress {
    height: 5px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.wprogress span {
    display: block;
    width: var(--p);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8B6CFF, #E879F9);
}

.wpanel__collection {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    margin-top: auto;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    background: rgba(240, 171, 252, 0.12);
    color: #F5B5FC;
    font-size: 12.5px;
    font-weight: var(--fw-semi);
}

@media (max-width: 1023px) {
    .agency__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .workspace {
        order: -1;
    }
}

@media (max-width: 700px) {
    .workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    .workspace__side {
        flex-direction: row;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        scrollbar-width: none;
    }

    .workspace__label,
    .wclient--add {
        display: none;
    }

    .wclient {
        flex-shrink: 0;
    }

    .wpanel__new {
        display: none;
    }

    .wpanel__list li {
        grid-template-columns: minmax(0, 1fr) auto 40px;
    }

    .wprogress {
        display: none;
    }

    .workspace__main {
        padding: 16px;
    }

    .wpanel__stats {
        gap: 6px;
    }

    .wpanel__stats span {
        padding: 10px;
    }

    .wpanel__stats b {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Extras
   ========================================================================== */
.extras {
    padding-block: clamp(4.5rem, 3.5rem + 4vw, 7rem);
    background: #F7F5FF;
}

.extras__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: clamp(2rem, 5vh, 3rem) 0 0;
    padding: 0;
    border-top: 1px solid rgba(26, 29, 30, 0.1);
    list-style: none;
}

.extra {
    position: relative;
    display: grid;
    gap: 6px;
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 2rem) clamp(1.5rem, 3vw, 2.25rem) 0;
    border-bottom: 1px solid rgba(26, 29, 30, 0.1);
}

.extra:not(:nth-child(3n + 1)) {
    padding-left: clamp(1rem, 2vw, 2rem);
    border-left: 1px solid rgba(26, 29, 30, 0.1);
}

.extra::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.7s var(--ease-out);
}

.extra:hover::after {
    transform: scaleX(1);
}

.extra__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: var(--grad-primary);
    color: var(--white);
    font-size: 21px;
    box-shadow: 0 10px 22px -8px rgba(122, 93, 255, 0.55);
    transition: rotate 0.6s var(--ease-out);
}

.extra:hover .extra__icon {
    rotate: -8deg;
}

.extra b {
    font-size: 18px;
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
}

.extra small {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-600);
}

@media (max-width: 1023px) {
    .extras__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .extra:not(:nth-child(3n + 1)) {
        padding-left: 0;
        border-left: 0;
    }

    .extra:nth-child(even) {
        padding-left: clamp(1rem, 2vw, 2rem);
        border-left: 1px solid rgba(26, 29, 30, 0.1);
    }
}

@media (max-width: 600px) {
    .extras__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .extra:nth-child(even) {
        padding-left: 0;
        border-left: 0;
    }
}

/* ==========================================================================
   Floating audience switch
   ========================================================================== */
.aud-float {
    position: fixed;
    bottom: 20px;
    left: 50%;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 16px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 20px 40px -16px rgba(14, 11, 38, 0.45), inset 0 0 0 1px rgba(122, 93, 255, 0.14);
    translate: -50% 140%;
    opacity: 0;
    transition: translate 0.6s var(--ease-out), opacity 0.4s;
}

.aud-float.is-visible {
    translate: -50% 0;
    opacity: 1;
}

.aud-float__label {
    font-size: 12px;
    font-weight: var(--fw-semi);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-600);
    white-space: nowrap;
}

.aud-float .aud-switch {
    background: var(--gray-100);
    box-shadow: none;
}

/* Campaign logo tile inside the brief card (home pages define their own) */
.bcard .hc-logo {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--grad-primary);
    color: var(--white);
    font-size: 21px;
    box-shadow: 0 8px 18px rgba(122, 93, 255, 0.38);
}
