css
/* ==========================================
   Purple Pie Promos Learn Article System
   Version 1.1
   Full-width visual article layout
   ========================================== */

.ppp-article-page,
.ppp-article-page *{
    box-sizing:border-box;
}

.ppp-article-page{
    width:100%;
    max-width:1180px !important;
    margin:60px auto !important;
    padding:0 24px;
    color:#333;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    line-height:1.75;
}

.ppp-article-content{
    max-width:1180px;
    margin:0 auto;
}

/* Optional narrow utility */

.ppp-article-narrow{
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
}

/* Hero */

.ppp-article-hero{
    text-align:center;
    max-width:900px;
    margin:0 auto 48px;
}

.ppp-article-eyebrow{
    color:#8c4fc6;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin:0 0 10px;
}

.ppp-article-hero h1{
    font-size:48px;
    line-height:1.15;
    margin:0 0 20px;
    color:#2b2340;
}

.ppp-article-hero p{
    font-size:20px;
    color:#666;
    margin:0 auto;
}

/* Typography */

.ppp-article-content h2{
    margin-top:70px;
    margin-bottom:18px;
    color:#2b2340;
    font-size:34px;
    line-height:1.25;
}

.ppp-article-content h3{
    margin-top:32px;
    margin-bottom:12px;
    color:#2b2340;
    font-size:24px;
    line-height:1.3;
}

.ppp-article-content p{
    margin-top:18px;
    margin-bottom:18px;
    font-size:18px;
}

.ppp-article-content a{
    color:#8c4fc6;
    font-weight:700;
    text-decoration:none;
}

.ppp-article-content a:hover{
    text-decoration:underline;
}

/* Images */

.ppp-article-feature-image{
    margin:50px auto;
}

.ppp-article-feature-image img,
.ppp-article-image img,
.ppp-article-image-wide img{
    display:block;
    width:100%;
    height:auto;
    border-radius:16px;
}

.ppp-article-image,
.ppp-article-image-wide{
    margin:44px auto;
}

.ppp-article-image figcaption,
.ppp-article-image-wide figcaption{
    text-align:center;
    color:#777;
    font-size:14px;
    margin-top:12px;
}

/* Lists */

.ppp-article-list{
    margin-top:28px;
    margin-bottom:28px;
    padding-left:24px;
}

.ppp-article-list li{
    margin:10px 0;
    font-size:18px;
}

/* Callouts */

.ppp-article-callout,
.ppp-article-tip,
.ppp-article-note,
.ppp-article-warning{
    padding:28px;
    border-radius:14px;
    margin-top:45px;
    margin-bottom:45px;
}

.ppp-article-callout{
    background:#faf5ff;
    border-left:5px solid #8c4fc6;
}

.ppp-article-tip{
    background:#eefbf5;
    border-left:5px solid #33b87a;
}

.ppp-article-note{
    background:#fff9ef;
    border-left:5px solid #ffb648;
}

.ppp-article-warning{
    background:#fff4f4;
    border-left:5px solid #e04f5f;
}

.ppp-article-callout h2,
.ppp-article-callout h3,
.ppp-article-tip h2,
.ppp-article-tip h3,
.ppp-article-note h2,
.ppp-article-note h3,
.ppp-article-warning h2,
.ppp-article-warning h3{
    margin-top:0;
}

/* Tables */

.ppp-article-table-wrap{
    overflow-x:auto;
    margin-top:42px;
    margin-bottom:42px;
}

.ppp-article-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

.ppp-article-table th{
    background:#8c4fc6;
    color:#fff;
    padding:16px;
    text-align:left;
    font-size:16px;
}

.ppp-article-table td{
    padding:16px;
    border:1px solid #ececec;
    font-size:16px;
}

.ppp-article-table tbody tr:nth-child(even){
    background:#fafafa;
}

/* Responsive comparison cards */

.ppp-article-comparison{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
    margin-top:42px;
    margin-bottom:42px;
}

.ppp-comparison-card{
    background:#fff;
    border:1px solid #eadff4;
    border-radius:16px;
    padding:28px;
    box-shadow:0 8px 24px rgba(43,35,64,.07);
}

.ppp-comparison-card h3{
    margin-top:0;
}

.ppp-comparison-card ul{
    margin:18px 0 0;
    padding-left:22px;
}

.ppp-comparison-card li{
    margin:10px 0;
}

/* Two column content */

.ppp-article-two-col{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
    margin-top:48px;
    margin-bottom:48px;
}

.ppp-article-two-col > div{
    background:#fff;
    border:1px solid #eee;
    border-radius:16px;
    padding:28px;
}

/* Card grid */

.ppp-article-card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:22px;
    margin-top:42px;
    margin-bottom:42px;
}

.ppp-article-card{
    background:#fff;
    border:1px solid #eadff4;
    border-radius:16px;
    padding:26px;
    box-shadow:0 8px 24px rgba(43,35,64,.06);
}

.ppp-article-card h3{
    margin-top:0;
}

/* Product/icon row */

.ppp-article-product-row{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
    gap:24px;
    margin-top:45px;
    margin-bottom:45px;
    text-align:center;
}

.ppp-article-product-row div{
    background:#fff;
    border:1px solid #eee;
    border-radius:14px;
    padding:22px 14px;
}

.ppp-article-product-row img{
    width:72px;
    height:72px;
    object-fit:contain;
    margin:0 auto 12px;
}

.ppp-article-product-row p{
    margin:0;
    font-weight:700;
    font-size:16px;
}

/* Pull quote */

.ppp-article-quote{
    margin-top:50px;
    margin-bottom:50px;
    padding:34px;
    border-radius:16px;
    background:#f5f5fb;
    color:#2b2340;
    font-size:24px;
    line-height:1.45;
    font-weight:700;
    text-align:center;
}

/* Numbered steps */

.ppp-article-steps{
    counter-reset:ppp-step;
    display:grid;
    gap:18px;
    margin-top:42px;
    margin-bottom:42px;
}

.ppp-article-step{
    counter-increment:ppp-step;
    position:relative;
    background:#fff;
    border:1px solid #eadff4;
    border-radius:16px;
    padding:26px 26px 26px 82px;
}

.ppp-article-step:before{
    content:counter(ppp-step);
    position:absolute;
    left:24px;
    top:24px;
    width:38px;
    height:38px;
    border-radius:50%;
    background:#8c4fc6;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
}

/* Bottom line */

.ppp-article-bottom-line{
    background:linear-gradient(135deg,#8c4fc6,#c56af5);
    color:#fff;
    padding:42px;
    border-radius:18px;
    margin-top:70px;
    margin-bottom:70px;
}

.ppp-article-bottom-line h2,
.ppp-article-bottom-line h3{
    color:#fff;
    margin-top:0;
}

.ppp-article-bottom-line p:last-child{
    font-size:22px;
    font-weight:800;
}

/* Related resources */

.ppp-article-related{
    margin-top:70px;
    margin-bottom:70px;
}

.ppp-related-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
}

.ppp-related-grid a{
    display:block;
    background:#fff;
    border:1px solid #e7e7e7;
    padding:20px;
    border-radius:14px;
    color:#2b2340;
    font-weight:700;
    transition:all .2s ease;
}

.ppp-related-grid a:hover{
    border-color:#8c4fc6;
    transform:translateY(-2px);
    text-decoration:none;
}

/* CTA */

.ppp-article-cta{
    background:#f5f5fb;
    text-align:center;
    padding:60px 30px;
    border-radius:20px;
    margin-top:80px;
    margin-bottom:80px;
}

.ppp-article-cta h2{
    margin-top:0;
}

.ppp-article-cta-button{
    display:inline-block;
    margin-top:24px;
    padding:14px 30px;
    background:#8c4fc6;
    color:#fff !important;
    border-radius:10px;
    font-weight:800;
    text-decoration:none;
    transition:all .2s ease;
}

.ppp-article-cta-button:hover{
    background:#7440a8;
    text-decoration:none;
}

.ppp-product-icon{
    display:block;
    font-size:42px;
    line-height:1;
    margin-bottom:12px;
}

/* ==========================================
   Purple Pie HTML Infographic Components
   ========================================== */

.ppp-info-graphic{
    margin:48px 0;
    padding:32px;
    background:#fff;
    border:1px solid #e7e7ef;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(10,5,77,.07);
}

.ppp-info-graphic h3{
    margin:0 0 24px;
    color:#0a054d;
    font-size:26px;
    line-height:1.25;
    text-align:center;
}

.ppp-info-subtitle{
    max-width:720px;
    margin:0 auto 28px;
    color:#555;
    font-size:17px;
    text-align:center;
}

/* VS comparison */

.ppp-vs-grid{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:20px;
    align-items:stretch;
}

.ppp-vs-card{
    padding:28px;
    border-radius:18px;
    background:#fafafa;
}

.ppp-vs-card.ppp-vs-traditional{
    background:linear-gradient(135deg,rgba(255,59,131,.10),rgba(179,4,153,.06));
}

.ppp-vs-card.ppp-vs-promo{
    background:linear-gradient(135deg,rgba(9,219,184,.13),rgba(10,5,77,.04));
}

.ppp-vs-card h4{
    margin:0 0 18px;
    color:#0a054d;
    font-size:21px;
}

.ppp-vs-card ul{
    margin:0;
    padding:0;
    list-style:none;
}

.ppp-vs-card li{
    position:relative;
    margin:13px 0;
    padding-left:30px;
    font-size:17px;
}

.ppp-vs-traditional li:before{
    content:"×";
    position:absolute;
    left:0;
    top:0;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#ff3b83;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    line-height:1;
}

.ppp-vs-promo li:before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#09dbb8;
    color:#0a054d;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    line-height:1;
}

.ppp-vs-badge{
    width:66px;
    height:66px;
    border-radius:50%;
    background:#0a054d;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    align-self:center;
    box-shadow:0 8px 20px rgba(10,5,77,.25);
}

/* Step flows */

.ppp-flow{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
    gap:18px;
    align-items:stretch;
}

.ppp-flow-step{
    position:relative;
    padding:24px 16px;
    background:#fff;
    border:1px solid #e7e7ef;
    border-radius:18px;
    text-align:center;
}

.ppp-flow-step:after{
    content:"";
    position:absolute;
    top:50%;
    right:-14px;
    width:24px;
    height:2px;
    background:#b30499;
}

.ppp-flow-step:last-child:after{
    display:none;
}

.ppp-flow-icon{
    width:58px;
    height:58px;
    margin:0 auto 12px;
    border-radius:50%;
    background:rgba(9,219,184,.14);
    color:#0a054d;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.ppp-flow-step:nth-child(even) .ppp-flow-icon{
    background:rgba(255,59,131,.12);
}

.ppp-flow-step strong{
    display:block;
    color:#0a054d;
    font-size:16px;
    line-height:1.25;
}

.ppp-flow-step span{
    display:block;
    margin-top:6px;
    color:#666;
    font-size:14px;
    line-height:1.35;
}

/* Timeline */

.ppp-timeline{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.ppp-timeline-item{
    position:relative;
    padding:26px 18px;
    background:#fff;
    border:1px solid #e7e7ef;
    border-radius:18px;
    text-align:center;
}

.ppp-timeline-item:after{
    content:"→";
    position:absolute;
    top:50%;
    right:-18px;
    transform:translateY(-50%);
    color:#b30499;
    font-size:30px;
    font-weight:900;
}

.ppp-timeline-item:last-child:after{
    display:none;
}

.ppp-timeline-label{
    display:block;
    color:#b30499;
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
    margin-bottom:12px;
}

.ppp-timeline-visual{
    font-size:44px;
    line-height:1;
    margin-bottom:14px;
}

.ppp-timeline-item strong{
    display:block;
    color:#0a054d;
    font-size:17px;
}

/* Mobile */

@media (max-width:768px){

    .ppp-info-graphic{
        padding:24px;
    }

    .ppp-vs-grid{
        grid-template-columns:1fr;
    }

    .ppp-vs-badge{
        margin:0 auto;
    }

    .ppp-flow,
    .ppp-timeline{
        grid-template-columns:1fr;
    }

    .ppp-flow-step:after,
    .ppp-timeline-item:after{
        display:none;
    }

}

/* Mobile */

@media (max-width:768px){

    .ppp-article-page{
        margin:36px auto !important;
        padding:0 18px;
    }

    .ppp-article-hero{
        margin-bottom:36px;
    }

    .ppp-article-hero h1{
        font-size:36px;
    }

    .ppp-article-hero p{
        font-size:18px;
    }

    .ppp-article-content h2{
        font-size:28px;
        margin-top:52px;
    }

    .ppp-article-content h3{
        font-size:22px;
    }

    .ppp-article-content p,
    .ppp-article-list li{
        font-size:17px;
    }

    .ppp-article-comparison,
    .ppp-article-two-col{
        grid-template-columns:1fr;
    }

    .ppp-article-callout,
    .ppp-article-tip,
    .ppp-article-note,
    .ppp-article-warning,
    .ppp-article-bottom-line{
        padding:24px;
    }

    .ppp-article-step{
        padding:24px 24px 24px 72px;
    }

    .ppp-article-quote{
        font-size:21px;
        padding:28px;
    }

}

