*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

body{
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background:#f4f6fb;
    color:#1b1f2a;
    line-height:1.65;
}

/* LAYOUT */
.container{
    max-width:1100px;
    margin:0 auto;
    padding:24px;
}

.card{
    background:#ffffff;
    border-radius:16px;
    padding:28px;
    box-shadow:0 10px 30px rgba(18,38,63,0.08);
    border:1px solid #eef0f5;
}

/* HEADINGS */
h1{
    font-size:34px;
    margin-bottom:18px;
    font-weight:700;
    letter-spacing:-0.3px;
    color:#1f2a44;
}

h2{
    font-size:24px;
    margin-top:26px;
    margin-bottom:12px;
    font-weight:700;
    color:#243b66;
}

h3{
    font-size:18px;
    margin-top:14px;
    margin-bottom:8px;
    font-weight:600;
    color:#2d3e5e;
}

p{
    margin-bottom:12px;
    font-size:14px;
    color:#2b2f3a;
}

/* LISTS */
ul{
    margin-left:22px;
    margin-bottom:12px;
}

li{
    margin-bottom:6px;
    font-size:14px;
}

/* INFO BOXES */
.note{
    background:#f7f9fc;
    border:1px solid #e6eaf2;
    padding:14px;
    border-radius:12px;
    margin-top:10px;
    font-size:15px;
}

.highlight{
    background:#eef5ff;
    border-left:4px solid #3b82f6;
    padding:14px;
    margin:14px 0;
    border-radius:10px;
}

/* COPY BLOCK */
.copy-box{
    background:#f7f9fc;
    border:1px solid #e6eaf2;
    border-radius:12px;
    padding:14px;
    margin-top:12px;
}

.copy-box pre{
    white-space:pre-wrap;
    font-size:15px;
    margin-bottom:10px;
    color:#1b1f2a;
}

.copy-btn{
    display:inline-block;
    padding:10px 14px;
    background:#3b82f6;
    color:#fff;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:0.2s;
}

.copy-btn:hover{
    background:#2563eb;
}

/* NAV */
.marketing-nav{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:20px 0;
}

.marketing-nav a{
    text-decoration:none;
    padding:10px 14px;
    background:#f7f9fc;
    border:1px solid #e6eaf2;
    border-radius:10px;
    font-weight:600;
    color:#2b2f3a;
    font-size:15px;
    transition:0.2s;
}

.marketing-nav a:hover{
    background:#eef5ff;
    border-color:#cfe0ff;
}

/* MOBILE */
@media(max-width:600px){

    .container{
        padding:14px;
    }

    .card{
        padding:20px;
        border-radius:14px;
    }

    h1{
        font-size:28px;
    }

    h2{
        font-size:20px;
    }

    p, li{
        font-size:16px;
    }

    .copy-btn{
        width:100%;
    }
}




/* MOBILE IMPROVEMENTS */

img{
    max-width:100%;
    height:auto;
    display:block;
}

code{
    display:block;
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:pre-wrap;
    word-break:break-word;
    background:#f7f9fc;
    border:1px solid #e6eaf2;
    border-radius:12px;
    padding:14px;
    margin-top:12px;
    font-size:14px;
    line-height:1.5;
    -webkit-overflow-scrolling:touch;
}

@media(max-width:768px){

    body{
        overflow-x:hidden;
    }

    .container{
        padding:12px;
    }

    .card{
        padding:18px;
        border-radius:14px;
    }

    h1{
        font-size:28px;
        line-height:1.2;
    }

    h2{
        font-size:20px;
        line-height:1.3;
    }

    h3{
        font-size:17px;
    }

    p,
    li{
        font-size:15px;
        line-height:1.6;
    }

    /* NAV */

    .marketing-nav{
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:4px;
        -webkit-overflow-scrolling:touch;
    }

    .marketing-nav a{
        white-space:nowrap;
        flex-shrink:0;
    }

    /* BANNERS */

    img{
        border-radius:10px;
    }

    /* CODE BLOCKS */

    code{
        font-size:13px;
        padding:12px;
    }

    /* BETTER TOUCH TARGETS */

    .copy-btn,
    .marketing-nav a{
        min-height:46px;
        display:flex;
        align-items:center;
        justify-content:center;
    }

}



.marketing-logo-wrap{
    margin-bottom:18px;
}

.marketing-logo-link{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
}

.marketing-logo{
    display:block;
    width:auto;
    height:78px !important;
    max-width:none;
}

/* mobile */

@media (max-width:768px){

    .marketing-logo-wrap{
        display:flex;
        justify-content:center;
    }

    .marketing-logo{
        height:64px !important;
    }
}

@media (max-width:480px){

    .marketing-logo{
        height:56px !important;
    }
}




/* AFFILIATE FOOTER */

.aff_footer_dmc_footer{
    margin-top:40px;
    background:#ffffff;
    border-top:1px solid #e8edf5;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 4px 18px rgba(0,0,0,0.04);
}


.aff_footer_dmc_inner{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:40px;
    padding:34px 24px;
}

.aff_footer_dmc_title{
    font-size:20px;
    font-weight:700;
    color:#111827;
    margin-bottom:14px;
}

.aff_footer_dmc_text{
    font-size:13px;
    line-height:1.7;
    color:#374151;
    margin-bottom:14px;
}

.aff_footer_dmc_note{
    font-size:12px;
    line-height:1.7;
    color:#6b7280;
}

.aff_footer_dmc_links{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:28px;
}

.aff_footer_dmc_col{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.aff_footer_dmc_col a{
    text-decoration:none;
    color:#2563eb;
    font-size:12px;
    line-height:1.5;
}

.aff_footer_dmc_col a:hover{
    text-decoration:underline;
}

.aff_footer_dmc_bottom{
    display:flex;
    justify-content:space-between;
    gap:24px;
    padding:22px 24px;
    border-top:1px solid #eef2f6;
    background:#f8fafc;
}

.aff_footer_dmc_copy{
    font-size:12px;
    line-height:1.7;
    color:#374151;
    flex-shrink:0;
}

.aff_footer_dmc_disclaimer{
    max-width:700px;
    font-size:12px;
    line-height:1.7;
    color:#6b7280;
}

@media (max-width:900px){

    .aff_footer_dmc_inner{
        grid-template-columns:1fr;
    }

    .aff_footer_dmc_links{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .aff_footer_dmc_bottom{
        flex-direction:column;
    }
}

@media (max-width:600px){

    

    .aff_footer_dmc_inner{
        padding:24px 18px;
        gap:28px;
    }

    .aff_footer_dmc_links{
        grid-template-columns:1fr;
        gap:22px;
    }

    .aff_footer_dmc_bottom{
        padding:20px 18px;
    }

    .aff_footer_dmc_title{
        font-size:20px;
    }

    .aff_footer_dmc_text,
    .aff_footer_dmc_note,
    .aff_footer_dmc_col a,
    .aff_footer_dmc_copy,
    .aff_footer_dmc_disclaimer{
        font-size:12px;
    }
}