* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    padding: 40px 20px;
    min-height: 100vh;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 52px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    animation: fadeIn 0.5s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid #2563eb;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.tagline {
    font-size: 1.0625rem;
    color: #64748b;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.section-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    margin-bottom: 9px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.profile {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.experience-section {
    display: flex;
    flex-direction: column;
}

.role p {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.8;
    padding-bottom: 15px;
}

.role.current p {
    color: #0f172a;
    font-size: 1.1875rem;
    font-weight: 500;
}

.role strong {
    color: #0f172a;
    font-weight: 600;
}

.popover-container strong {
    color: inherit;
}

.company-tagline {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 400;
}

.popover-container {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1.5px dotted #cbd5e1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.popover-container:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
    border-bottom-style: solid;
    font-weight: 600;
}

.popover-container strong {
    color: inherit;
}

.contact {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.contact-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 400;
}

.contact-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.contact-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .container {
        padding: 40px 24px;
        border-radius: 0;
    }

    body {
        padding: 0;
    }

    h1 {
        font-size: 1.875rem;
    }

    .tagline {
        font-size: 1rem;
    }

    header {
        margin-bottom: 36px;
        padding-bottom: 28px;
    }

    .role p {
        font-size: 1rem;
    }

    .role.current p {
        font-size: 1.0625rem;
        padding: 14px 16px;
        padding-left: 16px;
        border-left-width: 3px;
    }

    .profile {
        gap: 40px;
    }

    .contact {
        gap: 12px;
    }

}
