/* ==========================================================================
   HERO
   ========================================================================== */

#hero {
    padding-top: 230px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--surface-teal, #16223B);
}

#hero .left {
    display: flex;
    flex-direction: column;
    width: 50%;
}

#hero .right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero .right img {
    width: 100%;
    max-width: 487px;
    aspect-ratio: 487 / 568;
    object-fit: cover;
    border-radius: 20px;
}

#hero .tag2 {
    color: var(--Text-text-white, #F4F5F7);
    font-family: "DM Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.8px;
    background: transparent;
    padding: 0;
}

#hero h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-white);
}

#hero .heroSub {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #C7D2E4;
    width: 100%;
    margin-bottom: 30px;
}

.ctas {
    display: flex;
    justify-content: left;
    gap: 20px;
}

#hero .cta1 {
    background: #16223B;
    border: 1px solid var(--text-white);
    color: var(--text-white);
}

main .cta {
    width: 320px;
}

@media (max-width: 1000px) {
    #hero {
        flex-direction: column;
        gap: 60px;
        padding-top: 120px;
    }

    #hero .right,
    #hero .left {
        width: 100%;
    }
    #hero .cta{
        width: 100%;
    }
}

@media (max-width: 650px) {
    #hero h1 {
        font-size: 30px;
    }

    #hero .heroSub {
        font-size: 16px;
        line-height: 1.5;
    }

    .ctas {
        flex-wrap: wrap;
    }
}

@media (max-width: 350px) {
    .ctas .cta {
        width: 100%;
    }
}


/* ==========================================================================
   SHARED SECTION UTILITIES
   ========================================================================== */

.lsection {
    padding-top: 120px;
    padding-bottom: 120px;
}

.lsection h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--teal-900);
    margin-top: 20px;
    max-width: 900px;
}

.lsectionP {
    font-size: 20px;
    line-height: 1.45;
    color: var(--text-mid-gray);
    margin-top: 20px;
    max-width: 900px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 16px;
    background: var(--surface-gray2);
    font-size: 14px;
    font-weight: 700;
    color: #E62154;
}

@media (max-width: 650px) {
    .lsection {
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .lsection h2 {
        font-size: 30px;
        text-align: left;
    }

    .lsectionP {
        font-size: 16px;
        text-align: left;
        max-width: 100%;
        line-height: 1.5;
    }
}


/* ==========================================================================
   DARK SECTION VARIANT (AI question)
   ========================================================================== */

.lsection-dark {
    background: var(--surface-teal, #16223B);
}

.lsection-dark h2,
.lsection-dark .noteBox h4 {
    color: var(--text-white);
}

.lsection-dark .lsectionP {
    color: #C7D2E4;
}

.lsection-dark .badge {
    background: rgba(244, 245, 247, 0.1);
    color: var(--text-white);
}


/* ==========================================================================
   AI QUESTION ROW (dark section — photo bleeds to the viewport edge)
   ========================================================================== */


.aiQuestionRow {
    display: flex;

    gap: 64px;
    width: 100%;
}

.aiQuestionText {
    flex: 1;
}

.aiQuestionImage {
    flex: 0 0 50%;
    display: flex;
    max-height: 650px;
    border-radius: 20px 0px 0px 20px;
    overflow: hidden;
}

.aiQuestionImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (min-width: 1000px) {
    #aiQuestion.pageItem {
        padding-right: 0 !important;
        overflow: hidden;
    }
}
@media (max-width: 1000px) {

    .aiQuestionRow {
        flex-direction: column;
        align-items: stretch;
    }

    .aiQuestionText {
        max-width: 100%;
        flex: 1 1 auto;
    }

    .aiQuestionImage img {
        border-radius: 20px;
    }
}

@media (max-width: 650px) {
    #aiQuestion.pageItem {
        padding-right: 80px !important;
    }
}


/* ==========================================================================
   TEXT + IMAGE ROW (42 things / precision / AI question)
   ========================================================================== */

.textImageRow {
    display: flex;
    align-items: center;
    gap: 56px;
}

.textImageCol {
    flex: 1;
}

.textImageImage {
    display: flex;
    justify-content: center;
    align-items: center;
}

.textImageImage img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .textImageRow {
        flex-direction: column-reverse;
    }

    .textImageCol {
        width: 100%;
    }
}


/* ==========================================================================
   CARD + IMAGE ROW ("42 things" — card with flush bleed photo)
   ========================================================================== */

.cardImageRow {
    display: flex;
    align-items: stretch;
    background: #F9F5F0;
    border-radius: 24px;
    overflow: hidden;
}

.cardImageCol {
    flex: 1 1 58%;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cardImageCol .lsectionP {
    max-width: none;
}

.cardImageImage {
    flex: 0 0 42%;
}

.cardImageImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .cardImageRow {
        flex-direction: column-reverse;
    }

    .cardImageCol,
    .cardImageImage {
        flex: 1 1 100%;
    }

    .cardImageCol {
        padding: 32px;
    }

    .cardImageImage img {
        aspect-ratio: 490 / 400;
    }
}


/* ==========================================================================
   PRECISION CARDS (what changes when it remembers you)
   ========================================================================== */

.precisionCards {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.precisionCard {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 390px;
    padding: 32px;
    border-radius: 24px;
    background: #33486A;
}

.precisionCard h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.44px;
    color: var(--text-white);
    margin: 0 0 12px;
}

.precisionCard p {
    font-size: 16px;
    line-height: 1.5;
    color: #C7D2E4;
    margin: 0;
}

@media (max-width: 1050px) {
    .precisionCards {
        grid-template-columns: repeat(2, 1fr);
    }

    .precisionCard {
        min-height: 320px;
    }
}

@media (max-width: 550px) {
    .precisionCards {
        grid-template-columns: 1fr;
    }

    .precisionCard {
        min-height: 0;
    }
}


/* ==========================================================================
   NOTE BOX ROW (why ten / where your data sits)
   ========================================================================== */

.noteBoxRow {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.noteBoxRow .noteBox {
    margin-top: 0;
}

@media (max-width: 800px) {
    .noteBoxRow {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   COHORT / LOOP CARDS (the line)
   ========================================================================== */

.loopCards {
    margin-top: 40px;
    display: flex;
    gap: 24px;
}

.loopCard {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
}

.loopCardImage {
    width: 100%;
    aspect-ratio: 545 / 394;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
}

.loopCard-navy .loopCardImage {
    background: #24344E;
}

.loopCard-pink .loopCardImage {
    background: #EA516D;
}

.loopCardImage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.loopCardBody {
    flex: 1;
    padding: 24px;
}

.loopCard-navy .loopCardBody {
    background: #E3E9F2;
}

.loopCard-pink .loopCardBody {
    background: #FBF2FB;
}

.loopCardBody h4 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.96px;
    color: var(--text-teal, #16223B);
    margin: 0 0 16px;
}

.loopCardBody p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-gray);
    margin: 0;
}

.noteBox {
    margin-top: 32px;
    padding: 24px;
    border-radius: 20px;
    background: #F9F5F0;
    border: 1px solid var(--surface-gray3, #D3D7E0);
}

.noteBox h4 {
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 16px;
}

.noteBox p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-gray);
    margin: 0;
}

.checkList {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkList li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkList svg {
    flex-shrink: 0;
}

.checkList p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-gray);
    margin: 0;
}

@media (max-width: 800px) {
    .loopCards {
        flex-direction: column;
    }
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.faqList {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
}

.faqItem {
    border-bottom: 1px solid var(--surface-gray3);
}

.faqItemHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 24px 0;
}

.faqItemHeader h4 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-teal);
    margin: 0;
}

.faqItemHeader svg {
    width: 32px;
    height: 32px;
    margin-left: 20px;
    cursor: pointer;
    flex-shrink: 0;
    transition: .4s;
}

.faqItemBody {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s linear, opacity 0.5s linear;
}

.faqItemBody p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0 0 24px;
}

.faqItem.is-open .faqItemBody {
    max-height: 400px;
    opacity: 1;
}

.faqItem.is-open .faqItemHeader svg {
    transform: rotate(180deg);
}

@media (max-width: 650px) {
    .faqItemHeader h4 {
        font-size: 18px;
    }
}



/* ==========================================================================
   HELP NOW (reused from homepage)
   ========================================================================== */

.helpNowCard {
    display: flex;
    align-items: stretch;
    gap: 64px;
    background: #FEF0F3;
    border-radius: 24px;
    padding: 56px;
}

.helpNowText {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.helpNowText h3 {
    font-weight: 800;
    font-size: 32px;
    line-height: 1.3;
    color: var(--text-dark-teal);
    margin: 0 0 20px 0;
}

.helpNowText p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0 0 16px 0;
}

.helpNowText ul {
    list-style: none;
    margin: 8px 0 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.helpNowText ul li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
}

.helpNowText ul li strong {
    color: var(--text-dark-teal);
    font-weight: 700;
}

.helpNowText ul li a {
    color: var(--text-navy-blue);
    text-decoration: underline;
}

.helpNowImage {
    flex: 1;
}

.helpNowImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@media (max-width: 850px) {
    .helpNowCard {
        flex-direction: column;
        gap: 32px;
        padding: 32px 24px;
    }

    .helpNowText h3 {
        font-size: 26px;
    }

    .helpNowImage img {
        max-height: 320px;
    }
}




/* Overide */
.accordionImage{
    max-height: 630px;
    padding: 24px;
}
.accordionImage img{
    object-fit: contain !important;
}
@media (max-width: 650px) {
    .accordionImage{
        max-height: 400px;
    }
}