/* Modern Reset & Base Variable Tokens */

:root {
    --bg-color: #f4f7f6;    /* Soft, muted light seafoam/slate tint */
    --text-main: #1a2421;   /* Deep charcoal with a hint of dark slate green */
    --text-muted: #5a6561;  /* Balanced secondary text for readability */
    --border-color: #d1dad7; /* Clean, low-contrast structural dividers */
    --max-width: 760px;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.625;
    padding: 4rem 1.5rem;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Header & Midline Alignment Architecture */
.site-header {
    margin-bottom: 2rem;       /* Reduced from 3rem */
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;    /* Reduced from 2rem */
}

.header-flex-container {
    display: flex;
    align-items: center; /* Aligns items perfectly along their shared horizontal midline */
    gap: 2.5rem;         /* Precise structural whitespace separation */
}

.logo {
    max-width: 110px;
    height: auto;
    flex-shrink: 0;
}

.header-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

h1 {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 580px;
}

/* Intro Execution Statements */
.intro-cards {
    margin-bottom: 2.5rem;     /* Reduced from 4rem */
}

.card {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Typography & Section Layout */
.content-section {
    margin-bottom: 2.5rem;     /* Reduced from 4rem */
}

h2 {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 0.25rem;
    display: inline-block;
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.emphasis {
    font-weight: 700;
    margin-top: 1.5rem;
}

/* Pillars Grid Layout */
.capabilities-grid {
    list-style: none;
}

.capabilities-grid li {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.capabilities-grid strong {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.capabilities-grid span {
    color: var(--text-muted);
}

/* Footer & Unified Call to Action */
.site-footer {
    margin-top: 4rem;          /* Reduced from 6rem */
    text-align: center;
}

.cta-button {
    display: inline-block;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--text-main);
    padding: 1rem 2rem;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-button:hover {
    background-color: var(--text-main);
    color: var(--bg-color);
}

/* Responsive Scaling Overrides */
@media (max-width: 600px) {
    body {
        padding: 2rem 1rem;
    }
    .header-flex-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .logo {
        max-width: 80px;
    }
    .header-text-group {
        text-align: left;
    }
    h1 {
        font-size: 1.5rem;
    }
    .site-header {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }
    .content-section {
        margin-bottom: 3rem;
    }
    .cta-button {
        width: 100%;
        padding: 1rem;
        font-size: 0.95rem;
    }
}