header {
    background-color: var(--deep-space-blue);
}

#how-it-works-hero .hero-subtitle {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 20px 0 0;
    color: var(--slate-grey);
}

.badge-static {
    background: var(--pale-sky);
    color: var(--deep-space-blue);
    width: fit-content;
}

.starter-badge {
    margin-top: .5rem;
    background: var(--sky-aqua-hover);
}


main ul li {
    list-style-type: none;
}
main ul {
    padding-left: .25rem
}


.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px
  }

.process-step, .service-card {
    background: linear-gradient(to bottom right, #fdfdfd, #e6ecf3);
    border: 1px solid var(--slate-silver, #cfd8e3);
    border-left: 4px solid var(--amber);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: border 0.2s ease, box-shadow 0.2s ease;
  }
  
  .process-step:hover, .service-card:hover {
    border-color: var(--deep-space-blue, #2c3e50);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }
  
  .emoji {
    font-size: 2rem !important;
    margin-bottom: 1rem;
    color: var(--amber, #ffcc33);
    margin-top: 0;
  }
  
  .process-step h3, .service-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0 0 0.5rem;
    min-height: 60px;
    color: var(--deep-space-blue, #2c3e50);
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  
  .process-step pz, .service-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--deep-space-blue, #2c3e50);
  }



@media screen and (min-width: 769px) {

    h1 {
        margin-top: 0;
        line-height: 1.2;
        margin-bottom: 0;
    }

    h2 {
        margin-top: 0;
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    h3 {
        margin-bottom: .5rem;
    }

    hr {
        width: 100%;
    }

    p,
    li {
        line-height: 1.8;
    }

    .hero-section-subtext {
        max-width: 500px;
    }

    .content-highlight {
        text-decoration: underline;
        text-decoration-color: var(--amber);
        text-underline-offset: 1rem;
        text-decoration-thickness: 4px;
    }

    .wrapper {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        background-color: var(--service-card-white);
        padding: 3rem 40px 3rem;
    }

    #how-it-works-hero {
        position: relative;
    }

    .hero-subtitle {
        margin-bottom: .5rem;
    }

    #how-it-works-hero .wrapper {
        padding: 68px 40px 6rem;
        background: linear-gradient(to right, var(--service-card-white) 0%, rgba(255, 255, 255, 0.85) 25%, transparent 40%), url('/img/how-it-works-hero.webp'), var(--service-card-white);
        background-size: 1025px auto;
        background-repeat: no-repeat;
        background-position: 100% 20%;
        position: relative;
        z-index: 0;
        overflow: visible;
    }

    .hero-subtext {
        line-height: 1.4;
    }

    #how-it-works-cta .wrapper {
        padding-bottom: 6rem;
        padding-top: 6rem;
    }

    #doers-difference .wrapper{
        display: grid;
        column-gap: 2rem;
        padding-bottom: 6rem;
        padding-top: 6rem;
        background-color: var(--soft-cloud);
    }

    #doers-difference .ian-bubble {
        grid-column: 2;
        grid-row: 1 / span 5;
    }

    .starter-badge {
        padding-bottom: .5rem;
    }


.hero-img-mobile {
    display: none;
}


#other-services .other-services-p{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#other-services .wrapper {
    background: var(--soft-cloud);
    padding-bottom: 6rem;
    padding-top: 6rem;
}

#other-services .highlight-outline {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

#other-services .badge-static {
    background-color: var(--golden-sand);
    color: var(--deep-space-blue);
    margin: 0 auto 2rem;
    font-size: 1.25rem
}

.ian-bubble .ian-dialogue {
    background: var(--soft-azure);
  }

  .ian-bubble:hover .ian-dialogue {
    background: var(--amber-lighter);
  }

}

@media screen and (max-width: 768px),
(max-width: 1200px){

    h2 {
        padding-top: 1rem;
        line-height: 1.3;
    }

    p, li {
        line-height: 1.8;
        margin: .5rem 0;
    }

    hr {
        width: 100%;
        height: 1px;
        border: none;
        background-color: var(--muted-charcoal);
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .content-highlight {
        text-decoration: underline;
        text-decoration-color: var(--amber);
        text-underline-offset: .5rem;
        text-decoration-thickness: 4px;
    }

    .badge-static {
        font-size: 1rem;
    }
    
    .hero-img-mobile {
        width: 100%;
        border: 1px solid var(--muted-charcoal);
        border-radius: 8px;
        margin-bottom: 1rem;
      }

    .commitment-card {
        padding: 1.5rem;
    }

    #how-it-works-hero h1 {
        margin-top: 0;
        line-height: 1.2;
        font-size: 2.5rem;
        max-width: 340px;
        margin-bottom: 1rem;
    }

    #how-it-works-hero .wrapper {
        background-image: none !important;
      }

      #how-it-works-hero .badge-static {
        margin-top: 0;
        margin-bottom: .75rem;
    }

    #how-it-works-hero {
        padding-bottom: 2rem;
    }

    #core-values {
        padding-bottom: 2rem;
    }

    #core-values {
        background-color: var(--deep-space-blue);
    }

    #doers-difference .wrapper {
        display: flex;
    }

    .wrapper {
        padding: 0 20px;
    }

    #how-it-works-hero .hero-subtitle {
        margin-top: 1rem !important;
        margin-bottom: .25rem !important;
        letter-spacing: .25px;
    }

    #how-it-works-cta .cta-button {
        padding-left: 1.2em;
        padding-right: 1.2em;
        margin: 2rem 0 1.5rem;
    }

    #how-it-works-cta {
        padding-bottom: 6rem;
    }

    #other-services .wrapper {
        text-align: left;

        background: var(--soft-cloud);
    }

    #other-services h2{
        font-size: 2.5rem;
        margin-bottom: .25rem;
    }

    #other-services .badge-static {
        margin-bottom: 1.25rem;
    }

    #other-services .highlight-outline {
        font-size: 1rem;
    }

    #doers-difference h2 {
        font-size: 2.375rem;
        margin-bottom: .75rem;
    }

    #doers-difference .wrapper {
        background: var(--soft-cloud);
        padding-bottom: 3rem;
    }
    
    .starter-badge {
        margin-top: .75rem;
        font-size: 1.0625rem;
        text-align: center;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    #how-it-works-cta h2 {
        font-size: 2.375rem;
        max-width: 340px;
        line-height: 1.2;
    }

    #how-it-works-tech h2, #how-it-works-steps h2 {
        font-size: 2.375rem;
        line-height: 1.3;
        margin-bottom: .5rem
    }

    .grid-wrapper {
        padding: 2rem 0;
        grid-template-columns: 1fr;
    }


}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    
    .grid-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))
    }

}

