/* =========================================
   RESET
========================================= */

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    overflow-x:hidden;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    line-height:1.7;
    color:#2f3a32;
    background:#f8f7f2;
}


/* =========================================
   LINKS
========================================= */

a{
    color:inherit;
    text-decoration:none;
}


/* =========================================
   HEADER
========================================= */

.site-header{
    background:#36563d;
    padding:18px 0;
}

.site-nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    padding:0 20px;
}

.site-nav a{
    color:white;
    font-weight:600;
    transition:color .25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible{
    color:#ffd86b;
}


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

.tribe-hero{
    padding:90px 20px 70px;
    text-align:center;
    background:linear-gradient(#eef7ef,#f8f7f2);
}

.hero-content{
    max-width:760px;
    margin:auto;
}

.hero-content h1{
    margin:.25em 0;
    color:#36563d;
    font-size:clamp(2.8rem,6vw,5rem);
    line-height:1;
}

.hero-intro{
    max-width:700px;
    margin:24px auto;
    color:#56745c;
    font-size:1.35rem;
    font-weight:600;
}


/* =========================================
   TYPOGRAPHY
========================================= */

.eyebrow{
    margin-bottom:12px;
    color:#6e8b70;
    font-size:.8rem;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

h2{
    margin-top:0;
    color:#36563d;
    font-size:clamp(2rem,4vw,3rem);
    line-height:1.15;
}

h3{
    color:#36563d;
}

p{
    color:#526057;
    font-size:1.06rem;
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.trail-section,
.closing-section{
    padding:70px 20px;
}

.trail-section:nth-of-type(even){
    background:#f1f5ef;
}

.trail-card,
.closing-content{
    max-width:820px;
    margin:auto;
    text-align:center;
}

.trail-card{
    padding:48px 40px;
    background:white;
    border:1px solid #dfe7dc;
    border-radius:24px;
    box-shadow:0 8px 28px rgba(0,0,0,.07);
}

.centered{
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}


/* =========================================
   SIGNAL GRID
========================================= */

.signal-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:28px;
    max-width:1200px;
    margin:45px auto 0;
}

.signal-card{
    display:flex;
    flex-direction:column;
    min-height:300px;
    padding:32px 28px;
    background:white;
    border:1px solid #dfe7dc;
    border-radius:22px;
    box-shadow:0 8px 28px rgba(0,0,0,.07);
    text-align:center;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.signal-card:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 38px rgba(0,0,0,.11);
}

.signal-card h3{
    margin:0 0 16px;
    font-size:1.35rem;
}

.signal-card p{
    flex:1;
    margin-bottom:25px;
}

.signal-card .trail-button{
    align-self:center;
}


/* =========================================
   BUTTONS
========================================= */

.trail-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 26px;
    background:#4f7d57;
    border:2px solid #4f7d57;
    border-radius:999px;
    color:white;
    font-weight:700;
    line-height:1.2;
    text-align:center;
    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.trail-button:hover,
.trail-button:focus-visible{
    background:#36563d;
    border-color:#36563d;
    transform:translateY(-2px);
}

.trail-button.secondary{
    background:white;
    border:2px solid #36563d;
    color:#36563d;
}

.trail-button.secondary:hover,
.trail-button.secondary:focus-visible{
    background:#36563d;
    color:white;
}


/* =========================================
   BUTTON ROW
========================================= */

.button-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
    margin-top:35px;
}


/* =========================================
   SMALL NOTE
========================================= */

.small-note{
    max-width:700px;
    margin:30px auto 0;
    color:#708072;
    font-size:.95rem;
    text-align:center;
}


/* =========================================
   CLOSING
========================================= */

.closing-section{
    background:linear-gradient(#eef7ef,#f8f7f2);
    text-align:center;
}

.closing-content{
    padding:52px 40px;
    background:white;
    border:1px solid #dfe7dc;
    border-radius:26px;
    box-shadow:0 10px 30px rgba(0,0,0,.07);
}


/* =========================================
   ACCESSIBILITY
========================================= */

a:focus-visible{
    outline:3px solid rgba(255,216,107,.65);
    outline-offset:4px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width:700px){

    .site-nav{
        gap:15px;
    }

    .tribe-hero{
        padding:75px 20px 55px;
    }

    .hero-content h1{
        font-size:2.8rem;
    }

    .trail-section,
    .closing-section{
        padding:50px 18px;
    }

    .trail-card,
    .closing-content{
        padding:32px 22px;
        border-radius:20px;
    }

    .signal-grid{
        grid-template-columns:1fr;
        gap:22px;
    }

    .signal-card{
        min-height:0;
        padding:28px 22px;
    }

    .button-row{
        flex-direction:column;
        align-items:center;
    }

    .trail-button{
        width:100%;
        max-width:340px;
    }

}