/* ------------------------------------------------------------------
   /joinus — new bright design (partial: partials/khind-joinus)
   Warm cream canvas, white cards, ink text, yellow accents.
   ------------------------------------------------------------------ */

.ju {
    --ju-ink: #14100a;
    --ju-cream: #f9eed3;
    --ju-card: #ffffff;
    --ju-yellow: #f2c213;
    --ju-red: #932b2b;
    --ju-line: rgba(20, 16, 10, 0.08);
    position: relative;
    background-color: var(--ju-cream);
    color: var(--ju-ink);
    padding: 44px 0 92px;
    overflow: hidden;
}



.ju-wrap {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* ---------- shared bits ---------- */
.ju-eyebrow,
.ju-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid var(--ju-ink);
    background: var(--ju-ink);
    color: var(--ju-yellow);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
}

.ju-pill--dark {
    background: rgba(20, 16, 10, 0.1);
    border-color: rgba(20, 16, 10, 0.22);
    color: #14100a;
}

.ju-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--ju-yellow);
    display: inline-block;
}

.ju-h2 {
    margin: 16px 0 10px;
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.14;
    color: var(--ju-ink);
}

.ju-sub {
    margin: 0;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(20, 16, 10, 0.62);
}

.ju-head {
    text-align: center;
    margin-bottom: 40px;
}

.ju-head .ju-sub {
    margin-inline: auto;
}

.ju mark {
    background: none;
    color: var(--ju-red);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(147, 43, 43, 0.35);
}

/* ---------- buttons ---------- */
.ju-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.ju-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.ju-btn--primary {
    background: var(--ju-yellow);
    color: #14100a;
    box-shadow: 0 12px 24px rgba(242, 194, 19, 0.28);
}

.ju-btn--ghost {
    border: 1px solid rgba(20, 16, 10, 0.25);
    color: #14100a;
    background: rgba(255, 255, 255, 0.6);
}

.ju-btn--dark {
    background: #14100a;
    color: var(--ju-yellow);
}

/* ---------- hero ---------- */
.ju-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
    padding-top: 20px;
}

.ju-title {
    margin: 18px 0 14px;
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--ju-ink);
}

.ju-title span {
    color: var(--ju-red);
}

.ju-lead {
    margin: 0 0 24px;
    max-width: 520px;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(20, 16, 10, 0.66);
}

.ju-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ju-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ju-checks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(20, 16, 10, 0.62);
}

.ju-checks li::before {
    content: "✓";
    color: var(--ju-red);
    font-weight: 800;
}

/* earnings card — the dark accent on the bright page */
.ju-earn {
    background: #14100a;
    border: 1px solid rgba(20, 16, 10, 0.4);
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 22px 44px rgba(20, 16, 10, 0.18);
    color: #fff;
}

.ju-earn__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ju-earn__label {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
}

.ju-earn__amount {
    font-size: clamp(30px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1;
}

.ju-earn__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--ju-yellow);
    color: #14100a;
    font-size: 15px;
    font-weight: 800;
}

.ju-earn__list {
    margin: 0;
    padding: 6px 0 0;
    list-style: none;
}

.ju-earn__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
}

.ju-earn__list b {
    color: #7ee787;
    font-weight: 800;
}

.ju-earn__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    background: rgba(126, 231, 135, 0.12);
    border: 1px solid rgba(126, 231, 135, 0.32);
    color: #7ee787;
    font-size: 12.5px;
}

.ju-earn__status b {
    color: #7ee787;
}

/* ---------- intro ---------- */
.ju-intro {
    text-align: center;
    padding: 76px 0 8px;
    max-width: 880px;
}

.ju-intro__desc {
    margin: 0 auto;
    max-width: 760px;
    font-size: 15.5px;
    line-height: 1.75;
    color: rgba(20, 16, 10, 0.64);
}

/* ---------- sections ---------- */
.ju-section {
    padding: 76px 0 0;
}

/* ---------- grids + cards ---------- */
.ju-grid {
    display: grid;
    gap: 18px;
}

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

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

.ju-grid--tight {
    gap: 14px;
}

.ju-card {
    background: var(--ju-card);
    border: 1px solid rgba(20, 16, 10, 0.1);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 18px 36px rgba(20, 16, 10, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ju-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 44px rgba(20, 16, 10, 0.09);
    border-color: rgba(242, 194, 19, 0.5);
}

.ju-card h3 {
    margin: 14px 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: var(--ju-ink);
}

.ju-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(20, 16, 10, 0.6);
}

.ju-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--ju-yellow);
    border: 1px solid rgba(20, 16, 10, 0.08);
    color: #14100a;
    font-size: 18px;
    font-weight: 800;
}

.ju-icon--sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 14px;
}

.ju-chip-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--ju-card);
    border: 1px solid var(--ju-line);
    border-radius: 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ju-ink);
    box-shadow: 0 12px 26px rgba(20, 16, 10, 0.04);
}

/* ---------- steps ---------- */
.ju-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ju-step {
    position: relative;
    background: var(--ju-card);
    border: 1px solid rgba(20, 16, 10, 0.1);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 18px 36px rgba(20, 16, 10, 0.08);
}

.ju-step__no {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--ju-yellow);
    border: 1px solid rgba(20, 16, 10, 0.08);
    color: #14100a;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 14px;
}

.ju-step h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ju-ink);
}

.ju-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(20, 16, 10, 0.58);
}

/* ---------- income rows ---------- */
.ju-card--income {
    display: flex;
    flex-direction: column;
}

.ju-card--income h3 {
    margin-top: 0;
}

.ju-rows {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.ju-rows li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px dashed rgba(20, 16, 10, 0.12);
    font-size: 13px;
    color: rgba(20, 16, 10, 0.68);
}

.ju-rows b {
    color: var(--ju-red);
    font-weight: 800;
}

.ju-rows li.is-off {
    opacity: 0.4;
}

/* ---------- example ---------- */
.ju-example {
    margin-top: 18px;
    padding: 30px;
    background: var(--ju-card);
    border: 1px solid var(--ju-line);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(20, 16, 10, 0.05);
}

.ju-example > h3 {
    margin: 0 0 22px;
    text-align: center;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    color: var(--ju-ink);
}

.ju-grid--example {
    gap: 16px;
}

.ju-scenario {
    background: #fffaf0;
    border: 1px solid rgba(20, 16, 10, 0.07);
    border-radius: 18px;
    padding: 22px;
}

.ju-scenario__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ju-scenario__head strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--ju-ink);
}

.ju-scenario__head small {
    display: block;
    font-size: 12px;
    color: rgba(20, 16, 10, 0.5);
    margin-top: 2px;
}

.ju-badge-no {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--ju-yellow);
    color: #14100a;
    font-weight: 800;
    flex: none;
}

.ju-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(242, 194, 19, 0.16);
    border: 1px solid rgba(242, 194, 19, 0.45);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(20, 16, 10, 0.62);
}

.ju-total b {
    font-size: 20px;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--ju-ink);
}

/* ---------- products ---------- */
.ju-prod {
    background: var(--ju-card);
    border: 1px solid rgba(20, 16, 10, 0.1);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 36px rgba(20, 16, 10, 0.08);
}

.ju-prod__media {
    height: 210px;
    flex: none;
    overflow: hidden;
    background: #fffaf0;
    border-bottom: 1px solid rgba(20, 16, 10, 0.06);
    display: grid;
    place-items: center;
    padding: 18px;
}

.ju-prod__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* the product shots come on a white canvas — multiply drops it onto
       the warm well so no white box shows */
    mix-blend-mode: multiply;
}

.ju-prod__body {
    position: relative;
    background: var(--ju-card);
    padding: 20px;
}

.ju-prod__body h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ju-ink);
}

.ju-prod__body p {
    margin: 0 0 14px;
    font-size: 13px;
    color: rgba(20, 16, 10, 0.58);
}

.ju-prod__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.ju-prod__price small {
    width: 100%;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(20, 16, 10, 0.42);
}

.ju-prod__price b {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ju-red);
}

.ju-prod__price span {
    font-size: 12px;
    color: rgba(20, 16, 10, 0.5);
}

/* ---------- testimonials ---------- */
.ju-testi {
    background: var(--ju-card);
    border: 1px solid var(--ju-line);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 16px 34px rgba(20, 16, 10, 0.05);
}

.ju-stars {
    color: #e0a800;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 12px;
}

.ju-testi p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(20, 16, 10, 0.7);
}

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

.ju-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--ju-yellow);
    border: 1px solid rgba(20, 16, 10, 0.1);
    color: #14100a;
    font-size: 12px;
    font-weight: 800;
}

.ju-testi__who strong {
    display: block;
    font-size: 13.5px;
    color: var(--ju-ink);
}

.ju-testi__who small {
    display: block;
    font-size: 11.5px;
    color: rgba(20, 16, 10, 0.5);
}

/* ---------- manifesto ---------- */
.ju-manifesto {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 56px 32px;
    border-radius: 28px;
    background: var(--ju-yellow);
    color: #14100a;
    box-shadow: 0 26px 50px rgba(242, 194, 19, 0.28);
}

.ju-manifesto::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: repeating-radial-gradient(circle at 100% 0, rgba(20, 16, 10, 0) 0 40px, rgba(20, 16, 10, 0.07) 40px 41px, rgba(20, 16, 10, 0) 41px 82px);
}

.ju-manifesto > * {
    position: relative;
    z-index: 1;
}

.ju-manifesto h2 {
    margin: 18px auto 14px;
    max-width: 780px;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.16;
    color: #14100a;
}

.ju-manifesto p {
    margin: 0 auto 24px;
    max-width: 720px;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(20, 16, 10, 0.75);
}

.ju-manifesto mark {
    color: var(--ju-red);
    text-decoration-color: rgba(147, 43, 43, 0.4);
}

.ju-manifesto__box {
    display: grid;
    gap: 4px;
    margin: 0 auto 22px;
    max-width: 520px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(20, 16, 10, 0.1);
}

.ju-manifesto__box strong {
    font-size: 16px;
    font-weight: 800;
    color: #14100a;
}

.ju-manifesto__box span {
    font-size: 13px;
    color: rgba(20, 16, 10, 0.66);
}

.ju-manifesto small {
    display: block;
    margin-top: 14px;
    font-size: 12.5px;
    color: rgba(20, 16, 10, 0.6);
}

/* ---------- phones ---------- */
@media (max-width: 1023px) {
    .ju-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 767px) {
    .ju {
        padding: 24px 0 64px;
    }

    .ju-wrap {
        width: calc(100% - 40px);
    }

    .ju-title {
        font-size: clamp(28px, 8.6vw, 38px);
    }

    .ju-lead,
    .ju-intro__desc {
        font-size: 14px;
    }

    .ju-section {
        padding-top: 48px;
    }

    .ju-intro {
        padding-top: 48px;
    }

    .ju-grid--3,
    .ju-grid--2,
    .ju-steps {
        grid-template-columns: 1fr;
    }

    .ju-actions .ju-btn {
        width: 100%;
    }

    .ju-example {
        padding: 20px;
    }

    .ju-manifesto {
        padding: 40px 20px;
    }

    .ju-prod__media {
        height: 170px;
    }
}

/* Buttons: normal sentence case, small and light (client request). */
body.kh-public .kh-hero__cta,
body.kh-public .produk-agent-btn,
body.kh-public .khind-faq__btn,
body.kh-public .khind-sales-agent__whatsapp,
body.kh-public .khind-funnel-wrapper .btn-next,
body.kh-public .kh-btn,
body.kh-public .kh-butang,
body.kh-public .kc-btn,
body.kh-public .ju-btn,
body.kh-public .ju-manifesto .ju-btn,
body.kh-public .kh-gift .ju-btn {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}
