* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #172033;
    background: #f8fafc;
}

h1,
h2,
h3 {
    line-height: 1.15;
    margin: 0 0 1rem;
}

h1{
    font-size: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

p {
    margin: 0 0 1rem;
}

a {
    color: #5b21b6;
    text-underline-offset: 0.2em;
}

a:focus-visible {
    outline: 3px solid #7c3aed;
    outline-offset: 4px;
}

/* Add style rules here */
.container{
    width: min(100% - 2rem, 1120px);
    margin: auto;
}
.section{
    /* padding: 3rem 0; */
    padding: clamp(2.5rem, 5vw, 5rem);
}
.site-header,
.site-footer{
    padding: 1.25rem 0;
    background: white;
}
.site-header{
    border-bottom: 1p solid #e2e8f0;
}
.brand{
    color: #172033;
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
}
.brand span{
    color: #7c3aed;
}
.header-inner{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.site-nav{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}
.site-nav a{
    padding: 0.5rem 0;
    text-decoration: none;
    font-weight: 700;
}
.hero{
    background: #ede9fe;
}
.eyebrow{
    color: #5b21b6;
    font-size: 0.8rem;
    letter-spacing: 0.em;
    text-transform: uppercase;
}
h1{
    font-size: 2.5rem;
}
h2{
    font-size: 1.8rem;
}
.intro{
    font-size: 1.125rem;
    max-width: 50ch;
}
.hero-layout{
    display: grid;
    gap: 2em;
}
.soptlight{
    padding: 1.5rem;
    background: white;
    border: 1px solid #ddd6f3;
    border-radius: 1rem;
}
.session-details{
    margin: 1.5rem 0 0;
}
.session-details div + div{
    margin-top: 1rem;
}
.session-details dt{
    color: #475569;
    font-size: 0.875rem;
}
.session-details dd{
    margin: 0;
    font-weight: 700;
}
.hero-actions{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.button{
    display: inline-block;
    padding: 0.85rem 1.25rem;
    border: 2px solid #5b21b6;
    border-radius: 0.6rem;
    background: #5b21b6;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}
.button-outline{
    color: #5b21bb;
    background: transparent;
}
.section-heading{
    max-width: 60ch;
    margin-bottom: 1.5rem;
}
.workshop-grid{
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(
        auto-fit, 
        minmax(min(100%, 260px), 1fr)
    );
}
.workshop-card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
}
.tag{
    margin-bottom: 1rem;
    padding: 0.25rem 0.65rem;
    border-radius: 1rem;
    background: #ede9fe;
    color: #5b21b6;
    font-size: 0.8rem;
    font-weight: 700;
}
.card-link{
    margin-top: auto;
    padding-top: 1rem;
    font-weight: 700;
}
.join-section{
    padding-top: 0;
}
.join-panel{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: #e2e8f0;
    border-radius: 1rem;
}
.join-panel p{
    margin-bottom: 0;
}
.footer-inner{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-inner p{
    margin: 0;
}

@media (min-width: 600px){
    .header-inner,
    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .hero-actions{
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (min-width: 900px){
    .hero-layout{
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        align-items: center;
        gap: 3rem;
    }   
    .join-panel{
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}