/* Custom Palette Variables & Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root {
    /* Soft Tone Blue & Green + Gray Scale Palette */
    --brand-blue: #4a7c59;      /* Soft Accent */
    --soft-blue: #5c8599;       /* Primary CTA & Links */
    --soft-blue-hover: #486b7c; 
    --soft-green: #689f7d;      /* Secondary Success / Trust Badge */
    
    /* Slate Gray Scale */
    --gray-50: #f8fafc;         /* Backgrounds */
    --gray-100: #f1f5f9;        /* Borders & Structural Dividers */
    --gray-200: #e2e8f0;        /* Subtle Lines */
    --gray-500: #64748b;        /* Muted Text */
    --gray-800: #1e293b;        /* Dark Headers / Titles */
}

body {
    background-color: var(--gray-50);
    color: var(--gray-800);
    font-size: 16px;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--soft-blue);
    text-decoration: none;
}

/* Global Mobile-First Header Component */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--gray-100);
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.site-logo {
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--soft-blue);
}

.header-actions {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.search-form {
    display: flex;
    width: 100%;
}

.search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 6px 0 0 6px;
    outline: none;
    font-size: 14px;
}

.search-form button {
    background: var(--soft-blue);
    color: white;
    border: none;
    padding: 0 16px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}

/* Utility UI Elements */
.badge-fixed {
    background-color: var(--gray-100);
    color: var(--gray-500);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.btn-primary {
    background: var(--soft-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover { background: var(--soft-blue-hover); }

/* Responsive Media Queries (Tablets & Up) */
@media (min-width: 768px) {
    .site-header {
        display: flex;
        align-items: center;
        gap: 32px;
        padding: 16px 40px;
    }
    .header-top { margin-bottom: 0; }
    .search-form { max-width: 500px; }
}