:root {
    --primary-color: #536de6;
    --secondary-color: #3b4cb8;
    --accent-color: #6b7ef6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f2937;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.narrow-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.team-member-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.team-row {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.team-member-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: #f9fafb;
}

.team-avatar {
    width: 11rem;
    height: 11rem;
    border-radius: 9999px;
    object-fit: cover;
    box-shadow: 0 6px 12px -4px rgba(0, 0, 0, 0.18);
    margin-bottom: 1.25rem;
}

.team-member-name {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.team-member-role {
    font-weight: 600;
}

.team-member-body {
    padding: 2.5rem 2rem;
}

.bio-prose p {
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1.15rem;
}

.bio-prose p:last-child {
    margin-bottom: 0;
}

/* Lead paragraph of each bio, for a stronger entry point */
.bio-prose p:first-child {
    font-size: 1.05rem;
    color: #1f2937;
}

/* The "that combination" thesis, pulled out as an accent callout */
.bio-prose .bio-highlight {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--primary-color);
    border-radius: 0 0.5rem 0.5rem 0;
    background-color: #f4f6ff;
    color: #26324f;
    font-weight: 500;
    line-height: 1.7;
}

/* Education / secondary line, de-emphasized under a divider */
.bio-prose .bio-footnote {
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid #eef0f4;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
}

@media screen and (min-width: 768px) {
    .team-row {
        flex-direction: row;
        align-items: stretch;
    }

    .team-member-side {
        width: 20rem;
        flex-shrink: 0;
        justify-content: center;
    }

    .team-member-body {
        flex: 1;
        border-left: 1px solid #eef0f4;
    }
}

@media screen and (max-width: 768px) {
    #top-book-demo-button {
        display: none;
    }

    nav img {
        height: 32px;
        width: auto;
    }

    .flex.items-center.space-x-4 a {
        font-size: 14px;
    }

    #top-title {
        font-size: 1.75rem;
        line-height: 2rem;
    }
}
