:root{
    --apac-blue:#4DA3FF;
    --apac-navy:#1A2330;
    --apac-deep:#090A0D;
    --apac-white:#FFFFFF;
    --apac-cream:#F6F3EE;
}

.apac-section{
    position: relative;
    overflow: hidden;
    padding: var(--apac-section-padding, 80px) 0;
}
.apac-section.bg-full-bleed{
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}
.apac-section.style-light{
    background: var(--apac-white);
    color: var(--apac-navy);
}
.apac-section.style-dark{
    background: linear-gradient(135deg, var(--apac-navy) 0%, var(--apac-deep) 100%);
    color: var(--apac-white);
}
.apac-section.has-top-rule::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--apac-blue);
}
.apac-shell{
    width: min(var(--apac-content-max, 1180px), calc(100vw - 64px));
    max-width: var(--apac-content-max, 1180px);
    margin: 0 auto;
}
.apac-header{
    max-width: 860px;
    margin: 0 auto 54px;
    text-align: center;
}
.apac-eyebrow,
.apac-section-eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-family: Figtree, sans-serif;
    font-size: .84rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--apac-blue);
}
.apac-eyebrow::before,
.apac-section-eyebrow::before{
    content: "";
    width: 38px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}
.apac-title,
.apac-heading{
    margin: 0;
    font-family: "Playfair Display", serif;
    line-height: .95;
    letter-spacing: -.05em;
    text-wrap: balance;
}
.apac-title{
    font-size: clamp(3rem, 7vw, 6rem);
}
.apac-heading{
    font-size: clamp(2.2rem, 4vw, 4.2rem);
}
.apac-intro,
.apac-body,
.apac-bullet-title,
.apac-bullets li,
.apac-image-caption{
    font-family: Figtree, sans-serif;
}
.apac-intro{
    margin: 22px auto 0;
    max-width: 44ch;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.8;
    opacity: .88;
}
.apac-block{
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    padding: 0;
}
.apac-block.has-image{
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    align-items: start;
}
.apac-block.image-left{
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
}
.apac-block.accent-card{
    padding: 38px;
    border-radius: 30px;
    background: rgba(77,163,255,.06);
    box-shadow: 0 18px 40px rgba(0,0,0,.06);
}
.apac-section.style-dark .apac-block.accent-card{
    background: rgba(255,255,255,.05);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.apac-block.accent-highlight .apac-copy{
    padding-left: 26px;
    border-left: 4px solid var(--apac-blue);
}
.apac-copy{
    min-width: 0;
}
.apac-body{
    margin-top: 18px;
    font-size: clamp(1.04rem, 1.25vw, 1.14rem);
    line-height: 1.85;
    opacity: .92;
}
.apac-body p{
    margin: 0 0 1.2em;
}
.apac-bullet-group{
    margin-top: 24px;
}
.apac-bullet-title{
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .02em;
}
.apac-bullets{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.apac-bullets li{
    position: relative;
    padding-left: 22px;
    font-size: 1rem;
    line-height: 1.7;
}
.apac-bullets li::before{
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--apac-blue);
}
.apac-media{
    min-width: 0;
}
.apac-image{
    min-height: 360px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 18px 36px rgba(0,0,0,.10);
}
.apac-image-caption{
    margin: 12px 0 0;
    font-size: .94rem;
    line-height: 1.55;
    opacity: .74;
}

/* Figma-style reveal */

.apac-section.animation-enabled.is-visible .apac-step-1{ transition-delay: 60ms; }
.apac-section.animation-enabled.is-visible .apac-step-2{ transition-delay: 120ms; }
.apac-section.animation-enabled.is-visible .apac-step-3{ transition-delay: 180ms; }
.apac-section.animation-enabled.is-visible .apac-step-4{ transition-delay: 240ms; }
.apac-section.animation-enabled.is-visible .apac-step-5{ transition-delay: 300ms; }
.apac-section.animation-disabled .apac-reveal{
    opacity: 1;
    transform: none;
}

@media (max-width: 980px){
    .apac-block.has-image,
    .apac-block.image-left{
        grid-template-columns: 1fr;
    }
    .apac-image{
        min-height: 280px;
    }
}
@media (max-width: 640px){
    .apac-shell{
        width: min(var(--apac-content-max, 1180px), calc(100vw - 24px));
    }
    .apac-header{
        margin-bottom: 40px;
    }
    .apac-block{
        margin-top: 30px;
        gap: 22px;
    }
    .apac-block.accent-card{
        padding: 26px;
        border-radius: 24px;
    }
    .apac-image{
        min-height: 220px;
        border-radius: 24px;
    }
}


/* v1.0.5 safe header controls */
.apac-header{
    max-width: var(--apac-header-max, 860px);
}
.apac-title{
    font-size: clamp(
        calc(3rem * var(--apac-title-scale, 1)),
        calc(7vw * var(--apac-title-scale, 1)),
        calc(6rem * var(--apac-title-scale, 1))
    );
}
.apac-intro{
    max-width: var(--apac-intro-max, 44ch);
    font-size: calc(clamp(1.05rem, 1.4vw, 1.2rem) * var(--apac-intro-scale, 1));
}


/* v1.0.6 section flexibility */
.apac-subheading{
    margin: 16px 0 0;
    font-family: Figtree, sans-serif;
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: .01em;
    opacity: .88;
}
.apac-body-secondary,
.apac-body-tertiary,
.apac-bullet-group-secondary{
    margin-top: 24px;
}


/* v1.0.7 extra flexibility */
.apac-bullet-group-tertiary,
.apac-body-quaternary{
    margin-top: 24px;
}


/* v1.0.8 body subheaders */
.apac-body-subheading{
    margin: 24px 0 10px;
    font-family: Figtree, sans-serif;
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: .01em;
    opacity: .92;
}


.apac-editor-preview-static{
    margin-top: 20px;
}
.apac-editor-preview-card{
    border: 1px solid rgba(17,24,39,.12);
    background: #fff;
    border-radius: 16px;
    padding: 20px;
}
.apac-editor-preview-label{
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .7;
}
.apac-editor-preview-title{
    margin: 0 0 10px;
}
.apac-editor-preview-text{
    margin: 0 0 8px;
}
